2004-11-16 Richard Campbell <richard.campbell@OARcorp.com>

* vmeUniverse/vmeUniverse.c: Use PCI_MEM_BASE_ADJUSTMENT because some
	boards -- notably the MVME2100 -- return the physical address, not an
	offset in PCI memory space.
This commit is contained in:
Joel Sherrill
2004-11-16 23:00:27 +00:00
parent 022ee190c8
commit 30062b7576
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2004-11-16 Richard Campbell <richard.campbell@OARcorp.com>
* vmeUniverse/vmeUniverse.c: Use PCI_MEM_BASE_ADJUSTMENT because some
boards -- notably the MVME2100 -- return the physical address, not an
offset in PCI memory space.
2004-11-10 Joel Sherrill <joel@oarcorp.com>
* tod.c: Add include of tod.h to remove warnings.

View File

@@ -69,7 +69,8 @@
#endif
typedef unsigned int pci_ulong;
#define PCI_TO_LOCAL_ADDR(memaddr) ((pci_ulong)(memaddr) + PCI_MEM_BASE)
#define PCI_TO_LOCAL_ADDR(memaddr) \
((pci_ulong)(memaddr) + PCI_MEM_BASE_ADJUSTMENT)
#elif defined(__vxworks)