]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: load Realtek PHY driver module before r8169
authorHeiner Kallweit <hkallweit1@gmail.com>
Mon, 7 Jan 2019 20:49:09 +0000 (21:49 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Jan 2019 21:40:00 +0000 (16:40 -0500)
commit2384a96eec6da78da5f51f043476c5215beb8edc
tree5a862c7059f48b46d0dd50abb2399800be2b1e35
parent2177cf4507fab65eacdf1a6476e4680955101f2f
r8169: load Realtek PHY driver module before r8169

This soft dependency works around an issue where sometimes the genphy
driver is used instead of the dedicated PHY driver. The root cause of
the issue isn't clear yet. People reported the unloading/re-loading
module r8169 helps, and also configuring this soft dependency in
the modprobe config files. Important just seems to be that the
realtek module is loaded before r8169.

Once this has been applied preliminary fix 38af4b903210 ("net: phy:
add workaround for issue where PHY driver doesn't bind to the device")
will be removed.

Fixes: 224b054928bc ("r8169: add basic phylib support")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c