Fixed required KCONFIG symbols for block IDE modules
[openwrt-10.03/.git] / target / linux / adm5120-2.6 / patches / 003-adm5120_switch.patch
1 Index: linux-2.6.21.1/drivers/net/Kconfig
2 ===================================================================
3 --- linux-2.6.21.1.orig/drivers/net/Kconfig
4 +++ linux-2.6.21.1/drivers/net/Kconfig
5 @@ -574,6 +574,10 @@ config MIPS_AU1X00_ENET
6           If you have an Alchemy Semi AU1X00 based system
7           say Y.  Otherwise, say N.
8  
9 +config MIPS_ADM5120_ENET
10 +       tristate "MIPS ADM5120 Ethernet switch support"
11 +       depends on NET_ETHERNET && MIPS_ADM5120
12 +
13  config NET_SB1250_MAC
14         tristate "SB1250 Ethernet support"
15         depends on NET_ETHERNET && SIBYTE_SB1xxx_SOC
16 Index: linux-2.6.21.1/drivers/net/Makefile
17 ===================================================================
18 --- linux-2.6.21.1.orig/drivers/net/Makefile
19 +++ linux-2.6.21.1/drivers/net/Makefile
20 @@ -165,6 +165,7 @@ obj-$(CONFIG_SC92031) += sc92031.o
21  # This is also a 82596 and should probably be merged
22  obj-$(CONFIG_LP486E) += lp486e.o
23  
24 +obj-$(CONFIG_MIPS_ADM5120_ENET) += adm5120sw.o
25  obj-$(CONFIG_ETH16I) += eth16i.o
26  obj-$(CONFIG_ZORRO8390) += zorro8390.o
27  obj-$(CONFIG_HPLANCE) += hplance.o 7990.o