]> git.baikalelectronics.ru Git - kernel.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)
commite261447f00896a040693d741ae70ff4f101b2557
tree805d7aba82f71793ba652edf1778102d2a6a3ecc
parent4dc5627704b24db9a370892c4876ff52e1924797
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