android_kernel_xiaomi_sm8350/drivers/net/arm
Florian Fainelli 3c91c7ae84 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>
2009-11-29 23:50:32 -08:00
..
am79c961a.c
am79c961a.h
at91_ether.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-23 19:03:51 -07:00
at91_ether.h
ep93xx_eth.c ep93xx-eth: check for zero MAC address on probe, not on device open 2009-11-29 23:50:32 -08:00
ether1.c
ether1.h
ether3.c
ether3.h
etherh.c
ixp4xx_eth.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
Kconfig
ks8695net.c drivers: Kill now superfluous ->last_rx stores 2009-09-02 23:07:36 -07:00
ks8695net.h
Makefile
w90p910_ether.c drivers: Kill now superfluous ->last_rx stores 2009-09-02 23:07:36 -07:00