net: ftgmac100: add MDIO bus and phylib support
authorCédric Le Goater <clg@kaod.org>
Mon, 29 Oct 2018 06:06:33 +0000 (07:06 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 5 Nov 2018 16:41:57 +0000 (10:41 -0600)
commit538e75d3fc54a237ae2e92c12459296339d591e2
tree30e29efe59e42b7da62d862722c2dffda9901ebf
parent591ffd98b05ce06ff1412b0322d5b063b0953add
net: ftgmac100: add MDIO bus and phylib support

Implement the MDIO bus read/write functions using the readl_poll_timeout()
routine, initialize the bus and scan for the PHY. RGMII and RMII mode
are supported.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ftgmac100.c