Merge remote-tracking branch 'regulator/fix/qcom-spmi' into regulator-linus
[sfrench/cifs-2.6.git] / include / linux / sh_eth.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __ASM_SH_ETH_H__
3 #define __ASM_SH_ETH_H__
4
5 #include <linux/phy.h>
6 #include <linux/if_ether.h>
7
8 enum {EDMAC_LITTLE_ENDIAN};
9
10 struct sh_eth_plat_data {
11         int phy;
12         int phy_irq;
13         int edmac_endian;
14         phy_interface_t phy_interface;
15         void (*set_mdio_gate)(void *addr);
16
17         unsigned char mac_addr[ETH_ALEN];
18         unsigned no_ether_link:1;
19         unsigned ether_link_active_low:1;
20         unsigned needs_init:1;
21 };
22
23 #endif