new file mode 100644
@@ -0,0 +1,15 @@
+diff --git a/ipq806x/nss_gmac_tx_rx_offload.c b/ipq806x/nss_gmac_tx_rx_offload.c
+index bc684a5..383403b 100644
+--- a/ipq806x/nss_gmac_tx_rx_offload.c
++++ b/ipq806x/nss_gmac_tx_rx_offload.c
+@@ -896,8 +896,8 @@ int nss_gmac_open(struct net_device *netdev)
+ nss_gmac_rx_refill(gmacdev);
+
+ /* Register IRQ */
+- err = request_irq(netdev->irq, nss_gmac_handle_irq,
+- IRQF_DISABLED, "nss-gmac", gmacdev);
++ err = request_irq(netdev->irq, nss_gmac_handle_irq, 0,
++ "nss-gmac", gmacdev);
+ if (err) {
+ netdev_dbg(netdev, "Mac %d IRQ %d request failed\n",
+ gmacdev->macid, netdev->irq);
IRQF_DISABLED has been disabled in 4.0 as it has been a no-op since 2.6.36. We'll reflect this change in the GMAC so it can build on newer kernels if necessary. Source: https://lkml.org/lkml/2015/3/5/323 Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> --- .../001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package/kernel/qca-nss-gmac/patches/001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch