[svn-commits] tzafrir: branch 1.4 r3052 - /branches/1.4/zaptel-base.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Sep 18 04:59:08 CDT 2007
Author: tzafrir
Date: Tue Sep 18 04:59:07 2007
New Revision: 3052
URL: http://svn.digium.com/view/zaptel?view=rev&rev=3052
Log:
Give proper type for printk messages.
Modified:
branches/1.4/zaptel-base.c
Modified: branches/1.4/zaptel-base.c
URL: http://svn.digium.com/view/zaptel/branches/1.4/zaptel-base.c?view=diff&rev=3052&r1=3051&r2=3052
==============================================================================
--- branches/1.4/zaptel-base.c (original)
+++ branches/1.4/zaptel-base.c Tue Sep 18 04:59:07 2007
@@ -3193,39 +3193,39 @@
/* release it. */
spin_unlock_irqrestore(&chans[j]->lock, flags);
- printk("Dump of Zaptel Channel %d (%s,%d,%d):\n\n",j,
+ printk(KERN_INFO "Dump of Zaptel Channel %d (%s,%d,%d):\n\n",j,
mychan->name,mychan->channo,mychan->chanpos);
- printk("flags: %x hex, writechunk: %08lx, readchunk: %08lx\n",
+ printk(KERN_INFO "flags: %x hex, writechunk: %08lx, readchunk: %08lx\n",
mychan->flags, (long) mychan->writechunk, (long) mychan->readchunk);
- printk("rxgain: %08lx, txgain: %08lx, gainalloc: %d\n",
+ printk(KERN_INFO "rxgain: %08lx, txgain: %08lx, gainalloc: %d\n",
(long) mychan->rxgain, (long)mychan->txgain, mychan->gainalloc);
- printk("span: %08lx, sig: %x hex, sigcap: %x hex\n",
+ printk(KERN_INFO "span: %08lx, sig: %x hex, sigcap: %x hex\n",
(long)mychan->span, mychan->sig, mychan->sigcap);
- printk("inreadbuf: %d, outreadbuf: %d, inwritebuf: %d, outwritebuf: %d\n",
+ printk(KERN_INFO "inreadbuf: %d, outreadbuf: %d, inwritebuf: %d, outwritebuf: %d\n",
mychan->inreadbuf, mychan->outreadbuf, mychan->inwritebuf, mychan->outwritebuf);
- printk("blocksize: %d, numbufs: %d, txbufpolicy: %d, txbufpolicy: %d\n",
+ printk(KERN_INFO "blocksize: %d, numbufs: %d, txbufpolicy: %d, txbufpolicy: %d\n",
mychan->blocksize, mychan->numbufs, mychan->txbufpolicy, mychan->rxbufpolicy);
- printk("txdisable: %d, rxdisable: %d, iomask: %d\n",
+ printk(KERN_INFO "txdisable: %d, rxdisable: %d, iomask: %d\n",
mychan->txdisable, mychan->rxdisable, mychan->iomask);
- printk("curzone: %08lx, tonezone: %d, curtone: %08lx, tonep: %d\n",
+ printk(KERN_INFO "curzone: %08lx, tonezone: %d, curtone: %08lx, tonep: %d\n",
(long) mychan->curzone, mychan->tonezone, (long) mychan->curtone, mychan->tonep);
- printk("digitmode: %d, txdialbuf: %s, dialing: %d, aftdialtimer: %d, cadpos. %d\n",
+ printk(KERN_INFO "digitmode: %d, txdialbuf: %s, dialing: %d, aftdialtimer: %d, cadpos. %d\n",
mychan->digitmode, mychan->txdialbuf, mychan->dialing,
mychan->afterdialingtimer, mychan->cadencepos);
- printk("confna: %d, confn: %d, confmode: %d, confmute: %d\n",
+ printk(KERN_INFO "confna: %d, confn: %d, confmode: %d, confmute: %d\n",
mychan->confna, mychan->_confn, mychan->confmode, mychan->confmute);
- printk("ec: %08lx, echocancel: %d, deflaw: %d, xlaw: %08lx\n",
+ printk(KERN_INFO "ec: %08lx, echocancel: %d, deflaw: %d, xlaw: %08lx\n",
(long) mychan->ec, mychan->echocancel, mychan->deflaw, (long) mychan->xlaw);
- printk("echostate: %02x, echotimer: %d, echolastupdate: %d\n",
+ printk(KERN_INFO "echostate: %02x, echotimer: %d, echolastupdate: %d\n",
(int) mychan->echostate, mychan->echotimer, mychan->echolastupdate);
- printk("itimer: %d, otimer: %d, ringdebtimer: %d\n\n",
+ printk(KERN_INFO "itimer: %d, otimer: %d, ringdebtimer: %d\n\n",
mychan->itimer, mychan->otimer, mychan->ringdebtimer);
#if 0
if (mychan->ec) {
int x;
/* Dump the echo canceller parameters */
for (x=0;x<mychan->ec->taps;x++) {
- printk("tap %d: %d\n", x, mychan->ec->fir_taps[x]);
+ printk(KERN_INFO "tap %d: %d\n", x, mychan->ec->fir_taps[x]);
}
}
#endif
More information about the svn-commits
mailing list