Changeset 0b6ca8aa in rtems


Ignore:
Timestamp:
Sep 20, 2008, 10:20:14 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
fe85f05c
Parents:
2785a80d
Message:

2008-09-20 Joel Sherrill <joel.sherrill@…>

  • libchip/network/dec21140.c, libchip/network/elnk.c: Detect when there is no PCI bus based upon the BSP not having a base address defined. This means this driver cannot be supported on that board.
Location:
c/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    r2785a80d r0b6ca8aa  
     12008-09-20      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libchip/network/dec21140.c, libchip/network/elnk.c: Detect when there
     4        is no PCI bus based upon the BSP not having a base address defined.
     5        This means this driver cannot be supported on that board.
     6
    172008-09-19      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • c/src/libchip/network/dec21140.c

    r2785a80d r0b6ca8aa  
    5353#endif
    5454
     55#if !defined(PCI_DRAM_OFFSET)
     56  #undef DEC21140_SUPPORTED
     57#endif
     58
     59#define phys_to_bus(address) ((unsigned int)((address)) + PCI_DRAM_OFFSET)
     60
    5561#if defined(DEC21140_SUPPORTED)
    5662#include <bsp.h>
  • c/src/libchip/network/elnk.c

    r2785a80d r0b6ca8aa  
    7777#if defined(__PPC__) && (defined(mpc604) || defined(mpc750) || defined(ppc603e))
    7878#define ELNK_SUPPORTED
     79#endif
     80
     81#if !defined(PCI_DRAM_OFFSET)
     82  #undef ELNK_SUPPORTED
    7983#endif
    8084
Note: See TracChangeset for help on using the changeset viewer.