From e946028610d18dc4a420379597f21f45caf7bc8a Mon Sep 17 00:00:00 2001
From: John Crispin <john@openwrt.org>
Date: Fri, 10 Apr 2015 08:29:05 +0000
Subject: [PATCH] qca-nss-gmac: update to latest version

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45346
---
 package/kernel/qca-nss-gmac/Makefile              |  4 ++--
 ...1-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch | 15 +++++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)
 create mode 100644 package/kernel/qca-nss-gmac/patches/001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch

diff --git a/package/kernel/qca-nss-gmac/Makefile b/package/kernel/qca-nss-gmac/Makefile
index d9947708fc..a854c54c2d 100644
--- a/package/kernel/qca-nss-gmac/Makefile
+++ b/package/kernel/qca-nss-gmac/Makefile
@@ -6,14 +6,14 @@ include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
 
 PKG_NAME:=qca-nss-gmac
-PKG_VERSION:=20150210
+PKG_VERSION:=20150408
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
 PKG_SOURCE_URL:=git://codeaurora.org/quic/qsdk/oss/lklm/nss-gmac
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
-PKG_SOURCE_VERSION:=969aab0aff40a3a5afe70d0f00e783b1c57aaea6
+PKG_SOURCE_VERSION:=3dcb945b467f8f6b3c81338e63c917f768deb11e
 
 PKG_LICENSE:=ISC
 
diff --git a/package/kernel/qca-nss-gmac/patches/001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch b/package/kernel/qca-nss-gmac/patches/001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch
new file mode 100644
index 0000000000..7bc5bfe7ba
--- /dev/null
+++ b/package/kernel/qca-nss-gmac/patches/001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch
@@ -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);
-- 
GitLab