diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2008-05-30 13:29:19 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-30 22:18:09 -0400 |
commit | 9e833be3a13aa64e1f3dc50ce0ad95278212511d (patch) | |
tree | 8538d506102132f415cf5899b8d6649ad3a64e75 /drivers | |
parent | dfc2c0a6db926749bd49101503644bf915f70e45 (diff) |
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 <randy.dunlap@oracle.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
2408 | 2408 | ||
2409 | config CHELSIO_T3 | 2409 | config CHELSIO_T3 |
2410 | tristate "Chelsio Communications T3 10Gb Ethernet support" | 2410 | tristate "Chelsio Communications T3 10Gb Ethernet support" |
2411 | depends on PCI | 2411 | depends on PCI && INET |
2412 | select FW_LOADER | 2412 | select FW_LOADER |
2413 | select INET_LRO | 2413 | select INET_LRO |
2414 | help | 2414 | help |