X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/effa49178d88794d92061e88e689a920dc0a8099..1176e088170c86235a065b8356349b765fbd2927:/package/kernel/modules/network.mk diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk index 51a12a1bc..03cd7223b 100644 --- a/package/kernel/modules/network.mk +++ b/package/kernel/modules/network.mk @@ -64,7 +64,6 @@ define KernelPackage/capi TITLE:=CAPI (ISDN) Support DEPENDS:=@LINUX_2_6 KCONFIG:= \ - CONFIG_ISDN \ CONFIG_ISDN_CAPI \ CONFIG_ISDN_CAPI_CAPI20 \ CONFIG_ISDN_CAPIFS @@ -208,7 +207,7 @@ $(eval $(call KernelPackage,iptunnel4)) define KernelPackage/iptunnel6 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPv6 tunneling - DEPENDS:= @LINUX_2_6 + DEPENDS:= @LINUX_2_6 +kmod-ipv6 KCONFIG:= \ CONFIG_INET6_TUNNEL FILES:= $(foreach mod,tunnel6, \ @@ -227,7 +226,11 @@ $(eval $(call KernelPackage,iptunnel6)) define KernelPackage/ipv6 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPv6 support - KCONFIG:=CONFIG_IPV6 + KCONFIG:= \ + CONFIG_IPV6 \ + CONFIG_IPV6_PRIVACY=y \ + CONFIG_IPV6_MULTIPLE_TABLES=y \ + CONFIG_IPV6_SUBTREES=y FILES:=$(LINUX_DIR)/net/ipv6/ipv6.$(LINUX_KMOD_SUFFIX) AUTOLOAD:=$(call AutoLoad,20,ipv6) endef @@ -241,6 +244,7 @@ $(eval $(call KernelPackage,ipv6)) define KernelPackage/sit SUBMENU:=$(NETWORK_SUPPORT_MENU) + DEPENDS:=+kmod-iptunnel4 TITLE:=IPv6-in-IPv4 tunnelling endef @@ -264,6 +268,24 @@ endef $(eval $(call KernelPackage,sit)) +define KernelPackage/ip6-tunnel + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=IP-in-IPv6 tunnelling + DEPENDS:= @LINUX_2_6 +kmod-ipv6 +kmod-iptunnel6 + KCONFIG:= CONFIG_IPV6_TUNNEL + FILES:= $(foreach mod,ip6_tunnel, \ + $(LINUX_DIR)/net/ipv6/$(mod).$(LINUX_KMOD_SUFFIX) \ + ) + AUTOLOAD:=$(call AutoLoad,32,ip6_tunnel) +endef + +define KernelPackage/ip6-tunnel/description + Kernel modules for IPv6-in-IPv6 and IPv4-in-IPv6 tunnelling +endef + +$(eval $(call KernelPackage,ip6-tunnel)) + + define KernelPackage/gre SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=GRE support @@ -296,30 +318,18 @@ $(eval $(call KernelPackage,tun)) define KernelPackage/ppp SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=PPP modules + DEPENDS:=+LINUX_2_6:kmod-crc-ccitt KCONFIG:= \ CONFIG_PPP \ CONFIG_PPP_ASYNC \ - CONFIG_SLHC \ - CONFIG_CRC_CCITT + CONFIG_SLHC FILES:= \ $(LINUX_DIR)/drivers/net/ppp_async.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/net/ppp_generic.$(LINUX_KMOD_SUFFIX) \ $(LINUX_DIR)/drivers/net/slhc.$(LINUX_KMOD_SUFFIX) -endef - -define KernelPackage/ppp/2.4 AUTOLOAD:=$(call AutoLoad,30,slhc ppp_generic ppp_async) endef -define KernelPackage/ppp/2.6 -# KCONFIG+= \ -# CONFIG_SLHC \ -# CONFIG_CRC_CCITT - FILES+= \ - $(LINUX_DIR)/lib/crc-ccitt.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,30,crc-ccitt slhc ppp_generic ppp_async) -endef - define KernelPackage/ppp/description Kernel modules for PPP support endef @@ -535,6 +545,7 @@ define KernelPackage/r6040 DEPENDS:=@TARGET_rdc KCONFIG:=CONFIG_R6040 FILES:=$(LINUX_DIR)/drivers/net/r6040.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,99,r6040) endef define KernelPackage/r6040/description @@ -559,6 +570,27 @@ endef $(eval $(call KernelPackage,sis900)) +define KernelPackage/sky2 + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=SysKonnect Yukon2 support + DEPENDS:=@TARGET_x86 + KCONFIG:=CONFIG_SKY2 + FILES:=$(LINUX_DIR)/drivers/net/sky2.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,sky2) +endef + +define KernelPackage/sky2/description + This driver supports Gigabit Ethernet adapters based on the + Marvell Yukon 2 chipset: + Marvell 88E8021/88E8022/88E8035/88E8036/88E8038/88E8050/88E8052/ + 88E8053/88E8055/88E8061/88E8062, SysKonnect SK-9E21D/SK-9S21 + + There is companion driver for the older Marvell Yukon and + Genesis based adapters: skge. +endef + +$(eval $(call KernelPackage,sky2)) + define KernelPackage/via-rhine SUBMENU:=$(NETWORK_DEVICES_MENU)