linux_dsm_epyc7002/drivers/net/ethernet/ti
Danny Kukawka baf1d3788e davinci_emac: use eth_hw_addr_random() instead of random_ether_addr()
Use eth_hw_addr_random() instead of calling random_ether_addr()
to set addr_assign_type correctly to NET_ADDR_RANDOM.

Reset the state to NET_ADDR_PERM as soon as the MAC get
changed via .ndo_set_mac_address.

Remove one memcpy from emac_dev_setmac_addr() since this is a
duplicate: it's already done some lines above.

v2: use bitops, adapt to eth_hw_addr_random, remove a memcpy

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-02-17 15:52:31 -05:00
..
cpmac.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
davinci_cpdma.c davinci-cpdma: fix locking issue in cpdma_chan_stop 2011-12-19 16:31:13 -05:00
davinci_cpdma.h davinci*/tlan/cpmac: Move the Texas Instruments (TI) drivers 2011-08-12 03:41:10 -07:00
davinci_emac.c davinci_emac: use eth_hw_addr_random() instead of random_ether_addr() 2012-02-17 15:52:31 -05:00
davinci_mdio.c drivers/net/ethernet/ti: Move call to PTR_ERR after reassignment 2012-02-02 14:35:12 -05:00
Kconfig drivers/net/ethernet/*: Enabled vendor Kconfig options 2011-08-27 00:58:56 -07:00
Makefile davinci*/tlan/cpmac: Move the Texas Instruments (TI) drivers 2011-08-12 03:41:10 -07:00
tlan.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
tlan.h davinci*/tlan/cpmac: Move the Texas Instruments (TI) drivers 2011-08-12 03:41:10 -07:00