openwrt/target/linux/generic/files/drivers
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
..
input/misc kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00
leds
mtd generic: use mtd_read in myloader parser 2012-10-27 07:57:59 +00:00
net/phy generic: ar8216: register the switch from the probe routine 2013-02-14 14:01:24 +00:00
pwm kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00