[Asterisk-cvs] zaptel Makefile,1.82,1.83 wct4xxp.c,1.76,1.77
mattf at lists.digium.com
mattf at lists.digium.com
Wed Jul 13 13:42:11 CDT 2005
Update of /usr/cvsroot/zaptel
In directory mongoose.digium.com:/tmp/cvs-serv28461
Modified Files:
Makefile wct4xxp.c
Log Message:
little update
Index: Makefile
===================================================================
RCS file: /usr/cvsroot/zaptel/Makefile,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- Makefile 10 Jun 2005 03:08:25 -0000 1.82
+++ Makefile 13 Jul 2005 17:50:13 -0000 1.83
@@ -354,6 +354,9 @@
if ! grep "alias wcfxs" $(MODCONF); then \
echo "alias wcfxs wctdm" >> $(MODCONF); \
fi
+ if ! grep "alias wct2xxp" $(MODCONF); then \
+ echo "alias wct2xxp wct4xxp" >> $(MODCONF); \
+ fi
if [ -d /etc/modutils ]; then \
/sbin/update-modules ; \
fi
Index: wct4xxp.c
===================================================================
RCS file: /usr/cvsroot/zaptel/wct4xxp.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- wct4xxp.c 13 Jul 2005 17:40:46 -0000 1.76
+++ wct4xxp.c 13 Jul 2005 17:50:13 -0000 1.77
@@ -2676,7 +2676,7 @@
#ifdef SUPPORT_GEN1
- if (request_irq(pdev->irq, (dt->flags & FLAG_2NDGEN) ? t4_interrupt_gen2 :t4_interrupt, SA_INTERRUPT | SA_SHIRQ, "wctxxp", wc))
+ if (request_irq(pdev->irq, (dt->flags & FLAG_2NDGEN) ? t4_interrupt_gen2 :t4_interrupt, SA_INTERRUPT | SA_SHIRQ, (wc->numspans == 2) ? "wct2xxp" : "wct4xxp", wc))
#else
if (!(wc->tspans[0]->spanflags & FLAG_2NDGEN)) {
printk("This driver does not support 1st gen modules\n");
More information about the svn-commits
mailing list