]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: drivers: re-do PLX PCI 9080 DMCFGA register values
authorIan Abbott <abbotti@mev.co.uk>
Fri, 20 May 2016 13:49:12 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:59:52 +0000 (20:59 -0700)
commite538ba7165c370c5a1572a20a1c86891c34e7331
treee3ebdb9bd09b0a066238c18179112ff8be707b55
parent6a8c2f86970d1ca19b0eab999e191819e4a27993
staging: comedi: drivers: re-do PLX PCI 9080 DMCFGA register values

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