mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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.
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2009-11-23 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* libchip/network/smc91111.c: Formatting.
|
* libchip/network/smc91111.c: Formatting.
|
||||||
|
|||||||
@@ -49,17 +49,18 @@
|
|||||||
#define DEC21140_SUPPORTED
|
#define DEC21140_SUPPORTED
|
||||||
#define PCI_DRAM_OFFSET 0
|
#define PCI_DRAM_OFFSET 0
|
||||||
#endif
|
#endif
|
||||||
#if defined(__PPC__) && (defined(mpc604) || defined(mpc750) || defined(ppc603e))
|
#if defined(__PPC__)
|
||||||
#define DEC21140_SUPPORTED
|
#define DEC21140_SUPPORTED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <bsp.h>
|
||||||
|
#include <rtems/pci.h>
|
||||||
|
|
||||||
#if !defined(PCI_DRAM_OFFSET)
|
#if !defined(PCI_DRAM_OFFSET)
|
||||||
#undef DEC21140_SUPPORTED
|
#undef DEC21140_SUPPORTED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(DEC21140_SUPPORTED)
|
#if defined(DEC21140_SUPPORTED)
|
||||||
#include <bsp.h>
|
|
||||||
#include <rtems/pci.h>
|
|
||||||
|
|
||||||
#if defined(__PPC__)
|
#if defined(__PPC__)
|
||||||
#include <libcpu/byteorder.h>
|
#include <libcpu/byteorder.h>
|
||||||
|
|||||||
@@ -75,10 +75,13 @@
|
|||||||
#define PCI_DRAM_OFFSET 0
|
#define PCI_DRAM_OFFSET 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__PPC__) && (defined(mpc604) || defined(mpc750) || defined(ppc603e))
|
#if defined(__PPC__)
|
||||||
#define ELNK_SUPPORTED
|
#define ELNK_SUPPORTED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <bsp.h>
|
||||||
|
#include <rtems/pci.h>
|
||||||
|
|
||||||
#if !defined(PCI_DRAM_OFFSET)
|
#if !defined(PCI_DRAM_OFFSET)
|
||||||
#undef ELNK_SUPPORTED
|
#undef ELNK_SUPPORTED
|
||||||
#endif
|
#endif
|
||||||
@@ -87,8 +90,6 @@
|
|||||||
|
|
||||||
|
|
||||||
#if defined(ELNK_SUPPORTED)
|
#if defined(ELNK_SUPPORTED)
|
||||||
#include <bsp.h>
|
|
||||||
#include <rtems/pci.h>
|
|
||||||
|
|
||||||
#if defined(__PPC__)
|
#if defined(__PPC__)
|
||||||
#include <libcpu/byteorder.h>
|
#include <libcpu/byteorder.h>
|
||||||
|
|||||||
@@ -108,16 +108,19 @@
|
|||||||
#define DRIVER_SUPPORTED
|
#define DRIVER_SUPPORTED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__PPC__) && (defined(mpc604) || defined(mpc750) || defined(ppc603e))
|
#if defined(__PPC__)
|
||||||
#define DRIVER_SUPPORTED
|
#define DRIVER_SUPPORTED
|
||||||
#warning The if_dc driver is untested on the PPC platform !!!
|
#warning The if_dc driver is untested on the PPC platform !!!
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <bsp.h>
|
||||||
|
#include <rtems/pci.h>
|
||||||
|
|
||||||
|
#if !defined(PCI_DRAM_OFFSET)
|
||||||
|
#undef DRIVER_SUPPORTED
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(DRIVER_SUPPORTED) /* this covers the file "globally"... */
|
#if defined(DRIVER_SUPPORTED) /* this covers the file "globally"... */
|
||||||
#include <bsp.h>
|
|
||||||
#include <rtems.h>
|
|
||||||
#include <rtems/pci.h>
|
|
||||||
|
|
||||||
#include <rtems/error.h>
|
#include <rtems/error.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user