[dahdi-commits] sruffell: linux/trunk r4909 - /linux/trunk/drivers/dahdi/
SVN commits to the DAHDI project
dahdi-commits at lists.digium.com
Mon Sep 15 15:49:31 CDT 2008
Author: sruffell
Date: Mon Sep 15 15:49:31 2008
New Revision: 4909
URL: http://svn.digium.com/view/dahdi?view=rev&rev=4909
Log:
Edit some comments and error strings.
Issue: DAHDI-13
Modified:
linux/trunk/drivers/dahdi/dahdi-base.c
linux/trunk/drivers/dahdi/wctdm.c
Modified: linux/trunk/drivers/dahdi/dahdi-base.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/dahdi-base.c?view=diff&rev=4909&r1=4908&r2=4909
==============================================================================
--- linux/trunk/drivers/dahdi/dahdi-base.c (original)
+++ linux/trunk/drivers/dahdi/dahdi-base.c Mon Sep 15 15:49:31 2008
@@ -6259,7 +6259,7 @@
}
break;
case DAHDI_SIG_FXSKS: /* FXS Kewlstart */
- /* ignore a bit poopy if loop not closed and stable */
+ /* ignore a bit error if loop not closed and stable */
if (chan->txstate != DAHDI_TXSTATE_OFFHOOK) break;
#ifdef FXSFLASH
if (rxsig == DAHDI_RXSIG_ONHOOK) {
Modified: linux/trunk/drivers/dahdi/wctdm.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/wctdm.c?view=diff&rev=4909&r1=4908&r2=4909
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm.c (original)
+++ linux/trunk/drivers/dahdi/wctdm.c Mon Sep 15 15:49:31 2008
@@ -747,7 +747,7 @@
unsigned char res;
#endif
signed char b;
- int poopy = 0;
+ int errors = 0;
struct fxo *fxo = &wc->mod[card].fxo;
/* Try to track issues that plague slot one FXO's */
@@ -755,8 +755,8 @@
if ((b & 0x2) || !(b & 0x8)) {
/* Not good -- don't look at anything else */
if (debug)
- printk(KERN_DEBUG "Poopy (%02x) on card %d!\n", b, card + 1);
- poopy++;
+ printk(KERN_DEBUG "Error (%02x) on card %d!\n", b, card + 1);
+ errors++;
}
b &= 0x9b;
if (fxo->offhook) {
@@ -766,7 +766,7 @@
if (b != 0x8)
wctdm_setreg(wc, card, 5, 0x8);
}
- if (poopy)
+ if (errors)
return;
if (!fxo->offhook) {
if (fwringdetect) {
More information about the dahdi-commits
mailing list