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 | |
888cc8c2 | 8 | enum {EDMAC_LITTLE_ENDIAN}; |
71557a37 YS |
9 | |
10 | struct sh_eth_plat_data { | |
11 | int phy; | |
18be099b | 12 | int phy_irq; |
71557a37 | 13 | int edmac_endian; |
e47c9052 | 14 | phy_interface_t phy_interface; |
8eac3f60 | 15 | void (*set_mdio_gate)(void *addr); |
4923576b | 16 | |
574e2af7 | 17 | unsigned char mac_addr[ETH_ALEN]; |
4923576b YS |
18 | unsigned no_ether_link:1; |
19 | unsigned ether_link_active_low:1; | |
150647fb | 20 | unsigned needs_init:1; |
71557a37 YS |
21 | }; |
22 | ||
23 | #endif |