]> 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)
commit9d948ef3bdd559818e071ee371c3e8555e1eaab4
tree0adfcc85a785187d002d90daf6e91d67ad6915db
parentfe2aee2ed13e37c6caafb48269eff9a853a4261c
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