summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2009-10-09 02:17:14 +0200
committerDavid S. Miller <davem@davemloft.net>2009-10-13 12:44:05 +0200
commit748031f9fd2c06b28817d80761a5de97190cfd03 (patch)
tree06a66bfcf510cb22a961c1a617fdfa04562e9f1e /arch
parentcan: make the number of echo skb's configurable (diff)
downloadlinux-748031f9fd2c06b28817d80761a5de97190cfd03.tar.xz
linux-748031f9fd2c06b28817d80761a5de97190cfd03.zip
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/sh/include/asm/sh_eth.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/sh_eth.h b/arch/sh/include/asm/sh_eth.h
index acf99700deed..f739061e2ee4 100644
--- a/arch/sh/include/asm/sh_eth.h
+++ b/arch/sh/include/asm/sh_eth.h
@@ -7,6 +7,7 @@ struct sh_eth_plat_data {
int phy;
int edmac_endian;
+ unsigned char mac_addr[6];
unsigned no_ether_link:1;
unsigned ether_link_active_low:1;
};