diff options
| author | Ian Abbott <[email protected]> | 2012-11-14 11:22:55 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2012-11-14 16:25:08 -0800 |
| commit | 206cb10816d3b1ee38761b387106973df52c4315 (patch) | |
| tree | 68857d46b1c586b2b9ef0806472ff831ce1ddeb0 /tools/perf/scripts/python/bin | |
| parent | b0a2b6d8ac9ce5d27c9086a196d8f44194561979 (diff) | |
staging: comedi: define operations for INSN_CONFIG_DIGITAL_TRIG
The 'addi_apci_1032' driver recently started supporting the
`INSN_CONFIG_DIGITAL_TRIG` configuration instruction, but as no other
drivers were using it before, there was no existing practice of how the
instruction should look.
Define the format to be something a bit more configurable. In
particular, a subdevice might have more than one trigger requiring an ID
and/or `COMEDI_EV_...` flags to disambiguate them, a trigger might have
more than 32 inputs, and a trigger might need several
`INSN_CONFIG_DIGITAL_TRIG` configuration instructions to configure
completely (if there are more than 32 inputs or if it uses a combination
of edge-triggered and level-triggered inputs).
Signed-off-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions