mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
staging: comedi: plx9080.h: add hard-coded PCIHIDR register value
For the PLX PCI 9080, the read-only PCIHIDR register is hard-coded with the value `0x908010b5`. Add a macro `PLX_PCIHIDR_9080` that expands to this value. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a3228bc8b7
commit
df04d3aa02
1 changed files with 3 additions and 0 deletions
|
|
@ -446,6 +446,9 @@ struct plx_dma_desc {
|
|||
/* PCI Permanent Configuration ID Register (hard-coded PLX vendor and device) */
|
||||
#define PLX_REG_PCIHIDR 0x0070
|
||||
|
||||
/* Hard-coded ID for PLX PCI 9080 */
|
||||
#define PLX_PCIHIDR_9080 0x908010b5
|
||||
|
||||
/* PCI Permanent Revision ID Register (hard-coded silicon revision) (8-bit). */
|
||||
#define PLX_REG_PCIHREV 0x0074
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue