[adm5120] load board's mac address on Compex devices
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches / 003-adm5120_switch.patch
1 --- a/drivers/net/Kconfig
2 +++ b/drivers/net/Kconfig
3 @@ -606,6 +606,10 @@
4 If you have an Alchemy Semi AU1X00 based system
5 say Y. Otherwise, say N.
6
7 +config MIPS_ADM5120_ENET
8 + tristate "MIPS ADM5120 Ethernet switch support"
9 + depends on MIPS_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 @@ -187,6 +187,7 @@
17 # This is also a 82596 and should probably be merged
18 obj-$(CONFIG_LP486E) += lp486e.o
19
20 +obj-$(CONFIG_MIPS_ADM5120_ENET) += adm5120sw.o
21 obj-$(CONFIG_ETH16I) += eth16i.o
22 obj-$(CONFIG_ZORRO8390) += zorro8390.o
23 obj-$(CONFIG_HPLANCE) += hplance.o 7990.o