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}; 8 9 struct sh_eth_plat_data { 10 int phy; 11 int phy_irq; 12 int edmac_endian; 13 phy_interface_t phy_interface; 14 void (*set_mdio_gate)(void *addr); 15 16 unsigned char mac_addr[ETH_ALEN]; 17 unsigned no_ether_link:1; 18 unsigned ether_link_active_low:1; 19 }; 20 21 #endif 22