Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph...
[linux-2.6.git] / include / linux / sh_eth.h
blobfc305713fc6d4e09d05ef30dd1be1ce24407cfd4
1 #ifndef __ASM_SH_ETH_H__
2 #define __ASM_SH_ETH_H__
4 #include <linux/phy.h>
6 enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN};
7 enum {
8 SH_ETH_REG_GIGABIT,
9 SH_ETH_REG_FAST_RCAR,
10 SH_ETH_REG_FAST_SH4,
11 SH_ETH_REG_FAST_SH3_SH2
14 struct sh_eth_plat_data {
15 int phy;
16 int edmac_endian;
17 int register_type;
18 phy_interface_t phy_interface;
19 void (*set_mdio_gate)(void *addr);
21 unsigned char mac_addr[6];
22 unsigned no_ether_link:1;
23 unsigned ether_link_active_low:1;
24 unsigned needs_init:1;
27 #endif