linux/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 net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
am79c961a.h fix file specification in comments 2006-10-03 23:01:26 +02:00
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 at91_ether: use netstats in net_device structure 2008-07-22 19:45:41 -04:00
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 net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
ether1.h
ether3.c net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions 2009-07-05 19:16:04 -07:00
ether3.h
etherh.c Revert "etherh: Get working again." 2009-02-22 19:54:16 -08:00
ixp4xx_eth.c netdev: drivers should make ethtool_ops const 2009-09-02 01:03:33 -07:00
Kconfig Add mac driver for w90p910 2009-07-20 07:45:05 -07:00
ks8695net.c drivers: Kill now superfluous ->last_rx stores 2009-09-02 23:07:36 -07:00
ks8695net.h net: Add support for the KS8695 ethernet devices. 2008-12-11 21:00:29 -08:00
Makefile Add mac driver for w90p910 2009-07-20 07:45:05 -07:00
w90p910_ether.c drivers: Kill now superfluous ->last_rx stores 2009-09-02 23:07:36 -07:00