1 #ifndef __ASM_SH_ETH_H__ 2 #define __ASM_SH_ETH_H__ 3 4 #include <linux/phy.h> 5 #include <linux/if_ether.h> 6 7 enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN}; 8 enum { 9 SH_ETH_REG_GIGABIT, 10 SH_ETH_REG_FAST_RCAR, 11 SH_ETH_REG_FAST_SH4, 12 SH_ETH_REG_FAST_SH3_SH2 13 }; 14 15 struct sh_eth_plat_data { 16 int phy; 17 int edmac_endian; 18 int register_type; 19 phy_interface_t phy_interface; 20 void (*set_mdio_gate)(void *addr); 21 22 unsigned char mac_addr[ETH_ALEN]; 23 unsigned no_ether_link:1; 24 unsigned ether_link_active_low:1; 25 unsigned needs_init:1; 26 }; 27 28 #endif 29