Author: nbd
Date: 2016-01-15 13:59:26 +0100 (Fri, 15 Jan 2016)
New Revision: 48245

Modified:
   
branches/chaos_calmer/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
Log:
ar71xx: extend ethernet DMA stuck check to all ar724x (and newer) chips

Signed-off-by: Felix Fietkau <[email protected]>

Backport of r48227

Modified: 
branches/chaos_calmer/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
===================================================================
--- 
branches/chaos_calmer/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
   2016-01-15 11:24:15 UTC (rev 48244)
+++ 
branches/chaos_calmer/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
   2016-01-15 12:59:26 UTC (rev 48245)
@@ -919,7 +919,7 @@
                struct sk_buff *skb = ring->buf[i].skb;
 
                if (!flush && !ag71xx_desc_empty(desc)) {
-                       if (pdata->is_ar7240 &&
+                       if (pdata->is_ar724x &&
                            ag71xx_check_dma_stuck(ag, ring->buf[i].timestamp))
                                schedule_work(&ag->restart_work);
                        break;
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to