]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: drivers: rename PLX PCI 9080 register offsets
authorIan Abbott <abbotti@mev.co.uk>
Fri, 20 May 2016 13:49:05 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 18 Jun 2016 03:59:52 +0000 (20:59 -0700)
commitee2f2f038b547d78334e974d831e1be940ca253d
tree6048d3b66bc7e9d75cb5c20e369880e6478e0051
parentfc3656b2c4f16bb8598a07d81e372c2ccaeacc2c
staging: comedi: drivers: rename PLX PCI 9080 register offsets

Rename the macros in "plx9080.h" that define the offsets of registers,
following the pattern `PLX_REG_<NAME>`, where `<NAME>` is the register
name from the PLX PCI 9080 Data Book.

Add defines for the "Mailbox" registers, and add parameterized macros
for the mailbox registers and the DMA control registers.  Make use of
the parameterized versions of the macros where it seems appropriate.

The registers for supporting the I2O (Intelligent Input/Output) feature
are largely left undefined, just defining enough to allow the I2O
feature to be disabled.

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
drivers/staging/comedi/drivers/rtd520.c