projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1a4fd1
)
Fix from Navneet Kataria <nkataria@npcil.co.in> for the following
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 18 Mar 2007 14:46:32 +0000
(14:46 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sun, 18 Mar 2007 14:46:32 +0000
(14:46 +0000)
problem:
... when I initialize
the device using comedi_config command, the device's 1st and 9th relay
automatically goes to energize state.
comedi/drivers/adv_pci_dio.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/adv_pci_dio.c
b/comedi/drivers/adv_pci_dio.c
index 83aa2c1c65fa9ca5fcecd683056b24b11c213efc..22594b946f11ea7ec55f66d0c82a8e7e5ecec3fe 100644
(file)
--- a/
comedi/drivers/adv_pci_dio.c
+++ b/
comedi/drivers/adv_pci_dio.c
@@
-720,7
+720,7
@@
static int pci_dio_reset(comedi_device *dev)
pci1760_reset(dev);
break;
case TYPE_PCI1762:
- outw(0x0101, dev->iobase+PCI17
50
_ICR); // disable & clear interrupts
+ outw(0x0101, dev->iobase+PCI17
62
_ICR); // disable & clear interrupts
break;
}