sh_eth.h 396 B

123456789101112131415161718192021
  1. #ifndef __ASM_SH_ETH_H__
  2. #define __ASM_SH_ETH_H__
  3. #include <linux/phy.h>
  4. #include <linux/if_ether.h>
  5. enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN};
  6. struct sh_eth_plat_data {
  7. int phy;
  8. int phy_irq;
  9. int edmac_endian;
  10. phy_interface_t phy_interface;
  11. void (*set_mdio_gate)(void *addr);
  12. unsigned char mac_addr[ETH_ALEN];
  13. unsigned no_ether_link:1;
  14. unsigned ether_link_active_low:1;
  15. };
  16. #endif