mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-26 14:18:20 +00:00
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:
@@ -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-10-13 Eric Norum <norume@aps.anl.gov>
|
||||
|
||||
PR 688/bsps
|
||||
|
||||
@@ -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)
|
||||
typedef unsigned long pci_ulong;
|
||||
|
||||
Reference in New Issue
Block a user