]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commiteab03a1eea679319824824ca6f7f4b5e8bf7140b
treec573b96637341819aaadc2fbc993ebb98afe0d39
parent529843308660c6b74062c3302d33b28f717fa39b
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