From d884697b3673c8772c8cb65b8d8dc06c73d1c736 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Thu, 13 Mar 2003 20:36:21 +0000 Subject: [PATCH] get rid of printk on AO terminal count interrupt --- comedi/drivers/ni_mio_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 7a5d89aa..c34ed2c8 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -637,7 +637,7 @@ static void handle_b_interrupt(comedi_device *dev,unsigned short b_status, unsig } if(b_status&AO_BC_TC_St){ - rt_printk("ni_mio_common: AO BC_TC status=0x%04x status2=0x%04x\n",b_status,win_in(AO_Status_2_Register)); + MDPRINTK("ni_mio_common: AO BC_TC status=0x%04x status2=0x%04x\n",b_status,win_in(AO_Status_2_Register)); ni_ao_reset(dev,s); s->async->events |= COMEDI_CB_EOA; } @@ -1729,7 +1729,7 @@ static int ni_ai_cmd(comedi_device *dev,comedi_subdevice *s) //TIM 4/17/01 win_out(bits,Interrupt_A_Enable_Register) ; ni_set_bits(dev, Interrupt_A_Enable_Register, bits, 1); - MDPRINTK("Interrupt_A_Enable_Register = 0x%04x\n",bits); + MDPRINTK("Interrupt_A_Enable_Register = 0x%04x\n",devpriv->int_a_enable_reg); }else{ /* interrupt on nothing */ ni_set_bits(dev, Interrupt_A_Enable_Register, ~0, 0); -- 2.26.2