From: Frank Mori Hess Date: Sun, 18 Mar 2007 14:46:32 +0000 (+0000) Subject: Fix from Navneet Kataria for the following X-Git-Tag: r0_7_74~108 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f5514a1121b1c1d8458d298a47caacf1452bc27b;p=comedi.git 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. --- 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; }