[svn-commits] kpfleming: upstream mISDN/mISDN-1_1_8 r15 - in /mISDN/upstream/mISDN-1_1_8: ....

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 31 14:02:38 CDT 2008


Author: kpfleming
Date: Thu Jul 31 14:02:36 2008
New Revision: 15

URL: http://svn.digium.com/view/thirdparty?view=rev&rev=15
Log:
import version 1.1.8

Added:
    mISDN/upstream/mISDN-1_1_8/
    mISDN/upstream/mISDN-1_1_8/CHANGES   (with props)
    mISDN/upstream/mISDN-1_1_8/Makefile   (with props)
    mISDN/upstream/mISDN-1_1_8/Makefile.module   (with props)
    mISDN/upstream/mISDN-1_1_8/Makefile.standalone   (with props)
    mISDN/upstream/mISDN-1_1_8/README.misdn-init   (with props)
    mISDN/upstream/mISDN-1_1_8/Rules.make.ext   (with props)
    mISDN/upstream/mISDN-1_1_8/VERSION   (with props)
    mISDN/upstream/mISDN-1_1_8/add.config   (with props)
    mISDN/upstream/mISDN-1_1_8/config/
    mISDN/upstream/mISDN-1_1_8/config/Makefile   (with props)
    mISDN/upstream/mISDN-1_1_8/config/README.mISDN   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.bnx.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.hfcmulti.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.hfcsusb.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.inc.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.l1oip.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.mISDN_debugtool.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.mISDN_dsp.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.singlepci.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.xhfc.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/config/mISDN.conf.xsl   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/Config.in.v2.4   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/Makefile.v2.4   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/Kconfig.v2.6   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/Makefile.v2.6   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/.tmp_versions/
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/Kconfig.v2.6   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/Makefile   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/Makefile.v2.4   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/Makefile.v2.6   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/Module.symvers   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/Rules.mISDN.v2.4   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/app_plci.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/appl.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/arcofi.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/arcofi.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_address.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_address.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_aoc.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_aoc.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_basic_service.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_basic_service.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_comp.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_comp.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_diversion.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_diversion.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_enc.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_enc.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_generic.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/asn1_generic.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/avm_fritz.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/capi.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/capi_enc.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/channel.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/channel.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/contr.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/core.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/core.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/debug.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/debug.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/debugtool.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_arith.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_audio.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_biquad.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_blowfish.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_cancel.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_cmx.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_cmx.c.orig   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_core.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_dtmf.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_ecdis.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_kb1ec.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_kb1ec_const.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_mec2.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_mec2_const.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_mg2ec.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_mg2ec_const.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dsp_tones.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dss1.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/dtmf.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/faxl3.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/fsm.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/fsm.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/helper.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/helper.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/hfc_multi.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/hfc_multi.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/hfc_pci.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/hfc_pci.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/hfcs_mini.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/hfcs_mini.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/hfcs_usb.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/hfcs_usb.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/hfcsmcc.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/i4l_mISDN.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/isac.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/isac.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/isar.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/isar.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/l1oip.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/l3_udss1.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/l3helper.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/lapd.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/layer1.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/layer1.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/layer2.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/layer2.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/layer3.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/layer3.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/listen.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/loop.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/loop.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/mISDNManufacturer.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/m_capi.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/memdbg.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/memdbg.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/modules.order   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/ncci.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/netdev.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/netjet.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/netjet.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/octvqe/
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/octvqe/modules.order   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/octvqe/octvqe.ko   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/plci.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/sedl_fax.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/socket.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/socket.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/stack.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/supp_serv.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/sysfs.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/sysfs_inst.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/sysfs_obj.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/sysfs_st.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/tei.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/udevice.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/w6692.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/w6692.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/x25_dte.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/x25_l3.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/x25_l3.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/xhfc24succ.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/xhfc_pci2pi.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/xhfc_pci2pi.h   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/xhfc_su.c   (with props)
    mISDN/upstream/mISDN-1_1_8/drivers/isdn/hardware/mISDN/xhfc_su.h   (with props)
    mISDN/upstream/mISDN-1_1_8/include/
    mISDN/upstream/mISDN-1_1_8/include/linux/
    mISDN/upstream/mISDN-1_1_8/include/linux/isdn_compat.h   (with props)
    mISDN/upstream/mISDN-1_1_8/include/linux/mISDNdebugtool.h   (with props)
    mISDN/upstream/mISDN-1_1_8/include/linux/mISDNif.h   (with props)
    mISDN/upstream/mISDN-1_1_8/km_mISDN.spec   (with props)
    mISDN/upstream/mISDN-1_1_8/mISDN.modprobe.d   (with props)
    mISDN/upstream/mISDN-1_1_8/misdn-init   (with props)
    mISDN/upstream/mISDN-1_1_8/std2kern   (with props)
    mISDN/upstream/mISDN-1_1_8/stddiff   (with props)

Added: mISDN/upstream/mISDN-1_1_8/CHANGES
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/CHANGES?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/CHANGES (added)
+++ mISDN/upstream/mISDN-1_1_8/CHANGES Thu Jul 31 14:02:36 2008
@@ -1,0 +1,5 @@
+mISDN-1-1-2:
+	- added a workaround that fixes a kernel panic when bridging is done after already a few 
+	  voice frames where transceived on both legs (like when you transfer a call from SIP 2 ISDN)
+	- jollys mail has changed
+	- minor tweaks to misdn-init and to the Kernel-Patch script

Propchange: mISDN/upstream/mISDN-1_1_8/CHANGES
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/CHANGES
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/CHANGES
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/Makefile
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/Makefile?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/Makefile (added)
+++ mISDN/upstream/mISDN-1_1_8/Makefile Thu Jul 31 14:02:36 2008
@@ -1,0 +1,125 @@
+BASEDIR=$(shell pwd)
+
+MAJOR=1
+MINOR=1
+SUBMINOR=8
+
+INSTALL_PREFIX := /
+export INSTALL_PREFIX
+
+#PATH to linux source/headers
+#LINUX=/usr/src/linux
+
+ifndef KVERS
+KVERS:=$(shell uname -r)
+endif
+
+MODS=/lib/modules/$(KVERS)
+LINUX=$(MODS)/build
+LINUX_SOURCE=$(MODS)/source
+UPDATE_MODULES=$(shell which update-modules)
+MODULES_UPDATE=$(shell which modules-update)
+DEPMOD=$(shell which depmod)
+
+
+MISDNDIR=$(BASEDIR)
+MISDN_SRC=$(MISDNDIR)/drivers/isdn/hardware/mISDN
+
+########################################
+# USER CONFIGS END
+########################################
+
+CONFIGS+=CONFIG_MISDN_DRV=m 
+CONFIGS+=CONFIG_MISDN_DSP=m 
+CONFIGS+=CONFIG_MISDN_HFCMULTI=m 
+CONFIGS+=CONFIG_MISDN_HFCPCI=m
+CONFIGS+=CONFIG_MISDN_HFCUSB=m
+CONFIGS+=CONFIG_MISDN_XHFC=m
+CONFIGS+=CONFIG_MISDN_HFCMINI=m
+CONFIGS+=CONFIG_MISDN_W6692=m
+CONFIGS+=CONFIG_MISDN_SPEEDFAX=m
+CONFIGS+=CONFIG_MISDN_AVM_FRITZ=m
+CONFIGS+=CONFIG_MISDN_NETJET=m
+CONFIGS+=CONFIG_MISDN_DEBUGTOOL=m 
+
+#CONFIGS+=CONFIG_MISDN_NETDEV=y
+
+MISDNVERSION=$(shell cat VERSION)
+
+MINCLUDES+=-I$(MISDNDIR)/include
+
+all: VERSION test_old_misdn
+	cp $(MISDNDIR)/drivers/isdn/hardware/mISDN/Makefile.v2.6 $(MISDNDIR)/drivers/isdn/hardware/mISDN/Makefile
+	export MINCLUDES=$(MISDNDIR)/include ; export MISDNVERSION=$(MISDNVERSION); make -C $(LINUX) SUBDIRS=$(MISDN_SRC) modules $(CONFIGS)  
+
+install: all modules-install misdn-init
+	$(DEPMOD) 
+	$(UPDATE_MODULES)
+	$(MODULES_UPDATE)
+	make -C config install
+
+modules-install:
+	cd $(LINUX) ; make INSTALL_MOD_PATH=$(INSTALL_PREFIX) SUBDIRS=$(MISDN_SRC) modules_install 
+	mkdir -p $(INSTALL_PREFIX)/usr/include/linux/
+	cp $(MISDNDIR)/include/linux/*.h $(INSTALL_PREFIX)/usr/include/linux/
+	if [ -e $(INSTALL_PREFIX)/usr/include/linux/mISDNdsp.h ]; then rm -f $(INSTALL_PREFIX)/usr/include/linux/mISDNdsp.h; fi
+
+misdn-init:
+	mkdir -p $(INSTALL_PREFIX)/usr/sbin/
+	install -m755 misdn-init $(INSTALL_PREFIX)/usr/sbin/
+	if [ -d $(INSTALL_PREFIX)/etc/init.d ]; then \
+		if [ -e $(INSTALL_PREFIX)/etc/init.d/misdn-init ]; then rm -rf $(INSTALL_PREFIX)/etc/init.d/misdn-init; fi; \
+		ln -s $(INSTALL_PREFIX)/usr/sbin/misdn-init $(INSTALL_PREFIX)/etc/init.d/misdn-init; \
+	fi
+	mkdir -p $(INSTALL_PREFIX)/etc/modprobe.d
+	cp mISDN.modprobe.d $(INSTALL_PREFIX)/etc/modprobe.d/mISDN
+	mkdir -p $(INSTALL_PREFIX)/etc/modules.d
+	cp mISDN.modprobe.d $(INSTALL_PREFIX)/etc/modules.d/mISDN
+
+test_old_misdn:
+	@if echo -ne "#include <linux/mISDNif.h>" | gcc -C -E - 2>/dev/null 1>/dev/null  ; then \
+		if ! echo -ne "#include <linux/mISDNif.h>\n#if MISDN_MAJOR_VERSION < 4\n#error old mISDNif.h\n#endif\n" | gcc -C -E - 2>/dev/null 1>/dev/null ; then \
+			echo -ne "\n!!You should remove the following files:\n\n$(LINUX)/include/linux/mISDNif.h\n$(LINUX)/include/linux/isdn_compat.h\n/usr/include/linux/mISDNif.h\n/usr/include/linux/isdn_compat.h\n\nIn order to upgrade to the mqueue branch\n\n"; \
+			echo -ne "I can do that for you, just type: make force\n\n" ; \
+			exit 1; \
+		fi ;\
+	fi
+
+
+
+.PHONY: modules-install install all clean misdn-init VERSION
+
+force:
+	rm -f $(LINUX)/include/linux/mISDNif.h
+	rm -f $(LINUX)/include/linux/isdn_compat.h
+	rm -f /usr/include/linux/mISDNif.h
+	rm -f /usr/include/linux/isdn_compat.h
+
+clean:
+	rm -rf drivers/isdn/hardware/mISDN/*.o
+	rm -rf drivers/isdn/hardware/mISDN/*.ko
+	rm -rf *~
+	find . -iname ".*.cmd" -exec rm -rf {} \;
+	find . -iname ".*.d" -exec rm -rf {} \;
+	find . -iname "*.mod.c" -exec rm -rf {} \;
+	find . -iname "*.mod" -exec rm -rf {} \;
+
+VERSION:
+	echo $(MAJOR)_$(MINOR)_$(SUBMINOR) > VERSION ; \
+
+snapshot: clean
+	DIR=mISDN-$$(date +"20%y_%m_%d") ; \
+	echo $(MAJOR)_$(MINOR)_$(SUBMINOR)-$$(date +"20%y_%m_%d" | sed -e "s/\//_/g") > VERSION ; \
+	mkdir -p /tmp/$$DIR ; \
+	cp -a * /tmp/$$DIR ; \
+	cd /tmp/; \
+	tar czf $$DIR.tar.gz $$DIR
+
+release: clean
+	DIR=mISDN-$(MAJOR)_$(MINOR)_$(SUBMINOR) ; \
+	echo $(MAJOR)_$(MINOR)_$(SUBMINOR) > VERSION ; \
+	mkdir -p /tmp/$$DIR ; \
+	cp -a * /tmp/$$DIR ; \
+	cd /tmp/; \
+	tar czf $$DIR.tar.gz $$DIR
+

Propchange: mISDN/upstream/mISDN-1_1_8/Makefile
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/Makefile
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/Makefile
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/Makefile.module
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/Makefile.module?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/Makefile.module (added)
+++ mISDN/upstream/mISDN-1_1_8/Makefile.module Thu Jul 31 14:02:36 2008
@@ -1,0 +1,49 @@
+# Master Makefile for the ipppcomp
+# (c) 03/2001 Karsten Keil <kkeil at suse.de>
+# adapted from Kurt Garloffs <garloff at suse.de> SecuMod package
+
+DESTDIR = 
+KDIR := /usr/src/linux
+
+TARGET := mISDN
+TARGETS := Rules.make arch scripts .config include $(TARGET)
+TARGETDIR := drivers/isdn/hardware/mISDN
+
+default: $(TARGETS)
+
+all: $(TARGETS)
+
+Rules.make: $(KDIR)/Rules.make Rules.make.ext
+	cp -pf $(KDIR)/Rules.make .
+	cat Rules.make.ext >> Rules.make
+
+.config: $(KDIR)/.config
+	cp -pf $(KDIR)/.config .
+	cat add.config >> .config
+
+arch: $(KDIR)/arch
+	rm -f arch
+	ln -s $(KDIR)/arch .
+
+scripts: $(KDIR)/scripts
+	rm -f scripts
+	ln -s $(KDIR)/scripts
+
+include: $(KDIR)/include
+	rm -f include
+	ln -s $(KDIR)/include
+
+clean:
+	rm -f $(TARGETS) $(TARGETDIR)/.*.flags $(TARGETDIR)/*.o $(TARGETDIR)/.depend
+	rm -f $(TARGETDIR)/*~ newinclude/linux/*~ *~ .kversion
+	rm -f -r modules .depend .hdepend
+	
+$(TARGET):
+	$(MAKE) -f Makefile KDIR=$(KDIR) TARGETDIR=$(TARGETDIR) $(TARGET)
+
+install: $(TARGETS)
+	$(MAKE) -f Makefile KDIR=$(KDIR) TARGETDIR=$(TARGETDIR) install_mod
+	install newinclude/linux/mISDNif.h /usr/include/linux
+
+modlist:
+	$(MAKE) -f Makefile KDIR=$(KDIR) TARGETDIR=$(TARGETDIR) modlist

Propchange: mISDN/upstream/mISDN-1_1_8/Makefile.module
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/Makefile.module
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/Makefile.module
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/Makefile.standalone
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/Makefile.standalone?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/Makefile.standalone (added)
+++ mISDN/upstream/mISDN-1_1_8/Makefile.standalone Thu Jul 31 14:02:36 2008
@@ -1,0 +1,76 @@
+# km_mISDN slave Makefile
+# (c) 10/2001 Karsten Keil <kkeil at suse.de>
+#
+KDIR = /usr/src/linux
+
+DESTDIR =
+TARGET = 
+TARGETS := $(TARGET)
+
+default: $(TARGETS)
+
+all: $(TARGETS)
+
+MYDIR := $(PWD)
+
+TOPDIR := $(KDIR)
+include $(KDIR)/.config
+include $(KDIR)/Makefile
+
+CFLAGS := -I. -I $(KDIR)/drivers/isdn/avmb1 $(CFLAGS) -I $(MYDIR)/newinclude -DLINUX
+CC := $(filter-out -I$(HPATH), $(CC)) -I $(MYDIR)/newinclude -I $(HPATH)
+
+ifdef CONFIG_MODVERSIONS
+CFLAGS := -DMODULE -DMODVERSIONS -include $(MODVERFILE) $(CFLAGS)
+else
+CFLAGS := -DMODULE $(CFLAGS)
+endif
+
+FINDHPATH += $(MYDIR)/newinclude/linux
+
+MODLIB := $(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
+
+mISDN: $(TARGETDIR) depend mISDN_mod 
+	$(MAKE) -C $(TARGETDIR) CFLAGS="$(CFLAGS)" MAKING_MODULES=1 modules
+
+dep-files: scripts/mkdep archdep include/linux/version.h
+	scripts/mkdep -- `find $(FINDHPATH) \( -name SCCS -o -name .svn \) -prune -o -follow -name \*.h ! -name modversions.h -print` > .hdepend
+	$(MAKE) $(patsubst %,_sfdep_%,$(TARGETDIR)) _FASTDEP_ALL_SUB_DIRS="$(TARGETDIR)"
+ifdef CONFIG_MODVERSIONS
+	$(MAKE) update-modverfile
+endif
+
+depend dep: dep-files
+
+ifeq ($(PATCHLEVEL), 2)
+
+TARGETMODDIR = misc
+
+install: install_mod
+
+install_mod: modules_install
+
+mISDN_mod:
+	echo patchlevel $(PATCHLEVEL)
+	mkdir -p modules
+
+else
+
+TARGETMODDIR = ../misc
+
+mISDN_mod:
+	echo patchlevel $(PATCHLEVEL)
+
+install: install_mod
+
+install_mod: $(MODLIB)/$(TARGETMODDIR)
+	$(MAKE) -C $(TARGETDIR) MOD_DESTDIR=$(TARGETMODDIR) modules_install
+
+$(MODLIB)/$(TARGETMODDIR):
+	mkdir -p $(MODLIB)/$(TARGETMODDIR) 
+
+endif
+
+modlist: $(MODLIB)/$(TARGETMODDIR)
+	$(MAKE) -C $(TARGETDIR) MOD_DESTDIR=$(TARGETMODDIR) mod_list
+

Propchange: mISDN/upstream/mISDN-1_1_8/Makefile.standalone
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/Makefile.standalone
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/Makefile.standalone
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/README.misdn-init
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/README.misdn-init?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/README.misdn-init (added)
+++ mISDN/upstream/mISDN-1_1_8/README.misdn-init Thu Jul 31 14:02:36 2008
@@ -1,0 +1,55 @@
+misdn-init: init-script to auto-configure and load the mISDN kernel drivers
+===========================================================================
+
+This script makes it easy to configure and activate mISDN compatible 
+adapter cards. It scans an eyecandy config file named misdn-init.conf
+for your card and port settings, then it loads the driver modules properly.
+The misdn-init.conf can also be autogenerated by the misdn-init script.
+
+---------------------------------------------------------------------------
+Usage: /usr/sbin/misdn-init start|stop|restart|config|scan|help
+
+  --start      scan /etc/misdn-init.conf and load the mISDN drivers
+  --stop       unload the mISDN drivers
+  --restart    see stop, then start
+  --config     scan your PCI bus for mISDN compatible hardware and generate
+               a /etc/misdn-init.conf
+  --scan       scan your PCI bus for mISDN compatible hardware and print
+               the results to the console
+  --help       print the usage info
+---------------------------------------------------------------------------
+
+
+* Here is a quick overview on how to use misdn-init:
+
+1) Get and install misdn-init:
+   $ wget http://www.beronet.com/downloads/chan_misdn/stable/chan_misdn.tar.gz
+   $ tar zxf chan_misdn.tar.gz
+   $ (as root) cp chan_misdn/misdn-init /usr/sbin/misdn-init
+   
+2) Let misdn-init scan your PCI bus for mISDN compatible hardware and write
+   the results into /etc/misdn-init.conf:
+   $ (as root) /usr/sbin/misdn-init config
+ 
+3) (optional) Edit /etc/misdn-init.conf and set everything the way you want it.
+   This file is heavily commented, hence it should be self-explaining.
+
+4) (optional, but recommended) Add misdn-init to your run level.
+   This is distribution dependend. Here an example for a debian system:
+   ATTENTION: If you have services in your runlevels that depend
+              on mISDN, make sure that misdn-init starts before, and
+              stops after them (this is done by changing the values
+              that are set to 60 in this example, more info: read the 
+              manpage for update-rc.d).
+   $ (as root) update-rc.d misdn-init start 60 2 3 4 5 . stop 60 0 1 6 .
+
+5) Run the following to start mISDN:
+   $ (as root) /usr/sbin/misdn-init start
+
+
+
+---------------------------------------------------------------------------
+* Report Bugs:
+If you experience any bugs or have a feature request, please visit:
+www.isdn4linux.de/mantis
+

Propchange: mISDN/upstream/mISDN-1_1_8/README.misdn-init
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/README.misdn-init
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/README.misdn-init
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/Rules.make.ext
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/Rules.make.ext?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/Rules.make.ext (added)
+++ mISDN/upstream/mISDN-1_1_8/Rules.make.ext Thu Jul 31 14:02:36 2008
@@ -1,0 +1,5 @@
+
+mod_list: $(obj-m)
+	rm -f $(TOPDIR)/files.mod
+	for i in $(obj-m) ; do echo $(MODLIB)/misc/$$i>>$(TOPDIR)/files.mod; done
+

Propchange: mISDN/upstream/mISDN-1_1_8/Rules.make.ext
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/Rules.make.ext
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/Rules.make.ext
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/VERSION
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/VERSION?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/VERSION (added)
+++ mISDN/upstream/mISDN-1_1_8/VERSION Thu Jul 31 14:02:36 2008
@@ -1,0 +1,1 @@
+1_1_8

Propchange: mISDN/upstream/mISDN-1_1_8/VERSION
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/VERSION
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/VERSION
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/add.config
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/add.config?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/add.config (added)
+++ mISDN/upstream/mISDN-1_1_8/add.config Thu Jul 31 14:02:36 2008
@@ -1,0 +1,10 @@
+#
+# Modular ISDN driver
+#
+CONFIG_MISDN_DRV=m
+CONFIG_MISDN_AVM_FRITZ=y
+CONFIG_MISDN_HFCPCI=y
+CONFIG_MISDN_SPEEDFAX=y
+CONFIG_MISDN_W6692=y
+CONFIG_MISDN_DSP=y
+CONFIG_MISDN_MEMDEBUG=y

Propchange: mISDN/upstream/mISDN-1_1_8/add.config
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/add.config
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/add.config
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/config/Makefile
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/config/Makefile?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/config/Makefile (added)
+++ mISDN/upstream/mISDN-1_1_8/config/Makefile Thu Jul 31 14:02:36 2008
@@ -1,0 +1,11 @@
+
+all:
+	@echo "Please run 'make install'."
+
+install:
+	install -D -m755 mISDN $(INSTALL_PREFIX)/usr/sbin/mISDN
+	for file in $(shell echo *.xsl); do install -D -m644 $${file} $(INSTALL_PREFIX)/usr/lib/mISDN/$${file}; done
+	if [ -d $(INSTALL_PREFIX)/etc/init.d ]; then \
+		if [ -e $(INSTALL_PREFIX)/etc/init.d/mISDN ]; then rm -rf $(INSTALL_PREFIX)/etc/init.d/mISDN; fi; \
+		ln -s $(INSTALL_PREFIX)/usr/sbin/mISDN $(INSTALL_PREFIX)/etc/init.d/mISDN; \
+	fi

Propchange: mISDN/upstream/mISDN-1_1_8/config/Makefile
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/config/Makefile
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/config/Makefile
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/config/README.mISDN
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/config/README.mISDN?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/config/README.mISDN (added)
+++ mISDN/upstream/mISDN-1_1_8/config/README.mISDN Thu Jul 31 14:02:36 2008
@@ -1,0 +1,65 @@
+'mISDN': init-script to auto-configure and load the mISDN kernel drivers
+===========================================================================
+This script makes it easy to configure and activate mISDN compatible 
+adapter cards. It scans an eyecandy config file named mISDN.conf
+for your card and port settings, then it loads the driver modules properly.
+The misdn-init.conf can also be autogenerated by the mISDN script.
+
+
+---------------------------------------------------------------------------
+Requirements:
+
+The 'mISDN' script requires you to install the tool 'xsltproc'. To install 
+xsltproc on debian, just type: 
+
+   $ apt-get install xsltproc (as root)
+
+On other distros the package name might be libxmtools or likewise.
+
+---------------------------------------------------------------------------
+Usage: /usr/sbin/misdn-init start|stop|restart|config|scan|help
+
+  --start      scan /etc/misdn-init.conf and load the mISDN drivers
+  --stop       unload the mISDN drivers
+  --restart    see stop, then start
+  --config     scan your PCI bus for mISDN compatible hardware and generate
+               a /etc/mISDN.conf
+  --scan       scan your PCI bus for mISDN compatible hardware and print
+               the results to the console
+  --help       print the usage info
+---------------------------------------------------------------------------
+
+
+* Here is a quick overview on how to use mISDN:
+
+1) Get and install mISDN:
+   $ wget http://www.misdn.org/downloads/mISDN.tar.gz
+   $ tar xzf mISDN.tar.gz
+   $ cd mISDN*
+   $ make install
+
+   
+2) Let mISDN scan your PCI bus for mISDN compatible hardware and write
+   the results into /etc/mISDN.conf:
+   $ (as root) mISDN config
+ 
+3) (optional) Edit /etc/mISDN.conf and set everything the way you want it.
+   This file is heavily commented, hence it should be self-explaining.
+
+4) (optional, but recommended) Add 'mISDN' to your run level.
+   This is distribution dependend. Here an example for a debian system:
+   ATTENTION: If you have services in your runlevels that depend
+              on mISDN, make sure that 'mISDN' starts before, and
+              stops after them (this is done by changing the values
+              that are set to 60 in this example, more info: read the 
+              manpage for update-rc.d).
+   $ (as root) update-rc.d mISDN start 60 2 3 4 5 . stop 60 0 1 6 .
+
+5) Run the following to start mISDN:
+   $ (as root) mISDN start
+
+---------------------------------------------------------------------------
+* Report Bugs:
+If you experience any bugs or have a feature request, please visit:
+www.isdn4linux.de/mantis
+

Propchange: mISDN/upstream/mISDN-1_1_8/config/README.mISDN
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: mISDN/upstream/mISDN-1_1_8/config/README.mISDN
------------------------------------------------------------------------------
    svn:keywords = Author ID Date Revision

Propchange: mISDN/upstream/mISDN-1_1_8/config/README.mISDN
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: mISDN/upstream/mISDN-1_1_8/config/mISDN
URL: http://svn.digium.com/view/thirdparty/mISDN/upstream/mISDN-1_1_8/config/mISDN?view=auto&rev=15
==============================================================================
--- mISDN/upstream/mISDN-1_1_8/config/mISDN (added)
+++ mISDN/upstream/mISDN-1_1_8/config/mISDN Thu Jul 31 14:02:36 2008
@@ -1,0 +1,540 @@
+#!/bin/bash
+
+#----------------------------------------------
+#
+# CONFIGURATION:
+#
+MISDN_CONF="/etc/mISDN.conf"
+MISDN_CONF_XSL="/usr/lib/mISDN/mISDN.conf.xsl"
+#
+#----------------------------------------------
+
+SELF="${0}"
+USAGE="Usage: ${SELF} start|stop|restart|config|scan|help"
+
+function die {
+	echo "[!!] ${1}"
+	exit 1
+}
+
+function check_cmd
+{
+	if ! which "${1}" > /dev/null; then
+		if [ "${2}" = "opt" ]; then
+			return
+		fi
+		if [ "$(id -u)" != "0" ]; then
+			die "$1 not in path, please install and/or be root."
+		else
+			die "$1 not in path, please install."
+		fi
+		exit 1
+	else
+		local var=$(echo ${1} | tr a-z A-Z)
+		eval "$var=`which ${1}`"
+	fi
+}
+
+function check_misdn_conf
+{
+	if [ ! -f ${MISDN_CONF} ]; then
+		die "${MISDN_CONF} not found. Please run: ${SELF} config"
+	fi
+}
+
+check_cmd sed
+check_cmd cut
+check_cmd cp
+check_cmd wc
+check_cmd grep
+check_cmd xsltproc
+check_cmd modprobe
+check_cmd sleep
+check_cmd lspci
+check_cmd lsusb opt
+check_cmd mknod
+check_cmd chown
+check_cmd chmod
+
+declare -a START_COMMANDS
+declare -a STOP_COMMANDS
+
+declare -a HFCMULTI_card
+declare -a HFCMULTI_type
+declare -a HFCMULTI_protocol
+declare -a HFCMULTI_layermask
+HFCMULTI_options=''
+MISDNDSP_options=''
+L1OIP_options=''
+
+AVMFRITZ_protocol=''
+AVMFRITZ_layermask=''
+
+HFCPCI_protocol=''
+HFCPCI_layermask=''
+
+HFCSUSB_protocol=''
+HFCSUSB_layermask=''
+HFCSUSB_options=''
+
+XHFC_protocol=''
+XHFC_layermask=''
+XHFC_options=''
+
+L1OIP_type=''
+L1OIP_protocol=''
+L1OIP_layermask=''
+L1OIP_codec=''
+L1OIP_ip=''
+L1OIP_port=''
+L1OIP_localport=''
+L1OIP_ondemand=''
+L1OIP_id=''
+
+DEVNODE_user='root'
+DEVNODE_group='root'
+DEVNODE_mode='0644'
+
+declare -a SCAN_card
+declare -a SCAN_opts
+declare -a SCAN_num_ports
+declare -a SCAN_port_opts
+
+function parse_config
+{
+	local CONFIG=$(${XSLTPROC} ${MISDN_CONF_XSL} ${MISDN_CONF})
+	local t p l line i tmpcmd curr tmpstr extra_modules val
+	local IFS=$'\n'
+	
+	START_COMMANDS[${#START_COMMANDS[@]}]="${MODPROBE} --ignore-install capi"
+	START_COMMANDS[${#START_COMMANDS[@]}]="${MODPROBE} --ignore-install mISDN_core debug=0"
+	START_COMMANDS[${#START_COMMANDS[@]}]="${MODPROBE} --ignore-install mISDN_l1 debug=0"
+	START_COMMANDS[${#START_COMMANDS[@]}]="${MODPROBE} --ignore-install mISDN_l2 debug=0"
+	START_COMMANDS[${#START_COMMANDS[@]}]="${MODPROBE} --ignore-install l3udss1 debug=0"
+	START_COMMANDS[${#START_COMMANDS[@]}]="${MODPROBE} --ignore-install mISDN_capi"
+	
+	for line in ${CONFIG}; do
+		case "${line}" in
+			DEVNODE:mISDN*)
+				tmpstr=$(echo ${line} | ${SED} -n 's/.*user:\([^ ]*\).*/\1/p')
+				if [ ! -z "${tmpstr}" ]; then
+					DEVNODE_user="${tmpstr}"
+				fi
+				tmpstr=$(echo ${line} | ${SED} -n 's/.*group:\([^ ]*\).*/\1/p')
+				if [ ! -z "${tmpstr}" ]; then
+					DEVNODE_group="${tmpstr}"
+				fi
+				tmpstr=$(echo ${line} | ${SED} -n 's/.*mode:\([^ ]*\).*/\1/p')
+				if [ ! -z "${tmpstr}" ]; then
+					DEVNODE_mode="${tmpstr}"
+				fi
+				;;
+			MODULE:hfcmulti*)
+				HFCMULTI_options=${line:16}
+				;;
+			MODULE:hfcsusb*)
+				HFCSUSB_options=${line:15}
+				;;
+			MODULE:xhfc*)
+				XHFC_options=${line:12}
+				;;
+			MODULE:mISDN_debugtool*)
+				extra_modules[${#extra_modules[@]}]=${line:7}
+				;;
+			MODULE:mISDN_dsp*)
+				MISDNDSP_options=${line:17}
+				;;
+			MODULE:l1oip*)
+				L1OIP_options=${line:13}
+				;;
+			CARD:BN*)
+				curr='hfcmulti'
+				i=${#HFCMULTI_type[@]}
+				let "t = $(echo ${line} | ${SED} -n 's/.*type:\([^,]*\).*/\1/p')"
+				HFCMULTI_type[${i}]=$(printf "0x%x" ${t})
+
+# this is for the BN2E1 card that needs two type numbers
+				t=$(echo ${line} | ${SED} -n 's/.*type:[^,]*,\([^ ]*\).*/\1/p')
+				if [ ! -z "${t}" ]; then
+					let "t = ${t}"
+					HFCMULTI_type[${i}]="${HFCMULTI_type[${i}]},$(printf "0x%x" ${t})"
+				fi
+
+				HFCMULTI_card[${i}]=$(echo ${line:5} | ${CUT} -d" " -f1)
+				;;
+			CARD:hfcpci*)
+				curr='hfcpci'
+				;;
+			CARD:hfcsusb*)
+				curr='hfcsusb'
+				;;
+			CARD:xhfc*)
+				curr='xhfc'
+				;;
+			CARD:avmfritz*)
+				curr='avmfritz'
+				;;
+			CARD:l1oip*)
+				curr='l1oip'
+				;;
+			PORT*)
+				case "${curr}" in
+					hfcmulti)
+						let "p = $(echo ${line} | ${SED} -n 's/.*protocol:\([^ ]*\).*/\1/p')"
+						HFCMULTI_protocol[${i}]="${HFCMULTI_protocol[${i}]:+"${HFCMULTI_protocol[${i}]},"}$(printf "0x%x" ${p})"

[... 78575 lines stripped ...]



More information about the svn-commits mailing list