Move NAND driver from rb1xx to adm5120, rbmipsnand fixed by David Goodenough, thanks !
[openwrt/svn-archive/archive.git] / target / linux / rb1xx-2.6 / patches / 003-adm5120_switch.patch
1 diff -urN linux-2.6.19.2/drivers/net/Kconfig linux-2.6.19.2-adm5120/drivers/net/Kconfig
2 --- linux-2.6.19.2/drivers/net/Kconfig 2007-01-10 20:10:37.000000000 +0100
3 +++ linux-2.6.19.2-adm5120/drivers/net/Kconfig 2007-01-23 01:13:39.000000000 +0100
4 @@ -450,6 +450,10 @@
5 If you have an Alchemy Semi AU1X00 based system
6 say Y. Otherwise, say N.
7
8 +config MIPS_ADM5120_ENET
9 + tristate "MIPS ADM5120 Ethernet switch support"
10 + depends on NET_ETHERNET && MIPS_ADM5120
11 +
12 config NET_SB1250_MAC
13 tristate "SB1250 Ethernet support"
14 depends on NET_ETHERNET && SIBYTE_SB1xxx_SOC
15 diff -urN linux-2.6.19.2/drivers/net/Makefile linux-2.6.19.2-adm5120/drivers/net/Makefile
16 --- linux-2.6.19.2/drivers/net/Makefile 2007-01-10 20:10:37.000000000 +0100
17 +++ linux-2.6.19.2-adm5120/drivers/net/Makefile 2007-01-23 01:13:39.000000000 +0100
18 @@ -164,6 +164,7 @@
19 # This is also a 82596 and should probably be merged
20 obj-$(CONFIG_LP486E) += lp486e.o
21
22 +obj-$(CONFIG_MIPS_ADM5120_ENET) += adm5120sw.o
23 obj-$(CONFIG_ETH16I) += eth16i.o
24 obj-$(CONFIG_ZORRO8390) += zorro8390.o 8390.o
25 obj-$(CONFIG_HPLANCE) += hplance.o 7990.o