Messages in this thread | | | Subject | Re: [PATCH 1/1] r8169: revert "read MAC address from EEPROM on init" | From | Krzysztof Halasa <> | Date | Mon, 27 Oct 2008 15:49:48 +0100 |
| |
Francois Romieu <romieu@fr.zoreil.com> 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
| |