#
-# Copyright (C) 2006 OpenWrt.org
+# Copyright (C) 2006-2008 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
KCONFIG:= \
CONFIG_ISDN \
CONFIG_ISDN_CAPI \
- CONFIG_ISDN_CAPI_CAPI20
+ CONFIG_ISDN_CAPI_CAPI20 \
+ CONFIG_ISDN_CAPIFS
FILES:= \
$(LINUX_DIR)/drivers/isdn/capi/kernelcapi.$(LINUX_KMOD_SUFFIX) \
- $(LINUX_DIR)/drivers/isdn/capi/capi.$(LINUX_KMOD_SUFFIX)
+ $(LINUX_DIR)/drivers/isdn/capi/capi.$(LINUX_KMOD_SUFFIX) \
+ $(LINUX_DIR)/drivers/isdn/capi/capifs.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,30,kernelcapi capi)
endef
define KernelPackage/sit
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=IPv6-in-IPv4 tunnelling
+endef
+
+# sit is compiled in the 2.4 ipv6 stack
+define KernelPackage/sit/2.4
+ DEPENDS:= @LINUX_2_4 +kmod-ipv6
+ KCONFIG:=CONFIG_IPV6
+endef
+
+define KernelPackage/sit/2.6
DEPENDS:= @LINUX_2_6 +kmod-ipv6 +kmod-iptunnel4
KCONFIG+=CONFIG_IPV6_SIT
FILES:=$(LINUX_DIR)/net/ipv6/sit.$(LINUX_KMOD_SUFFIX)
$(eval $(call KernelPackage,e1000))
+define KernelPackage/b44
+ TITLE:=Broadcom 44xx driver
+ FILES:=$(LINUX_DIR)/drivers/net/b44.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_B44
+ DEPENDS:=@TARGET_x86 @BROKEN
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ AUTOLOAD:=$(call AutoLoad,50,b44)
+endef
+
+define KernelPackage/b44/description
+ Kernel modules for Broadcom 44xx Ethernet adapters.
+endef
+$(eval $(call KernelPackage,b44))
define KernelPackage/3c59x
SUBMENU:=$(NETWORK_DEVICES_MENU)
endef
$(eval $(call KernelPackage,3c59x))
+
+define KernelPackage/pcnet32
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ TITLE:=AMD PCnet32 PCI support
+ DEPENDS:=@TARGET_x86
+ KCONFIG:=CONFIG_PCNET32
+ FILES:=$(LINUX_DIR)/drivers/net/pcnet32.$(LINUX_KMOD_SUFFIX)
+ AUTOLOAD:=$(call AutoLoad,50,pcnet32)
+endef
+
+define KernelPackage/pcnet32/description
+ Kernel modules for AMD PCnet32 Ethernet adapters.
+endef
+
+$(eval $(call KernelPackage,pcnet32))
+
+
+define KernelPackage/tg3
+ TITLE:=Broadcom Tigon3 Gigabit Ethernet
+ FILES:=$(LINUX_DIR)/drivers/net/tg3.$(LINUX_KMOD_SUFFIX)
+ KCONFIG:=CONFIG_TIGON3
+ DEPENDS:=@LINUX_2_6
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+ AUTOLOAD:=$(call AutoLoad,50,tg3)
+endef
+
+define KernelPackage/tg3/description
+ Kernel modules for Broadcom Tigon3 Gigabit Ethernet adapters.
+endef
+$(eval $(call KernelPackage,tg3))
+
+define KernelPackage/ssb-gige
+ TITLE:=Broadcom SSB Gigabit Ethernet
+ KCONFIG:=CONFIG_SSB_DRIVER_GIGE=y
+ DEPENDS:=@TARGET_brcm47xx +kmod-tg3
+ SUBMENU:=$(NETWORK_DEVICES_MENU)
+endef
+
+define KernelPackage/ssb-gige/description
+ Kernel modules for Broadcom SSB Gigabit Ethernet adapters.
+endef
+$(eval $(call KernelPackage,ssb-gige))