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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Mar 2014 20:34:19 +0000 (16:34 -0400)
commit44934fac2171d5b0ed1838293f2e2db7508ad628
tree0adfcc85a785187d002d90daf6e91d67ad6915db
parent6dfac5c33620de7f5ecd9dd07e2e2bb6549c4d55
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