int n_dochan;
int ai_maxdata;
unsigned int ai_ns_min;
- unsigned int i8254_osc_base;
const struct comedi_lrange *rangelist_ai;
const struct comedi_lrange *rangelist_ao;
unsigned int IRQbits;
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 33000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_bipolar10,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 33000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_pcl812pg_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_pcl812pg_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_acl8112dg_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_acl8112hg_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_pcl813b_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0x000c,
.n_aichan_diff = 8,
.ai_maxdata = 0x0fff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_pcl813b_ai,
.IRQbits = 0x000c,
}, {
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_a821pgh_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0x000c,
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_acl8112dg_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_acl8112hg_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 8000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_acl8112dg_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0x0fff,
.ai_ns_min = 8000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_acl8112hg_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0xffff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_pcl813b2_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
.n_dochan = 16,
.ai_maxdata = 0xffff,
.ai_ns_min = 10000,
- .i8254_osc_base = I8254_OSC_BASE_2MHZ,
.rangelist_ai = &range_pcl813b2_ai,
.rangelist_ao = &range_unipolar5,
.IRQbits = 0xdcfc,
if (cmd->convert_src == TRIG_TIMER) {
tmp = cmd->convert_arg;
- i8253_cascade_ns_to_timer(board->i8254_osc_base,
+ i8253_cascade_ns_to_timer(I8254_OSC_BASE_2MHZ,
&divisor1, &divisor2,
&cmd->convert_arg, cmd->flags);
if (cmd->convert_arg < board->ai_ns_min)
if (cmd->convert_src == TRIG_TIMER) {
if (cmd->convert_arg < board->ai_ns_min)
cmd->convert_arg = board->ai_ns_min;
- i8253_cascade_ns_to_timer(board->i8254_osc_base,
+ i8253_cascade_ns_to_timer(I8254_OSC_BASE_2MHZ,
&divisor1, &divisor2,
&cmd->convert_arg, cmd->flags);
}