aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/mISDN
diff options
context:
space:
mode:
authorPeter Schlaile <root@asterisk.schlaile.de>2008-08-25 11:55:53 -0400
committerKarsten Keil <kkeil@suse.de>2009-01-09 16:44:24 -0500
commit0aafe75d5c9227f209c180012d799a9e19d7ee79 (patch)
treee52c3097c378af323be54e8efa476dc7381728c0 /drivers/isdn/mISDN
parente4cce225f05c1daf89d10565c654f4c11907a049 (diff)
mISDN: Make debug output a little bit more verbose
Add usefull info to debug output. Signed-off-by: Peter Schlaile <root@asterisk.schlaile.de> Signed-off-by: Karsten Keil <kkeil@suse.de>
Diffstat (limited to 'drivers/isdn/mISDN')
-rw-r--r--drivers/isdn/mISDN/dsp_cmx.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/dsp_cmx.c b/drivers/isdn/mISDN/dsp_cmx.c
index 93fb819c5203..b16f76c2d684 100644
--- a/drivers/isdn/mISDN/dsp_cmx.c
+++ b/drivers/isdn/mISDN/dsp_cmx.c
@@ -1823,7 +1823,9 @@ dsp_cmx_transmit(struct dsp *dsp, struct sk_buff *skb)
1823 /* write to the space we have left */ 1823 /* write to the space we have left */
1824 ww = (ww - 1) & CMX_BUFF_MASK; /* end one byte prior tx_R */ 1824 ww = (ww - 1) & CMX_BUFF_MASK; /* end one byte prior tx_R */
1825 if (dsp_debug & DEBUG_DSP_CLOCK) 1825 if (dsp_debug & DEBUG_DSP_CLOCK)
1826 printk(KERN_DEBUG "%s: TX overflow\n", __func__); 1826 printk(KERN_DEBUG "%s: TX overflow space=%d skb->len="
1827 "%d, w=0x%04x, ww=0x%04x\n", __func__, space,
1828 skb->len, w, ww);
1827 } else 1829 } else
1828 /* write until all byte are copied */ 1830 /* write until all byte are copied */
1829 ww = (w + skb->len) & CMX_BUFF_MASK; 1831 ww = (w + skb->len) & CMX_BUFF_MASK;