From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mugunthan V N Date: Wed, 24 Jul 2013 13:08:24 +0530 Subject: [U-Boot] [PATCH] 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: <51EF8470.908@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 7/23/2013 7:02 PM, 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 Looks correct Acked-by: Mugunthan V N Regards Mugunthan V N