X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/30b01afb89dc667b59e4171f5a4996db7911799a..0b7968af0202bda39b480e943d4467272596a32f:/package/kernel/modules/netdevices.mk diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index 2d63f17ad..b6a7ababc 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -4,7 +4,6 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id$ NETWORK_DEVICES_MENU:=Network Devices @@ -43,7 +42,8 @@ define KernelPackage/r6040 SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=RDC Fast-Ethernet support DEPENDS:=@TARGET_rdc - KCONFIG:=CONFIG_R6040 + KCONFIG:=CONFIG_R6040 \ + CONFIG_R6040_NAPI=y FILES:=$(LINUX_DIR)/drivers/net/r6040.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,99,r6040) endef @@ -113,7 +113,7 @@ $(eval $(call KernelPackage,via-rhine)) define KernelPackage/via-velocity SUBMENU:=$(NETWORK_DEVICES_MENU) TITLE:=VIA Velocity Gigabit Ethernet Adapter kernel support - DEPENDS:=@TARGET_ixp4xx + DEPENDS:=@TARGET_ixp4xx||TARGET_x86 KCONFIG:=CONFIG_VIA_VELOCITY FILES:=$(LINUX_DIR)/drivers/net/via-velocity.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,50,via-velocity) @@ -200,7 +200,7 @@ $(eval $(call KernelPackage,e100)) define KernelPackage/e1000 SUBMENU:=$(NETWORK_DEVICES_MENU) - TITLE:=Intel(R) PRO/1000 cards kernel support + TITLE:=Intel(R) PRO/1000 PCI cards kernel support DEPENDS:=@TARGET_x86 KCONFIG:=CONFIG_E1000 \ CONFIG_E1000_DISABLE_PACKET_SPLIT=n @@ -209,12 +209,28 @@ define KernelPackage/e1000 endef define KernelPackage/e1000/description - Kernel modules for Intel(R) PRO/1000 Ethernet adapters. + Kernel modules for Intel(R) PRO/1000 PCI Ethernet adapters. endef $(eval $(call KernelPackage,e1000)) +define KernelPackage/e1000e + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Intel(R) PRO/1000 PCIe cards kernel support + DEPENDS:=@PCIE_SUPPORT + KCONFIG:=CONFIG_E1000E + FILES:=$(LINUX_DIR)/drivers/net/e1000e/e1000e.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,e1000e) +endef + +define KernelPackage/e1000e/description + Kernel modules for Intel(R) PRO/1000 PCIe Ethernet adapters. +endef + +$(eval $(call KernelPackage,e1000e)) + + define KernelPackage/b44 TITLE:=Broadcom 44xx driver FILES:=$(LINUX_DIR)/drivers/net/b44.$(LINUX_KMOD_SUFFIX) @@ -273,7 +289,7 @@ define KernelPackage/tg3 TITLE:=Broadcom Tigon3 Gigabit Ethernet FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX) KCONFIG:=CONFIG_TIGON3 - DEPENDS:=@LINUX_2_6 +LINUX_2_6_27||LINUX_2_6_28||LINUX_2_6_29:kmod-libphy + DEPENDS:=@LINUX_2_6 +LINUX_2_6_28||LINUX_2_6_30||LINUX_2_6_31:kmod-libphy SUBMENU:=$(NETWORK_DEVICES_MENU) AUTOLOAD:=$(call AutoLoad,50,tg3) endef