]> git.baikalelectronics.ru Git - kernel.git/commit
atl1: save mac address on remove
authorChris Snook <csnook@redhat.com>
Thu, 29 Mar 2007 00:51:51 +0000 (20:51 -0400)
committerJeff Garzik <jeff@garzik.org>
Thu, 29 Mar 2007 12:26:05 +0000 (08:26 -0400)
commitd1049fd0ca5662e4e063e24ff063b1cf77caaf8f
tree946448901e0d9e460a7d0f049bd329809409f19f
parent83bbaedefee5710e8105ef34a184f1fdfa470e9d
atl1: save mac address on remove

Some atl1 boards get their MAC address written directly to the register
by the BIOS during POST, rather than storing it in EEPROM that's
accessible to the driver.  If the MAC register on one of these boards
is changed and then the module is unloaded, the permanent MAC address
will be forgotten until the box is rebooted.  We should save the
permanent address during removal if we've been messing with it.

Signed-off-by: Chris Snook <csnook@redhat.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/atl1/atl1_main.c