Files
openwrt/target/linux
Christian Lamparter 910c2f9e68 generic: rtl836x: support defered probe on mdio-bus
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>
2018-11-26 12:05:46 +01:00
..
2018-09-26 15:54:18 +02:00
2018-10-19 10:01:57 +02:00
2018-10-09 14:29:55 +02:00
2018-11-05 16:00:00 +01:00
2018-11-14 16:27:43 +01:00
2018-11-05 16:00:00 +01:00
2018-11-14 16:27:43 +01:00
2018-10-19 10:01:57 +02:00
2018-10-20 16:13:39 +02:00
2018-11-05 16:00:00 +01:00
2018-11-14 16:27:43 +01:00
2018-08-20 13:03:23 +02:00
2018-11-05 16:00:00 +01:00
2018-11-14 16:27:43 +01:00
2018-10-10 14:45:11 +02:00
2018-09-29 18:09:45 +02:00
2018-10-09 14:29:55 +02:00
2018-10-19 10:01:57 +02:00
2018-11-05 16:00:00 +01:00
2018-11-26 09:34:09 +01:00
2018-10-19 10:01:57 +02:00
2018-10-19 10:01:57 +02:00
2018-08-20 13:03:23 +02:00
2018-10-19 10:01:57 +02:00