ar71xx: disable flow control to the built-in switch on AR934x
authorFelix Fietkau <nbd@nbd.name>
Tue, 11 Oct 2016 21:59:19 +0000 (23:59 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Tue, 11 Oct 2016 21:59:19 +0000 (23:59 +0200)
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>
target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c

index 4c6588d6aec194688d7b71aacc852b7d7630fd9f..07cb12c8e9ff20ff03e239cf235bc03397041fa0 100644 (file)
@@ -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);