summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/arch/mips
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2008-10-31 11:50:47 +0000
committerGabor Juhos <juhosg@openwrt.org>2008-10-31 11:50:47 +0000
commite0fc95a2ab722eadfdbf5f44acd43d455058c992 (patch)
treee7ab986994416f8b35a7e60b35e38eb6dd9ff9dc /target/linux/ar71xx/files/arch/mips
parente050667baa9dee46bcf7a38c52ea7a49fd7e4842 (diff)
downloadmtk-20170518-e0fc95a2ab722eadfdbf5f44acd43d455058c992.zip
mtk-20170518-e0fc95a2ab722eadfdbf5f44acd43d455058c992.tar.gz
mtk-20170518-e0fc95a2ab722eadfdbf5f44acd43d455058c992.tar.bz2
setup speed/duplex on RB-433/450 (closes #4151)
SVN-Revision: 13087
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
index 8e63aca..d704d7d 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-rb-4xx.c
@@ -183,6 +183,8 @@ static void __init rb433_setup(void)
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
ar71xx_eth0_data.phy_mask = 0x00000003;
+ ar71xx_eth0_data.speed = SPEED_100;
+ ar71xx_eth0_data.duplex = DUPLEX_FULL;
ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
ar71xx_eth1_data.phy_mask = 0x00000010;
@@ -212,6 +214,8 @@ static void __init rb450_setup(void)
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_MII;
ar71xx_eth0_data.phy_mask = 0x0000000f;
+ ar71xx_eth0_data.speed = SPEED_100;
+ ar71xx_eth0_data.duplex = DUPLEX_FULL;
ar71xx_eth1_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
ar71xx_eth1_data.phy_mask = 0x00000010;