aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_ubnt_unifiac-mesh-pro.dts
blob: 9d80217d4e94a70d031e12ff17c9d3c4b79c87b8 (plain)
1
2
3
4
5
6
7
8
9
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/dts-v1/;

#include "qca9563_ubnt_unifiac-pro.dtsi"

/ {
	compatible = "ubnt,unifiac-mesh-pro", "qca,qca9563";
	model = "Ubiquiti UniFi-AC-MESH PRO";
};
doc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
--- a/drivers/net/ag71xx/ag71xx_main.c
+++ b/drivers/net/ag71xx/ag71xx_main.c
@@ -595,7 +595,7 @@ static void ag71xx_oom_timer_handler(uns
 	struct net_device *dev = (struct net_device *) data;
 	struct ag71xx *ag = netdev_priv(dev);
 
-	netif_rx_schedule(&ag->napi);
+	napi_schedule(&ag->napi);
 }
 
 static void ag71xx_tx_timeout(struct net_device *dev)
@@ -751,7 +751,7 @@ static int ag71xx_poll(struct napi_struc
 		DBG("%s: disable polling mode, done=%d, limit=%d\n",
 			dev->name, done, limit);
 
-		netif_rx_complete(napi);
+		napi_complete(napi);
 
 		/* enable interrupts */
 		spin_lock_irqsave(&ag->lock, flags);
@@ -770,7 +770,7 @@ static int ag71xx_poll(struct napi_struc
 		printk(KERN_DEBUG "%s: out of memory\n", dev->name);
 
 	mod_timer(&ag->oom_timer, jiffies + AG71XX_OOM_REFILL);
-	netif_rx_complete(napi);
+	napi_complete(napi);
 	return 0;
 }
 
@@ -800,7 +800,7 @@ static irqreturn_t ag71xx_interrupt(int 
 	if (likely(status & AG71XX_INT_POLL)) {
 		ag71xx_int_disable(ag, AG71XX_INT_POLL);
 		DBG("%s: enable polling mode\n", dev->name);
-		netif_rx_schedule(&ag->napi);
+		napi_schedule(&ag->napi);
 	}
 
 	return IRQ_HANDLED;