]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita035aafce104fb79f54f6f0c75fa35790afe9356
tree151416b5df4e60bc42325e341cd21fce4aeaeb1d
parent3c3f4450847ae203f9db9cda01aa66f275edf34a
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