mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2025-11-04 23:14:26 -05:00
On the WNDAP620, the mdio and mdc lines are controlled by the EMAC ethernet device. This results in a hen-vs-egg problem. The rtl8367b driver is probed before the ethernet driver and the mdio-bus is not available yet, which caused the rtl8367b driver to fail. This patch changes the rtl8366_smi_probe_of() function to return -EPROBE_DEFER if the mdio-bus lookup failed and changes rtl8366_smi_probe()'s signature to return the error code back to the callee, so it can propagate back to the kernel. Which, will retry the switch probe at a later time. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> |
||
|---|---|---|
| .. | ||
| b53 | ||
| adm6996.c | ||
| adm6996.h | ||
| ar8216.c | ||
| ar8216.h | ||
| ar8327.c | ||
| ar8327.h | ||
| ip17xx.c | ||
| mvsw61xx.c | ||
| mvsw61xx.h | ||
| mvswitch.c | ||
| mvswitch.h | ||
| psb6970.c | ||
| rtl8306.c | ||
| rtl8366_smi.c | ||
| rtl8366_smi.h | ||
| rtl8366rb.c | ||
| rtl8366s.c | ||
| rtl8367.c | ||
| rtl8367b.c | ||
| swconfig_leds.c | ||
| swconfig.c | ||