]> git.baikalelectronics.ru Git - kernel.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)
commite1949a52fc13371cbc9dec133d43d927560fec7c
treebb245fd52f0b2e8ee40699feea7a5fd5f59940bc
parent50c85071f79c31dc98aec47a07a9bdf78989605d
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