exec: move allow_write_access/fput to exec_binprm()
[platform/adaptation/renesas_rcar/renesas_kernel.git] / include / linux / sh_eth.h
1 #ifndef __ASM_SH_ETH_H__
2 #define __ASM_SH_ETH_H__
3
4 #include <linux/phy.h>
5 #include <linux/if_ether.h>
6
7 enum {EDMAC_LITTLE_ENDIAN, EDMAC_BIG_ENDIAN};
8
9 struct sh_eth_plat_data {
10         int phy;
11         int edmac_endian;
12         phy_interface_t phy_interface;
13         void (*set_mdio_gate)(void *addr);
14
15         unsigned char mac_addr[ETH_ALEN];
16         unsigned no_ether_link:1;
17         unsigned ether_link_active_low:1;
18         unsigned needs_init:1;
19 };
20
21 #endif