summaryrefslogtreecommitdiff
path: root/drivers/staging/benet
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-11-07 12:50:13 -0800
committerStephen Rothwell <sfr@canb.auug.org.au>2009-01-06 09:29:56 +1100
commit7518c2459322ae68f13f6b39d3ba9e2a10f5852f (patch)
treee45a8866ae3c2425f7f66a5b46d0777d8e01b01e /drivers/staging/benet
parent36b1cc4b43d402bb35cb310f558fc514fa864962 (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/benet')
-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 f6806074f998..ffb8ebdfd168 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 b087d7dcae3f..54cd90e2e071 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>