]> git.sur5r.net Git - u-boot/commit
net/ethoc: implement MDIO bus and support phylib
authorMax Filippov <jcmvbkbc@gmail.com>
Fri, 5 Aug 2016 15:26:21 +0000 (18:26 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 15 Aug 2016 18:34:49 +0000 (13:34 -0500)
commit0d0779c14128d561b9ce26efd414b5358197e52c
treed2d19f7b076c833fc40b096686876ef3509bdb0b
parent59b7dfa0d1dd54752427fc5f8b80e3f72e847298
net/ethoc: implement MDIO bus and support phylib

Implement MDIO bus read/write functions, initialize the bus and scan for
the PHY when phylib is enabled. Limit PHY speeds to 10/100 Mbps.

Cc: Michal Simek <monstr@monstr.eu>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/ethoc.c