Commit 25294851 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_atmio: tidy up the boardinfo

For aesthetics, add some whitespace to the boardinfo declaration.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent bfc8049a
...@@ -106,136 +106,137 @@ are not supported. ...@@ -106,136 +106,137 @@ are not supported.
*/ */
static const struct ni_board_struct ni_boards[] = { static const struct ni_board_struct ni_boards[] = {
{.device_id = 44, {
.isapnp_id = 0x0000, /* XXX unknown */ .device_id = 44,
.name = "at-mio-16e-1", .isapnp_id = 0x0000, /* XXX unknown */
.n_adchan = 16, .name = "at-mio-16e-1",
.adbits = 12, .n_adchan = 16,
.ai_fifo_depth = 8192, .adbits = 12,
.gainlkup = ai_gain_16, .ai_fifo_depth = 8192,
.ai_speed = 800, .gainlkup = ai_gain_16,
.n_aochan = 2, .ai_speed = 800,
.aobits = 12, .n_aochan = 2,
.ao_fifo_depth = 2048, .aobits = 12,
.ao_range_table = &range_ni_E_ao_ext, .ao_fifo_depth = 2048,
.ao_unipolar = 1, .ao_range_table = &range_ni_E_ao_ext,
.ao_speed = 1000, .ao_unipolar = 1,
.num_p0_dio_channels = 8, .ao_speed = 1000,
.caldac = {mb88341}, .num_p0_dio_channels = 8,
}, .caldac = { mb88341 },
{.device_id = 25, }, {
.isapnp_id = 0x1900, .device_id = 25,
.name = "at-mio-16e-2", .isapnp_id = 0x1900,
.n_adchan = 16, .name = "at-mio-16e-2",
.adbits = 12, .n_adchan = 16,
.ai_fifo_depth = 2048, .adbits = 12,
.gainlkup = ai_gain_16, .ai_fifo_depth = 2048,
.ai_speed = 2000, .gainlkup = ai_gain_16,
.n_aochan = 2, .ai_speed = 2000,
.aobits = 12, .n_aochan = 2,
.ao_fifo_depth = 2048, .aobits = 12,
.ao_range_table = &range_ni_E_ao_ext, .ao_fifo_depth = 2048,
.ao_unipolar = 1, .ao_range_table = &range_ni_E_ao_ext,
.ao_speed = 1000, .ao_unipolar = 1,
.num_p0_dio_channels = 8, .ao_speed = 1000,
.caldac = {mb88341}, .num_p0_dio_channels = 8,
}, .caldac = { mb88341 },
{.device_id = 36, }, {
.isapnp_id = 0x2400, .device_id = 36,
.name = "at-mio-16e-10", .isapnp_id = 0x2400,
.n_adchan = 16, .name = "at-mio-16e-10",
.adbits = 12, .n_adchan = 16,
.ai_fifo_depth = 512, .adbits = 12,
.gainlkup = ai_gain_16, .ai_fifo_depth = 512,
.ai_speed = 10000, .gainlkup = ai_gain_16,
.n_aochan = 2, .ai_speed = 10000,
.aobits = 12, .n_aochan = 2,
.ao_range_table = &range_ni_E_ao_ext, .aobits = 12,
.ao_unipolar = 1, .ao_range_table = &range_ni_E_ao_ext,
.ao_speed = 10000, .ao_unipolar = 1,
.num_p0_dio_channels = 8, .ao_speed = 10000,
.caldac = {ad8804_debug}, .num_p0_dio_channels = 8,
}, .caldac = { ad8804_debug },
{.device_id = 37, }, {
.isapnp_id = 0x2500, .device_id = 37,
.name = "at-mio-16de-10", .isapnp_id = 0x2500,
.n_adchan = 16, .name = "at-mio-16de-10",
.adbits = 12, .n_adchan = 16,
.ai_fifo_depth = 512, .adbits = 12,
.gainlkup = ai_gain_16, .ai_fifo_depth = 512,
.ai_speed = 10000, .gainlkup = ai_gain_16,
.n_aochan = 2, .ai_speed = 10000,
.aobits = 12, .n_aochan = 2,
.ao_range_table = &range_ni_E_ao_ext, .aobits = 12,
.ao_unipolar = 1, .ao_range_table = &range_ni_E_ao_ext,
.ao_speed = 10000, .ao_unipolar = 1,
.num_p0_dio_channels = 8, .ao_speed = 10000,
.caldac = {ad8804_debug}, .num_p0_dio_channels = 8,
.has_8255 = 1, .caldac = { ad8804_debug },
}, .has_8255 = 1,
{.device_id = 38, }, {
.isapnp_id = 0x2600, .device_id = 38,
.name = "at-mio-64e-3", .isapnp_id = 0x2600,
.n_adchan = 64, .name = "at-mio-64e-3",
.adbits = 12, .n_adchan = 64,
.ai_fifo_depth = 2048, .adbits = 12,
.gainlkup = ai_gain_16, .ai_fifo_depth = 2048,
.ai_speed = 2000, .gainlkup = ai_gain_16,
.n_aochan = 2, .ai_speed = 2000,
.aobits = 12, .n_aochan = 2,
.ao_fifo_depth = 2048, .aobits = 12,
.ao_range_table = &range_ni_E_ao_ext, .ao_fifo_depth = 2048,
.ao_unipolar = 1, .ao_range_table = &range_ni_E_ao_ext,
.ao_speed = 1000, .ao_unipolar = 1,
.num_p0_dio_channels = 8, .ao_speed = 1000,
.caldac = {ad8804_debug}, .num_p0_dio_channels = 8,
}, .caldac = { ad8804_debug },
{.device_id = 39, }, {
.isapnp_id = 0x2700, .device_id = 39,
.name = "at-mio-16xe-50", .isapnp_id = 0x2700,
.n_adchan = 16, .name = "at-mio-16xe-50",
.adbits = 16, .n_adchan = 16,
.ai_fifo_depth = 512, .adbits = 16,
.alwaysdither = 1, .ai_fifo_depth = 512,
.gainlkup = ai_gain_8, .alwaysdither = 1,
.ai_speed = 50000, .gainlkup = ai_gain_8,
.n_aochan = 2, .ai_speed = 50000,
.aobits = 12, .n_aochan = 2,
.ao_range_table = &range_bipolar10, .aobits = 12,
.ao_speed = 50000, .ao_range_table = &range_bipolar10,
.num_p0_dio_channels = 8, .ao_speed = 50000,
.caldac = {dac8800, dac8043}, .num_p0_dio_channels = 8,
}, .caldac = { dac8800, dac8043 },
{.device_id = 50, }, {
.isapnp_id = 0x0000, /* XXX unknown */ .device_id = 50,
.name = "at-mio-16xe-10", .isapnp_id = 0x0000, /* XXX unknown */
.n_adchan = 16, .name = "at-mio-16xe-10",
.adbits = 16, .n_adchan = 16,
.ai_fifo_depth = 512, .adbits = 16,
.alwaysdither = 1, .ai_fifo_depth = 512,
.gainlkup = ai_gain_14, .alwaysdither = 1,
.ai_speed = 10000, .gainlkup = ai_gain_14,
.n_aochan = 2, .ai_speed = 10000,
.aobits = 16, .n_aochan = 2,
.ao_fifo_depth = 2048, .aobits = 16,
.ao_range_table = &range_ni_E_ao_ext, .ao_fifo_depth = 2048,
.ao_unipolar = 1, .ao_range_table = &range_ni_E_ao_ext,
.ao_speed = 1000, .ao_unipolar = 1,
.num_p0_dio_channels = 8, .ao_speed = 1000,
.caldac = {dac8800, dac8043, ad8522}, .num_p0_dio_channels = 8,
}, .caldac = { dac8800, dac8043, ad8522 },
{.device_id = 51, }, {
.isapnp_id = 0x0000, /* XXX unknown */ .device_id = 51,
.name = "at-ai-16xe-10", .isapnp_id = 0x0000, /* XXX unknown */
.n_adchan = 16, .name = "at-ai-16xe-10",
.adbits = 16, .n_adchan = 16,
.ai_fifo_depth = 512, .adbits = 16,
.alwaysdither = 1, /* unknown */ .ai_fifo_depth = 512,
.gainlkup = ai_gain_14, .alwaysdither = 1, /* unknown */
.ai_speed = 10000, .gainlkup = ai_gain_14,
.num_p0_dio_channels = 8, .ai_speed = 10000,
.caldac = {dac8800, dac8043, ad8522}, .num_p0_dio_channels = 8,
} .caldac = { dac8800, dac8043, ad8522 },
},
}; };
static const int ni_irqpin[] = { static const int ni_irqpin[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment