aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sfxge/common/efx_check.h
diff options
context:
space:
mode:
authorAndrew Rybchenko <arybchik@FreeBSD.org>2016-05-14 06:04:29 +0000
committerAndrew Rybchenko <arybchik@FreeBSD.org>2016-05-14 06:04:29 +0000
commit7a3e390b24d305fbade2c7d54fa6bae1a1dff098 (patch)
tree54f921258a0f91719979237aa145295978590aa9 /sys/dev/sfxge/common/efx_check.h
parentd31404ab6f6ac9cc5600b9cff68d1a83e5b32491 (diff)
downloadsrc-7a3e390b24d305fbade2c7d54fa6bae1a1dff098.tar.gz
src-7a3e390b24d305fbade2c7d54fa6bae1a1dff098.zip
sfxge(4): remove obsolete EFSYS_OPT_PHY_PROPS option and APIs
Submitted by: Andy Moreton <amoreton at solarflare.com> Sponsored by: Solarflare Communications, Inc. MFC after: 1 week
Notes
Notes: svn path=/head/; revision=299722
Diffstat (limited to 'sys/dev/sfxge/common/efx_check.h')
-rw-r--r--sys/dev/sfxge/common/efx_check.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/sys/dev/sfxge/common/efx_check.h b/sys/dev/sfxge/common/efx_check.h
index 44fba90d7cab..85871cf49b7a 100644
--- a/sys/dev/sfxge/common/efx_check.h
+++ b/sys/dev/sfxge/common/efx_check.h
@@ -185,9 +185,8 @@
/* Support printable names for statistics */
#if EFSYS_OPT_NAMES
# if !(EFSYS_OPT_LOOPBACK || EFSYS_OPT_MAC_STATS || EFSYS_OPT_MCDI || \
- EFSYS_MON_STATS || EFSYS_OPT_PHY_PROPS || EFSYS_OPT_PHY_STATS || \
- EFSYS_OPT_QSTATS)
-# error "NAMES requires LOOPBACK or xxxSTATS or MCDI or PHY_PROPS"
+ EFSYS_MON_STATS || EFSYS_OPT_PHY_STATS || EFSYS_OPT_QSTATS)
+# error "NAMES requires LOOPBACK or xxxSTATS or MCDI"
# endif
#endif /* EFSYS_OPT_NAMES */
@@ -237,15 +236,12 @@
#endif
#ifdef EFSYS_OPT_PHY_PM8358
-# error "EFSYS_OPT_PHY_PM8358 is obsolete and is not supported."
+# error "PHY_PM8358 is obsolete and is not supported."
#endif
-/* Support PHY properties */
-#if EFSYS_OPT_PHY_PROPS
-# if !EFSYS_OPT_SIENA
-# error "PHY_PROPS requires SIENA"
-# endif
-#endif /* EFSYS_OPT_PHY_PROPS */
+#ifdef EFSYS_OPT_PHY_PROPS
+# error "PHY_PROPS is obsolete and is not supported."
+#endif
#ifdef EFSYS_OPT_PHY_QT2022C2
# error "PHY_QT2022C2 is obsolete and is not supported."