Yoshinori Sato | 71557a3 | 2008-08-06 19:49:00 -0400 | [diff] [blame] | 1 | #ifndef __ASM_SH_ETH_H__ |
| 2 | #define __ASM_SH_ETH_H__ |
| 3 | |
| 4 | enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN}; |
Yoshihiro Shimoda | 4a55530 | 2011-03-07 21:59:26 +0000 | [diff] [blame^] | 5 | enum { |
| 6 | SH_ETH_REG_GIGABIT, |
| 7 | SH_ETH_REG_FAST_SH4, |
| 8 | SH_ETH_REG_FAST_SH3_SH2 |
| 9 | }; |
Yoshinori Sato | 71557a3 | 2008-08-06 19:49:00 -0400 | [diff] [blame] | 10 | |
| 11 | struct sh_eth_plat_data { |
| 12 | int phy; |
| 13 | int edmac_endian; |
Yoshihiro Shimoda | 4a55530 | 2011-03-07 21:59:26 +0000 | [diff] [blame^] | 14 | int register_type; |
Yoshihiro Shimoda | 4923576 | 2009-08-27 23:25:03 +0000 | [diff] [blame] | 15 | |
Magnus Damm | 748031f | 2009-10-09 00:17:14 +0000 | [diff] [blame] | 16 | unsigned char mac_addr[6]; |
Yoshihiro Shimoda | 4923576 | 2009-08-27 23:25:03 +0000 | [diff] [blame] | 17 | unsigned no_ether_link:1; |
| 18 | unsigned ether_link_active_low:1; |
Yoshinori Sato | 71557a3 | 2008-08-06 19:49:00 -0400 | [diff] [blame] | 19 | }; |
| 20 | |
| 21 | #endif |