projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be0d577
)
added reset and sync of adc circuitry to attach as recommened by manual
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 22 Jul 2001 05:02:42 +0000
(
05:02
+0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 22 Jul 2001 05:02:42 +0000
(
05:02
+0000)
comedi/drivers/ni_at_a2150.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/ni_at_a2150.c
b/comedi/drivers/ni_at_a2150.c
index ca0d5b5ccfffb3f32c8c614e8f278978e311a57e..fd360935f61f955530a49e69ad400519e5159c1c 100644
(file)
--- a/
comedi/drivers/ni_at_a2150.c
+++ b/
comedi/drivers/ni_at_a2150.c
@@
-425,6
+425,9
@@
static int a2150_attach(comedi_device *dev, comedi_devconfig *it)
// set card's irq and dma levels
outw(devpriv->irq_dma_bits, dev->iobase + IRQ_DMA_CNTRL_REG);
+
+ // reset and sync adc clock circuitry
+ outw_p(APD_BIT, dev->iobase + CONFIG_REG);
// initialize configuration register
devpriv->config_bits = 0;
outw(devpriv->config_bits, dev->iobase + CONFIG_REG);