Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752112AbYJ0OuI (ORCPT ); Mon, 27 Oct 2008 10:50:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750928AbYJ0Oty (ORCPT ); Mon, 27 Oct 2008 10:49:54 -0400 Received: from khc.piap.pl ([195.187.100.11]:49756 "EHLO khc.piap.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750779AbYJ0Otx (ORCPT ); Mon, 27 Oct 2008 10:49:53 -0400 To: Francois Romieu Cc: Linus Torvalds , jgarzik@pobox.com, David Miller , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Alistair John Strachan , Ivan Vecera , Chuck Ebbert , Petr Vandrovec , Plamen Petrov , Ilpo J?rvinen , "J.A. Magall\?n" , Jiri Slaby , Simon Arlott , Andrew Morton , Edward Hsu Subject: Re: [PATCH 1/1] r8169: revert "read MAC address from EEPROM on init" References: <20081026160249.GA25443@electric-eye.fr.zoreil.com> <20081026222224.GC24790@electric-eye.fr.zoreil.com> From: Krzysztof Halasa Date: Mon, 27 Oct 2008 15:49:48 +0100 In-Reply-To: <20081026222224.GC24790@electric-eye.fr.zoreil.com> (Francois Romieu's message of "Sun\, 26 Oct 2008 23\:22\:24 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1220 Lines: 32 Francois Romieu writes: > In practice I noticed rather different behaviors between a 8168b and > a 8110s when I tried accessing the eeprom through plain old bitbang > a few months ago (i.e. ok on the 8110, lots of zero on the 8168b). You mean "manually" controlling EEPROM clock and data lines, using a different register? A speed issue by chance? If they have a different way to write to the EEPROM (using direct access to EEPROM signals), then perhaps there is no EEPROM write mode using VPD? VPD write mode (not writing to the address/F register, but writing to VPD "storage" itself) is quite simple and permanent, thus kind of dangerous. If it's R/O, then it can't erase the EEPROM (parts). >> I wonder if changing the MAC address by hand works (using ifconfig, to >> arbitrary address). > > It does. It can be quite sticky. That was the whole point of the > patch. I see. I wouldn't drop this patch permanently, though. -- Krzysztof Halasa -- 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/