diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-14 14:01:24 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-02-14 14:01:24 +0000 |
commit | d64888ffc09247d51786931ca0b1bddeffd8efbf (patch) | |
tree | 244d3b512bad657782d44fd791cf0eff0ee0e04a /target/linux/ep93xx/patches-3.3 | |
parent | 31dc805f8815375916b999b4ce70acf485c9ea0b (diff) | |
download | upstream-d64888ffc09247d51786931ca0b1bddeffd8efbf.tar.gz upstream-d64888ffc09247d51786931ca0b1bddeffd8efbf.tar.bz2 upstream-d64888ffc09247d51786931ca0b1bddeffd8efbf.zip |
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
Diffstat (limited to 'target/linux/ep93xx/patches-3.3')
0 files changed, 0 insertions, 0 deletions