netdev
[Top] [All Lists]

[-mm patch] SIS900 must select MII

To: Andrew Morton <akpm@xxxxxxxx>, venza@xxxxxxxxxxxx, jgarzik@xxxxxxxxx
Subject: [-mm patch] SIS900 must select MII
From: Adrian Bunk <bunk@xxxxxxxxx>
Date: Sat, 30 Apr 2005 13:52:49 +0200
Cc: linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20050429231653.32d2f091.akpm@xxxxxxxx>
References: <20050429231653.32d2f091.akpm@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.9i
This patch fixes the following compile error caused by bk-netdev:

<--  snip  -->

...
  LD      .tmp_vmlinux1
drivers/built-in.o(.text+0x98528): In function `sis900_get_settings':
: undefined reference to `mii_ethtool_gset'
drivers/built-in.o(.text+0x98538): In function `sis900_set_settings':
: undefined reference to `mii_ethtool_sset'
drivers/built-in.o(.text+0x98517): In function `sis900_get_link':
: undefined reference to `mii_link_ok'
drivers/built-in.o(.text+0x98547): In function `sis900_nway_reset':
: undefined reference to `mii_nway_restart'
make: *** [.tmp_vmlinux1] Error 1

<--  snip  -->


Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>


--- linux-2.6.12-rc3-mm1/drivers/net/Kconfig.old        2005-04-30 
13:47:25.000000000 +0200
+++ linux-2.6.12-rc3-mm1/drivers/net/Kconfig    2005-04-30 13:47:48.000000000 
+0200
@@ -1543,8 +1543,9 @@
 config SIS900
        tristate "SiS 900/7016 PCI Fast Ethernet Adapter support"
        depends on NET_PCI && PCI
        select CRC32
+       select MII
        ---help---
          This is a driver for the Fast Ethernet PCI network cards based on
          the SiS 900 and SiS 7016 chips. The SiS 900 core is also embedded in
          SiS 630 and SiS 540 chipsets.  If you have one of those, say Y and


<Prev in Thread] Current Thread [Next in Thread>
  • [-mm patch] SIS900 must select MII, Adrian Bunk <=