| 1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
| 2 |
#ifndef __AU1X00_ETH_DATA_H |
| 3 |
#define __AU1X00_ETH_DATA_H |
| 4 |
|
| 5 |
/* Platform specific PHY configuration passed to the MAC driver */ |
| 6 |
struct au1000_eth_platform_data { |
| 7 |
int phy_static_config; |
| 8 |
int phy_search_highest_addr; |
| 9 |
int phy1_search_mac0; |
| 10 |
int phy_addr; |
| 11 |
int phy_busid; |
| 12 |
int phy_irq; |
| 13 |
char mac[6]; |
| 14 |
}; |
| 15 |
|
| 16 |
void __init au1xxx_override_eth_cfg(unsigned port, |
| 17 |
struct au1000_eth_platform_data *eth_data); |
| 18 |
|
| 19 |
#endif /* __AU1X00_ETH_DATA_H */ |