qca-nss-gmac: update to latest version
authorJohn Crispin <john@openwrt.org>
Fri, 10 Apr 2015 08:29:05 +0000 (08:29 +0000)
committerJohn Crispin <john@openwrt.org>
Fri, 10 Apr 2015 08:29:05 +0000 (08:29 +0000)
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45346

package/kernel/qca-nss-gmac/Makefile
package/kernel/qca-nss-gmac/patches/001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch [new file with mode: 0644]

index d994770..a854c54 100644 (file)
@@ -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 (file)
index 0000000..7bc5bfe
--- /dev/null
@@ -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);