910c2f9e68
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> |
||
---|---|---|
.. | ||
backport-4.9 | ||
backport-4.14 | ||
files | ||
hack-4.9 | ||
hack-4.14 | ||
image | ||
other-files | ||
pending-3.18 | ||
pending-4.9 | ||
pending-4.14 | ||
config-3.18 | ||
config-4.9 | ||
config-4.14 | ||
PATCHES |