]> git.baikalelectronics.ru Git - kernel.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)
commit96543faf3f0f5039e3a1f21edafc800b26814761
treedd1dfe89ac42824348b1ae8857685f77692c7dba
parentdbe84abc3143f6142d9a5e44c64a78f82f383f57
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