Misc include file fixes.

This commit is contained in:
Ralf Corsepius
2005-12-31 09:28:02 +00:00
parent 7b415277bd
commit da261595f5
20 changed files with 98 additions and 42 deletions

View File

@@ -27,6 +27,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:25 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.10 2005/12/09 08:57:03 thomas |* Revision 1.10 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -41,7 +45,7 @@
\*===============================================================*/ \*===============================================================*/
#include <rtems.h> #include <rtems.h>
#include <rtems/error.h> #include <rtems/error.h>
#include "../include/bsp.h" #include <bsp.h>
#include "../irq/irq.h" #include "../irq/irq.h"
#include "../include/mpc5200.h" #include "../include/mpc5200.h"
#include "../bestcomm/include/ppctypes.h" /* uint32, et. al. */ #include "../bestcomm/include/ppctypes.h" /* uint32, et. al. */

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:25 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.9 2005/12/09 08:57:03 thomas |* Revision 1.9 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -122,10 +126,8 @@
/* */ /* */
/***********************************************************************/ /***********************************************************************/
/*#include "../include/bsp.h"*/ #include <bsp.h>
#include "../include/bsp.h"
#include <rtems/bspIo.h> #include <rtems/bspIo.h>
/*#include "../irq/irq.h"*/
#include "../irq/irq.h" #include "../irq/irq.h"
#include <rtems.h> #include <rtems.h>
@@ -133,8 +135,6 @@
#include <rtems/libio.h> #include <rtems/libio.h>
#include <stdlib.h> /* for atexit() */ #include <stdlib.h> /* for atexit() */
#include "../include/bsp.h"
#include "../irq/irq.h"
#include "../include/mpc5200.h" #include "../include/mpc5200.h"
volatile uint32_t Clock_driver_ticks; volatile uint32_t Clock_driver_ticks;

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:25 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.11 2005/12/09 08:57:03 thomas |* Revision 1.11 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -114,7 +118,7 @@
#include <rtems.h> #include <rtems.h>
#include "../include/mpc5200.h" #include "../include/mpc5200.h"
#include "../include/bsp.h" #include <bsp.h>
#include "../irq/irq.h" #include "../irq/irq.h"
#include <rtems/bspIo.h> #include <rtems/bspIo.h>

View File

