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