mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 20:55:09 +07:00
748031f9fd
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>
16 lines
255 B
C
16 lines
255 B
C
#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
|