@@ -11,7 +11,7 @@
* @(#) i2c.c,v 1.5 2004/04/21 16:01:34 ralf Exp * @(#) i2c.c,v 1.5 2004/04/21 16:01:34 ralf Exp
*/ */
#include "../include/bsp.h" #include <bsp.h>
#include "../include/i2c.h" #include "../include/i2c.h"
/* i2c_transfer_sema_done_func -- /* i2c_transfer_sema_done_func --

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:25 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.8 2005/12/09 08:57:03 thomas |* Revision 1.8 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -57,7 +61,7 @@
* @(#) i2cdrv.c,v 1.6 2004/04/21 16:01:34 ralf Exp * @(#) i2cdrv.c,v 1.6 2004/04/21 16:01:34 ralf Exp
*/ */
#include "../include/bsp.h" #include <bsp.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@@ -27,6 +27,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:25 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.5 2005/12/09 08:57:03 thomas |* Revision 1.5 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -40,7 +44,7 @@
|*****************************************************************| |*****************************************************************|
\*===============================================================*/ \*===============================================================*/
#include <rtems.h> #include <rtems.h>
#include "../include/bsp.h" #include <bsp.h>
#include "../irq/irq.h" #include "../irq/irq.h"
#include "../include/mpc5200.h" #include "../include/mpc5200.h"
#include "./pcmcia_ide.h" #include "./pcmcia_ide.h"

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.10 2005/12/09 09:05:16 thomas |* Revision 1.10 2005/12/09 09:05:16 thomas
|* changed names of board variations |* changed names of board variations
|* |*
@@ -103,7 +107,7 @@
#include <rtems.h> #include <rtems.h>
#include <rtems/error.h> #include <rtems/error.h>
#include "../include/bsp.h" #include <bsp.h>
#include "../irq/irq.h" #include "../irq/irq.h"
#include "../include/mpc5200.h" #include "../include/mpc5200.h"
#include "./pcmcia_ide.h" #include "./pcmcia_ide.h"

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.5 2005/12/09 08:57:03 thomas |* Revision 1.5 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -85,8 +89,7 @@
#ifndef __PCMCIA_IDE_h #ifndef __PCMCIA_IDE_h
#define __PCMCIA_IDE_h #define __PCMCIA_IDE_h
/*#include "../include/bsp.h"*/ #include <bsp.h>
#include "../include/bsp.h"
#define GPIOPCR_ATA_CS_4_5 (1 << 24) #define GPIOPCR_ATA_CS_4_5 (1 << 24)

View File

@@ -16,7 +16,7 @@
#define __RTEMS__I2C_H__ #define __RTEMS__I2C_H__
#include <rtems.h> #include <rtems.h>
#include "../include/bsp.h" #include <bsp.h>
/* This header file define the generic interface to i2c buses available in /* This header file define the generic interface to i2c buses available in
* system. This interface may be used by user applications or i2c-device * system. This interface may be used by user applications or i2c-device
* drivers (like RTC, NVRAM, etc). * drivers (like RTC, NVRAM, etc).

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.6 2005/12/09 08:57:03 thomas |* Revision 1.6 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -96,12 +100,9 @@
/* */ /* */
/***********************************************************************/ /***********************************************************************/
/*#include "../include/bsp.h"*/ #include <bsp.h>
#include "../include/bsp.h"
#include <rtems.h> #include <rtems.h>
/*#include "../irq/irq.h"*/
#include "../irq/irq.h" #include "../irq/irq.h"
/*#include <rtems/score/thread.h>*/
#include <rtems/score/apiext.h> #include <rtems/score/apiext.h>
#include <rtems/bspIo.h> #include <rtems/bspIo.h>
#include "../include/raw_exception.h" #include "../include/raw_exception.h"

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.6 2005/12/09 08:57:03 thomas |* Revision 1.6 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -92,8 +96,8 @@
/* */ /* */
/***********************************************************************/ /***********************************************************************/
/*#include "../include/bsp.h"*/ /*#include <bsp.h>*/
#include "../include/bsp.h" #include <bsp.h>
#include <rtems.h> #include <rtems.h>
/*#include "../irq/irq.h"*/ /*#include "../irq/irq.h"*/
#include "../irq/irq.h" #include "../irq/irq.h"

View File

@@ -27,6 +27,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.31 2005/12/11 23:00:27 peter |* Revision 1.31 2005/12/11 23:00:27 peter
|* initialization according to bitrate and max. no of tq per can bit |* initialization according to bitrate and max. no of tq per can bit
|* |*
@@ -49,10 +53,10 @@
#include <rtems/error.h> #include <rtems/error.h>
#include <rtems/libio.h> #include <rtems/libio.h>
#include <string.h> #include <string.h>
#include "../include/bsp.h" #include <bsp.h>
#include "../irq/irq.h" #include "../irq/irq.h"
#include "../include/mpc5200.h" #include "../include/mpc5200.h"
#include "../mscan/mscan.h" #include "mscan.h"
/* #define MSCAN_LOOPBACK */ /* #define MSCAN_LOOPBACK */

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.10 2005/12/06 14:30:42 thomas |* Revision 1.10 2005/12/06 14:30:42 thomas
|* updated name for peripheral register block |* updated name for peripheral register block
|* |*
@@ -86,7 +90,7 @@
#include <net/if.h> #include <net/if.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <netinet/if_ether.h> #include <netinet/if_ether.h>
#include "../include/bsp.h" #include <bsp.h>
#include "../irq/irq.h" #include "../irq/irq.h"
#include "../include/mpc5200.h" #include "../include/mpc5200.h"
#include <net/if_var.h> #include <net/if_var.h>

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.4 2005/12/09 08:57:03 thomas |* Revision 1.4 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -98,13 +102,11 @@
#include <rtems/libio.h> #include <rtems/libio.h>
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
/*#include "../include/bsp.h"*/
#include "../include/bsp.h"
#include "../include/mpc5200.h"
/*#include "../nvram/nvram.h"*/
#include "../nvram/nvram.h"
#include "../nvram/m93cxx.h"
#include <stdio.h> #include <stdio.h>
#include <bsp.h>
#include "../include/mpc5200.h"
#include "nvram.h"
#include "m93cxx.h"
/* /*
* Simple usec delay function using lower half of HARPO Time Base Register * Simple usec delay function using lower half of HARPO Time Base Register

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.3 2005/12/09 08:57:03 thomas |* Revision 1.3 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -101,8 +105,8 @@
extern "C" { extern "C" {
#endif #endif
/* include "../include/bsp.h" */ /* include <bsp.h> */
#include "../include/bsp.h" #include <bsp.h>
/* Macros for TBL read access */ /* Macros for TBL read access */
#define TBL_READ(count) __asm__ volatile ("mftb %0\n" : "=r" (count) : "0" (count)) #define TBL_READ(count) __asm__ volatile ("mftb %0\n" : "=r" (count) : "0" (count))

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.7 2005/12/09 08:57:03 thomas |* Revision 1.7 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -114,17 +118,14 @@
/* */ /* */
/***********************************************************************/ /***********************************************************************/
/*#include "../include/bsp.h"*/ #include <bsp.h>
#include "../include/bsp.h"
#include <rtems/bspIo.h> #include <rtems/bspIo.h>
/*#include "../irq/irq.h"*/
#include "../irq/irq.h" #include "../irq/irq.h"
#include <rtems.h> #include <rtems.h>
#include <rtems/clockdrv.h> #include <rtems/clockdrv.h>
#include <rtems/libio.h> #include <rtems/libio.h>
#include "../include/bsp.h"
#include "../irq/irq.h" #include "../irq/irq.h"
#include "../include/mpc5200.h" #include "../include/mpc5200.h"
#include "../slicetimer/slicetimer.h" #include "../slicetimer/slicetimer.h"

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.8 2005/12/09 08:57:03 thomas |* Revision 1.8 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -114,8 +118,7 @@
/* */ /* */
/***********************************************************************/ /***********************************************************************/
/*#include "../include/bsp.h"*/ #include <bsp.h>
#include "../include/bsp.h"
#include <rtems/libio.h> #include <rtems/libio.h>
#include <rtems/libcsupport.h> #include <rtems/libcsupport.h>

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.8 2005/12/09 09:05:16 thomas |* Revision 1.8 2005/12/09 09:05:16 thomas
|* changed names of board variations |* changed names of board variations
|* |*
@@ -88,7 +92,7 @@
/* */ /* */
/***********************************************************************/ /***********************************************************************/
#include "../include/bsp.h" #include <bsp.h>
#include <rtems/powerpc/registers.h> #include <rtems/powerpc/registers.h>
#include "../include/mpc5200.h" #include "../include/mpc5200.h"

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.4 2005/12/06 14:11:12 thomas |* Revision 1.4 2005/12/06 14:11:12 thomas
|* added EB file headers |* added EB file headers
|* |*
@@ -51,7 +55,7 @@
* @(#) todcfg.c,v 1.4 2005/01/22 04:12:39 ralf Exp * @(#) todcfg.c,v 1.4 2005/01/22 04:12:39 ralf Exp
*/ */
#include "../include/bsp.h" #include <bsp.h>
#include "../include/i2c.h" #include "../include/i2c.h"
#include <libchip/rtc.h> #include <libchip/rtc.h>
#include "../tod/pcf8563.h" #include "../tod/pcf8563.h"

View File

@@ -30,6 +30,10 @@
|*do not edit here) | |*do not edit here) |
|*****************************************************************| |*****************************************************************|
|* $Log$ |* $Log$
|* Revision 1.1 2005/12/31 05:09:26 ralf
|* New (CVS import Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>'s
|* submission).
|*
|* Revision 1.2 2005/12/09 08:57:03 thomas |* Revision 1.2 2005/12/09 08:57:03 thomas
|* added/modifed file headers |* added/modifed file headers
|* |*
@@ -88,11 +92,9 @@
/* */ /* */
/***********************************************************************/ /***********************************************************************/
/*#include "../vectors/vectors.h"*/
#include "../vectors/vectors.h" #include "../vectors/vectors.h"
#include "../include/raw_exception.h" #include "../include/raw_exception.h"
/*#include "../include/bsp.h"*/ #include <bsp.h>
#include "../include/bsp.h"
#include <rtems/bspIo.h> #include <rtems/bspIo.h>
extern int mpc60x_vector_is_valid(rtems_vector); extern int mpc60x_vector_is_valid(rtems_vector);