]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5d894efc1fed7bae3908bf409b2b03fdc5c65e23
treebb5469dda426ea076b79a1c287b49cabb900b777
parente261447f00896a040693d741ae70ff4f101b2557
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