diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-07-14 17:45:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-14 15:07:16 -0700 |
commit | b3ba9ae8dcd2f0a95f02131b9382cea980bae96f (patch) | |
tree | 45c61d70707f5cb36b97368a2809fc443e22660f /drivers/net/phy | |
parent | 3fa1dbd984404fc4ac2f703aec56dbb2363ffdb5 (diff) | |
download | lwn-b3ba9ae8dcd2f0a95f02131b9382cea980bae96f.tar.gz lwn-b3ba9ae8dcd2f0a95f02131b9382cea980bae96f.zip |
net: phy: realtek: add support for RTL8125B-internal PHY
Realtek assigned a new PHY ID for the RTL8125B-internal PHY.
It's however compatible with the RTL8125A-internal PHY.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r-- | drivers/net/phy/realtek.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index c7229d022a27..95dbe5e8e1d8 100644 --- a/drivers/net/phy/realtek.c +++ b/drivers/net/phy/realtek.c @@ -638,6 +638,18 @@ static struct phy_driver realtek_drvs[] = { .read_mmd = rtl8125_read_mmd, .write_mmd = rtl8125_write_mmd, }, { + PHY_ID_MATCH_EXACT(0x001cc840), + .name = "RTL8125B 2.5Gbps internal", + .get_features = rtl8125_get_features, + .config_aneg = rtl8125_config_aneg, + .read_status = rtl8125_read_status, + .suspend = genphy_suspend, + .resume = rtlgen_resume, + .read_page = rtl821x_read_page, + .write_page = rtl821x_write_page, + .read_mmd = rtl8125_read_mmd, + .write_mmd = rtl8125_write_mmd, + }, { PHY_ID_MATCH_EXACT(0x001cc961), .name = "RTL8366RB Gigabit Ethernet", .config_init = &rtl8366rb_config_init, |