cxgb3: fix build error when INET=n
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 30 May 2008 17:29:19 +0000 (10:29 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 31 May 2008 02:18:09 +0000 (22:18 -0400)
commit9e833be3a13aa64e1f3dc50ce0ad95278212511d
tree8538d506102132f415cf5899b8d6649ad3a64e75
parentdfc2c0a6db926749bd49101503644bf915f70e45
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>
drivers/net/Kconfig