summaryrefslogtreecommitdiff
path: root/c/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib')
-rw-r--r--c/src/lib/libbsp/sparc/shared/pci/grpci2.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/c/src/lib/libbsp/sparc/shared/pci/grpci2.c b/c/src/lib/libbsp/sparc/shared/pci/grpci2.c
index 2935200b08..f2b047a137 100644
--- a/c/src/lib/libbsp/sparc/shared/pci/grpci2.c
+++ b/c/src/lib/libbsp/sparc/shared/pci/grpci2.c
@@ -94,13 +94,14 @@
struct grpci2_regs {
volatile unsigned int ctrl; /* 0x00 */
volatile unsigned int sts_cap; /* 0x04 */
- int res1; /* 0x08 */
+ volatile unsigned int ppref; /* 0x08 */
volatile unsigned int io_map; /* 0x0C */
volatile unsigned int dma_ctrl; /* 0x10 */
volatile unsigned int dma_bdbase; /* 0x14 */
- int res2[2]; /* 0x18 */
+ volatile unsigned int dma_chact; /* 0x18 */
+ int res1; /* 0x1C */
volatile unsigned int bars[6]; /* 0x20 */
- int res3[2]; /* 0x38 */
+ int res2[2]; /* 0x38 */
volatile unsigned int ahbmst_map[16]; /* 0x40 */
};