diff options
| author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2011-09-27 17:49:12 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2011-09-28 13:41:51 -0400 |
| commit | d4fa0e35fdbd54acf791fa3793d6d17f7795f7ae (patch) | |
| tree | 19aa0a839ab928c8b7b0bfb2fccec3572618270e /include/linux | |
| parent | 8eac3f60acad6e05a938a3d5feef01cb367bde4a (diff) | |
net: sh_eth: move the asm/sh_eth.h to include/linux/
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sh_eth.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/linux/sh_eth.h b/include/linux/sh_eth.h new file mode 100644 index 000000000000..2076acf8294d --- /dev/null +++ b/include/linux/sh_eth.h | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | #ifndef __ASM_SH_ETH_H__ | ||
| 2 | #define __ASM_SH_ETH_H__ | ||
| 3 | |||
| 4 | #include <linux/phy.h> | ||
| 5 | |||
| 6 | enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN}; | ||
| 7 | enum { | ||
| 8 | SH_ETH_REG_GIGABIT, | ||
| 9 | SH_ETH_REG_FAST_SH4, | ||
| 10 | SH_ETH_REG_FAST_SH3_SH2 | ||
| 11 | }; | ||
| 12 | |||
| 13 | struct sh_eth_plat_data { | ||
| 14 | int phy; | ||
| 15 | int edmac_endian; | ||
| 16 | int register_type; | ||
| 17 | phy_interface_t phy_interface; | ||
| 18 | void (*set_mdio_gate)(void *addr); | ||
| 19 | |||
| 20 | unsigned char mac_addr[6]; | ||
| 21 | unsigned no_ether_link:1; | ||
| 22 | unsigned ether_link_active_low:1; | ||
| 23 | }; | ||
| 24 | |||
| 25 | #endif | ||
