PageRenderTime 18ms CodeModel.GetById 15ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/include/linux/sh_eth.h

https://github.com/airy09/android_kernel_sony_apq8064
C Header | 26 lines | 21 code | 5 blank | 0 comment | 0 complexity | 935b88b747abf61d5cdd10c74fd2b303 MD5 | raw file
 1#ifndef __ASM_SH_ETH_H__
 2#define __ASM_SH_ETH_H__
 3
 4#include <linux/phy.h>
 5
 6enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN};
 7enum {
 8	SH_ETH_REG_GIGABIT,
 9	SH_ETH_REG_FAST_SH4,
10	SH_ETH_REG_FAST_SH3_SH2
11};
12
13struct 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	unsigned needs_init:1;
24};
25
26#endif