mdio: Add support for mdio drivers.
commita9049e0c513c4521dbfaa302af8ed08b3366b41f
authorAndrew Lunn <andrew@lunn.ch>
Wed, 6 Jan 2016 19:11:26 +0000 (6 20:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jan 2016 19:31:27 +0000 (7 14:31 -0500)
treec7791b09aee213f8241f366aa9b88c270803ebf9
parentf89df3f381f1e1247ddccdf178f203c06fddf5ce
mdio: Add support for mdio drivers.

Not all devices on an MDIO bus are PHYs. Meaning not all MDIO drivers
are PHY drivers. Add support for generic MDIO drivers.

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>
drivers/net/phy/Makefile
drivers/net/phy/mdio_bus.c
drivers/net/phy/mdio_device.c [new file with mode: 0644]
drivers/net/phy/phy_device.c
drivers/of/of_mdio.c
include/linux/mdio.h
include/linux/phy.h