macsonic: fix crash on PowerBook 520
authorFinn Thain <fthain@telegraphics.com.au>
Tue, 3 Nov 2009 03:42:40 +0000 (03:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 7 Nov 2009 04:26:10 +0000 (20:26 -0800)
commitdcaa6a9414cdc767c0afba4705c25ae9cf6096b5
tree9b262faad14856b7357131a4a4a207880926f0fa
parent87d75b52414a22c54cf8382bcdd329376b1bce78
macsonic: fix crash on PowerBook 520

No-one seems to know where the PowerBook 500 series store their ethernet
MAC addresses. So, rather than crash, use a MAC address from the SONIC
CAM. Failing that, generate a random one.

Signed-off-by: Finn Thain <fthain@telegraphics.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macsonic.c