PATCH 2.6.24-rc3-mm2 - build breakage - bnx2x depends onZLIB_INFLATE

From: Lee Schermerhorn
Date: Wed Nov 28 2007 - 15:25:26 EST


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 <lee.schermerhorn@xxxxxx>

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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/