]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sis190: read the mac address from the eeprom first
authorFrancois Romieu <romieu@fr.zoreil.com>
Mon, 18 Feb 2008 20:20:32 +0000 (21:20 +0100)
committerJeff Garzik <jeff@garzik.org>
Sun, 24 Feb 2008 04:57:47 +0000 (23:57 -0500)
commit563e0ae06ff18f0b280f11cf706ba0172255ce52
treedd1dfe89ac42824348b1ae8857685f77692c7dba
parent98e0f521456943801aacc7a4c0efb5b3bb6f89e0
sis190: read the mac address from the eeprom first

Reading a serie of zero from the cmos sram area do not work
well with is_valid_ether_addr(). Let's read the mac address
from the eeprom first as it seems more reliable.

Fix for http://bugzilla.kernel.org/show_bug.cgi?id=9831

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/sis190.c