]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: realtek: add NBase-T PHY auto-detection
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 13 Aug 2019 06:09:32 +0000 (08:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Aug 2019 17:26:08 +0000 (13:26 -0400)
commitac5328462d088871d2c10840589511cc74b2f98f
tree4d2018cc8c1b9df312299d7fc5a1e7082ffecc83
parentc3430701b7aa7dba9d2f3db27053e6a1b5bb488b
net: phy: realtek: add NBase-T PHY auto-detection

Realtek provided information on how the new NIC-integrated PHY's
expose whether they support 2.5G/5G/10G. This allows to automatically
differentiate 1Gbps and 2.5Gbps PHY's, and therefore allows to
remove the fake PHY ID mechanism for RTL8125.
So far RTL8125 supports 2.5Gbps only, but register layout for faster
modes has been defined already, so let's use this information to be
future-proof.

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