Skip to contentSkip to conversation

bnx2x depends on ZLIB_INFLATE

PATCH Applied [email protected] 2 participants 2 messages Dec 14, 2007 – Dec 18, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 9/10 bnx2x depends on ZLIB_INFLATE

From: Lee Schermerhorn <[email protected]>

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.

---

 drivers/net/Kconfig |    1 +
 1 file changed, 1 insertion(+)
drivers/net/Kconfig renamed from drivers/net/Kconfig~bnx2x-depends-on-zlib_inflate +1 -0
diff -puN drivers/net/Kconfig~bnx2x-depends-on-zlib_inflate drivers/net/Kconfig
@@ -2607,6 +2607,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

_

#1 lore raw
Quoted 9 lines · [email protected] wrote:

From: Lee Schermerhorn <[email protected]>

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.

Quoted 8 lines

---

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

applied #upstream