Use PCIR_xxx constants for PCI config space header registers rather than
magic numbers.
This commit is contained in:
parent
3a6497c102
commit
76cb6aaa5c
@ -62,14 +62,14 @@
|
||||
#define SIEISAIOSIZE 0x100 /* XXX How many ports */
|
||||
|
||||
/* SI old PCI */
|
||||
#define SIPCIBADR 0x10 /* Which BADR to map in RAM */
|
||||
#define SIPCIBADR PCIR_BAR(0) /* Which BADR to map in RAM */
|
||||
#define SIPCI_MEMSIZE 0x100000 /* Mapping size */
|
||||
#define SIPCIRESET 0xc0001 /* 0 = Reset */
|
||||
#define SIPCIINTCL 0x40001 /* 0 = clear int */
|
||||
|
||||
/* SI Jet PCI */
|
||||
#define SIJETSSIDREG 0x2c /* Is it an SX or RIO? */
|
||||
#define SIJETBADR 0x18 /* Which BADR to map in RAM */
|
||||
#define SIJETSSIDREG PCIR_SUBVEND_0 /* Is it an SX or RIO? */
|
||||
#define SIJETBADR PCIR_BAR(2) /* Which BADR to map in RAM */
|
||||
/* SI Jet PCI & ISA */
|
||||
#define SIJETIDBASE 0x7c00 /* ID ROM base */
|
||||
#define SISPLXID 0x984d /* Specialix ID */
|
||||
|
Loading…
Reference in New Issue
Block a user