]> err.no Git - linux-2.6/commitdiff
ipg: missing Kconfig dependency
authorFrancois Romieu <romieu@fr.zoreil.com>
Sun, 21 Oct 2007 10:17:51 +0000 (12:17 +0200)
committerFrancois Romieu <romieu@fr.zoreil.com>
Sun, 28 Oct 2007 17:21:10 +0000 (18:21 +0100)
Fix for the error below while linking vmlinux:
[...]
drivers/built-in.o: In function `ipg_ioctl':
drivers/net/ipg.c:2148: undefined reference to `generic_mii_ioctl'
drivers/built-in.o: In function `ipg_get_settings':
drivers/net/ipg.c:2181: undefined reference to `mii_ethtool_gset'
drivers/built-in.o: In function `ipg_set_settings':
drivers/net/ipg.c:2193: undefined reference to `mii_ethtool_sset'
drivers/built-in.o: In function `ipg_nway_reset':
drivers/net/ipg.c:2205: undefined reference to `mii_nway_restart'
make: *** [.tmp_vmlinux1] Error 1

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Avuton Olrich <avuton@gmail.com>
Cc: Jesse Huang <jesse@icplus.com.tw>
Cc: Sorbica Shieh <sorbica@icplus.com.tw>
drivers/net/Kconfig

index 86b8641b4664871cbeef5631599765145aeba489..9f7ec7df475e2690581feabf39094a82d4288350 100644 (file)
@@ -168,6 +168,7 @@ config NET_SB1000
 config IP1000
        tristate "IP1000 Gigabit Ethernet support"
        depends on PCI && EXPERIMENTAL
+       select MII
        ---help---
          This driver supports IP1000 gigabit Ethernet cards.