aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_mcdi.h
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2015-12-01 15:38:39 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2015-12-01 15:38:39 +0000
commitd486ce4b1b4d63027c4984644cd2a57f469da770 (patch)
tree8da3ac97845e89a709d7cdf3d39952c903fd77ec /sys/dev/sfxge/common/efx_mcdi.h
parentf990a59205d723d11b74217daa3be255d751db5a (diff)
downloadsrc-d486ce4b1b4d63027c4984644cd2a57f469da770.tar.gz
src-d486ce4b1b4d63027c4984644cd2a57f469da770.zip
sfxge: add function to query link control privilege
Make link control privilege visible to OS driver to guard updates to flow control and PHY advertised capabilities. Submitted by: Richard Houldsworth <rhouldsworth at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Differential Revision: https://reviews.freebsd.org/D4330
Notes
Notes: svn path=/head/; revision=291588
Diffstat (limited to 'sys/dev/sfxge/common/efx_mcdi.h')
-rw-r--r--sys/dev/sfxge/common/efx_mcdi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/dev/sfxge/common/efx_mcdi.h b/sys/dev/sfxge/common/efx_mcdi.h
index fbcf64f61d40..9129e1128ad9 100644
--- a/sys/dev/sfxge/common/efx_mcdi.h
+++ b/sys/dev/sfxge/common/efx_mcdi.h
@@ -151,6 +151,11 @@ efx_mcdi_macaddr_change_supported(
__in efx_nic_t *enp,
__out boolean_t *supportedp);
+extern __checkReturn efx_rc_t
+efx_mcdi_link_control_supported(
+ __in efx_nic_t *enp,
+ __out boolean_t *supportedp);
+
#if EFSYS_OPT_BIST
#if EFSYS_OPT_HUNTINGTON
extern __checkReturn efx_rc_t