diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2013-05-08 14:38:10 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2013-05-08 14:38:10 +0200 |
commit | ea0c14b3bd23f125c2a690f876ebe4f7b665f050 (patch) | |
tree | 7c0d400871c993e8f0e8dffa9d5e6ab3833366ab | |
parent | 0eb1937754f3d1cae601b5662dfe064706dc8f72 (diff) |
GRPCI2: updated register layout to newer specification
-rw-r--r-- | c/src/lib/libbsp/sparc/shared/pci/grpci2.c | 7 |
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 */ }; |