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