aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-08-25 11:53:50 +0200
committerFelix Fietkau <nbd@nbd.name>2016-08-25 11:54:31 +0200
commit83997146e76d4097e30facf6ad89e5fa3bd7c65b (patch)
treeaad1ba64af79492dfdd320380f385c7b1c1af1ec
parent6fdc527793728538ce150295ed3b3fcaf1a529ab (diff)
downloadupstream-83997146e76d4097e30facf6ad89e5fa3bd7c65b.tar.gz
upstream-83997146e76d4097e30facf6ad89e5fa3bd7c65b.tar.bz2
upstream-83997146e76d4097e30facf6ad89e5fa3bd7c65b.zip
ar71xx: disable flow control to the built-in switch on AR934x
It apparently causes a regression on some devices if the ethernet cable is plugged in while booting. Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
index 4c6588d6ae..07cb12c8e9 100644
--- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
+++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
@@ -981,7 +981,6 @@ void __init ath79_register_eth(unsigned int id)
pdata->set_speed = ath79_set_speed_dummy;
pdata->switch_data = &ath79_switch_data;
- pdata->use_flow_control = 1;
/* reset the built-in switch */
ath79_device_reset_set(AR934X_RESET_ETH_SWITCH);