sh_eth.h 369 B

12345678910111213141516171819
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __ASM_SH_ETH_H__
  3. #define __ASM_SH_ETH_H__
  4. #include <linux/phy.h>
  5. #include <linux/if_ether.h>
  6. struct sh_eth_plat_data {
  7. int phy;
  8. int phy_irq;
  9. phy_interface_t phy_interface;
  10. void (*set_mdio_gate)(void *addr);
  11. unsigned char mac_addr[ETH_ALEN];
  12. unsigned no_ether_link:1;
  13. unsigned ether_link_active_low:1;
  14. };
  15. #endif