]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: dm9000: random mac address support
authorAndrew Ruder <andrew.ruder@elecsyscorp.com>
Wed, 23 Oct 2013 00:09:02 +0000 (19:09 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Fri, 22 Nov 2013 23:03:19 +0000 (17:03 -0600)
commitc583ee16cb5db73fc299bb679ecb75a5abb3ca47
tree6b3963bf25765c45b3ec13eab3325f6e1c183e1c
parent8712adfd0595ea68ce06fb22420489dacc3a6cc6
net: dm9000: random mac address support

When an unprogrammed EEPROM is attached to a dm9000, the dm9000 will
come up with a invalid MAC address of ff:ff:ff:ff:ff:ff.  Add code that
gets enabled if CONFIG_RANDOM_MACADDR is enabled that generates a random
(and valid) locally administered MAC address that allows the system to
network boot until a real MAC address can be configured.

Signed-off-by: Andrew Ruder <andrew.ruder@elecsyscorp.com>
drivers/net/dm9000x.c