]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: realtek: add support for RTL8211
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 28 Jun 2018 18:46:45 +0000 (20:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 11:46:42 +0000 (20:46 +0900)
commit2d22eb8f7d955132dda1e41debf6205f6dce74d1
treee8ea588dfd88d6217b156fc6f131188a08629bb2
parente92b13a1dbd037c6298fbf908e204adab90d4d5f
net: phy: realtek: add support for RTL8211

In preparation of adding phylib support to the r8169 driver we need
PHY drivers for all chip-internal PHY types. Fortunately almost all
of them are either supported by the Realtek PHY driver already or work
with the genphy driver.
Still missing is support for the PHY of RTL8169s, it requires a quirk
to properly support 100Mbit-fixed mode. The quirk was copied from
r8169 driver which copied it from the vendor driver.
Based on the PHYID the internal PHY seems to be a RTL8211.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/realtek.c