]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
staging: comedi: drivers: re-do PLX PCI 9080 DMPBAM register values
authorIan Abbott <abbotti@mev.co.uk>
Fri, 20 May 2016 13:49:11 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:59:52 +0000 (20:59 -0700)
commite0045472e0d9a398d68b8570b748a49a091b12fa
treed2e350d37c1c0177ff2cb4c570a8b932ca5ca486
parent1ddb95d3c4820644df28ba1e5251e87dd46e4830
staging: comedi: drivers: re-do PLX PCI 9080 DMPBAM register values

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