Index: cmpci.c =================================================================== RCS file: /home/cltien/cvs/cmpci/cmpci.c,v retrieving revision 6.66 retrieving revision 6.67 diff -a -u -r6.66 -r6.67 --- cmpci.c 31 Mar 2004 17:42:08 -0000 6.66 +++ cmpci.c 31 Mar 2004 17:56:11 -0000 6.67 @@ -126,6 +126,7 @@ /* --------------------------------------------------------------------- */ #undef OSS_DOCUMENTED_MIXER_SEMANTICS #undef DMABYTEIO +#define DBG(x) {} /* --------------------------------------------------------------------- */ #define CM_MAGIC ((PCI_VENDOR_ID_CMEDIA<<16)|PCI_DEVICE_ID_CMEDIA_CM8338A) @@ -1906,7 +1907,7 @@ tmo = 3 * HZ * (count + s->dma_dac.fragsize) / 2 / s->ratedac; tmo >>= sample_shift[(s->fmt >> CM_CFMT_DACSHIFT) & CM_CFMT_MASK]; if (!schedule_timeout(tmo + 1)) - printk(KERN_DEBUG "cmpci: dma timed out??\n"); + DBG(printk(KERN_DEBUG "cmpci: dma timed out??\n");) } remove_wait_queue(&s->dma_dac.wait, &wait); set_current_state(TASK_RUNNING); @@ -3211,7 +3212,7 @@ static int __init init_cmpci(void) { - printk(KERN_INFO "cmpci: version $Revision: 6.66 $ time " __TIME__ " " __DATE__ "\n"); + printk(KERN_INFO "cmpci: version $Revision: 6.67 $ time " __TIME__ " " __DATE__ "\n"); return pci_module_init(&cm_driver); }