Subject: PATCH 2.6.24-rc3-mm2 - build breakage - bnx2x depends on ZLIB_INFLATE

From: Lee Schermerhorn <[email-masked]>
Date: Wed, 28 Nov 2007 15:25:24 -0500

Couldn't find one of these on the lists...

PATCH 2.6.24-rc3-mm1:  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 <[email-masked]>

 drivers/net/Kconfig |    1 +
 1 file changed, 1 insertion(+)

Index: Linux/drivers/net/Kconfig
===================================================================
--- Linux.orig/drivers/net/Kconfig	2007-11-28 10:41:23.000000000 -0500
+++ Linux/drivers/net/Kconfig	2007-11-28 12:40:16.000000000 -0500
@@ -2606,6 +2606,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