summaryrefslogtreecommitdiff
path: root/package/kernel/linux/modules/netdevices.mk
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2015-01-04 18:41:32 +0000
committerImre Kaloz <kaloz@openwrt.org>2015-01-04 18:41:32 +0000
commitb679cac641313edcbc640c829c98161d6ef84acc (patch)
tree26183bad15b4aca915d96aaa321ad606bce1d50c /package/kernel/linux/modules/netdevices.mk
parentf9cf1e97fd5ee0617bf26155ebae44cb4a1719ae (diff)
downloadmtk-20170518-b679cac641313edcbc640c829c98161d6ef84acc.zip
mtk-20170518-b679cac641313edcbc640c829c98161d6ef84acc.tar.gz
mtk-20170518-b679cac641313edcbc640c829c98161d6ef84acc.tar.bz2
et131x is out of staging in 3.18
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 43827
Diffstat (limited to 'package/kernel/linux/modules/netdevices.mk')
-rw-r--r--package/kernel/linux/modules/netdevices.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/netdevices.mk b/package/kernel/linux/modules/netdevices.mk
index 1eaf922..84cb68c 100644
--- a/package/kernel/linux/modules/netdevices.mk
+++ b/package/kernel/linux/modules/netdevices.mk
@@ -114,7 +114,11 @@ define KernelPackage/et131x
SUBMENU:=$(NETWORK_DEVICES_MENU)
TITLE:=Agere ET131x Gigabit Ethernet driver
URL:=http://sourceforge.net/projects/et131x
+ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,3.18.0)),1)
+ FILES:=$(LINUX_DIR)/drivers/net/ethernet/agere/et131x.$(LINUX_KMOD_SUFFIX)
+else
FILES:=$(LINUX_DIR)/drivers/staging/et131x/et131x.$(LINUX_KMOD_SUFFIX)
+endif
KCONFIG:= \
CONFIG_ET131X \
CONFIG_ET131X_DEBUG=n