summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2026-01-30 16:47:49 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-04-02 15:49:38 +0200
commit7bd294e569114f05ed76d3fd3f0d1da9392bf89a (patch)
treebab1d1c138c84828e1b1149b4deb9df79ded179f /tools/lib/python
parent3742ff1605d50c8c2ea78a896f2e281b1f785c37 (diff)
comedi: fl512: Add sanity checks for I/O base address
The "fl512" driver uses an admin-supplied configuration option (`it->options[0]`) to configure the I/O port base address of an FL512 board. It currently allows any base address to be configured and uses a 16-byte register region. I cannot find any information about this board, but assume it needs to be aligned to a 16-byte boundary. I have no idea about the allowed range, so allow anything in a 32-bit range and add a "FIXME" comment (although most ancient ISA cards only support 10-bit address decoding). Add a sanity check to ensure the device is not configured at an unsupported base address. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Link: https://patch.msgid.link/20260130170416.49994-25-abbotti@mev.co.uk Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions