diff options
author | Florian Fainelli <florian@openwrt.org> | 2009-11-28 13:57:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 23:50:32 -0800 |
commit | 3c91c7ae84966f992429e1e128c4936f22b89064 (patch) | |
tree | c13ec087971bd55235e1dfff1ae009d63d76db46 /drivers/net/3c501.c | |
parent | d5ccd67bb77ced5249067d05171992a7d5020393 (diff) | |
download | linux-3c91c7ae84966f992429e1e128c4936f22b89064.tar.gz linux-3c91c7ae84966f992429e1e128c4936f22b89064.tar.bz2 linux-3c91c7ae84966f992429e1e128c4936f22b89064.zip |
ep93xx-eth: check for zero MAC address on probe, not on device open
If we happen to have registered the driver without passing
a MAC address, we will print a zero MAC address and register
the interface with this invalid address, this is confusin. This
patch moves the checking of a valid ethernet address and the
generation of a random one down from the open function to
the probe function.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/3c501.c')
0 files changed, 0 insertions, 0 deletions