]> git.baikalelectronics.ru Git - kernel.git/commit
atl1: read MAC address from register
authorJay Cliburn <jacliburn@bellsouth.net>
Thu, 15 Feb 2007 02:14:55 +0000 (20:14 -0600)
committerJeff Garzik <jeff@garzik.org>
Sat, 17 Feb 2007 20:16:08 +0000 (15:16 -0500)
commita20b6c772f109fd4b97a6d772ed5cb1cfc0b7808
tree930be7e89650a4b82ca589f60c2a34391d8e09b6
parent2ee26ac70653af67061f868661f0c85fbd7299f5
atl1: read MAC address from register

On some Asus motherboards containing the L1 NIC, the MAC address is
written by the BIOS directly to the MAC register during POST, and is
not stored in eeprom.  If we don't succeed in fetching the MAC address
from eeprom or spi, try reading it directly from the MAC register.
Suggested by Xiong Huang.

And do some cleanup while we've got the hood up...

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