mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-29 18:19:02 +00:00
d64888ffc0
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 |
||
---|---|---|
.. | ||
arch/mips/fw/myloader | ||
crypto/ocf | ||
Documentation | ||
drivers | ||
fs/yaffs2 | ||
include |