openwrtv3/target/linux/generic
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
..
base-files Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh) 2012-12-19 16:07:50 +00:00
files generic: ar8216: register the switch from the probe routine 2013-02-14 14:01:24 +00:00
image rename target/linux/generic-2.6 to generic 2010-06-26 20:42:58 +00:00
patches-3.3 generic: add detach callback to struct phy_driver 2013-02-07 15:18:24 +00:00
patches-3.6 generic: add detach callback to struct phy_driver 2013-02-07 15:18:24 +00:00
patches-3.7 kernel: update linux 3.7 to 3.7.7 2013-02-12 09:51:11 +00:00
patches-3.8 generic: add detach callback to struct phy_driver 2013-02-07 15:18:24 +00:00
config-3.3 kernel: add packages for pps and ptp, they are needed by tg3 in kernel 3.8 2013-01-27 21:18:52 +00:00
config-3.6 linux/3.6: add missing config symbols 2013-02-01 17:30:18 +00:00
config-3.7 linux/3.7: add missing config symbols 2013-02-02 10:05:08 +00:00
config-3.8 kernel: disable CONFIG_CRYPTO_MANAGER2, it is not needed 2013-01-27 23:23:39 +00:00
PATCHES fix a typo in the kernel patch description 2011-04-16 18:40:23 +00:00