]> git.karo-electronics.de Git - karo-tx-linux.git/blob - include/linux/sh_eth.h
Merge tag 'for-linus-4.11b-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.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};
8
9 struct sh_eth_plat_data {
10         int phy;
11         int phy_irq;
12         int edmac_endian;
13         phy_interface_t phy_interface;
14         void (*set_mdio_gate)(void *addr);
15
16         unsigned char mac_addr[ETH_ALEN];
17         unsigned no_ether_link:1;
18         unsigned ether_link_active_low:1;
19         unsigned needs_init:1;
20 };
21
22 #endif