]> err.no Git - linux-2.6/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)
commitfd8c5a7da3c48e53c7859d9f0c1d82ba02ca0a20
tree930be7e89650a4b82ca589f60c2a34391d8e09b6
parenta62daa4c7544a0f0ca94d61458e3f78f630e0c05
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