r6040: generate random ethernet MAC address when not initialized
authorFlorian Fainelli <florian@openwrt.org>
Thu, 8 Jan 2009 15:04:45 +0000 (15:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jan 2009 08:03:38 +0000 (00:03 -0800)
commit9f1136182f732f6e847fc43bd88b579739d5c211
tree97f375925a18791b266c444443096555c31bf9db
parent58854c6b411e9e9f46b39bd7092022f639c41904
r6040: generate random ethernet MAC address when not initialized

This patch makes the ethernet driver assign a random ethernet
MAC address when the bootloader does not set it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r6040.c