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