X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a2c5c63f00eed4bd0f72af349362990f9acfff11..032445afeec0a2729bd2859138a1d3ef7a0958f4:/package/kernel/modules/network.mk diff --git a/package/kernel/modules/network.mk b/package/kernel/modules/network.mk index 2ba9fa428..f2a0aa982 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 @@ -123,7 +122,7 @@ $(eval $(call KernelPackage,ipsec)) define KernelPackage/ipsec4 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPsec related modules (IPv4) - DEPENDS:=kmod-ipsec +kmod-iptunnel4 + DEPENDS:=kmod-ipsec +kmod-iptunnel4 +kmod-crypto-aead KCONFIG:= \ CONFIG_INET_AH \ CONFIG_INET_ESP \ @@ -155,7 +154,7 @@ $(eval $(call KernelPackage,ipsec4)) define KernelPackage/ipsec6 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPsec related modules (IPv6) - DEPENDS:=kmod-ipsec +kmod-iptunnel6 + DEPENDS:=kmod-ipsec +kmod-iptunnel6 +kmod-crypto-aead KCONFIG:= \ CONFIG_INET6_AH \ CONFIG_INET6_ESP \ @@ -245,6 +244,7 @@ $(eval $(call KernelPackage,ipv6)) define KernelPackage/sit SUBMENU:=$(NETWORK_SUPPORT_MENU) + DEPENDS:=+kmod-iptunnel4 TITLE:=IPv6-in-IPv4 tunnelling endef @@ -318,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 @@ -557,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 @@ -581,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)