aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2014-07-14 12:23:57 -0700
committerGreg Kroah-Hartman <[email protected]>2014-07-16 13:24:43 -0700
commit0615c162f659fb96cbb97dfb2a0a315eecb7861f (patch)
tree7e7fdbff90832ab11f05c501b2304a47bb72f345 /tools/perf/scripts/python/netdev-times.py
parent80a94e405bf7bdc23f92a1d0f2ace85f6681b116 (diff)
staging: comedi: ni_mio_common: refactor 'num_p0_dio_channels' boardinfo
All of the board supported by this driver have at least 8 Digital I/O channels. A couple of the PCI boards in ni_pcimio have 32 channels. For aesthetics, change this member of the boardinfo into a bit-field flag, 'has_32dio_chan', and use that when initializing the DIO subdevice to set the number of channels to 32 or 8. 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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions