via-rhine: Assign random MAC address if necessary
authorJoe Perches <joe@perches.com>
Sat, 16 Apr 2011 14:15:26 +0000 (14:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2011 00:56:37 +0000 (17:56 -0700)
commit482e3febc2e7df78411005dcdd7621c16b98b088
tree93ba6fae8768ddfb20a05f17414f609a6c4dcc29
parentdf4511feb76173db872c8845b63179dd15f2b7da
via-rhine: Assign random MAC address if necessary

Roger Luethi has had several reports of Rhine NICs providing
an invalid MAC address.  If so, assign a random MAC address so
the hardware can still be used.

Tested as a standalone interface, as carrier for ppp, and as a
bonding slave.

Original-patch-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/via-rhine.c