Changeset a5b5b50 in rtems


Ignore:
Timestamp:
Dec 8, 2009, 4:54:20 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
43e74a47
Parents:
e0e2cb8e
Message:

2009-12-08 Joel Sherrill <joel.sherrill@…>

  • libchip/network/dec21140.c, libchip/network/elnk.c, libchip/network/if_dc.c: Ensure PCI drivers are built on all supported configurations. PowerPC conditionals were not current and code was not being built on supported BSPs.
Location:
c/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/ChangeLog

    re0e2cb8e ra5b5b50  
     12009-12-08      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libchip/network/dec21140.c, libchip/network/elnk.c,
     4        libchip/network/if_dc.c: Ensure PCI drivers are built on all
     5        supported configurations. PowerPC conditionals were not current and
     6        code was not being built on supported BSPs.
     7
    182009-11-23      Joel Sherrill <joel.sherrill@OARcorp.com>
    29
  • c/src/libchip/network/dec21140.c

    re0e2cb8e ra5b5b50  
    5050  #define PCI_DRAM_OFFSET 0
    5151#endif
    52 #if defined(__PPC__) && (defined(mpc604) || defined(mpc750) || defined(ppc603e))
     52#if defined(__PPC__)
    5353  #define DEC21140_SUPPORTED
    5454#endif
     55
     56#include <bsp.h>
     57#include <rtems/pci.h>
    5558
    5659#if !defined(PCI_DRAM_OFFSET)
     
    5962
    6063#if defined(DEC21140_SUPPORTED)
    61 #include <bsp.h>
    62 #include <rtems/pci.h>
    6364
    6465#if defined(__PPC__)
  • c/src/libchip/network/elnk.c

    re0e2cb8e ra5b5b50  
    7676#endif
    7777
    78 #if defined(__PPC__) && (defined(mpc604) || defined(mpc750) || defined(ppc603e))
     78#if defined(__PPC__)
    7979#define ELNK_SUPPORTED
    8080#endif
     81
     82#include <bsp.h>
     83#include <rtems/pci.h>
    8184
    8285#if !defined(PCI_DRAM_OFFSET)
     
    8891
    8992#if defined(ELNK_SUPPORTED)
    90 #include <bsp.h>
    91 #include <rtems/pci.h>
    9293
    9394#if defined(__PPC__)
  • c/src/libchip/network/if_dc.c

    re0e2cb8e ra5b5b50  
    109109#endif
    110110
    111 #if defined(__PPC__) && (defined(mpc604) || defined(mpc750) || defined(ppc603e))
     111#if defined(__PPC__)
    112112        #define DRIVER_SUPPORTED
    113113        #warning The if_dc driver is untested on the PPC platform !!!
    114114#endif
    115115
     116#include <bsp.h>
     117#include <rtems/pci.h>
     118
     119#if !defined(PCI_DRAM_OFFSET)
     120  #undef DRIVER_SUPPORTED
     121#endif
    116122
    117123#if defined(DRIVER_SUPPORTED) /* this covers the file "globally"... */
    118 #include <bsp.h>
    119 #include <rtems.h>
    120 #include <rtems/pci.h>
    121124
    122125#include <rtems/error.h>
Note: See TracChangeset for help on using the changeset viewer.