OSDN Git Service

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)
commitd241d4aac93f25a48ed42c246163b6c28354b1e5
treee8ea588dfd88d6217b156fc6f131188a08629bb2
parent49d17512560b5d9384b9da1f12395be960602420
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