[TG3]: Fix probe failure due to invalid MAC address
authorMichael Chan <mchan@broadcom.com>
Tue, 28 Mar 2006 07:14:53 +0000 (23:14 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 29 Mar 2006 01:02:35 +0000 (17:02 -0800)
commit008652b337364ee994a0cd71d88a0fe9f00fc7ca
tree1a92b594cf22327ac92484e37129d86bac6f663c
parentca9ba4471c1203bb6e759b76e83167fec54fe590
[TG3]: Fix probe failure due to invalid MAC address

Some older bootcode in some devices may report 0 MAC address in
SRAM when booting up from low power state. This patch fixes the
problem by checking for a valid MAC address in SRAM and falling back
to NVRAM if necessary.

Thanks to walt <wa1ter@myrealbox.com> for reporting the problem
and helping to debug it.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c