This member of the boardinfo is always '4' for the boards that have an
analog output FIFO. Covert it to a bit-field, 'has_ao_fifo', to save a
bit of space.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
struct me4000_board {
const char *name;
- int ao_fifo;
int ai_nchan;
int ai_sh_nchan;
unsigned int can_do_diff_ai:1;
unsigned int ex_trig_analog:1;
unsigned int has_ao:1;
+ unsigned int has_ao_fifo:1;
unsigned int has_counter:1;
};
},
[BOARD_ME4680] = {
.name = "ME-4680",
- .ao_fifo = 4,
.ai_nchan = 32,
.can_do_diff_ai = 1,
.ex_trig_analog = 1,
.has_ao = 1,
+ .has_ao_fifo = 1,
.has_counter = 1,
},
[BOARD_ME4680I] = {
.name = "ME-4680i",
- .ao_fifo = 4,
.ai_nchan = 32,
.can_do_diff_ai = 1,
.ex_trig_analog = 1,
.has_ao = 1,
+ .has_ao_fifo = 1,
.has_counter = 1,
},
[BOARD_ME4680S] = {
.name = "ME-4680s",
- .ao_fifo = 4,
.ai_nchan = 32,
.ai_sh_nchan = 8,
.can_do_diff_ai = 1,
.ex_trig_analog = 1,
.has_ao = 1,
+ .has_ao_fifo = 1,
.has_counter = 1,
},
[BOARD_ME4680IS] = {
.name = "ME-4680is",
- .ao_fifo = 4,
.ai_nchan = 32,
.ai_sh_nchan = 8,
.can_do_diff_ai = 1,
.ex_trig_analog = 1,
.has_ao = 1,
+ .has_ao_fifo = 1,
.has_counter = 1,
},
};