svn commit: r340882 - head/sys/dev/sfxge/common
Andrew Rybchenko
arybchik at FreeBSD.org
Sat Nov 24 16:29:00 UTC 2018
Author: arybchik
Date: Sat Nov 24 16:28:58 2018
New Revision: 340882
URL: https://svnweb.freebsd.org/changeset/base/340882
Log:
sfxge(4): allow to use PHY stats on Huntington/Medford
EFSYS_OPT_PHY_STATS can be used with Huntington or Medford, not just Siena.
Submitted by: Mark Spender <mspender at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18116
Modified:
head/sys/dev/sfxge/common/efx_check.h
Modified: head/sys/dev/sfxge/common/efx_check.h
==============================================================================
--- head/sys/dev/sfxge/common/efx_check.h Sat Nov 24 16:05:40 2018 (r340881)
+++ head/sys/dev/sfxge/common/efx_check.h Sat Nov 24 16:28:58 2018 (r340882)
@@ -261,8 +261,8 @@
/* Support PHY statistics */
#if EFSYS_OPT_PHY_STATS
-# if !EFSYS_OPT_SIENA
-# error "PHY_STATS requires SIENA"
+# if !(EFSYS_OPT_SIENA || EFSYS_OPT_HUNTINGTON || EFSYS_OPT_MEDFORD)
+# error "PHY_STATS requires SIENA or HUNTINGTON or MEDFORD"
# endif
#endif /* EFSYS_OPT_PHY_STATS */
More information about the svn-src-all
mailing list