Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946269AbXBCCjJ (ORCPT ); Fri, 2 Feb 2007 21:39:09 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1946263AbXBCCjB (ORCPT ); Fri, 2 Feb 2007 21:39:01 -0500 Received: from 216-99-217-87.dsl.aracnet.com ([216.99.217.87]:53013 "EHLO sous-sol.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1946260AbXBCCij (ORCPT ); Fri, 2 Feb 2007 21:38:39 -0500 Message-Id: <20070203024258.513553000@sous-sol.org> References: <20070203023504.435051000@sous-sol.org> User-Agent: quilt/0.45-1 Date: Fri, 02 Feb 2007 18:35:37 -0800 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 , torvalds@linux-foundation.org, akpm@linux-foundation.org, alan@lxorguk.ukuu.org.uk, Francois Romieu , Andrew Morton , , Jeff Garzik Subject: [patch 33/59] sis190: failure to set the MAC address from EEPROM Content-Disposition: inline; filename=sis190-failure-to-set-the-mac-address-from-eeprom.patch Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1168 Lines: 34 -stable review patch. If anyone has any objections, please let us know. ------------------ From: Francois Romieu Fix from http://bugzilla.kernel.org/show_bug.cgi?id=7747 Signed-off-by: Andrew Morton Cc: Signed-off-by: Francois Romieu Signed-off-by: Jeff Garzik Signed-off-by: Chris Wright --- drivers/net/sis190.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.19.2.orig/drivers/net/sis190.c +++ linux-2.6.19.2/drivers/net/sis190.c @@ -1559,7 +1559,7 @@ static int __devinit sis190_get_mac_addr for (i = 0; i < MAC_ADDR_LEN / 2; i++) { __le16 w = sis190_read_eeprom(ioaddr, EEPROMMACAddr + i); - ((u16 *)dev->dev_addr)[0] = le16_to_cpu(w); + ((u16 *)dev->dev_addr)[i] = le16_to_cpu(w); } sis190_set_rgmii(tp, sis190_read_eeprom(ioaddr, EEPROMInfo)); -- - 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/