linux/drivers/net/ethernet/tile
Tobias Klauser d581ebf5a1 net: tile: Use helpers from linux/etherdevice.h to check/set MAC
Use is_zero_ether_addr() to check for the MAC address being all zeros instead of
open coding the check.

Also use ether_addr_copy() instead of a manual memcpy() to set the
netdev->dev_addr.

Furthermore, get rid of a redundant assignment of netdev->addr_len. This is
already set by ether_setup() which is called in tile_net_setup().

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-05-30 17:06:23 -07:00
..
Kconfig tile_net: Always enable PTP clock support on TILE-Gx 2013-12-27 12:44:55 -05:00
Makefile tilegx network driver: initial support 2012-06-11 17:01:26 -07:00
tilegx.c net: tile: Use helpers from linux/etherdevice.h to check/set MAC 2014-05-30 17:06:23 -07:00
tilepro.c tilepro: Call dev_consume_skb_any instead of kfree_skb. 2014-03-24 21:19:12 -07:00