rv1126-uboot/net
Ye Li 70664e19a3 UPSTREAM: net: Add eth phy generic driver for shared MDIO
For dual ethernet controllers, the HW design may connect ETH phys to
one MDIO ports. So two different ethernet drivers have to share MDIO bus.
Since two ethernet drivers are independent, we can't ensure their probe
order.

To resolve this problem, introduce an eth phy generic driver and uclass.

After eth-uclass binds, we search the mdio node and binds the phy node
with the eth-phy-generic driver.

When one eth driver get its phy device, the parent of phy device will
probe prior than phy device. So this ensure the eth driver ownes the
MDIO bus will be probed before using its MDIO.

Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: David Wu <david.wu@rock-chips.com>
Change-Id: Ice83493e9e1caf3842f9ce0c129e29ad46cc0532
2020-06-02 16:10:47 +08:00
..
Kconfig
Makefile UPSTREAM: net: introduce MDIO DM class for MDIO devices 2020-06-02 16:10:47 +08:00
arp.c
arp.h
bootp.c
bootp.h
cdp.c
cdp.h
checksum.c
dns.c
dns.h
eth-uclass.c UPSTREAM: net: Add eth phy generic driver for shared MDIO 2020-06-02 16:10:47 +08:00
eth_common.c
eth_internal.h
eth_legacy.c
fastboot.c fastboot: Handle getvar for partition-size 2017-11-14 10:55:47 +08:00
link_local.c
link_local.h
mdio-uclass.c UPSTREAM: net: introduce MDIO DM class for MDIO devices 2020-06-02 16:10:47 +08:00
net.c
net_rand.h
nfs.c
nfs.h
ping.c
ping.h
rarp.c
rarp.h
sntp.c
sntp.h
tftp.c UPSTREAM: net/tftp: fix build if CMD_BOOTEFI is not set 2018-01-16 18:16:48 +08:00