aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hardware/avm/c4.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hardware/avm/c4.c')
-rw-r--r--drivers/isdn/hardware/avm/c4.c16
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)