staging: comedi: drivers: re-do PLX PCI 9080 DMAMODEx register values
authorIan Abbott <abbotti@mev.co.uk>
Fri, 20 May 2016 13:49:16 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:59:52 +0000 (20:59 -0700)
commit65bf53de830063520cfbdedd56d80f1125d62271
treec573b96637341819aaadc2fbc993ebb98afe0d39
parentdf04d3aa028a5feb905b1b0871c000ed51535eef
staging: comedi: drivers: re-do PLX PCI 9080 DMAMODEx register values

Replace the existing macros in "plx9080.h" that define values for the
DMAMODE0 and DMAMODE1 registers.  Use the prefix `PLX_DMAMODE_` for the
macros.  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