Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_SH_ETH_H__
0003 #define __ASM_SH_ETH_H__
0004 
0005 #include <linux/phy.h>
0006 #include <linux/if_ether.h>
0007 
0008 struct sh_eth_plat_data {
0009     int phy;
0010     int phy_irq;
0011     phy_interface_t phy_interface;
0012     void (*set_mdio_gate)(void *addr);
0013 
0014     unsigned char mac_addr[ETH_ALEN];
0015     unsigned no_ether_link:1;
0016     unsigned ether_link_active_low:1;
0017 };
0018 
0019 #endif