[EMAIL PROTECTED] wrote:]


From: Randy Dunlap <[EMAIL PROTECTED]>

Drivers that use lro functions should depend on INET, otherwise they
may not link correctly.  Let's not select INET.  Select should be used
only for library-like code, not to enable subsystems.

ERROR: "lro_flush_all" [drivers/net/myri10ge/myri10ge.ko] undefined!
ERROR: "lro_receive_frags" [drivers/net/myri10ge/myri10ge.ko] undefined!

Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]>
---
drivers/net/Kconfig |    4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

--- linux-2.6.23-git13.orig/drivers/net/Kconfig
+++ linux-2.6.23-git13/drivers/net/Kconfig
@@ -2494,7 +2494,7 @@ config CHELSIO_T3

config EHEA
        tristate "eHEA Ethernet support"
-       depends on IBMEBUS
+       depends on IBMEBUS && INET
        select INET_LRO
        ---help---
          This driver supports the IBM pSeries eHEA ethernet adapter.
@@ -2591,7 +2591,7 @@ config S2IO_NAPI

config MYRI10GE
        tristate "Myricom Myri-10G Ethernet support"
-       depends on PCI
+       depends on PCI && INET
        select FW_LOADER
        select CRC32
        select INET_LRO
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to