#include "comedi_fc.h"
#include "8253.h"
-/* boards constants */
-/* IO space len */
-#define PCLx1x_RANGE 16
-
/* INTEL 8254 counters */
#define PCL816_CTR0 4
#define PCL816_CTR1 5
int n_dochan;
const struct comedi_lrange *ai_range_type;
const struct comedi_lrange *ao_range_type;
- unsigned int io_range;
unsigned int IRQbits;
unsigned int DMAbits;
int ai_maxdata;
.n_dochan = 16,
.ai_range_type = &range_pcl816,
.ao_range_type = &range_pcl816,
- .io_range = PCLx1x_RANGE,
.IRQbits = 0x00fc,
.DMAbits = 0x0a,
.ai_maxdata = 0xffff,
.n_dochan = 16,
.ai_range_type = &range_pcl816,
.ao_range_type = &range_pcl816,
- .io_range = PCLx1x_RANGE,
.IRQbits = 0x00fc,
.DMAbits = 0x0a,
.ai_maxdata = 0x3fff,
/* int i; */
struct comedi_subdevice *s;
- ret = comedi_request_region(dev, it->options[0], board->io_range);
+ ret = comedi_request_region(dev, it->options[0], 0x10);
if (ret)
return ret;