svn commit: r299328 - head/sys/dev/sfxge/common

Andrew Rybchenko arybchik at FreeBSD.org
Tue May 10 07:13:46 UTC 2016


Author: arybchik
Date: Tue May 10 07:13:45 2016
New Revision: 299328
URL: https://svnweb.freebsd.org/changeset/base/299328

Log:
  sfxge(4): remove EFSYS_OPT_NVRAM_SFT9001
  
  Submitted by:   Andy Moreton <amoreton at solarflare.com>
  Sponsored by:   Solarflare Communications, Inc.
  MFC after:      1 week

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	Tue May 10 07:12:27 2016	(r299327)
+++ head/sys/dev/sfxge/common/efx_check.h	Tue May 10 07:13:45 2016	(r299328)
@@ -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_NVRAM_SFT9001			(0)
 #define	EFSYS_OPT_NVRAM_SFX7101			(0)
 
 #define	EFSYS_OPT_PHY_NULL			(0)
@@ -215,15 +214,9 @@
 # error "NVRAM_FALCON_BOOTROM is obsolete and is not supported."
 #endif
 
-/* Support NVRAM config for SFT9001 */
-#if EFSYS_OPT_NVRAM_SFT9001
-# if !EFSYS_OPT_NVRAM
-#  error "NVRAM_SFT9001 requires NVRAM"
-# endif
-# if !EFSYS_OPT_FALCON
-#  error "NVRAM_SFT9001 requires FALCON"
-# endif
-#endif /* EFSYS_OPT_NVRAM_SFT9001 */
+#ifdef EFSYS_OPT_NVRAM_SFT9001
+# error "NVRAM_SFT9001 is obsolete and is not supported."
+#endif
 
 /* Support NVRAM config for SFX7101 */
 #if EFSYS_OPT_NVRAM_SFX7101


More information about the svn-src-head mailing list