mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-31 16:35:44 +00:00
ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48227
This commit is contained in:
parent
abc99463b4
commit
cf2cf43717
@ -919,7 +919,7 @@ static int ag71xx_tx_packets(struct ag71xx *ag, bool flush)
|
|||||||
struct sk_buff *skb = ring->buf[i].skb;
|
struct sk_buff *skb = ring->buf[i].skb;
|
||||||
|
|
||||||
if (!flush && !ag71xx_desc_empty(desc)) {
|
if (!flush && !ag71xx_desc_empty(desc)) {
|
||||||
if (pdata->is_ar7240 &&
|
if (pdata->is_ar724x &&
|
||||||
ag71xx_check_dma_stuck(ag, ring->buf[i].timestamp))
|
ag71xx_check_dma_stuck(ag, ring->buf[i].timestamp))
|
||||||
schedule_work(&ag->restart_work);
|
schedule_work(&ag->restart_work);
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user