aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-02-15 06:47:12 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-02-15 06:47:12 +0000
commitdcb13d40980be316858dcb1a8f1bf5b196019e82 (patch)
treec8016d4ff730717031f10789f7c6cb5ca7edb000 /target/linux/ramips/files/arch
parent214c2e57fd3248e978a538a8c05d977cf90debe5 (diff)
downloadupstream-dcb13d40980be316858dcb1a8f1bf5b196019e82.tar.gz
upstream-dcb13d40980be316858dcb1a8f1bf5b196019e82.tar.bz2
upstream-dcb13d40980be316858dcb1a8f1bf5b196019e82.zip
ramips: raeth: add PHYLIB support
SVN-Revision: 30547
Diffstat (limited to 'target/linux/ramips/files/arch')
-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 25e91fec6d..57c0556b93 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 */