et131x is out of staging in 3.18
authorImre Kaloz <kaloz@openwrt.org>
Sun, 4 Jan 2015 18:41:32 +0000 (18:41 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Sun, 4 Jan 2015 18:41:32 +0000 (18:41 +0000)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 43827

package/kernel/linux/modules/netdevices.mk

index 1eaf922f7899262371157f3123d3b2d549236cbb..84cb68c0401ddcb324dd4d1e3d6f7c714eeb0549 100644 (file)
@@ -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