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

Replace the existing macros in "plx9080.h" that define values for the
CNTRL register.  Use the prefix `PLX_CNTRL_` 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/plx9080.h