arc_emac: write initial MAC address from devicetree to hw
authorMax Schwarz <max.schwarz@online.de>
Fri, 18 Apr 2014 00:17:32 +0000 (02:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 22 Apr 2014 19:55:11 +0000 (15:55 -0400)
The MAC address retrieved from dt was not actually written to the
hardware. This meant proper communication was only possible after
changing the MAC address.

Fix that by always writing the mac address during probing.

Signed-off-by: Max Schwarz <max.schwarz@online.de>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/arc/emac_main.c

Simple merge