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

staging: comedi: ni_atmio: remove '= 0' boardinfo data

Remove all the boardinfo data the is set to '0'. They will default
to that when the boardinfo is declared.
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 1fa955ba
...@@ -114,7 +114,6 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -114,7 +114,6 @@ static const struct ni_board_struct ni_boards[] = {
.n_adchan = 16, .n_adchan = 16,
.adbits = 12, .adbits = 12,
.ai_fifo_depth = 8192, .ai_fifo_depth = 8192,
.alwaysdither = 0,
.gainlkup = ai_gain_16, .gainlkup = ai_gain_16,
.ai_speed = 800, .ai_speed = 800,
.n_aochan = 2, .n_aochan = 2,
...@@ -123,7 +122,6 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -123,7 +122,6 @@ static const struct ni_board_struct ni_boards[] = {
.ao_range_table = &range_ni_E_ao_ext, .ao_range_table = &range_ni_E_ao_ext,
.ao_unipolar = 1, .ao_unipolar = 1,
.ao_speed = 1000, .ao_speed = 1000,
.has_8255 = 0,
.num_p0_dio_channels = 8, .num_p0_dio_channels = 8,
.caldac = {mb88341}, .caldac = {mb88341},
}, },
...@@ -133,7 +131,6 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -133,7 +131,6 @@ static const struct ni_board_struct ni_boards[] = {
.n_adchan = 16, .n_adchan = 16,
.adbits = 12, .adbits = 12,
.ai_fifo_depth = 2048, .ai_fifo_depth = 2048,
.alwaysdither = 0,
.gainlkup = ai_gain_16, .gainlkup = ai_gain_16,
.ai_speed = 2000, .ai_speed = 2000,
.n_aochan = 2, .n_aochan = 2,
...@@ -142,7 +139,6 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -142,7 +139,6 @@ static const struct ni_board_struct ni_boards[] = {
.ao_range_table = &range_ni_E_ao_ext, .ao_range_table = &range_ni_E_ao_ext,
.ao_unipolar = 1, .ao_unipolar = 1,
.ao_speed = 1000, .ao_speed = 1000,
.has_8255 = 0,
.num_p0_dio_channels = 8, .num_p0_dio_channels = 8,
.caldac = {mb88341}, .caldac = {mb88341},
}, },
...@@ -152,18 +148,15 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -152,18 +148,15 @@ static const struct ni_board_struct ni_boards[] = {
.n_adchan = 16, .n_adchan = 16,
.adbits = 12, .adbits = 12,
.ai_fifo_depth = 512, .ai_fifo_depth = 512,
.alwaysdither = 0,
.gainlkup = ai_gain_16, .gainlkup = ai_gain_16,
.ai_speed = 10000, .ai_speed = 10000,
.n_aochan = 2, .n_aochan = 2,
.aobits = 12, .aobits = 12,
.ao_fifo_depth = 0,
.ao_range_table = &range_ni_E_ao_ext, .ao_range_table = &range_ni_E_ao_ext,
.ao_unipolar = 1, .ao_unipolar = 1,
.ao_speed = 10000, .ao_speed = 10000,
.num_p0_dio_channels = 8, .num_p0_dio_channels = 8,
.caldac = {ad8804_debug}, .caldac = {ad8804_debug},
.has_8255 = 0,
}, },
{.device_id = 37, {.device_id = 37,
.isapnp_id = 0x2500, .isapnp_id = 0x2500,
...@@ -171,12 +164,10 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -171,12 +164,10 @@ static const struct ni_board_struct ni_boards[] = {
.n_adchan = 16, .n_adchan = 16,
.adbits = 12, .adbits = 12,
.ai_fifo_depth = 512, .ai_fifo_depth = 512,
.alwaysdither = 0,
.gainlkup = ai_gain_16, .gainlkup = ai_gain_16,
.ai_speed = 10000, .ai_speed = 10000,
.n_aochan = 2, .n_aochan = 2,
.aobits = 12, .aobits = 12,
.ao_fifo_depth = 0,
.ao_range_table = &range_ni_E_ao_ext, .ao_range_table = &range_ni_E_ao_ext,
.ao_unipolar = 1, .ao_unipolar = 1,
.ao_speed = 10000, .ao_speed = 10000,
...@@ -190,7 +181,6 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -190,7 +181,6 @@ static const struct ni_board_struct ni_boards[] = {
.n_adchan = 64, .n_adchan = 64,
.adbits = 12, .adbits = 12,
.ai_fifo_depth = 2048, .ai_fifo_depth = 2048,
.alwaysdither = 0,
.gainlkup = ai_gain_16, .gainlkup = ai_gain_16,
.ai_speed = 2000, .ai_speed = 2000,
.n_aochan = 2, .n_aochan = 2,
...@@ -199,7 +189,6 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -199,7 +189,6 @@ static const struct ni_board_struct ni_boards[] = {
.ao_range_table = &range_ni_E_ao_ext, .ao_range_table = &range_ni_E_ao_ext,
.ao_unipolar = 1, .ao_unipolar = 1,
.ao_speed = 1000, .ao_speed = 1000,
.has_8255 = 0,
.num_p0_dio_channels = 8, .num_p0_dio_channels = 8,
.caldac = {ad8804_debug}, .caldac = {ad8804_debug},
}, },
...@@ -214,13 +203,10 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -214,13 +203,10 @@ static const struct ni_board_struct ni_boards[] = {
.ai_speed = 50000, .ai_speed = 50000,
.n_aochan = 2, .n_aochan = 2,
.aobits = 12, .aobits = 12,
.ao_fifo_depth = 0,
.ao_range_table = &range_bipolar10, .ao_range_table = &range_bipolar10,
.ao_unipolar = 0,
.ao_speed = 50000, .ao_speed = 50000,
.num_p0_dio_channels = 8, .num_p0_dio_channels = 8,
.caldac = {dac8800, dac8043}, .caldac = {dac8800, dac8043},
.has_8255 = 0,
}, },
{.device_id = 50, {.device_id = 50,
.isapnp_id = 0x0000, /* XXX unknown */ .isapnp_id = 0x0000, /* XXX unknown */
...@@ -239,7 +225,6 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -239,7 +225,6 @@ static const struct ni_board_struct ni_boards[] = {
.ao_speed = 1000, .ao_speed = 1000,
.num_p0_dio_channels = 8, .num_p0_dio_channels = 8,
.caldac = {dac8800, dac8043, ad8522}, .caldac = {dac8800, dac8043, ad8522},
.has_8255 = 0,
}, },
{.device_id = 51, {.device_id = 51,
.isapnp_id = 0x0000, /* XXX unknown */ .isapnp_id = 0x0000, /* XXX unknown */
...@@ -250,13 +235,8 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -250,13 +235,8 @@ static const struct ni_board_struct ni_boards[] = {
.alwaysdither = 1, /* unknown */ .alwaysdither = 1, /* unknown */
.gainlkup = ai_gain_14, .gainlkup = ai_gain_14,
.ai_speed = 10000, .ai_speed = 10000,
.n_aochan = 0,
.aobits = 0,
.ao_fifo_depth = 0,
.ao_unipolar = 0,
.num_p0_dio_channels = 8, .num_p0_dio_channels = 8,
.caldac = {dac8800, dac8043, ad8522}, .caldac = {dac8800, dac8043, ad8522},
.has_8255 = 0,
} }
}; };
......
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