From 1982a2ed1684f2c84a8b6cf22dd4e88aeef8a55a Mon Sep 17 00:00:00 2001 From: David Schleef Date: Thu, 28 Feb 2002 03:03:36 +0000 Subject: [PATCH] Add debugging caldac, and change at-mio-16xe-50 to use it. --- comedi/drivers/ni_atmio.c | 4 ++-- comedi/drivers/ni_mio_common.c | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/comedi/drivers/ni_atmio.c b/comedi/drivers/ni_atmio.c index 99c9776e..2b256a39 100644 --- a/comedi/drivers/ni_atmio.c +++ b/comedi/drivers/ni_atmio.c @@ -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, diff --git a/comedi/drivers/ni_mio_common.c b/comedi/drivers/ni_mio_common.c index 86d88666..9409cd2f 100644 --- a/comedi/drivers/ni_mio_common.c +++ b/comedi/drivers/ni_mio_common.c @@ -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) -- 2.26.2