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> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| am79c961a.c | ||
| am79c961a.h | ||
| at91_ether.c | ||
| at91_ether.h | ||
| ep93xx_eth.c | ||
| ether1.c | ||
| ether1.h | ||
| ether3.c | ||
| ether3.h | ||
| etherh.c | ||
| ixp4xx_eth.c | ||
| ks8695net.c | ||
| ks8695net.h | ||
| w90p910_ether.c | ||