]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit0dd2ef6b54ce90fee14170109bee0bf023b310b3
tree30e29efe59e42b7da62d862722c2dffda9901ebf
parent84c27e3b7c9cc2aacad22a47451af762e899a5f2
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