Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765403AbYCUXGX (ORCPT ); Fri, 21 Mar 2008 19:06:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1763801AbYCUWvQ (ORCPT ); Fri, 21 Mar 2008 18:51:16 -0400 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:59409 "EHLO sous-sol.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763146AbYCUWvO (ORCPT ); Fri, 21 Mar 2008 18:51:14 -0400 Message-Id: <20080321224427.219166510@sous-sol.org> References: <20080321224250.144333319@sous-sol.org> User-Agent: quilt/0.46-1 Date: Fri, 21 Mar 2008 15:43:40 -0700 From: Chris Wright To: linux-kernel@vger.kernel.org, stable@kernel.org Cc: Justin Forbes , Zwane Mwaikambo , "Theodore Ts'o" , Randy Dunlap , Dave Jones , Chuck Wolber , Chris Wedgwood , Michael Krufky , Chuck Ebbert , Domenico Andreoli , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Haavard Skinnemoen , anemo@mba.ocn.ne.jp, jeff@garzik.org, Greg Kroah-Hartman Subject: [patch 50/76] macb: Fix speed setting Content-Disposition: inline; filename=macb-fix-speed-setting.patch Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1125 Lines: 36 -stable review patch. If anyone has any objections, please let us know. --------------------- From: Atsushi Nemoto Fix NCFGR.SPD setting on 10Mbps. This bug was introduced by conversion to generic PHY layer in kernel 2.6.23. Signed-off-by: Atsushi Nemoto Signed-off-by: Jeff Garzik Signed-off-by: Haavard Skinnemoen Signed-off-by: Chris Wright Signed-off-by: Greg Kroah-Hartman --- drivers/net/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -148,7 +148,7 @@ static void macb_handle_link_change(stru if (phydev->duplex) reg |= MACB_BIT(FD); - if (phydev->speed) + if (phydev->speed == SPEED_100) reg |= MACB_BIT(SPD); macb_writel(bp, NCFGR, reg); -- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/