Merge branches 'for-3.9/sony' and 'for-3.9/steelseries' into for-linus
[linux-2.6-block.git] / include / linux / sh_eth.h
CommitLineData
71557a37
YS
1#ifndef __ASM_SH_ETH_H__
2#define __ASM_SH_ETH_H__
3
e47c9052
YS
4#include <linux/phy.h>
5
71557a37 6enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN};
4a55530f
YS
7enum {
8 SH_ETH_REG_GIGABIT,
9 SH_ETH_REG_FAST_SH4,
10 SH_ETH_REG_FAST_SH3_SH2
11};
71557a37
YS
12
13struct sh_eth_plat_data {
14 int phy;
15 int edmac_endian;
4a55530f 16 int register_type;
e47c9052 17 phy_interface_t phy_interface;
8eac3f60 18 void (*set_mdio_gate)(void *addr);
4923576b 19
748031f9 20 unsigned char mac_addr[6];
4923576b
YS
21 unsigned no_ether_link:1;
22 unsigned ether_link_active_low:1;
150647fb 23 unsigned needs_init:1;
71557a37
YS
24};
25
26#endif