Files
twx-linux/drivers/net/ethernet
Heiner Kallweit 791c420f42 r8169: fix PHY driver check on platforms w/o module softdeps
commit 2e8c339b49 upstream.

On Android/x86 the module loading infrastructure can't deal with
softdeps. Therefore the check for presence of the Realtek PHY driver
module fails. mdiobus_register() will try to load the PHY driver
module, therefore move the check to after this call and explicitly
check that a dedicated PHY driver is bound to the PHY device.

Fixes: f325937735 ("r8169: check that Realtek PHY driver module is loaded")
Reported-by: Chih-Wei Huang <cwhuang@android-x86.org>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-01 11:02:12 +02:00
..
…
…
…
…
…
2020-03-05 16:43:31 +01:00
2019-10-13 11:15:25 -07:00
…
…
…
…
…
…
…
…
…
…
…
…
2019-09-21 19:08:31 -07:00
…
2019-09-21 19:08:31 -07:00