From: Tom Rini Date: Tue, 30 Jul 2013 09:26:18 -0400 Subject: [U-Boot] net, phy, cpsw: fix gigabit register access In-Reply-To: <1374586356-16412-1-git-send-email-hs@denx.de> References: <1374586356-16412-1-git-send-email-hs@denx.de> Message-ID: <20130730132618.GM5104@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Jul 23, 2013 at 03:32:36PM +0200, Heiko Schocher wrote: > 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 > Cc: Joe Hershberger > Acked-by: Mugunthan V N Applied to u-boot-ti/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: