blob: 6dfda97a6c1aef0899ebe626b6fe3bb1a6e0567b [file] [log] [blame]
Andrew Scullb4b6d4a2019-01-02 15:54:55 +00001/* 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
8struct sh_eth_plat_data {
9 int phy;
10 int phy_irq;
11 phy_interface_t phy_interface;
12 void (*set_mdio_gate)(void *addr);
13
14 unsigned char mac_addr[ETH_ALEN];
15 unsigned no_ether_link:1;
16 unsigned ether_link_active_low:1;
17};
18
19#endif