Heiko Schocher f6d1f6e4a5 net, phy, cpsw: fix gigabit register access
accessing a lan9303 switch with the cpsw driver results in wrong
speed detection, as the switch sets the BMSR_ERCAP in BMSR
register, and follow read of the MII_STAT1000 register fails, as
the switch does not support it. Current code did not check,
if a phy_read() fails ... fix this.

Signed-off-by: Heiko Schocher <hs@denx.de>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Tom Rini <trini@ti.com>
2013-07-30 09:21:42 -04:00
..
2011-01-09 18:06:50 +01:00
2010-07-12 00:14:29 -07:00
2012-05-22 10:18:15 -05:00
2013-04-01 16:33:52 -04:00
2013-04-01 16:33:52 -04:00
2008-05-21 00:14:08 +02:00
2012-11-04 11:00:36 -07:00