diff options
author | Lucian Cristian <lucian.cristian@gmail.com> | 2018-06-18 18:55:13 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-18 18:21:20 +0200 |
commit | c8e76cd4ff675c622c6c5f4f531b8dd2a04d0fba (patch) | |
tree | 0eb49735529f64cf0229ca1f07cfc4e586026719 /target/linux/ath79/files/drivers/net/ethernet/atheros | |
parent | cbf69fb2adced6096addbe6aeb54c1971c63dbe4 (diff) | |
download | upstream-c8e76cd4ff675c622c6c5f4f531b8dd2a04d0fba.tar.gz upstream-c8e76cd4ff675c622c6c5f4f531b8dd2a04d0fba.tar.bz2 upstream-c8e76cd4ff675c622c6c5f4f531b8dd2a04d0fba.zip |
ath79: fix rx ring buffer stall qca956x
when ported from ar71xx to ath79 the qca9560-eth was omitted
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'target/linux/ath79/files/drivers/net/ethernet/atheros')
-rw-r--r-- | target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c index feb3daf12f..635c3b9127 100644 --- a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c +++ b/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c @@ -634,7 +634,8 @@ __ag71xx_link_adjust(struct ag71xx *ag, bool update) ag71xx_wr(ag, AG71XX_REG_FIFO_CFG5, fifo5); ag71xx_wr(ag, AG71XX_REG_MAC_IFCTL, ifctl); - if (of_device_is_compatible(np, "qca,qca9530-eth")) { + if (of_device_is_compatible(np, "qca,qca9530-eth") || + of_device_is_compatible(np, "qca,qca9560-eth")) { /* * The rx ring buffer can stall on small packets on QCA953x and * QCA956x. Disabling the inline checksum engine fixes the stall. |