adm5120: preliminary 2.6.32 support (closes: #6304)
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches-2.6.32 / 003-adm5120_switch.patch
1 --- a/drivers/net/Kconfig
2 +++ b/drivers/net/Kconfig
3 @@ -602,6 +602,10 @@ config MIPS_AU1X00_ENET
4 If you have an Alchemy Semi AU1X00 based system
5 say Y. Otherwise, say N.
6
7 +config ADM5120_ENET
8 + tristate "ADM5120 Ethernet switch support"
9 + depends on ADM5120
10 +
11 config SGI_IOC3_ETH
12 bool "SGI IOC3 Ethernet"
13 depends on PCI && SGI_IP27
14 --- a/drivers/net/Makefile
15 +++ b/drivers/net/Makefile
16 @@ -208,6 +208,7 @@ obj-$(CONFIG_SC92031) += sc92031.o
17 # This is also a 82596 and should probably be merged
18 obj-$(CONFIG_LP486E) += lp486e.o
19
20 +obj-$(CONFIG_ADM5120_ENET) += adm5120sw.o
21 obj-$(CONFIG_ETH16I) += eth16i.o
22 obj-$(CONFIG_ZORRO8390) += zorro8390.o 8390.o
23 obj-$(CONFIG_HPLANCE) += hplance.o 7990.o