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