openwrt-redmi-ax3000/target/linux
Gabor Juhos d64888ffc0 generic: ar8216: register the switch from the probe routine
Currently the switch gets registered when an ethernet
driver connects to a PHY of the switch. This method does
not work with the ethernet drivers which are connecting
to the PHY from their ndo_open callback. With those
ethernet drivers, the driver tries to register the switch
each time when the etherned device is opened and this causes
a deadlock.

Move the switch registration into the probe routine to fix
this problem.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35602
2013-02-14 14:01:24 +00:00
..
adm5120
adm8668
amazon
ar7
ar71xx ar71xx: fix factory image creation for dir-825-c1 2013-02-13 16:36:26 +00:00
at91
atheros
au1000
avr32
brcm47xx brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 8" and vlan0ports: "0 8" 2013-02-14 12:38:16 +00:00
brcm63xx
brcm2708
cns3xxx
cns21xx
cobalt
ep93xx
gemini
generic generic: ar8216: register the switch from the probe routine 2013-02-14 14:01:24 +00:00
iop32x
ixp4xx
kirkwood
lantiq
malta
mcs814x
mpc52xx
mpc83xx
mpc85xx mpc85xx: enable swconfig and the ar8216 driver 2013-02-13 16:51:23 +00:00
mvebu
omap4
omap24xx
orion
ppc40x
ppc44x
pxa
ramips
rb532
realview
sibyte
sparc
uml
x86 x86: update config-3.7 for x86 (turn off CONFIG_GPIO_ICH) 2013-02-14 13:00:07 +00:00
xburst
Makefile