1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-09-01 16:52:14 +02:00
Files
u-boot-megous/drivers/net
Michal Simek 6a10bc5be8 net: phy: realtek: Use generic genphy_parse_link() for RTL8211E
The problem with current implementation is that SPDDONE bit is 1
but link bit is zero. That's why phydev->link is setup to 0
which ending up in driver failure that link is not up.

Log:
Zynq> dhcp
ethernet@e000b000 Waiting for PHY auto negotiation to complete.......
done
ethernet@e000b000: No link.

There is at least 1ms delay between spddone bit and link up.

Use genphy_read_status() instead of realtek implemenation which is
working with page 11. Linux driver is also using generic implementation.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
2016-02-22 16:37:50 +01:00
..
2016-02-06 12:00:59 +01:00
2016-02-05 12:47:23 +08:00
2016-01-25 10:40:01 -05:00
2016-02-06 12:00:59 +01:00
2015-08-11 13:27:15 -05:00
2016-01-14 14:08:59 +01:00
2016-02-06 12:00:59 +01:00
2015-11-05 08:22:21 +01:00
2016-01-07 12:18:58 -07:00
2015-09-11 17:14:43 -04:00
2015-09-11 17:14:43 -04:00
2016-01-27 15:55:51 +01:00