From: Frank Mori Hess Date: Mon, 15 Mar 2004 03:27:56 +0000 (+0000) Subject: fix register offset problems noted by Henk van Rooy X-Git-Tag: r0_7_69~83 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=580b2b4c2c54f40341ae949f85294d1f8489e9c3;p=comedi.git fix register offset problems noted by Henk van Rooy --- diff --git a/comedi/drivers/adv_pci_dio.c b/comedi/drivers/adv_pci_dio.c index 6944e944..56eeb757 100644 --- a/comedi/drivers/adv_pci_dio.c +++ b/comedi/drivers/adv_pci_dio.c @@ -93,15 +93,15 @@ typedef enum { #define PCI1751_ICR 32 /* W: Interrupt control register */ #define PCI1751_ISR 32 /* R: Interrupt status register */ #define PCI1753_DIO 0 /* R/W: begin of 8255 registers block */ -#define PCI1753_ICR0 17 /* R/W: Interrupt control register group 0 */ -#define PCI1753_ICR1 18 /* R/W: Interrupt control register group 0 */ -#define PCI1753_ICR2 19 /* R/W: Interrupt control register group 0 */ -#define PCI1753_ICR3 48 /* R/W: Interrupt control register group 0 */ +#define PCI1753_ICR0 16 /* R/W: Interrupt control register group 0 */ +#define PCI1753_ICR1 17 /* R/W: Interrupt control register group 1 */ +#define PCI1753_ICR2 18 /* R/W: Interrupt control register group 2 */ +#define PCI1753_ICR3 19 /* R/W: Interrupt control register group 3 */ #define PCI1753E_DIO 32 /* R/W: begin of 8255 registers block */ -#define PCI1753E_ICR0 49 /* R/W: Interrupt control register group 0 */ -#define PCI1753E_ICR1 50 /* R/W: Interrupt control register group 0 */ -#define PCI1753E_ICR2 51 /* R/W: Interrupt control register group 0 */ -#define PCI1753E_ICR3 52 /* R/W: Interrupt control register group 0 */ +#define PCI1753E_ICR0 48 /* R/W: Interrupt control register group 0 */ +#define PCI1753E_ICR1 49 /* R/W: Interrupt control register group 1 */ +#define PCI1753E_ICR2 50 /* R/W: Interrupt control register group 2 */ +#define PCI1753E_ICR3 51 /* R/W: Interrupt control register group 3 */ // Advantech PCI-1752/4/6