commit | 7f854420fbfe9d49afe2ffb1df052cfe8e215541 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Jan 06 20:11:18 2016 +0100 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 07 14:31:26 2016 -0500 |
tree | 1f3c8d932976b597cdb6db3e53b06b4a95c5d303 | |
parent | 801a8ef54e8b21eb6699aaa88681259dafb1d1b5 [diff] |
phy: Add API for {un}registering an mdio device to a bus. Rather than have drivers directly manipulate the mii_bus structure, provide and API for registering and unregistering devices on an MDIO bus, and performing lookups. 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>