seems to work okay, removed some debugging message spam
authorFrank Mori Hess <fmhess@speakeasy.net>
Fri, 16 Nov 2001 20:04:45 +0000 (20:04 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Fri, 16 Nov 2001 20:04:45 +0000 (20:04 +0000)
comedi/drivers/cb_pcidda.c

index 959e3e9602ab466be7be2c0881f63237d99b2edc..26c43a231e6166aa611ec06437a7379f6f964cdc 100644 (file)
@@ -199,7 +199,7 @@ static cb_pcidda_board cb_pcidda_boards[] =
        },
        {
                name:           "pci-dda08/16",
-               status:         2,
+               status:         0,
                device_id:      0x25,
                ao_chans:       8,
                ao_bits:        16,
@@ -807,9 +807,6 @@ static void cb_pcidda_write_caldac(comedi_device *dev, unsigned int caldac,
        // deactivate caldac
        cal2_bits |= DESELECT_CALDAC_BIT(caldac);
        outw_p(cal2_bits, devpriv->dac + DACALIBRATION2);
-
-// debug message
-rt_printk("cb_pcidda: cdac %i ch %i: 0x%x\n", caldac, channel, value);
 }
 
 // returns caldac that calibrates given analog out channel
@@ -879,9 +876,6 @@ static void cb_pcidda_calibrate(comedi_device *dev, unsigned int channel, unsign
        coarse_gain = eeprom_coarse_byte(devpriv->eeprom_data[gain_eeprom_address(channel, range)]);
        fine_gain = eeprom_fine_byte(devpriv->eeprom_data[gain_eeprom_address(channel, range)]);
 
-//debug message
-rt_printk("cb_pcidda: range %i\n", range);
-
        // set caldacs
        cb_pcidda_write_caldac(dev, caldac_number(channel), coarse_offset_channel(channel), coarse_offset);
        cb_pcidda_write_caldac(dev, caldac_number(channel), fine_offset_channel(channel), fine_offset);