aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-12-08 14:06:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-12-08 14:06:18 +0000
commitddc2e2270b1cd5596f8c83710625685f96d93867 (patch)
tree838f024f8b26b397b7946cc57e0f365b1f681e9f /target/linux/ar71xx/files
parentdf35ee622f1c7528dfa86f537cdb8a8c58ead684 (diff)
downloadupstream-ddc2e2270b1cd5596f8c83710625685f96d93867.tar.gz
upstream-ddc2e2270b1cd5596f8c83710625685f96d93867.tar.bz2
upstream-ddc2e2270b1cd5596f8c83710625685f96d93867.zip
ar71xx: make the rtl8306 switch attach to eth0 instead of eth1 on the wrt160nl, fixes wan port detection (#6309)
SVN-Revision: 18699
Diffstat (limited to 'target/linux/ar71xx/files')
-rw-r--r--target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c
index 0a73be112c..9f5f6f1971 100644
--- a/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c
+++ b/target/linux/ar71xx/files/arch/mips/ar71xx/mach-wrt160nl.c
@@ -124,7 +124,7 @@ static void __init wrt160nl_setup(void)
ar71xx_add_device_mdio(0x0);
ar71xx_eth0_data.phy_if_mode = PHY_INTERFACE_MODE_RMII;
- ar71xx_eth0_data.phy_mask = 0xf;
+ ar71xx_eth0_data.phy_mask = 0x01;
ar71xx_eth0_data.speed = SPEED_100;
ar71xx_eth0_data.duplex = DUPLEX_FULL;