From: Frank Mori Hess Date: Thu, 21 Nov 2002 18:27:42 +0000 (+0000) Subject: force io data path width to 8 bits for daqcard X-Git-Tag: r0_7_66~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=759b76e8477713024f1a8f8ea5b04752d21901b2;p=comedi.git force io data path width to 8 bits for daqcard --- diff --git a/comedi/drivers/ni_labpc.c b/comedi/drivers/ni_labpc.c index 8ecf0a89..0adad836 100644 --- a/comedi/drivers/ni_labpc.c +++ b/comedi/drivers/ni_labpc.c @@ -2444,10 +2444,6 @@ static void labpc_config(dev_link_t *link) link->io.NumPorts1 = link->io.NumPorts2 = 0; if ((cfg->io.nwin > 0) || (dflt.io.nwin > 0)) { cistpl_io_t *io = (cfg->io.nwin) ? &cfg->io : &dflt.io; - link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; - if (!(io->flags & CISTPL_IO_8BIT)) - link->io.Attributes1 = IO_DATA_PATH_WIDTH_16; - if (!(io->flags & CISTPL_IO_16BIT)) link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; link->io.IOAddrLines = io->flags & CISTPL_IO_LINES_MASK; link->io.BasePort1 = io->win[0].base;