]> asedeno.scripts.mit.edu Git - linux.git/commit
staging: comedi: drivers: re-do PLX PCI 9080 BIGEND register values
authorIan Abbott <abbotti@mev.co.uk>
Fri, 20 May 2016 13:49:09 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:59:52 +0000 (20:59 -0700)
commita9c254a763e4641d41c4e4b7665d979180c8af27
tree6aad9b92a325c9c911227014e2b528c6a19a5f34
parentb5dcdceafa750e933abdf4a7a1be097ccab8fcc7
staging: comedi: drivers: re-do PLX PCI 9080 BIGEND register values

Replace `enum bigend_bits` in "plx9080.h" with a bunch of macros
defining values for the BIGEND register.  Use the prefix `PLX_BIGEND_`
for the macro names.  Make use of the `BIT(x)` and `GENMASK(h,l)` macros
to define the values.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/cb_pcidas64.c
drivers/staging/comedi/drivers/gsc_hpdi.c
drivers/staging/comedi/drivers/plx9080.h