I had this problem too.  I worked up this patch to work around it.
Try to compile using module-assistant, then when it fails apply the
patch with

  cd /usr/src/modules
  patch -p0 </path/to/patch

This patch could go in the source distribution too.

diff -u misdn.orig/hfc_multi.c misdn/hfc_multi.c
--- misdn.orig/hfc_multi.c      2005-04-30 18:04:38.000000000 +0100
+++ misdn/hfc_multi.c   2006-03-28 17:53:54.000000000 +0100
@@ -136,7 +136,7 @@
 static int nt_t1_count[] = { 480, 240, 120, 60, 30, 15, 8, 4 };
 #define CLKDEL_TE      0x0f    /* CLKDEL in TE mode */
 #define CLKDEL_NT      0x0c    /* CLKDEL in NT mode (0x60 MUST not be 
included!) */
-static u_char silence =        0xff;   /* silence by LAW */
+static u_char hfc_silence =    0xff;   /* silence by LAW */
 
 /* enable 32 bit fifo access (PC usage) */
 #define FIFO_32BIT_ACCESS
@@ -907,7 +907,7 @@
         * no more data at all. this prevents sending an undefined value.
         */
        if (!hdlc)
-               HFC_outb_(hc, A_FIFO_DATA0_NOINC, silence);
+               HFC_outb_(hc, A_FIFO_DATA0_NOINC, hfc_silence);
 }
 
 
@@ -1551,7 +1551,7 @@
                HFC_outb(hc, A_IRQ_MSK, 0);
                HFC_outb(hc, R_INC_RES_FIFO, V_RES_F);
                HFC_wait(hc);
-               HFC_outb_(hc, A_FIFO_DATA0_NOINC, silence); /* tx silence */
+               HFC_outb_(hc, A_FIFO_DATA0_NOINC, hfc_silence); /* tx silence */
                /* enable RX fifo */
                HFC_outb(hc, R_FIFO, (ch<<1)|1);
                HFC_wait(hc);
@@ -1692,7 +1692,7 @@
 
        /* if off */
        if (len <= 0) {
-               HFC_outb_(hc, A_FIFO_DATA0_NOINC, silence);
+               HFC_outb_(hc, A_FIFO_DATA0_NOINC, hfc_silence);
                if (hc->chan[ch].slot_tx>=0) {
                        if (debug & DEBUG_HFCMULTI_MODE)
                                printk(KERN_DEBUG "%s: connecting PCM due to no 
more TONE: channel %d slot_tx %d\n", __FUNCTION__, ch, hc->chan[ch].slot_tx);
@@ -3315,9 +3315,9 @@
                hc->type = type[HFC_cnt] & 0xff;
                if (type[HFC_cnt] & 0x100) {
                        test_and_set_bit(HFC_CHIP_ULAW, &hc->chip);
-                       silence = 0xff; /* ulaw silence */
+                       hfc_silence = 0xff; /* ulaw silence */
                } else
-                       silence = 0x2a; /* alaw silence */
+                       hfc_silence = 0x2a; /* alaw silence */
                if (type[HFC_cnt] & 0x200)
                        test_and_set_bit(HFC_CHIP_DTMF, &hc->chip);
 //             if ((type[HFC_cnt]&0x400) && hc->type==4)
diff -u misdn.orig/hfc_pci.c misdn/hfc_pci.c
--- misdn.orig/hfc_pci.c        2005-04-30 18:04:39.000000000 +0100
+++ misdn/hfc_pci.c     2006-03-28 17:59:35.000000000 +0100
@@ -122,7 +122,7 @@
        {PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_DIGI_DF_M_E,"Digi International", 
"Digi DataFire Micro V (Europe)"},
        {PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_DIGI_DF_M_IOM2_A,"Digi 
International", "Digi DataFire Micro V IOM2 (North America)"},
        {PCI_VENDOR_ID_DIGI, PCI_DEVICE_ID_DIGI_DF_M_A,"Digi International", 
"Digi DataFire Micro V (North America)"},
-       {PCI_VENDOR_ID_SITECOM, PCI_DEVICE_ID_SITECOM_DC105,"Sitecom 
Connectivity", "DC-105 ISDN TA"},
+/*     {PCI_VENDOR_ID_SITECOM, PCI_DEVICE_ID_SITECOM_DC105,"Sitecom 
Connectivity", "DC-105 ISDN TA"}, */
        {0, 0, NULL, NULL},
 };
 

-- 
Nick Craig-Wood <[EMAIL PROTECTED]> -- http://www.craig-wood.com/nick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to