summaryrefslogtreecommitdiff
path: root/include/asm-generic/compat.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-08-09 21:43:50 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-12 07:24:32 +0300
commitf4069cd7fa6583e7094001c6fce6f426d17a4c76 (patch)
tree943918e8d6d99d2ad989d17e8ff790c668c279ac /include/asm-generic/compat.h
parent3eef8689325e6358a0c51d2ef8c6a689b2f22d48 (diff)
downloadlinux-f4069cd7fa6583e7094001c6fce6f426d17a4c76.tar.xz
net: phy: prepare phylib to deal with PHY's extending Clause 22
The integrated PHY in 2.5Gbps chip RTL8125 is the first (known to me) PHY that uses standard Clause 22 for all modes up to 1Gbps and adds 2.5Gbps control using vendor-specific registers. To use phylib for the standard part little extensions are needed: - Move most of genphy_config_aneg to a new function __genphy_config_aneg that takes a parameter whether restarting auto-negotiation is needed (depending on whether content of vendor-specific advertisement register changed). - Don't clear phydev->lp_advertising in genphy_read_status so that we can set non-C22 mode flags before. Basically both changes mimic the behavior of the equivalent Clause 45 functions. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-generic/compat.h')
0 files changed, 0 insertions, 0 deletions