From: Randy Dunlap Date: Fri, 30 May 2008 17:29:19 +0000 (-0700) Subject: cxgb3: fix build error when INET=n X-Git-Tag: MMI-PSA29.97-13-9~33552^2~384 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9e833be3a13aa64e1f3dc50ce0ad95278212511d;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git cxgb3: fix build error when INET=n cxgb3 uses lro_* functions and selects INET_LRO, but this doesn't help unless INET is already enabled, so make the driver depend on INET also. sge.c:(.text+0x9f09a): undefined reference to `lro_flush_all' sge.c:(.text+0x9f62f): undefined reference to `lro_receive_skb' sge.c:(.text+0x9f8a3): undefined reference to `lro_receive_frags' sge.c:(.text+0x9fbe0): undefined reference to `lro_vlan_hwaccel_receive_skb' sge.c:(.text+0x9ffcd): undefined reference to `lro_vlan_hwaccel_receive_frags' Signed-off-by: Randy Dunlap Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 07a91251bcac..d415d81b5444 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -2408,7 +2408,7 @@ config CHELSIO_T1_NAPI config CHELSIO_T3 tristate "Chelsio Communications T3 10Gb Ethernet support" - depends on PCI + depends on PCI && INET select FW_LOADER select INET_LRO help