]> git.sur5r.net Git - u-boot/commit
net: keystone_net: register MDIO bus
authorKhoronzhuk, Ivan <ivan.khoronzhuk@ti.com>
Fri, 17 Oct 2014 17:44:34 +0000 (20:44 +0300)
committerTom Rini <trini@ti.com>
Thu, 23 Oct 2014 15:27:28 +0000 (11:27 -0400)
commit550c5ce6f5b16e67f9af4c170efb91f1e342bafa
treea6880275ff5e6b488f1d59ca3ee5ad24ddbbecb1
parent1920e905efcd528b43535e0b19f6b433d321fa76
net: keystone_net: register MDIO bus

Currently MDIO framework is not used to configure Ethernet PHY.
As result some of already implemented functions are duplicated.
So register MDIO bus in order to use it. On that stage it's just
registered, it'll be used as we start to use PHY framework.

Use mdio bus read/write/reset functions in the driver.

Acked-by: Vitaly Andrianov <vitalya@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
drivers/net/keystone_net.c