]> git.karo-electronics.de Git - linux-beck.git/commit
phy: Consistently use addr for address on an MII bus
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:06 +0000 (20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:24 +0000 (14:31 -0500)
commitccaa953e9fc7ebb90fba4e4815966683bef4866f
treebb245fd52f0b2e8ee40699feea7a5fd5f59940bc
parent9e0efaf6b41bf22c2eb81258fc2a6f1538a643e5
phy: Consistently use addr for address on an MII bus

Within phy.h, an address on an MII bus has been called both addr and
phy_id. phy_id is particularly confusion, since it also means the ID
found in register 3, if the device on the bus is a phy. Consistently
use addr.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/phy.h