Heiner Kallweit 2e8c339b49 r8169: fix PHY driver check on platforms w/o module softdeps
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: f32593773549 ("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>
2020-03-27 15:56:34 -07:00
..
2020-03-21 18:56:06 -07:00
2020-02-06 06:11:50 +00:00
2020-03-09 16:02:32 -07:00
2020-02-29 11:47:44 -08:00
2020-02-08 14:17:27 -08:00
2020-02-08 14:04:19 -08:00
2020-03-15 12:42:03 -07:00
2020-03-20 12:52:35 +10:00
2020-03-07 19:52:55 -06:00
2020-03-15 10:53:11 +01:00
2020-03-07 14:14:38 -06:00
2020-01-16 10:45:44 -08:00
2020-02-04 07:17:41 +00:00
2020-01-27 13:03:00 -08:00
2020-03-04 13:28:52 +01:00
2020-02-08 13:55:25 -08:00
2020-03-06 14:48:30 -06:00
2020-03-13 12:45:23 -07:00
2020-02-24 09:57:05 -08:00
2020-03-06 14:50:16 -06:00
2020-03-20 09:20:38 -07:00
2020-01-31 11:28:31 -08:00
2020-03-18 10:42:57 +01:00
2020-02-03 22:22:05 +00:00
2020-03-08 17:36:22 -07:00
2020-01-29 10:35:54 -08:00
2020-01-29 10:35:54 -08:00
2020-03-05 09:42:23 -06:00
2020-02-09 16:05:50 -08:00