diff options
| author | H Hartley Sweeten <[email protected]> | 2016-04-14 09:58:07 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2016-04-28 22:17:28 -0700 |
| commit | 6f7fa704648e69a295f6b8bcf35538692258fbb3 (patch) | |
| tree | 0506b040fb3d49e4bf94729e6e1b7bcba251f528 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | bbd962206c6002005a827d34d91005cbfbf9dddc (diff) | |
staging: comedi: ni_mio_common: introduce NI_STC_DMA_CHAN_SEL()
The inline helper ni_stc_dma_channel_select_bitfield() returns the
bits needed to select a MITE channel to use for DMA. The MITE code
is setup to handle up to 8 channels but in reality only channels 0
to 3 are used by most of the drivers. The PCI-6032E and PCI-6033E
boards can also use channels 4 and 5.
For aesthetics, convert this inline function into a macro and
remove the BUG() which will never occur.
Signed-off-by: H Hartley Sweeten <[email protected]>
Reviewed-by: Ian Abbott <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions