[dahdi-commits] tzafrir: linux/trunk r5190 - /linux/trunk/drivers/dahdi/wcb4xxp/base.c
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Fri Oct 31 15:55:08 CDT 2008
Author: tzafrir
Date: Fri Oct 31 15:55:08 2008
New Revision: 5190
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5190
Log:
wcb4xxp: Claim to provide DACS for dahdi_scan
dahdi_scan can tell that a span is digital if its first channel has DACS
signalling capability. While this is probably not supported by the
current driver, it is also harmless.
Without this, dahdi_scan shows the spans of this card as analog.
(Done after consulting with sruffel)
Modified:
linux/trunk/drivers/dahdi/wcb4xxp/base.c
Modified: linux/trunk/drivers/dahdi/wcb4xxp/base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wcb4xxp/base.c?view=diff&rev=5190&r1=5189&r2=5190
==============================================================================
--- linux/trunk/drivers/dahdi/wcb4xxp/base.c (original)
+++ linux/trunk/drivers/dahdi/wcb4xxp/base.c Fri Oct 31 15:55:08 2008
@@ -2119,7 +2119,7 @@
if(j == WCB4XXP_CHANNELS_PER_SPAN - 1) {
chan->sigcap = DAHDI_SIG_HARDHDLC;
} else {
- chan->sigcap = DAHDI_SIG_CLEAR;
+ chan->sigcap = DAHDI_SIG_CLEAR | DAHDI_SIG_DACS;
}
chan->chanpos = j + 1;
chan->writechunk = (void *)(bspan->writechunk + j * DAHDI_CHUNKSIZE);
More information about the dahdi-commits
mailing list