aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorH Hartley Sweeten <[email protected]>2015-11-13 11:11:07 -0700
committerGreg Kroah-Hartman <[email protected]>2015-12-18 14:56:30 -0800
commit7603900fc7b41c71753d69487930eda707048b9d (patch)
tree2f299810eb33d8937dcdbd47d97bd83d962e992b /tools/perf/scripts/python/net_dropmonitor.py
parent19cbb8fb798f9e391df2876ea9522fbd6be88358 (diff)
staging: comedi: adv_pci1710: refactor ai range programming
The gain codes used to program the analog output range are currently stored in const char arrays. The values look a bit "magic" and it's not clear how they associate with the comedi_lrange without looking through user manuals. Refactor the ai range programming to clarify the driver and remove the magic numbers. Also, refine the bits in the range register that set the differential and unipolar modes. 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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions