]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Updated mISDN/user to current 1.2 development version
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 5 Apr 2009 05:35:33 +0000 (07:35 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 5 Apr 2009 05:35:33 +0000 (07:35 +0200)
config/kernel/kernel.config.i586
config/rootfiles/common/mISDN
config/rootfiles/core/28/filelists/files
config/udev/blacklist
doc/packages-list.txt
lfs/linux
lfs/mISDN
src/patches/mISDN-remove2.6.27-dsp-features.diff [new file with mode: 0644]

index 3a49b9866b64bc1f16beee6b867e0da0c3efd825..48d1043abbabf8c4e1aab3b49fd1180eac1622f4 100644 (file)
@@ -1788,7 +1788,7 @@ CONFIG_MISDN_AVM_FRITZ=y
 CONFIG_MISDN_NETJET=y
 CONFIG_MISDN_HFCPCI=y
 CONFIG_MISDN_HFCMULTI=y
-CONFIG_HFCMULTI_PCIMEM=y
+# CONFIG_HFCMULTI_PCIMEM is not set
 CONFIG_MISDN_HFCUSB=y
 CONFIG_MISDN_HFCMINI=y
 CONFIG_MISDN_XHFC=y
index 46c3fb85543513cd0f440e5b6a6df7271fdb7e22..fc041b1fdbf7c2ba5d4d6f2a960d29645d75c992 100644 (file)
@@ -1,3 +1,5 @@
+etc/rc.d/init.d/mISDN
+usr/bin/isdnbridge
 usr/bin/loadfirm
 usr/bin/mISDNdebugtool
 usr/bin/misdnportinfo
index 48518d948da4f75e99169afbe9550ef9a4bf5680..f3a93f56a58dd98cd8eea244c59fb48afcec5805 100644 (file)
@@ -3,6 +3,7 @@ etc/rc.d/init.d/snort
 etc/ssh/moduli
 etc/ssh/ssh_config
 etc/ssh/sshd_config
+etc/modprobe.d/blacklist
 usr/bin/scp
 usr/bin/sftp
 usr/bin/slogin
index 73e3207f452bcf2d5dcd55578c108104b325c7a5..d0ba985d5ef59bed11ec960fa1845e2315413d1d 100644 (file)
@@ -17,3 +17,11 @@ blacklist l3udss1
 blacklist mISDN_capi
 blacklist mISDN_isac
 blacklist hfcsusb
+blacklist hfcpci
+blacklist hfcsmini
+blacklist l1oip
+blacklist mISDN_dsp
+blacklist netjetpci
+blacklist sedlfax
+blacklist w6692pci
+blacklist xhfc
index dbda803b143b31375d41fd3d6b72d37744307115..3d3f21275dd1574221d6a8bc34ddae8b0b915894 100644 (file)
 * lynis-1.2.3
 * lzo-2.02
 * m4-1.4.4
-* mISDNuser-1_1_9
+* mISDNuser.git-f69adb52764c392135800f9a87c9018f9f268139
 * madwifi-hal-0.10.5.6-r3942-20090205-kmod-2.6.27.21
 * make-3.81
 * man-db-2.4.3
index c210fe13aa1e127a5620afdbe37d9c4fc4d1920f..59639d3a36b3b4b1e8b202f6e88afce50dd64144 100644 (file)
--- a/lfs/linux
+++ b/lfs/linux
@@ -34,7 +34,7 @@ DIR_APP    = $(DIR_SRC)/$(THISAPP)
 CFLAGS     =
 CXXFLAGS   =
 
-mISDN_VER  = mISDN-1_1_9
+mISDN_VER  = mISDN.git-ad5e8abaed89ce6539104b819eef011655cd0b04
 
 # Normal build or SMP build.
 #
@@ -65,7 +65,7 @@ $(DL_FILE)_MD5                                = 2912af7938fae1a3f2a9a6bcf8c0009f
 netfilter-layer7-v2.21.tar.gz_MD5      = 838422e7d9a06b42e682e9064e5210b5
 patch-2.6.16-nath323-1.3.bz2_MD5       = f926409ff703a307baf54b57ab75d138
 squashfs3.4.tar.gz_MD5                 = 2a4d2995ad5aa6840c95a95ffa6b1da6
-$(mISDN_VER).tar.gz_MD5                = bb8beb974d581243442d89f66e6928da
+$(mISDN_VER).tar.gz_MD5                = 480a947458c3f254aba489a807f98a29
 reiser4-for-2.6.27.19.patch.bz2_MD5    = 22988387f64f299489b90b484b2642cc
 
 install : $(TARGET)
@@ -137,10 +137,11 @@ endif
        cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/linux-2.6.27-disable_mISDNv2.patch
        cd $(DIR_APP) rm -rf drivers/isdn/mISDN drivers/isdn/hardware/mISDN
 
-       # add mISDNv1
+       # add mISDNv1.2
        cd $(DIR_SRC) && rm -rf mISDN-*
        cd $(DIR_SRC) && tar xfz $(DIR_DL)/$(mISDN_VER).tar.gz
-       cd $(DIR_SRC)/$(mISDN_VER) && yes 'yes' | ./std2kern -k /usr/src/linux
+       cd $(DIR_SRC)/mISDN.git && patch -Np1 < $(DIR_SRC)/src/patches/mISDN-remove2.6.27-dsp-features.diff
+       cd $(DIR_SRC)/mISDN.git && yes 'yes' | ./std2kern -k /usr/src/linux
        
        # Cleanup kernel source
        cd $(DIR_APP) && make mrproper
index 5509184376cba7262014042ada9d33d46f815264..3040648c9325c568e594ae10354d94f11a660984 100644 (file)
--- a/lfs/mISDN
+++ b/lfs/mISDN
@@ -24,9 +24,9 @@
 
 include Config
 
-VER        = 1_1_9
+VER        = f69adb52764c392135800f9a87c9018f9f268139
 
-THISAPP    = mISDNuser-$(VER)
+THISAPP    = mISDNuser.git-$(VER)
 DL_FILE    = $(THISAPP).tar.gz
 DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
@@ -40,7 +40,7 @@ objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_MD5 = e174a60e7040c88d1184364714e55c1b
+$(DL_FILE)_MD5 = 26cd2bdaa094892c3ee30cd8fdacad8a
 
 install : $(TARGET)
 
@@ -70,10 +70,10 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && make MISDNDIR=/usr/src/linux
-       cd $(DIR_APP) && make install MISDNDIR=/usr/src/linux
+       cd $(DIR_SRC)/mISDNuser.git && make MISDNDIR=/usr/src/linux
+       cd $(DIR_SRC)/mISDNuser.git && make install MISDNDIR=/usr/src/linux
        -mkdir -p /usr/lib/mISDN
-       cd $(DIR_SRC) && tar xfz $(DIR_DL)/mISDN-$(VER).tar.gz
-       cd $(DIR_SRC)/mISDN-$(VER) && cp -v config/*.xsl /usr/lib/mISDN
+       cd $(DIR_SRC) && tar xfz $(DIR_DL)/mISDN.git-ad5e8abaed89ce6539104b819eef011655cd0b04.tar.gz
+       cd $(DIR_SRC)/mISDN.git && cp -v config/*.xsl /usr/lib/mISDN
        @rm -rf $(DIR_SRC)/mISDN*
        @$(POSTBUILD)
diff --git a/src/patches/mISDN-remove2.6.27-dsp-features.diff b/src/patches/mISDN-remove2.6.27-dsp-features.diff
new file mode 100644 (file)
index 0000000..7cc95b6
--- /dev/null
@@ -0,0 +1,344 @@
+diff -Naur mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_cmx.c mISDN.git/drivers/isdn/hardware/mISDN/dsp_cmx.c
+--- mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_cmx.c        2009-01-22 14:26:03.000000000 +0100
++++ mISDN.git/drivers/isdn/hardware/mISDN/dsp_cmx.c    2009-04-04 19:06:14.000000000 +0200
+@@ -1138,11 +1138,7 @@
+        * also add delay if requested by PH_SIGNAL
+        */
+       if (dsp->rx_W < 0) {
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-              if (dsp->features.unclocked) {
+-#else
+               if (dsp->features.has_jitter) {
+-#endif
+                       dsp->rx_R = (hh->dinfo & CMX_BUFF_MASK);
+                       dsp->rx_W = (dsp->rx_R+dsp->cmx_delay) & CMX_BUFF_MASK;
+               } else {
+@@ -1151,11 +1147,7 @@
+               }
+       }
+       /* if frame contains time code, write directly */
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-      if (dsp->features.unclocked) {
+-#else
+         if (dsp->features.has_jitter) {
+-#endif
+               dsp->rx_W = (hh->dinfo & CMX_BUFF_MASK);
+ #warning remove me
+               printk(KERN_DEBUG "%s %08x\n", dsp->inst.name, hh->dinfo);
+diff -Naur mISDN.git.org/drivers/isdn/hardware/mISDN/dsp.h mISDN.git/drivers/isdn/hardware/mISDN/dsp.h
+--- mISDN.git.org/drivers/isdn/hardware/mISDN/dsp.h    2009-01-22 14:26:03.000000000 +0100
++++ mISDN.git/drivers/isdn/hardware/mISDN/dsp.h        2009-04-04 19:04:43.000000000 +0200
+@@ -159,7 +159,6 @@
+  * general stuff *
+  *****************/
+-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27)
+ struct dsp_features {
+       int             hfc_id;         // unique id to identify the chip (or -1) 
+       int             hfc_dtmf;       // set if HFCmulti card supports dtmf 
+@@ -170,7 +169,6 @@
+       int             pcm_banks;      // number of IO banks of pcm bus 
+       int             has_jitter;     // data is jittered and unsorted 
+ };
+-#endif
+ typedef struct _dsp {
+       struct list_head list;
+diff -Naur mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_hwec.c mISDN.git/drivers/isdn/hardware/mISDN/dsp_hwec.c
+--- mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_hwec.c       2009-01-22 14:26:03.000000000 +0100
++++ mISDN.git/drivers/isdn/hardware/mISDN/dsp_hwec.c   2009-04-04 19:07:16.000000000 +0200
+@@ -30,24 +30,6 @@
+ #include <linux/mISDNif.h>
+ #include "dsp.h"
+ #include "helper.h"
+-
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-static struct mISDN_dsp_element_arg args[] = {
+-        { "deftaps", "128", "Set the number of taps of cancellation." },
+-};
+-
+-static struct mISDN_dsp_element dsp_hwec_p = {
+-        .name = "hwec",
+-        .new = NULL,
+-        .free = NULL,
+-        .process_tx = NULL,
+-        .process_rx = NULL,
+-        .num_args = sizeof(args) / sizeof(struct mISDN_dsp_element_arg),
+-        .args = args,
+-};
+-struct mISDN_dsp_element *dsp_hwec = &dsp_hwec_p;
+-
+-#else
+ static mISDN_dsp_element_arg_t args[] = {
+       { "deftaps", "128", "Set the number of taps of cancellation." },
+ };
+@@ -62,7 +44,6 @@
+       .args = args,
+ };
+ mISDN_dsp_element_t *dsp_hwec = &dsp_hwec_p;
+-#endif
+ void dsp_hwec_enable (dsp_t *dsp, const char *arg)
+ {
+diff -Naur mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_kb1ec.c mISDN.git/drivers/isdn/hardware/mISDN/dsp_kb1ec.c
+--- mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_kb1ec.c      2009-01-22 14:26:03.000000000 +0100
++++ mISDN.git/drivers/isdn/hardware/mISDN/dsp_kb1ec.c  2009-04-04 19:07:35.000000000 +0200
+@@ -90,22 +90,6 @@
+       dsp_cancel_rx(p, data, len);
+ }
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-static struct mISDN_dsp_element_arg args[] = {
+-        { "deftaps", "128", "Set the number of taps of cancellation." },
+-        { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+-};
+-
+-static struct mISDN_dsp_element dsp_kb1ec = {
+-        .name = "kb1ec",
+-        .new = new,
+-        .free = free,
+-        .process_tx = process_tx,
+-        .process_rx = process_rx,
+-        .num_args = sizeof(args) / sizeof(struct mISDN_dsp_element_arg),
+-        .args = args,
+-};
+-#else
+ static mISDN_dsp_element_arg_t args[] = {
+       { "deftaps", "128", "Set the number of taps of cancellation." },
+       { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+@@ -120,7 +104,6 @@
+       .num_args = sizeof(args) / sizeof(mISDN_dsp_element_arg_t),
+       .args = args,
+ };
+-#endif
+ #ifdef MODULE
+ static int __init dsp_kb1ec_init (void)
+diff -Naur mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_mec2.c mISDN.git/drivers/isdn/hardware/mISDN/dsp_mec2.c
+--- mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_mec2.c       2009-01-22 14:26:03.000000000 +0100
++++ mISDN.git/drivers/isdn/hardware/mISDN/dsp_mec2.c   2009-04-04 19:08:03.000000000 +0200
+@@ -91,22 +91,6 @@
+       dsp_cancel_rx(p, data, len);
+ }
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-static struct mISDN_dsp_element_arg args[] = {
+-        { "deftaps", "128", "Set the number of taps of cancellation." },
+-        { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+-};
+-
+-static struct mISDN_dsp_element dsp_mec2 = {
+-        .name = "mec2",
+-        .new = new,
+-        .free = free,
+-        .process_tx = process_tx,
+-        .process_rx = process_rx,
+-        .num_args = sizeof(args) / sizeof(struct mISDN_dsp_element_arg),
+-        .args = args,
+-};
+-#else
+ static mISDN_dsp_element_arg_t args[] = {
+       { "deftaps", "128", "Set the number of taps of cancellation." },
+       { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+@@ -121,7 +105,6 @@
+       .num_args = sizeof(args) / sizeof(mISDN_dsp_element_arg_t),
+       .args = args,
+ };
+-#endif
+ #ifdef MODULE
+ static int __init dsp_mec2_init (void)
+diff -Naur mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_mg2ec.c mISDN.git/drivers/isdn/hardware/mISDN/dsp_mg2ec.c
+--- mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_mg2ec.c      2009-01-22 14:26:03.000000000 +0100
++++ mISDN.git/drivers/isdn/hardware/mISDN/dsp_mg2ec.c  2009-04-04 19:08:27.000000000 +0200
+@@ -90,22 +90,6 @@
+       dsp_cancel_rx(p, data, len);
+ }
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-static struct mISDN_dsp_element_arg args[] = {
+-        { "deftaps", "128", "Set the number of taps of cancellation." },
+-        { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+-};
+-
+-static struct mISDN_dsp_element dsp_mg2ec = {
+-        .name = "mg2ec",
+-        .new = new,
+-        .free = free,
+-        .process_tx = process_tx,
+-        .process_rx = process_rx,
+-        .num_args = sizeof(args) / sizeof(struct mISDN_dsp_element_arg),
+-        .args = args,
+-};
+-#else
+ static mISDN_dsp_element_arg_t args[] = {
+       { "deftaps", "128", "Set the number of taps of cancellation." },
+       { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+@@ -120,7 +104,6 @@
+       .num_args = sizeof(args) / sizeof(mISDN_dsp_element_arg_t),
+       .args = args,
+ };
+-#endif
+ #ifdef MODULE
+ static int __init dsp_mg2ec_init (void)
+diff -Naur mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_octwareec.c mISDN.git/drivers/isdn/hardware/mISDN/dsp_octwareec.c
+--- mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_octwareec.c  2009-01-22 14:26:03.000000000 +0100
++++ mISDN.git/drivers/isdn/hardware/mISDN/dsp_octwareec.c      2009-04-04 19:09:07.000000000 +0200
+@@ -91,22 +91,6 @@
+       dsp_cancel_rx(p, data, len);
+ }
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-static struct mISDN_dsp_element_arg args[] = {
+-        { "deftaps", "128", "Set the number of taps of cancellation." },
+-        { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+-};
+-
+-static struct mISDN_dsp_element dsp_octwareec = {
+-        .name = "octwareec",
+-        .new = new,
+-        .free = free,
+-        .process_tx = process_tx,
+-        .process_rx = process_rx,
+-        .num_args = sizeof(args) / sizeof(struct mISDN_dsp_element_arg),
+-        .args = args,
+-};
+-#else
+ static mISDN_dsp_element_arg_t args[] = {
+       { "deftaps", "128", "Set the number of taps of cancellation." },
+       { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+@@ -121,7 +105,6 @@
+       .num_args = sizeof(args) / sizeof(mISDN_dsp_element_arg_t),
+       .args = args,
+ };
+-#endif
+ #ifdef MODULE
+ static int __init dsp_octwareec_init (void)
+diff -Naur mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_oslec.c mISDN.git/drivers/isdn/hardware/mISDN/dsp_oslec.c
+--- mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_oslec.c      2009-01-22 14:26:03.000000000 +0100
++++ mISDN.git/drivers/isdn/hardware/mISDN/dsp_oslec.c  2009-04-04 19:09:34.000000000 +0200
+@@ -98,22 +98,6 @@
+       dsp_cancel_rx(p, data, len);
+ }
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-static struct  mISDN_dsp_element_arg args[] = {
+-        { "deftaps", "128", "Set the number of taps of cancellation." },
+-        { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+-};
+-
+-static struct mISDN_dsp_element dsp_oslec = {
+-        .name = "oslec",
+-        .new = new,
+-        .free = free,
+-        .process_tx = process_tx,
+-        .process_rx = process_rx,
+-        .num_args = sizeof(args) / sizeof(struct mISDN_dsp_element_arg),
+-        .args = args,
+-};
+-#else
+ static mISDN_dsp_element_arg_t args[] = {
+       { "deftaps", "128", "Set the number of taps of cancellation." },
+       { "training", "0", "Enable echotraining (0: disabled, 1: enabled)." },
+@@ -128,7 +112,6 @@
+       .num_args = sizeof(args) / sizeof(mISDN_dsp_element_arg_t),
+       .args = args,
+ };
+-#endif
+ #ifdef MODULE
+ static int __init dsp_oslec_init (void)
+diff -Naur mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_pipeline.c mISDN.git/drivers/isdn/hardware/mISDN/dsp_pipeline.c
+--- mISDN.git.org/drivers/isdn/hardware/mISDN/dsp_pipeline.c   2009-01-22 14:26:03.000000000 +0100
++++ mISDN.git/drivers/isdn/hardware/mISDN/dsp_pipeline.c       2009-04-04 19:13:05.000000000 +0200
+@@ -36,11 +36,7 @@
+ /* uncomment for debugging */
+ /*#define PIPELINE_DEBUG*/
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-extern struct mISDN_dsp_element *dsp_hwec;
+-#else
+ extern mISDN_dsp_element_t *dsp_hwec;
+-#endif
+ extern void dsp_hwec_enable          (dsp_t *dsp, const char *arg);
+ extern void dsp_hwec_disable         (dsp_t *dsp);
+@@ -48,21 +44,13 @@
+ extern void dsp_hwec_exit            (void);
+ typedef struct _dsp_pipeline_entry {
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-      struct mISDN_dsp_element *elem;
+-#else
+       mISDN_dsp_element_t *elem;
+-#endif
+       void                *p;
+       struct list_head     list;
+ } dsp_pipeline_entry_t;
+ typedef struct _dsp_element_entry {
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-      struct mISDN_dsp_element *elem;
+-      struct device  dev;
+-
+-#elif LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 26)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
+       mISDN_dsp_element_t *elem;
+       struct device dev;
+@@ -95,11 +83,7 @@
+ #endif
+ };
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-static ssize_t attr_show_args (struct device *dev, struct device_attribute *attr, char *buf) {
+-      struct mISDN_dsp_element *elem = dev_get_drvdata(dev);
+-
+-#elif LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 26)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
+ static ssize_t attr_show_args (struct device *dev, struct device_attribute *attr, char *buf) {
+         mISDN_dsp_element_t *elem = dev_get_drvdata(dev);
+@@ -125,14 +109,7 @@
+       return(len);
+ }
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-static struct device_attribute element_attributes[] = {
+-        __ATTR(args, 0444, attr_show_args, NULL),
+-};
+-
+-int mISDN_dsp_element_register (struct mISDN_dsp_element *elem) {
+-
+-#elif LINUX_VERSION_CODE == KERNEL_VERSION(2, 6, 26)
++#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 26)
+ static struct device_attribute element_attributes[] = {
+         __ATTR(args, 0444, attr_show_args, NULL),
+ };
+@@ -201,12 +178,7 @@
+       return re;
+ }
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-void mISDN_dsp_element_unregister (struct mISDN_dsp_element *elem) {
+-
+-#else
+ void mISDN_dsp_element_unregister (mISDN_dsp_element_t *elem) {
+-#endif
+       dsp_element_entry_t *entry, *n;
+       u_long flags;
+@@ -319,11 +291,7 @@
+       char *dup, *tok, *name, *args;
+       dsp_element_entry_t *entry, *n;
+       dsp_pipeline_entry_t *pipeline_entry;
+-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
+-      struct mISDN_dsp_element *elem;
+-#else
+       mISDN_dsp_element_t *elem;
+-#endif
+       u_long elements_flags, pipeline_flags;
+       if (!pipeline)