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)
commit235a251abad38910120ba2dbd77296983c1d71b2
tree151416b5df4e60bc42325e341cd21fce4aeaeb1d
parent78541c1dc60b65ecfce5a6a096fc260219d6784e
arc_emac: write initial MAC address from devicetree to hw

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