Re: 82559 driver bug

From: Andrey Savochkin (saw@saw.sw.com.sg)
Date: Mon Sep 25 2000 - 02:53:07 EST


Greg,

On Sun, Sep 24, 2000 at 11:42:11PM -0700, Greg Zhang wrote:
> I need to update the MAC address on a Intel 82559 ethernet card.
> Tried:
>
> # ifconfig eth0 down
> # ifconfig eth0 hw ether0 xx:xx:xx:xx:xx:xx
> # ifconfig eth0 up
>
> It seems to take effect. Ping works. I have not had time to verify
> whether the MAC address is changed on the wire.
>
> When the machine was rebooted, the new MAC address was lost.
> This seems to be a bug in the 82559 driver. 82559 spec specifies
> how to manipulate its control and status register to write to the
> EEPROM that stores the MAC address. Before I write a program
> to do this, can someone confirm that this is a bug and it currently
> has no fix?

It's not a bug and shouldn't be fixed.
The address set by `ifconfig hw' is a part of run-time system configuration,
and should stay as it.
If you want to change EEPROM, do it.
Take EEPROM update utility (e.g. from http://scyld.com/) and write what you
want.

Best regards
                                        Andrey V.
                                        Savochkin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:13 EST