ar71xx: enable flow control for ethernet MACs with built-in switch
authorFelix Fietkau <nbd@nbd.name>
Tue, 14 Jun 2016 09:27:20 +0000 (11:27 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sun, 26 Jun 2016 09:21:17 +0000 (11:21 +0200)
commit26b8db253745b0591bfffa21f02323428f11a88f
treedab85a8a94724b8b8677e871b800e8566f78f6ee
parent9493613e9443a4f64b7e47a17808cc6f5f66a495
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