diff options
| author | Antonio Borneo <[email protected]> | 2020-11-24 23:07:56 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2020-11-25 20:29:40 +0000 |
| commit | 4826d2c4fcbfcc3ba7887a197143ffe4d444a3d3 (patch) | |
| tree | 90e03d6a280a828652811271820e3643e22788cd /net/lapb/lapb_iface.c | |
| parent | Merge branch 'net-ptp-use-common-defines-for-ptp-message-types-in-further-dri... (diff) | |
| download | kernel-4826d2c4fcbfcc3ba7887a197143ffe4d444a3d3.tar.gz kernel-4826d2c4fcbfcc3ba7887a197143ffe4d444a3d3.zip | |
net: phy: realtek: read actual speed on rtl8211f to detect downshift
The rtl8211f supports downshift and before commit 5502b218e001
("net: phy: use phy_resolve_aneg_linkmode in genphy_read_status")
the read-back of register MII_CTRL1000 was used to detect the
negotiated link speed.
The code added in commit d445dff2df60 ("net: phy: realtek: read
actual speed to detect downshift") is working fine also for this
phy and it's trivial re-using it to restore the downshift
detection on rtl8211f.
Add the phy specific read_status() pointing to the existing
function rtlgen_read_status().
Signed-off-by: Antonio Borneo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Yonglong Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions
