]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: comedi: drivers: re-do macros for PLX PCI 9080 LASxBA values
authorIan Abbott <abbotti@mev.co.uk>
Fri, 20 May 2016 13:49:07 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:59:52 +0000 (20:59 -0700)
commit5eaa593dbf4830cb7e2513dbbcf5bbb274da0ccd
tree805d7aba82f71793ba652edf1778102d2a6a3ecc
parentbe13e14e31c6ce247fa4d6635f53d9755a545d4b
staging: comedi: drivers: re-do macros for PLX PCI 9080 LASxBA values

Replace the existing macros in "plx9080.h" that define values for the
LAS0BA and LAS1BA registers.  Use the prefix `PLX_LASBA_` for the
macros.  Make use of the `BIT(x)` and `GENMASK(h,l)` macros to define
the macros.

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