mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 12:44:03 +02:00
comedi: ni_pcimio: set PCI-6220 dio_speed and ai_fifo_depth from NI specs
The PCI-6220 board entry was missing .dio_speed, unlike the PXI-6220 and the other 622x boards in the table. Set it to 1000 ns to match those entries and the 1 MHz maximum DI/DO sample clock on Port 0 in the NI PCI/PXI-6220 specifications. Also update .ai_fifo_depth for PCI-6220 and PXI-6220 from 512 to 4095 samples, matching the documented AI input FIFO size and the rest of the 622x entries. Link: https://www.ni.com/docs/en-US/bundle/pci-pxi-6220-specs/page/specs.html Signed-off-by: Shashwat Agrawal <shashwatagrawal473@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Link: https://patch.msgid.link/20260629135404.19835-1-shashwatagrawal473@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a76acbaec9
commit
71375da8b4
|
|
@ -685,17 +685,18 @@ static const struct ni_board_struct ni_boards[] = {
|
|||
.name = "pci-6220",
|
||||
.n_adchan = 16,
|
||||
.ai_maxdata = 0xffff,
|
||||
.ai_fifo_depth = 512, /* FIXME: guess */
|
||||
.ai_fifo_depth = 4095,
|
||||
.gainlkup = ai_gain_622x,
|
||||
.ai_speed = 4000,
|
||||
.reg_type = ni_reg_622x,
|
||||
.caldac = { caldac_none },
|
||||
.dio_speed = 1000,
|
||||
},
|
||||
[BOARD_PXI6220] = {
|
||||
.name = "pxi-6220",
|
||||
.n_adchan = 16,
|
||||
.ai_maxdata = 0xffff,
|
||||
.ai_fifo_depth = 512, /* FIXME: guess */
|
||||
.ai_fifo_depth = 4095,
|
||||
.gainlkup = ai_gain_622x,
|
||||
.ai_speed = 4000,
|
||||
.reg_type = ni_reg_622x,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user