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 | d1ad1c2c56b33cba78957c4b0c01b03d6238bcae (patch) | |
tree | c05a0e4af1caf254862c7294cffb768c876e1f2e /package/kernel/modules/netdevices.mk | |
parent | 51bc47ce7cf79f39437f65411a7f0c5a316c9a28 (diff) | |
download | upstream-d1ad1c2c56b33cba78957c4b0c01b03d6238bcae.tar.gz upstream-d1ad1c2c56b33cba78957c4b0c01b03d6238bcae.tar.bz2 upstream-d1ad1c2c56b33cba78957c4b0c01b03d6238bcae.zip |
kernel: remove more unnecessary kernel version checks/dependencies
SVN-Revision: 31907
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 |