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>
This commit is contained in:
parent
cbf69fb2ad
commit
c8e76cd4ff
1 changed files with 2 additions and 1 deletions
|
@ -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_FIFO_CFG5, fifo5);
|
||||||
ag71xx_wr(ag, AG71XX_REG_MAC_IFCTL, ifctl);
|
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
|
* The rx ring buffer can stall on small packets on QCA953x and
|
||||||
* QCA956x. Disabling the inline checksum engine fixes the stall.
|
* QCA956x. Disabling the inline checksum engine fixes the stall.
|
||||||
|
|
Loading…
Reference in a new issue