ramips: Power down phy on disabled switch ports
[openwrt/svn-archive/archive.git] / target / linux / adm5120 / patches-3.3 / 003-adm5120_switch.patch
1 --- a/drivers/net/Kconfig
2 +++ b/drivers/net/Kconfig
3 @@ -247,6 +247,10 @@ source "drivers/net/dsa/Kconfig"
4
5 source "drivers/net/ethernet/Kconfig"
6
7 +config ADM5120_ENET
8 + tristate "ADM5120 Ethernet switch support"
9 + depends on ADM5120
10 +
11 source "drivers/net/fddi/Kconfig"
12
13 source "drivers/net/hippi/Kconfig"
14 --- a/drivers/net/Makefile
15 +++ b/drivers/net/Makefile
16 @@ -32,6 +32,7 @@ obj-$(CONFIG_CAN) += can/
17 obj-$(CONFIG_ETRAX_ETHERNET) += cris/
18 obj-$(CONFIG_NET_DSA) += dsa/
19 obj-$(CONFIG_ETHERNET) += ethernet/
20 +obj-$(CONFIG_ADM5120_ENET) += adm5120sw.o
21 obj-$(CONFIG_FDDI) += fddi/
22 obj-$(CONFIG_HIPPI) += hippi/
23 obj-$(CONFIG_HAMRADIO) += hamradio/