From f5514a1121b1c1d8458d298a47caacf1452bc27b Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Sun, 18 Mar 2007 14:46:32 +0000 Subject: [PATCH] Fix from Navneet Kataria for the following 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comedi/drivers/adv_pci_dio.c b/comedi/drivers/adv_pci_dio.c index 83aa2c1c..22594b94 100644 --- 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+PCI1750_ICR); // disable & clear interrupts + outw(0x0101, dev->iobase+PCI1762_ICR); // disable & clear interrupts break; } -- 2.26.2