diff options
author | Andrew Rybchenko <arybchik@FreeBSD.org> | 2016-05-10 07:15:57 +0000 |
---|---|---|
committer | Andrew Rybchenko <arybchik@FreeBSD.org> | 2016-05-10 07:15:57 +0000 |
commit | 45a31c66edb134f188343b5b9a439839665f983f (patch) | |
tree | ab1b8f9ebe3d6da705176ef1bfc8a42cdb7ac45d /sys/dev/sfxge/common/efx_check.h | |
parent | eaec7581ab3b5c1efa4ae0e6195e56c4142e8460 (diff) | |
download | src-45a31c66edb134f188343b5b9a439839665f983f.tar.gz src-45a31c66edb134f188343b5b9a439839665f983f.zip |
sfxge(4): remove EFSYS_OPT_PHY_NULL
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=299331
Diffstat (limited to 'sys/dev/sfxge/common/efx_check.h')
-rw-r--r-- | sys/dev/sfxge/common/efx_check.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/sys/dev/sfxge/common/efx_check.h b/sys/dev/sfxge/common/efx_check.h index 49be7c33807c..56cbcb842dbe 100644 --- a/sys/dev/sfxge/common/efx_check.h +++ b/sys/dev/sfxge/common/efx_check.h @@ -47,7 +47,6 @@ # error "FALCON is obsolete and is not supported." #else /* FIXME: remove this after Falcon support has been removed */ -#define EFSYS_OPT_PHY_NULL (0) #define EFSYS_OPT_PHY_QT2022C2 (0) #define EFSYS_OPT_PHY_QT2025C (0) #define EFSYS_OPT_PHY_SFT9001 (0) @@ -243,12 +242,9 @@ # endif #endif /* EFSYS_OPT_PHY_LED_CONTROL */ -/* Support NULL PHY */ -#if EFSYS_OPT_PHY_NULL -# if !EFSYS_OPT_FALCON -# error "PHY_NULL requires FALCON" -# endif -#endif /* EFSYS_OPT_PHY_NULL */ +#ifdef EFSYS_OPT_PHY_NULL +# error "PHY_NULL is obsolete and is not supported." +#endif /* Obsolete option */ #ifdef EFSYS_OPT_PHY_PM8358 |