Changeset 0bca9ea3 in rtems


Ignore:
Timestamp:
Nov 16, 2004, 11:00:21 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
eb9015e
Parents:
ef724e9
Message:

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

  • 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.
Location:
c/src/lib/libbsp/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/ChangeLog

    ref724e9 r0bca9ea3  
     12004-11-16      Richard Campbell <richard.campbell@OARcorp.com>
     2
     3        * vmeUniverse/vmeUniverse.c: Use PCI_MEM_BASE_ADJUSTMENT because some
     4        boards -- notably the MVME2100 -- return the physical address, not an
     5        offset in PCI memory space.
     6
    172004-10-13      Eric Norum <norume@aps.anl.gov>
    28
  • c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c

    ref724e9 r0bca9ea3  
    7070
    7171typedef unsigned int pci_ulong;
    72 #define PCI_TO_LOCAL_ADDR(memaddr) ((pci_ulong)(memaddr) + PCI_MEM_BASE)
     72#define PCI_TO_LOCAL_ADDR(memaddr) \
     73    ((pci_ulong)(memaddr) + PCI_MEM_BASE_ADJUSTMENT)
    7374
    7475#elif defined(__vxworks)
Note: See TracChangeset for help on using the changeset viewer.