openwrtv3/target/linux/generic/files/drivers/net/phy
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
..
b53 generic: b53: fix reverted error check in probe 2013-02-10 12:31:36 +00:00
adm6996.c (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC 2011-05-09 15:21:58 +00:00
adm6996.h (respin) 802.1Q VLAN support for ADM6996M/ADM6996FC 2011-05-09 15:21:58 +00:00
ar8216.c generic: ar8216: register the switch from the probe routine 2013-02-14 14:01:24 +00:00
ar8216.h generic: ar8216: add defines for the AR8316 POSTRIP register 2013-02-10 13:18:48 +00:00
ip17xx.c unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. 2010-10-12 20:49:35 +00:00
micrel.c ar71xx: move micrel PHY driver to the generic linux target 2012-03-15 09:25:53 +00:00
mvswitch.c generic: mvswitch: add detach callback 2013-02-07 15:18:34 +00:00
mvswitch.h rename target/linux/generic-2.6 to generic 2010-06-26 20:42:58 +00:00
psb6970.c unify extended vlan id swconfig attributes. AR8216 and PSB6970 used "pvid", IP17xx used "tag" and RTL8306 called it "vid". Change all to "vid" and annotate the description with the valid ID range. 2010-10-12 20:49:35 +00:00
rtl8306.c rtl8306: do not overwrite registers in the phy fixup, it could mess up other switches (fixes #8911) 2011-04-02 16:35:22 +00:00
rtl8366_smi.c generic: rtl8366_smi: only assign pvid if no pvid was set yet 2013-01-18 15:19:11 +00:00
rtl8366_smi.h linux: generic: rtl836*: fix compilation with !CONFIG_OF 2012-12-15 13:32:02 +00:00
rtl8366rb.c kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00
rtl8366s.c kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00
rtl8367.c kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00
rtl8367b.c kernel: remove __devinit, __devexit and __devexit_p for kernel 3.8 2013-01-27 17:48:48 +00:00
swconfig.c swconfig: make it compatible with 3.7 2012-11-21 17:38:11 +00:00
swconfig_leds.c generic: swconfig: use led_set_brightness in LED control code 2012-10-26 18:58:18 +00:00