提交 e4f0e130 编写于 作者: H H Hartley Sweeten 提交者: Greg Kroah-Hartman

staging: comedi: ni_65xx: cleanup the boardinfo

For aesthetic reasons, add some whitespace to the boardinfo.
Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 8f5d4e03
...@@ -147,99 +147,114 @@ struct ni_65xx_board { ...@@ -147,99 +147,114 @@ struct ni_65xx_board {
static const struct ni_65xx_board ni_65xx_boards[] = { static const struct ni_65xx_board ni_65xx_boards[] = {
[BOARD_PCI6509] = { [BOARD_PCI6509] = {
.name = "pci-6509", .name = "pci-6509",
.num_dio_ports = 12, .num_dio_ports = 12,
.invert_outputs = 0}, },
[BOARD_PXI6509] = { [BOARD_PXI6509] = {
.name = "pxi-6509", .name = "pxi-6509",
.num_dio_ports = 12, .num_dio_ports = 12,
.invert_outputs = 0}, },
[BOARD_PCI6510] = { [BOARD_PCI6510] = {
.name = "pci-6510", .name = "pci-6510",
.num_di_ports = 4}, .num_di_ports = 4,
},
[BOARD_PCI6511] = { [BOARD_PCI6511] = {
.name = "pci-6511", .name = "pci-6511",
.num_di_ports = 8}, .num_di_ports = 8,
},
[BOARD_PXI6511] = { [BOARD_PXI6511] = {
.name = "pxi-6511", .name = "pxi-6511",
.num_di_ports = 8}, .num_di_ports = 8,
},
[BOARD_PCI6512] = { [BOARD_PCI6512] = {
.name = "pci-6512", .name = "pci-6512",
.num_do_ports = 8}, .num_do_ports = 8,
},
[BOARD_PXI6512] = { [BOARD_PXI6512] = {
.name = "pxi-6512", .name = "pxi-6512",
.num_do_ports = 8}, .num_do_ports = 8,
},
[BOARD_PCI6513] = { [BOARD_PCI6513] = {
.name = "pci-6513", .name = "pci-6513",
.num_do_ports = 8, .num_do_ports = 8,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PXI6513] = { [BOARD_PXI6513] = {
.name = "pxi-6513", .name = "pxi-6513",
.num_do_ports = 8, .num_do_ports = 8,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PCI6514] = { [BOARD_PCI6514] = {
.name = "pci-6514", .name = "pci-6514",
.num_di_ports = 4, .num_di_ports = 4,
.num_do_ports = 4, .num_do_ports = 4,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PXI6514] = { [BOARD_PXI6514] = {
.name = "pxi-6514", .name = "pxi-6514",
.num_di_ports = 4, .num_di_ports = 4,
.num_do_ports = 4, .num_do_ports = 4,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PCI6515] = { [BOARD_PCI6515] = {
.name = "pci-6515", .name = "pci-6515",
.num_di_ports = 4, .num_di_ports = 4,
.num_do_ports = 4, .num_do_ports = 4,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PXI6515] = { [BOARD_PXI6515] = {
.name = "pxi-6515", .name = "pxi-6515",
.num_di_ports = 4, .num_di_ports = 4,
.num_do_ports = 4, .num_do_ports = 4,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PCI6516] = { [BOARD_PCI6516] = {
.name = "pci-6516", .name = "pci-6516",
.num_do_ports = 4, .num_do_ports = 4,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PCI6517] = { [BOARD_PCI6517] = {
.name = "pci-6517", .name = "pci-6517",
.num_do_ports = 4, .num_do_ports = 4,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PCI6518] = { [BOARD_PCI6518] = {
.name = "pci-6518", .name = "pci-6518",
.num_di_ports = 2, .num_di_ports = 2,
.num_do_ports = 2, .num_do_ports = 2,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PCI6519] = { [BOARD_PCI6519] = {
.name = "pci-6519", .name = "pci-6519",
.num_di_ports = 2, .num_di_ports = 2,
.num_do_ports = 2, .num_do_ports = 2,
.invert_outputs = 1}, .invert_outputs = 1,
},
[BOARD_PCI6520] = { [BOARD_PCI6520] = {
.name = "pci-6520", .name = "pci-6520",
.num_di_ports = 1, .num_di_ports = 1,
.num_do_ports = 1, .num_do_ports = 1,
}, },
[BOARD_PCI6521] = { [BOARD_PCI6521] = {
.name = "pci-6521", .name = "pci-6521",
.num_di_ports = 1, .num_di_ports = 1,
.num_do_ports = 1, .num_do_ports = 1,
}, },
[BOARD_PXI6521] = { [BOARD_PXI6521] = {
.name = "pxi-6521", .name = "pxi-6521",
.num_di_ports = 1, .num_di_ports = 1,
.num_do_ports = 1, .num_do_ports = 1,
}, },
[BOARD_PCI6528] = { [BOARD_PCI6528] = {
.name = "pci-6528", .name = "pci-6528",
.num_di_ports = 3, .num_di_ports = 3,
.num_do_ports = 3, .num_do_ports = 3,
}, },
[BOARD_PXI6528] = { [BOARD_PXI6528] = {
.name = "pxi-6528", .name = "pxi-6528",
.num_di_ports = 3, .num_di_ports = 3,
.num_do_ports = 3, .num_do_ports = 3,
}, },
}; };
static inline unsigned ni_65xx_port_by_channel(unsigned channel) static inline unsigned ni_65xx_port_by_channel(unsigned channel)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册