From d1f2257d3bf88d83eef6b799ac7d663470dadfcb Mon Sep 17 00:00:00 2001 From: thedukesd <79054339+thedukesd@users.noreply.github.com> Date: Sun, 14 Feb 2021 20:00:49 +0200 Subject: [PATCH] ar71xx: disable pdata->use_flow_control for AR7240 Flow control is causing the AR7240 switch to hang. Fixes: FS#3054 Signed-off-by: CN_SZTL --- target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c | 1 - 1 file changed, 1 deletion(-) 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 1e230bce61..ad9b34ff3a 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c @@ -931,7 +931,6 @@ void __init ath79_register_eth(unsigned int id) pdata->speed = SPEED_1000; pdata->duplex = DUPLEX_FULL; pdata->switch_data = &ath79_switch_data; - pdata->use_flow_control = 1; ath79_switch_data.phy_poll_mask |= BIT(4); }