]> git.karo-electronics.de Git - karo-tx-linux.git/commit
net: fec: make sure to init MAC address
authorLucas Stach <l.stach@pengutronix.de>
Sun, 30 Mar 2014 19:32:08 +0000 (21:32 +0200)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:36 +0000 (21:17 -0600)
commitad5c4f889499d1359a1b19f38dafe40803b3bc74
tree6f33cbe8512a9742f05bc5786b4615c0af167f83
parentdc283a67b52d359fc88bf2c9489ac6be401ba561
net: fec: make sure to init MAC address

Though we made sure to acquire a valid MAC for
the netdevice we never actually programmed it
into the hardware.
So if the bootloader did not set the MAC,
network operation would only work if userspace
explicitly asked to transfer the MAC to hardware.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c