diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-05-27 15:22:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-05-27 15:22:13 +0000 |
commit | aba80d0d041f8c225c4ddbe214c189e779b2f45e (patch) | |
tree | bf5909ee686ad55e86c0c9b143c2db8e6e51b343 /package/kernel/modules/netdevices.mk | |
parent | 260e2d84866dfbbd30079da950e0a947e91fe905 (diff) | |
download | upstream-aba80d0d041f8c225c4ddbe214c189e779b2f45e.tar.gz upstream-aba80d0d041f8c225c4ddbe214c189e779b2f45e.tar.bz2 upstream-aba80d0d041f8c225c4ddbe214c189e779b2f45e.zip |
kernel: remove more unnecessary kernel version checks/dependencies
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31907 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/modules/netdevices.mk')
-rw-r--r-- | package/kernel/modules/netdevices.mk | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index d8cd57c81e..6aac4d37c8 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -344,11 +344,7 @@ define KernelPackage/r8169 KCONFIG:=CONFIG_R8169 \ CONFIG_R8169_NAPI=y \ CONFIG_R8169_VLAN=n - ifndef CONFIG_LINUX_3_1 - FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko - else - FILES:=$(LINUX_DIR)/drivers/net/r8169.ko - endif + FILES:=$(LINUX_DIR)/drivers/net/ethernet/realtek/r8169.ko AUTOLOAD:=$(call AutoLoad,50,r8169) endef @@ -407,11 +403,7 @@ define KernelPackage/e1000 KCONFIG:=CONFIG_E1000 \ CONFIG_E1000_DISABLE_PACKET_SPLIT=n \ CONFIG_E1000_NAPI=y - ifndef CONFIG_LINUX_3_1 - FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko - else - FILES:=$(LINUX_DIR)/drivers/net/e1000/e1000.ko - endif + FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000/e1000.ko AUTOLOAD:=$(call AutoLoad,35,e1000) endef @@ -427,11 +419,7 @@ define KernelPackage/e1000e TITLE:=Intel(R) PRO/1000 PCIe cards kernel support DEPENDS:=@PCIE_SUPPORT KCONFIG:=CONFIG_E1000E - ifndef CONFIG_LINUX_3_1 - FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko - else - FILES:=$(LINUX_DIR)/drivers/net/e1000e/e1000e.ko - endif + FILES:=$(LINUX_DIR)/drivers/net/ethernet/intel/e1000e/e1000e.ko AUTOLOAD:=$(call AutoLoad,50,e1000e) endef @@ -501,11 +489,7 @@ define KernelPackage/tg3 KCONFIG:=CONFIG_TIGON3 DEPENDS:=+!TARGET_brcm47xx:kmod-libphy @!TARGET_ubicom32 SUBMENU:=$(NETWORK_DEVICES_MENU) - ifndef CONFIG_LINUX_3_1 - FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko - else - FILES:=$(LINUX_DIR)/drivers/net/tg3.ko - endif + FILES:=$(LINUX_DIR)/drivers/net/ethernet/broadcom/tg3.ko AUTOLOAD:=$(call AutoLoad,50,tg3) endef |