From 2774de17ba65130165a2cbca92e5a685581f7916 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 7 Nov 2008 12:50:13 -0800 Subject: [PATCH] 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 Signed-off-by: Greg Kroah-Hartman --- drivers/staging/benet/Kconfig | 2 +- drivers/staging/benet/TODO | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 and Greg Kroah-Hartman -- 2.39.5