summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/files/arch/mips
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-15 19:45:40 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-07-15 19:45:40 +0000
commit12e2f4aadfc594929beef0e5bfb5fa472440b7b2 (patch)
tree7e7d0f82938289d9d083e9690f8f24a44950f1a1 /target/linux/ramips/files/arch/mips
parent6002af8edd2ddae7ccde21aac99272ab18f194eb (diff)
ramips: add mdio_cfg configuration for the ethernet driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22211 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/files/arch/mips')
-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 ec1e7d4fa..25e91fec6 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
@@ -25,6 +25,11 @@ struct ramips_eth_platform_data
void (*reset_fe)(void);
int min_pkt_len;
unsigned long sys_freq;
+
+ int speed;
+ int duplex;
+ int tx_fc;
+ int rx_fc;
};
#endif /* _RAMIPS_ETH_PLATFORM_H */