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