From 07b270eab52433e3f61c298eb5ff9d9a668c2458 Mon Sep 17 00:00:00 2001 From: Lee Schermerhorn Date: Thu, 13 Dec 2007 16:02:59 -0800 Subject: [PATCH] bnx2x depends on ZLIB_INFLATE The bnx2x module depends on the zlib_inflate functions. The build will fail if ZLIB_INFLATE has not been selected manually or by building another module that automatically selects it. Modify BNX2X config option to 'select ZLIB_INFLATE' like BNX2 and others. This seems to fix it. Signed-off-by: Lee Schermerhorn Acked-by: Eliezer Tamir Cc: Jeff Garzik Signed-off-by: Andrew Morton Signed-off-by: Jeff Garzik --- drivers/net/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 477c3e45974..fa925b3e433 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -2601,6 +2601,7 @@ config TEHUTI config BNX2X tristate "Broadcom NetXtremeII 10Gb support" depends on PCI + select ZLIB_INFLATE help This driver supports Broadcom NetXtremeII 10 gigabit Ethernet cards. To compile this driver as a module, choose M here: the module -- 2.20.1