Tobias Klauser 6850f8b509 net: bgmac: store MAC address directly in netdev->dev_addr
After commit 34a5102c3235 ("net: bgmac: allocate struct bgmac just once
& don't copy it") the mac_addr member of struct bgmac is no longer
necessary to pass the MAC address to bgmac_enet_probe(). Instead it can
directly be stored in netdev->dev_addr.

Also use eth_hw_addr_random() instead of eth_random_addr() in case a
random MAC is nedded. This will make sure netdev->addr_assign_type will
be properly set.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Jon Mason <jon.mason@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-02-17 13:03:39 -05:00
..
2016-12-25 10:47:44 +01:00
2016-12-18 15:49:10 -08:00
2017-01-25 15:35:11 +05:30
2017-01-06 10:49:36 -08:00
2016-12-25 10:47:44 +01:00
2016-12-25 17:21:22 +01:00
2017-02-16 10:22:41 -08:00
2016-12-19 08:16:26 -08:00
2017-01-26 17:49:14 +02:00
2016-12-25 10:47:44 +01:00
2016-12-25 17:21:22 +01:00
2017-02-03 13:46:38 -08:00
2016-12-15 16:03:25 -08:00
2017-01-20 12:25:11 -08:00
2017-02-03 22:19:15 +01:00
2017-02-11 20:59:41 -05:00
2016-12-24 11:27:45 -08:00