#include "comedi_fc.h"
/* Board register addresses */
-#define DMM32AT_CONV 0x00
+#define DMM32AT_AI_START_CONV_REG 0x00
#define DMM32AT_AILSB 0x00
#define DMM32AT_AUXDOUT 0x01
#define DMM32AT_AIMSB 0x01
return ret;
for (i = 0; i < insn->n; i++) {
- outb(0xff, dev->iobase + DMM32AT_CONV);
+ outb(0xff, dev->iobase + DMM32AT_AI_START_CONV_REG);
ret = comedi_timeout(dev, s, insn, dmm32at_ai_status,
DMM32AT_AISTAT);
} else {
/* start the interrups and initiate a single scan */
outb(DMM32AT_ADINT, dev->iobase + DMM32AT_INTCLOCK);
- outb(0xff, dev->iobase + DMM32AT_CONV);
+ outb(0xff, dev->iobase + DMM32AT_AI_START_CONV_REG);
}
return 0;