aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/qca-nss-gmac/Makefile50
-rw-r--r--package/kernel/qca-nss-gmac/patches/001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch15
2 files changed, 0 insertions, 65 deletions
diff --git a/package/kernel/qca-nss-gmac/Makefile b/package/kernel/qca-nss-gmac/Makefile
deleted file mode 100644
index a854c54c2d..0000000000
--- a/package/kernel/qca-nss-gmac/Makefile
+++ /dev/null
@@ -1,50 +0,0 @@
-#
-# Copyright (c) 2015 The Linux Foundation. All rights reserved.
-#
-
-include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/kernel.mk
-
-PKG_NAME:=qca-nss-gmac
-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:=3dcb945b467f8f6b3c81338e63c917f768deb11e
-
-PKG_LICENSE:=ISC
-
-include $(INCLUDE_DIR)/package.mk
-
-define KernelPackage/qca-nss-gmac
- SECTION:=kernel
- CATEGORY:=Kernel modules
- SUBMENU:=Network Devices
- DEPENDS:=@TARGET_ipq806x
- TITLE:=Kernel driver for NSS gmac
- FILES:=$(PKG_BUILD_DIR)/ipq806x/qca-nss-gmac.ko
- AUTOLOAD:=$(call AutoProbe,qca-nss-gmac)
-endef
-
-define KernelPackage/qca-nss-gmac/Description
-This package contains a NSS driver for QCA chipset
-endef
-
-EXTRA_CFLAGS+= \
- -DCONFIG_NSS_DEBUG_LEVEL=4 \
- -I$(PKG_BUILD_DIR)/nss_hal/include \
- -I$(PKG_BUILD_DIR)/nss_hal/$(BOARD)
-
-define Build/Compile
- $(MAKE) -C "$(LINUX_DIR)" \
- CROSS_COMPILE="$(TARGET_CROSS)" \
- ARCH="$(LINUX_KARCH)" \
- SUBDIRS="$(PKG_BUILD_DIR)" \
- EXTRA_CFLAGS="$(EXTRA_CFLAGS)" \
- modules
-endef
-
-$(eval $(call KernelPackage,qca-nss-gmac))
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
deleted file mode 100644
index 7bc5bfe7ba..0000000000
--- a/package/kernel/qca-nss-gmac/patches/001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-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);