aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-11-07 12:50:13 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:52:15 -0800
commit2774de17ba65130165a2cbca92e5a685581f7916 (patch)
tree7aa78287417939172826c2625f04b39859a93696 /drivers/staging
parent0252e5c691fd54064212c74435c2255abf3778d5 (diff)
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/benet/Kconfig2
-rw-r--r--drivers/staging/benet/TODO1
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/benet/Kconfig b/drivers/staging/benet/Kconfig
index f6806074f99..ffb8ebdfd16 100644
--- a/drivers/staging/benet/Kconfig
+++ b/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
diff --git a/drivers/staging/benet/TODO b/drivers/staging/benet/TODO
index b087d7dcae3..54cd90e2e07 100644
--- a/drivers/staging/benet/TODO
+++ b/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>