net: allow sh_eth to get mac address through platform data
authorMagnus Damm <damm@opensource.se>
Fri, 9 Oct 2009 00:17:14 +0000 (00:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Oct 2009 10:44:05 +0000 (03:44 -0700)
commit748031f9fd2c06b28817d80761a5de97190cfd03
tree06a66bfcf510cb22a961c1a617fdfa04562e9f1e
parenta6e4bc5304033e434fabccabb230b8e9ff55d76f
net: allow sh_eth to get mac address through platform data

Extend the sh_eth driver to allow passing the mac address
using the platform data structure. This to simplify board
setup code.

Signed-off-by: Magnus Damm <damm@opensource.se>
Tested-by: Kuninori Morimoto <morimoto.kuninori@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sh/include/asm/sh_eth.h
drivers/net/sh_eth.c