1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */ 266f75ccbSFlorian Fainelli #ifndef __AU1X00_ETH_DATA_H 366f75ccbSFlorian Fainelli #define __AU1X00_ETH_DATA_H 466f75ccbSFlorian Fainelli 566f75ccbSFlorian Fainelli /* Platform specific PHY configuration passed to the MAC driver */ 666f75ccbSFlorian Fainelli struct au1000_eth_platform_data { 766f75ccbSFlorian Fainelli int phy_static_config; 866f75ccbSFlorian Fainelli int phy_search_highest_addr; 966f75ccbSFlorian Fainelli int phy1_search_mac0; 1066f75ccbSFlorian Fainelli int phy_addr; 1166f75ccbSFlorian Fainelli int phy_busid; 1266f75ccbSFlorian Fainelli int phy_irq; 13f6673653SManuel Lauss char mac[6]; 1466f75ccbSFlorian Fainelli }; 1566f75ccbSFlorian Fainelli 1666f75ccbSFlorian Fainelli void __init au1xxx_override_eth_cfg(unsigned port, 1766f75ccbSFlorian Fainelli struct au1000_eth_platform_data *eth_data); 1866f75ccbSFlorian Fainelli 1966f75ccbSFlorian Fainelli #endif /* __AU1X00_ETH_DATA_H */ 20