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

Replace `enum marb_bits` in "plx9080.h" with a bunch of macros defining
values for the MARBR and DMAARB registers (which are the same
Mode/Arbitation register at two different offsets).  Use the prefix
`PLX_MARBR_` 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/plx9080.h