From: Ian Abbott Date: Tue, 25 Mar 2008 12:50:38 +0000 (+0000) Subject: Used DPRINTK() instead of rt_printk() in a few places to generate less X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9461328f488c53ec526ec28b7a71c5e96161d231;p=comedi.git Used DPRINTK() instead of rt_printk() in a few places to generate less output on the kernel log by default. --- diff --git a/comedi/drivers/adv_pci1723.c b/comedi/drivers/adv_pci1723.c index cb437d0a..de7077d2 100644 --- a/comedi/drivers/adv_pci1723.c +++ b/comedi/drivers/adv_pci1723.c @@ -176,7 +176,7 @@ typedef struct { static int pci1723_reset(comedi_device * dev) { int i; - rt_printk("adv_pci1723 EDBG: BGN: pci1723_reset(...)\n"); + DPRINTK("adv_pci1723 EDBG: BGN: pci1723_reset(...)\n"); outw(0x01, dev->iobase + PCI1723_SYN_SET); // set synchronous output mode @@ -196,7 +196,7 @@ static int pci1723_reset(comedi_device * dev) // set asynchronous output mode outw(0, dev->iobase + PCI1723_SYN_SET); - rt_printk("adv_pci1723 EDBG: END: pci1723_reset(...)\n"); + DPRINTK("adv_pci1723 EDBG: END: pci1723_reset(...)\n"); return 0; } @@ -206,7 +206,7 @@ static int pci1723_insn_read_ao(comedi_device * dev, comedi_subdevice * s, int n, chan; chan = CR_CHAN(insn->chanspec); - rt_printk(" adv_PCI1723 DEBUG: pci1723_insn_read_ao() ----- \n"); + DPRINTK(" adv_PCI1723 DEBUG: pci1723_insn_read_ao() ----- \n"); for (n = 0; n < insn->n; n++) data[n] = devpriv->ao_data[chan]; @@ -222,7 +222,7 @@ static int pci1723_ao_write_winsn(comedi_device * dev, comedi_subdevice * s, int n, chan; chan = CR_CHAN(insn->chanspec); - rt_printk("PCI1723: the pci1723_ao_write_winsn() ------\n"); + DPRINTK("PCI1723: the pci1723_ao_write_winsn() ------\n"); for (n = 0; n < insn->n; n++) {