projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9706183
)
force io data path width to 8 bits for daqcard
author
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 21 Nov 2002 18:27:42 +0000
(18:27 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Thu, 21 Nov 2002 18:27:42 +0000
(18:27 +0000)
comedi/drivers/ni_labpc.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_labpc.c
b/comedi/drivers/ni_labpc.c
index 8ecf0a89802638291d3efa1b8da3a6fc4dfa4185..0adad836de9dff412797fcb06e570525ebe8b57b 100644
(file)
--- 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;