mirror of
https://github.com/hzyitc/openwrt-redmi-ax3000.git
synced 2025-12-25 04:40:32 +00: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 |
||
|---|---|---|
| .. | ||
| base-files | ||
| files | ||
| image | ||
| patches-3.3 | ||
| patches-3.6 | ||
| patches-3.7 | ||
| patches-3.8 | ||
| config-3.3 | ||
| config-3.6 | ||
| config-3.7 | ||
| config-3.8 | ||
| PATCHES | ||