mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-01-30 20:03:09 +01:00
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 | ||