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 Tested-by: Kuninori Morimoto Signed-off-by: David S. Miller
#ifndef __ASM_SH_ETH_H__ #define __ASM_SH_ETH_H__ enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN}; 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; }; #endif