Add debugging caldac, and change at-mio-16xe-50 to use it.
authorDavid Schleef <ds@schleef.org>
Thu, 28 Feb 2002 03:03:36 +0000 (03:03 +0000)
committerDavid Schleef <ds@schleef.org>
Thu, 28 Feb 2002 03:03:36 +0000 (03:03 +0000)
comedi/drivers/ni_atmio.c
comedi/drivers/ni_mio_common.c

index 99c9776e217d58a6d1685bd818866f5417fb9a94..2b256a39ca5ed5a06c0b3f9e2b0749daef6be50a 100644 (file)
@@ -198,7 +198,7 @@ static ni_board ni_boards[]={
                aobits:         12,
                ao_fifo_depth:  0,
                ao_unipolar:    0,
-               caldac:         {dac8800,dac8043},
+               caldac:         {ad8804_debug,dac8043},
                has_8255:       0,
        },
        {       device_id:      50,
@@ -213,7 +213,7 @@ static ni_board ni_boards[]={
                aobits:         12,
                ao_fifo_depth:  0,      /* unknown */
                ao_unipolar:    0,      /* unknown */
-               caldac:         {dac8800,dac8043},
+               caldac:         {ad8804,dac8043},
                has_8255:       0,
        },
        {       device_id:      51,
index 86d88666a70b8233aed0b8e437246fe66358a1df..9409cd2fb1724acc59756fb720bbe574d74cb71b 100644 (file)
@@ -2195,6 +2195,7 @@ static struct caldac_struct caldacs[] = {
        [dac8043] = { 1, 12, pack_dac8043 },
        [ad8522]  = { 2, 12, pack_ad8522 },
        [ad8804] = { 12, 8, pack_ad8804 },
+       [ad8804_debug] = { 16, 8, pack_ad8804 },
 };
 
 static void caldac_setup(comedi_device *dev,comedi_subdevice *s)