diff options
author | Daniel Hellstrom <daniel@gaisler.com> | 2013-05-08 14:38:10 +0200 |
---|---|---|
committer | Daniel Hellstrom <daniel@gaisler.com> | 2015-04-17 01:10:19 +0200 |
commit | 8aa446adc94d8ce60ffeeee8d1f1e8ffd6d3c01a (patch) | |
tree | cf0c75902b3269fa865aea614d257a99af047da5 /c/src | |
parent | AMBAPP: update AMBA PnP ID database (diff) | |
download | rtems-8aa446adc94d8ce60ffeeee8d1f1e8ffd6d3c01a.tar.bz2 |
GRPCI2: updated register layout to newer specification
Diffstat (limited to 'c/src')
-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 3891c253af..5886336982 100644 --- a/c/src/lib/libbsp/sparc/shared/pci/grpci2.c +++ b/c/src/lib/libbsp/sparc/shared/pci/grpci2.c @@ -90,13 +90,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 */ }; |