]> git.baikalelectronics.ru Git - kernel.git/commit
net: lan78xx: update for phy_(read|write)_mmd_indirect() removal
authorRussell King <rmk+kernel@armlinux.org.uk>
Tue, 21 Mar 2017 16:36:48 +0000 (16:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2017 19:43:00 +0000 (12:43 -0700)
commit8e95ee6b6699e484554a21335fb28b9cba93bdde
treeb0fc0eb74b9f261e2c502cf3118079876b1c30f1
parent791697d8fcce0372093c87e646e7ff02c0ca73d2
net: lan78xx: update for phy_(read|write)_mmd_indirect() removal

lan78xx appears to use phylib in a rather weird way, accessing the PHY
partly through phylib, and partly by making direct accesses to it,
including to the Clause 45 registers.  As the indirect MMD accessors are
going away, update this driver to use the plain phy_(read|write)_mmd()
accessors instead.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Woojung Huh <Woojung.Huh@microchip.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/lan78xx.c