ar71xx: enable flow control for ethernet MACs with built-in switch
authorFelix Fietkau <nbd@nbd.name>
Tue, 11 Oct 2016 21:58:12 +0000 (23:58 +0200)
committerZoltan HERPAI <wigyori@uid0.hu>
Tue, 11 Oct 2016 21:58:12 +0000 (23:58 +0200)
commit5a779cdbb3359c65959679efdfa3db668db4b046
tree98b1d497b15dc92f0f86c756d5ce0272e3d6f8e1
parentf16bdf493ff6fa0ced7ad80807befc08676665ad
ar71xx: enable flow control for ethernet MACs with built-in switch

Should fix LAN speed issues on some devices. This is an updated version
of the previously reverted commit with the same name.
It improves the check for MACs connected to a built-in switch

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/ar71xx/files/arch/mips/ath79/dev-eth.c
target/linux/ar71xx/files/arch/mips/include/asm/mach-ath79/ag71xx_platform.h
target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c