diff options
author | Robert P. J. Day <rpjday@mindspring.com> | 2007-02-12 03:53:20 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:34 -0500 |
commit | 26fb5c5810afa0d8209ceff7cb267398be53829d (patch) | |
tree | 1996730cf72c9eb92011cac123963581f779f950 /drivers/isdn/hardware/avm/c4.c | |
parent | e3f2769e6e896a5d734593e4842014cab220d027 (diff) |
[PATCH] ISDN: Rename some debugging macros to not resemble CONFIG options
Rename some of the debugging macros for ISDN AVM so that they don't resemble
kernel config settings, as they're primarily for author debugging instead.
Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/isdn/hardware/avm/c4.c')
-rw-r--r-- | drivers/isdn/hardware/avm/c4.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/isdn/hardware/avm/c4.c b/drivers/isdn/hardware/avm/c4.c index 2a3eb38f0ebb..6f5efa8d78cb 100644 --- a/drivers/isdn/hardware/avm/c4.c +++ b/drivers/isdn/hardware/avm/c4.c | |||
@@ -28,8 +28,8 @@ | |||
28 | #include <linux/isdn/capilli.h> | 28 | #include <linux/isdn/capilli.h> |
29 | #include "avmcard.h" | 29 | #include "avmcard.h" |
30 | 30 | ||
31 | #undef CONFIG_C4_DEBUG | 31 | #undef AVM_C4_DEBUG |
32 | #undef CONFIG_C4_POLLDEBUG | 32 | #undef AVM_C4_POLLDEBUG |
33 | 33 | ||
34 | /* ------------------------------------------------------------- */ | 34 | /* ------------------------------------------------------------- */ |
35 | 35 | ||
@@ -420,7 +420,7 @@ static void c4_dispatch_tx(avmcard *card) | |||
420 | 420 | ||
421 | skb = skb_dequeue(&dma->send_queue); | 421 | skb = skb_dequeue(&dma->send_queue); |
422 | if (!skb) { | 422 | if (!skb) { |
423 | #ifdef CONFIG_C4_DEBUG | 423 | #ifdef AVM_C4_DEBUG |
424 | printk(KERN_DEBUG "%s: tx underrun\n", card->name); | 424 | printk(KERN_DEBUG "%s: tx underrun\n", card->name); |
425 | #endif | 425 | #endif |
426 | return; | 426 | return; |
@@ -444,16 +444,16 @@ static void c4_dispatch_tx(avmcard *card) | |||
444 | _put_slice(&p, skb->data, len); | 444 | _put_slice(&p, skb->data, len); |
445 | } | 445 | } |
446 | txlen = (u8 *)p - (u8 *)dma->sendbuf.dmabuf; | 446 | txlen = (u8 *)p - (u8 *)dma->sendbuf.dmabuf; |
447 | #ifdef CONFIG_C4_DEBUG | 447 | #ifdef AVM_C4_DEBUG |
448 | printk(KERN_DEBUG "%s: tx put msg len=%d\n", card->name, txlen); | 448 | printk(KERN_DEBUG "%s: tx put msg len=%d\n", card->name, txlen); |
449 | #endif | 449 | #endif |
450 | } else { | 450 | } else { |
451 | txlen = skb->len-2; | 451 | txlen = skb->len-2; |
452 | #ifdef CONFIG_C4_POLLDEBUG | 452 | #ifdef AVM_C4_POLLDEBUG |
453 | if (skb->data[2] == SEND_POLLACK) | 453 | if (skb->data[2] == SEND_POLLACK) |
454 | printk(KERN_INFO "%s: ack to c4\n", card->name); | 454 | printk(KERN_INFO "%s: ack to c4\n", card->name); |
455 | #endif | 455 | #endif |
456 | #ifdef CONFIG_C4_DEBUG | 456 | #ifdef AVM_C4_DEBUG |
457 | printk(KERN_DEBUG "%s: tx put 0x%x len=%d\n", | 457 | printk(KERN_DEBUG "%s: tx put 0x%x len=%d\n", |
458 | card->name, skb->data[2], txlen); | 458 | card->name, skb->data[2], txlen); |
459 | #endif | 459 | #endif |
@@ -508,7 +508,7 @@ static void c4_handle_rx(avmcard *card) | |||
508 | u32 cidx; | 508 | u32 cidx; |
509 | 509 | ||
510 | 510 | ||
511 | #ifdef CONFIG_C4_DEBUG | 511 | #ifdef AVM_C4_DEBUG |
512 | printk(KERN_DEBUG "%s: rx 0x%x len=%lu\n", card->name, | 512 | printk(KERN_DEBUG "%s: rx 0x%x len=%lu\n", card->name, |
513 | b1cmd, (unsigned long)dma->recvlen); | 513 | b1cmd, (unsigned long)dma->recvlen); |
514 | #endif | 514 | #endif |
@@ -586,7 +586,7 @@ static void c4_handle_rx(avmcard *card) | |||
586 | break; | 586 | break; |
587 | 587 | ||
588 | case RECEIVE_START: | 588 | case RECEIVE_START: |
589 | #ifdef CONFIG_C4_POLLDEBUG | 589 | #ifdef AVM_C4_POLLDEBUG |
590 | printk(KERN_INFO "%s: poll from c4\n", card->name); | 590 | printk(KERN_INFO "%s: poll from c4\n", card->name); |
591 | #endif | 591 | #endif |
592 | if (!suppress_pollack) | 592 | if (!suppress_pollack) |