summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips/include
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/files/arch/mips/include')
-rw-r--r--target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h
index 25e91fec6..57c0556b9 100644
--- a/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h
+++ b/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/ramips_eth_platform.h
@@ -19,6 +19,8 @@
#ifndef _RAMIPS_ETH_PLATFORM_H
#define _RAMIPS_ETH_PLATFORM_H
+#include <linux/phy.h>
+
struct ramips_eth_platform_data
{
unsigned char mac[6];
@@ -30,6 +32,9 @@ struct ramips_eth_platform_data
int duplex;
int tx_fc;
int rx_fc;
+
+ u32 phy_mask;
+ phy_interface_t phy_if_mode;
};
#endif /* _RAMIPS_ETH_PLATFORM_H */