mISDN: Make debug output a little bit more verbose
authorPeter Schlaile <root@asterisk.schlaile.de>
Mon, 25 Aug 2008 15:55:53 +0000 (17:55 +0200)
committerKarsten Keil <kkeil@suse.de>
Fri, 9 Jan 2009 21:44:24 +0000 (22:44 +0100)
Add usefull info to debug output.

Signed-off-by: Peter Schlaile <root@asterisk.schlaile.de>
Signed-off-by: Karsten Keil <kkeil@suse.de>
drivers/isdn/mISDN/dsp_cmx.c

index 93fb819c5203c96c50b68fb27c54c4641928c3d0..b16f76c2d684d7c46709884d4f5c2f157f929f64 100644 (file)
@@ -1823,7 +1823,9 @@ dsp_cmx_transmit(struct dsp *dsp, struct sk_buff *skb)
                /* write to the space we have left */
                ww = (ww - 1) & CMX_BUFF_MASK; /* end one byte prior tx_R */
                if (dsp_debug & DEBUG_DSP_CLOCK)
-                       printk(KERN_DEBUG "%s: TX overflow\n", __func__);
+                       printk(KERN_DEBUG "%s: TX overflow space=%d skb->len="
+                           "%d, w=0x%04x, ww=0x%04x\n", __func__, space,
+                           skb->len, w, ww);
        } else
                /* write until all byte are copied */
                ww = (w + skb->len) & CMX_BUFF_MASK;