]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Mar 2014 20:34:19 +0000 (16:34 -0400)
commite4abf82dea400828a49b20c4b9a5bfd5807727cd
tree0adfcc85a785187d002d90daf6e91d67ad6915db
parent8710dcb5b04d31be4abc3d0489e45bbef0856057
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