aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-12-17 13:39:16 +0000
committerDavid S. Miller <davem@davemloft.net>2019-12-19 12:52:34 -0800
commit0efc286a923874f0c243e5766cce54e9429ed949 (patch)
tree82a953da6d4437afab352eef145a5f95fc9e0f7e /net
parentnet: phy: add genphy_check_and_restart_aneg() (diff)
downloadlinux-dev-0efc286a923874f0c243e5766cce54e9429ed949.tar.xz
linux-dev-0efc286a923874f0c243e5766cce54e9429ed949.zip
net: phy: provide and use genphy_read_status_fixed()
There are two drivers and generic code which contain exactly the same code to read the status of a PHY operating without autonegotiation enabled. Rather than duplicate this code, provide a helper to read this information. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions