]> 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)
commit61ce09b7df1b913ff797613e8fcab5fabddfad99
tree6048d3b66bc7e9d75cb5c20e369880e6478e0051
parent7400b253b815ba5d9f4650abb09502ad3ef48e57
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