aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-xgene.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-07-25drivers: net: phy: xgene: Add MDIO driverIyappan Subramanian1-0/+477
Currently, SGMII based 1G rely on the hardware registers for link state and sometimes it's not reliable. To get most accurate link state, this interface has to use the MDIO bus to poll the PHY. In X-Gene SoC, MDIO bus is shared across RGMII and SGMII based 1G interfaces, so adding this driver to manage MDIO bus. This driver registers the mdio bus and registers the PHYs connected to it. Signed-off-by: Iyappan Subramanian <isubramanian@apm.com> Tested-by: Fushen Chen <fchen@apm.com> Tested-by: Toan Le <toanle@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>