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

staging: comedi: cb_pcidas: cleanup the boardinfo 1

For aesthetic reasons, add whitespace to the boardinfo to
improve readability.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 23e3cce3
...@@ -255,127 +255,120 @@ struct cb_pcidas_board { ...@@ -255,127 +255,120 @@ struct cb_pcidas_board {
static const struct cb_pcidas_board cb_pcidas_boards[] = { static const struct cb_pcidas_board cb_pcidas_boards[] = {
{ {
.name = "pci-das1602/16", .name = "pci-das1602/16",
.device_id = 0x1, .device_id = 0x1,
.ai_se_chans = 16, .ai_se_chans = 16,
.ai_diff_chans = 8, .ai_diff_chans = 8,
.ai_bits = 16, .ai_bits = 16,
.ai_speed = 5000, .ai_speed = 5000,
.ao_nchan = 2, .ao_nchan = 2,
.has_ao_fifo = 1, .has_ao_fifo = 1,
.ao_scan_speed = 10000, .ao_scan_speed = 10000,
.fifo_size = 512, .fifo_size = 512,
.ranges = &cb_pcidas_ranges, .ranges = &cb_pcidas_ranges,
.trimpot = AD8402, .trimpot = AD8402,
.has_dac08 = 1, .has_dac08 = 1,
.is_1602 = 1, .is_1602 = 1,
}, }, {
{ .name = "pci-das1200",
.name = "pci-das1200", .device_id = 0xF,
.device_id = 0xF, .ai_se_chans = 16,
.ai_se_chans = 16, .ai_diff_chans = 8,
.ai_diff_chans = 8, .ai_bits = 12,
.ai_bits = 12, .ai_speed = 3200,
.ai_speed = 3200, .ao_nchan = 2,
.ao_nchan = 2, .has_ao_fifo = 0,
.has_ao_fifo = 0, .fifo_size = 1024,
.fifo_size = 1024, .ranges = &cb_pcidas_ranges,
.ranges = &cb_pcidas_ranges, .trimpot = AD7376,
.trimpot = AD7376, .has_dac08 = 0,
.has_dac08 = 0, .is_1602 = 0,
.is_1602 = 0, }, {
}, .name = "pci-das1602/12",
{ .device_id = 0x10,
.name = "pci-das1602/12", .ai_se_chans = 16,
.device_id = 0x10, .ai_diff_chans = 8,
.ai_se_chans = 16, .ai_bits = 12,
.ai_diff_chans = 8, .ai_speed = 3200,
.ai_bits = 12, .ao_nchan = 2,
.ai_speed = 3200, .has_ao_fifo = 1,
.ao_nchan = 2, .ao_scan_speed = 4000,
.has_ao_fifo = 1, .fifo_size = 1024,
.ao_scan_speed = 4000, .ranges = &cb_pcidas_ranges,
.fifo_size = 1024, .trimpot = AD7376,
.ranges = &cb_pcidas_ranges, .has_dac08 = 0,
.trimpot = AD7376, .is_1602 = 1,
.has_dac08 = 0, }, {
.is_1602 = 1, .name = "pci-das1200/jr",
}, .device_id = 0x19,
{ .ai_se_chans = 16,
.name = "pci-das1200/jr", .ai_diff_chans = 8,
.device_id = 0x19, .ai_bits = 12,
.ai_se_chans = 16, .ai_speed = 3200,
.ai_diff_chans = 8, .ao_nchan = 0,
.ai_bits = 12, .has_ao_fifo = 0,
.ai_speed = 3200, .fifo_size = 1024,
.ao_nchan = 0, .ranges = &cb_pcidas_ranges,
.has_ao_fifo = 0, .trimpot = AD7376,
.fifo_size = 1024, .has_dac08 = 0,
.ranges = &cb_pcidas_ranges, .is_1602 = 0,
.trimpot = AD7376, }, {
.has_dac08 = 0, .name = "pci-das1602/16/jr",
.is_1602 = 0, .device_id = 0x1C,
}, .ai_se_chans = 16,
{ .ai_diff_chans = 8,
.name = "pci-das1602/16/jr", .ai_bits = 16,
.device_id = 0x1C, .ai_speed = 5000,
.ai_se_chans = 16, .ao_nchan = 0,
.ai_diff_chans = 8, .has_ao_fifo = 0,
.ai_bits = 16, .fifo_size = 512,
.ai_speed = 5000, .ranges = &cb_pcidas_ranges,
.ao_nchan = 0, .trimpot = AD8402,
.has_ao_fifo = 0, .has_dac08 = 1,
.fifo_size = 512, .is_1602 = 1,
.ranges = &cb_pcidas_ranges, }, {
.trimpot = AD8402, .name = "pci-das1000",
.has_dac08 = 1, .device_id = 0x4C,
.is_1602 = 1, .ai_se_chans = 16,
}, .ai_diff_chans = 8,
{ .ai_bits = 12,
.name = "pci-das1000", .ai_speed = 4000,
.device_id = 0x4C, .ao_nchan = 0,
.ai_se_chans = 16, .has_ao_fifo = 0,
.ai_diff_chans = 8, .fifo_size = 1024,
.ai_bits = 12, .ranges = &cb_pcidas_ranges,
.ai_speed = 4000, .trimpot = AD7376,
.ao_nchan = 0, .has_dac08 = 0,
.has_ao_fifo = 0, .is_1602 = 0,
.fifo_size = 1024, }, {
.ranges = &cb_pcidas_ranges, .name = "pci-das1001",
.trimpot = AD7376, .device_id = 0x1a,
.has_dac08 = 0, .ai_se_chans = 16,
.is_1602 = 0, .ai_diff_chans = 8,
}, .ai_bits = 12,
{ .ai_speed = 6800,
.name = "pci-das1001", .ao_nchan = 2,
.device_id = 0x1a, .has_ao_fifo = 0,
.ai_se_chans = 16, .fifo_size = 1024,
.ai_diff_chans = 8, .ranges = &cb_pcidas_alt_ranges,
.ai_bits = 12, .trimpot = AD7376,
.ai_speed = 6800, .has_dac08 = 0,
.ao_nchan = 2, .is_1602 = 0,
.has_ao_fifo = 0, }, {
.fifo_size = 1024, .name = "pci-das1002",
.ranges = &cb_pcidas_alt_ranges, .device_id = 0x1b,
.trimpot = AD7376, .ai_se_chans = 16,
.has_dac08 = 0, .ai_diff_chans = 8,
.is_1602 = 0, .ai_bits = 12,
}, .ai_speed = 6800,
{ .ao_nchan = 2,
.name = "pci-das1002", .has_ao_fifo = 0,
.device_id = 0x1b, .fifo_size = 1024,
.ai_se_chans = 16, .ranges = &cb_pcidas_ranges,
.ai_diff_chans = 8, .trimpot = AD7376,
.ai_bits = 12, .has_dac08 = 0,
.ai_speed = 6800, .is_1602 = 0,
.ao_nchan = 2, },
.has_ao_fifo = 0,
.fifo_size = 1024,
.ranges = &cb_pcidas_ranges,
.trimpot = AD7376,
.has_dac08 = 0,
.is_1602 = 0,
},
}; };
/* this structure is for data unique to this hardware driver. If /* this structure is for data unique to this hardware driver. If
......
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