Changeset 30062b7 in rtems


Ignore:
Timestamp:
Nov 16, 2004, 11:00:27 PM (15 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
0293ad1
Parents:
022ee19
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

    r022ee19 r30062b7  
     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-11-10      Joel Sherrill <joel@oarcorp.com>
    28
  • c/src/lib/libbsp/shared/vmeUniverse/vmeUniverse.c

    r022ee19 r30062b7  
    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
Note: See TracChangeset for help on using the changeset viewer.