Author: nbd
Date: 2016-01-13 17:22:05 +0100 (Wed, 13 Jan 2016)
New Revision: 48227

Modified:
   
trunk/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]>

Modified: 
trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
===================================================================
--- 
trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
   2016-01-13 11:32:41 UTC (rev 48226)
+++ 
trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
   2016-01-13 16:22:05 UTC (rev 48227)
@@ -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