Browse Source

Staging: benet: build is broken unless CONFIG_NETPOLL is enabled

So disable the driver in that build situation and document
that this needs to be fixed.

Cc: Subbu Seetharaman <subbus@serverengines.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 16 years ago
parent
commit
2774de17ba
2 changed files with 2 additions and 1 deletions
  1. 1 1
      drivers/staging/benet/Kconfig
  2. 1 0
      drivers/staging/benet/TODO

+ 1 - 1
drivers/staging/benet/Kconfig

@@ -1,6 +1,6 @@
 config BENET
 	tristate "ServerEngines 10Gb NIC - BladeEngine"
-	depends on PCI && INET
+	depends on PCI && INET && NETPOLL
 	select INET_LRO
 	help
 	  This driver implements the NIC functionality for ServerEngines

+ 1 - 0
drivers/staging/benet/TODO

@@ -3,6 +3,7 @@ TODO:
 	- fix minor checkpatch.pl issues
 	- remove wrappers around common iowrite functions
 	- full netdev audit of common problems/issues
+	- fix build errors when CONFIG_NETPOLL is not enabled
 
 Please send all patches and questions to Subbu Seetharaman
 <subbus@serverengines.com> and Greg Kroah-Hartman <greg@kroah.com>