From 93d68963e2ed76a8081c975f0eb406905cd4dd4d Mon Sep 17 00:00:00 2001 From: hauke Date: Sat, 7 Mar 2009 13:23:37 +0000 Subject: [PATCH] [kernel] Add isdn4linux and gigaset kernel modules. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14772 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/netdevices.mk | 30 ++++++++++++++++++++++ package/kernel/modules/netsupport.mk | 38 ++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/package/kernel/modules/netdevices.mk b/package/kernel/modules/netdevices.mk index 3b8344353..b1817060e 100644 --- a/package/kernel/modules/netdevices.mk +++ b/package/kernel/modules/netdevices.mk @@ -312,3 +312,33 @@ define KernelPackage/hfcmulti/description endef $(eval $(call KernelPackage,hfcmulti)) + + +define KernelPackage/gigaset + SUBMENU:=$(NETWORK_DEVICES_MENU) + TITLE:=Siemens Gigaset support (isdn) + DEPENDS:=@LINUX_2_6 @USB_SUPPORT +kmod-isdn4linux +kmod-crc-ccitt +kmod-usb-core + URL:=http://gigaset307x.sourceforge.net/ + KCONFIG:= \ + CONFIG_ISDN_DRV_GIGASET \ + CONFIG_GIGASET_BASE \ + CONFIG_GIGASET_M101 \ + CONFIG_GIGASET_M105 \ + CONFIG_GIGASET_UNDOCREQ=y + FILES:= \ + $(LINUX_DIR)/drivers/isdn/gigaset/gigaset.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/isdn/gigaset/bas_gigaset.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/isdn/gigaset/ser_gigaset.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/isdn/gigaset/usb_gigaset.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,gigaset bas_gigaset ser_gigaset usb_gigaset) +endef + +define KernelPackage/gigaset/description + This driver supports the Siemens Gigaset SX205/255 family of + ISDN DECT bases, including the predecessors Gigaset 3070/3075 + and 4170/4175 and their T-Com versions Sinus 45isdn and Sinus + 721X. +endef + +$(eval $(call KernelPackage,gigaset)) + diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index 422fa68e1..4f0f7fb95 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -115,6 +115,44 @@ endef $(eval $(call KernelPackage,misdn)) +define KernelPackage/isdn4linux + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=Old ISDN4Linux (deprecated) + KCONFIG:= \ + CONFIG_ISDN=y \ + CONFIG_ISDN_I4L \ + CONFIG_ISDN_PPP=y \ + CONFIG_ISDN_PPP_VJ=y \ + CONFIG_ISDN_MPP=y \ + CONFIG_IPPP_FILTER=y \ + CONFIG_ISDN_PPP_BSDCOMP \ + CONFIG_ISDN_AUDIO=y \ + CONFIG_ISDN_TTY_FAX=y \ + CONFIG_ISDN_X25=y \ + CONFIG_ISDN_DIVERSION \ + CONFIG_ISDN_CAPI_CAPIDRV=n \ + CONFIG_ISDN_DRV_ACT2000=n \ + CONFIG_ISDN_DRV_GIGASET=n \ + CONFIG_ISDN_DRV_HISAX=n \ + CONFIG_ISDN_DRV_ICN=n \ + CONFIG_ISDN_DRV_LOOP=n \ + CONFIG_ISDN_DRV_PCBIT=n \ + CONFIG_ISDN_DRV_SC=n \ + CONFIG_HYSDN=n + FILES:= \ + $(LINUX_DIR)/drivers/isdn/i4l/isdn.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/isdn/i4l/isdn_bsdcomp.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/drivers/isdn/divert/dss1_divert.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,40,isdn isdn_bsdcomp dss1_divert) +endef + +define KernelPackage/isdn4linux/description + This driver allows you to use an ISDN adapter for networking +endef + +$(eval $(call KernelPackage,isdn4linux)) + + define KernelPackage/ipip SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IP-in-IP encapsulation