]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit5181b473d64ee278f24035ce335b89ddc4520fc0
tree4d2018cc8c1b9df312299d7fc5a1e7082ffecc83
parent4773f9bdb476501df565b610adc0edf1932f2c6e
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