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