OSDN Git Service

r8169: don't read chip phy status register
authorHeiner Kallweit <hkallweit1@gmail.com>
Tue, 17 Jul 2018 20:52:14 +0000 (22:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 00:46:32 +0000 (09:46 +0900)
commit29a12b49536bbf566c1ec4de0d4edfd5da8fe910
tree7ade0e3ba94cf152249a50b321eb6a557f918c12
parentf7ffa9ae2bb90fd948b514e2049ef3a904e66743
r8169: don't read chip phy status register

Instead of accessing the PHYstatus register we can use the information
phylib stores in the phy_device structure.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/realtek/r8169.c