summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/shared/motorola
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 04:37:44 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-11-30 04:37:44 +0000
commitac7af4a359cc51bc06e1bf0ed3314744972b8395 (patch)
tree7c73805f8b66af9b3082fbde80f6eb70edd966ac /c/src/lib/libbsp/powerpc/shared/motorola
parent2009-11-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ac7af4a359cc51bc06e1bf0ed3314744972b8395.tar.bz2
Whitespace removal.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/shared/motorola')
-rw-r--r--c/src/lib/libbsp/powerpc/shared/motorola/motorola.c16
-rw-r--r--c/src/lib/libbsp/powerpc/shared/motorola/vpd.c26
-rw-r--r--c/src/lib/libbsp/powerpc/shared/motorola/vpd.h22
3 files changed, 32 insertions, 32 deletions
diff --git a/c/src/lib/libbsp/powerpc/shared/motorola/motorola.c b/c/src/lib/libbsp/powerpc/shared/motorola/motorola.c
index a8f6b29929..03c5e03527 100644
--- a/c/src/lib/libbsp/powerpc/shared/motorola/motorola.c
+++ b/c/src/lib/libbsp/powerpc/shared/motorola/motorola.c
@@ -113,12 +113,12 @@ static struct _int_map mtx603_intmap[] = {
static struct _int_map mvme23xx_intmap[] = {
/* Raven Hostbridge; has int_pin == 0
- {0, 0, 0, {{0, {-1,-1,-1,-1}},
+ {0, 0, 0, {{0, {-1,-1,-1,-1}},
NULL_PINMAP}},
*/
/* Winbond PCI/ISA 83c553; has int_pin == 0
- {0, 11, 0, {{0, {-1,-1,-1,-1}},
+ {0, 11, 0, {{0, {-1,-1,-1,-1}},
NULL_PINMAP}},
*/
@@ -156,12 +156,12 @@ static struct _int_map mvme23xx_intmap[] = {
static struct _int_map mvme24xx_intmap[] = {
/* Raven Hostbridge; has int_pin == 0
- {0, 0, 0, {{0, {-1,-1,-1,-1}},
+ {0, 0, 0, {{0, {-1,-1,-1,-1}},
NULL_PINMAP}},
*/
/* Winbond PCI/ISA 83c553; has int_pin == 0
- {0, 11, 0, {{0, {-1,-1,-1,-1}},
+ {0, 11, 0, {{0, {-1,-1,-1,-1}},
NULL_PINMAP}},
*/
@@ -195,12 +195,12 @@ static struct _int_map mvme24xx_intmap[] = {
static struct _int_map mvme27xx_intmap[] = {
/* Raven Hostbridge; has int_pin == 0 */
- {0, 0, 0, {{0, {-1,-1,-1,-1}},
+ {0, 0, 0, {{0, {-1,-1,-1,-1}},
NULL_PINMAP}},
/* Winbond PCI/ISA 83c553; has int_pin == 0 */
- {0, 11, 0, {{0, {-1,-1,-1,-1}},
+ {0, 11, 0, {{0, {-1,-1,-1,-1}},
NULL_PINMAP}},
{0, 13, PCI_FIXUP_OPT_OVERRIDE_NAME,
@@ -369,11 +369,11 @@ motorolaBoard getMotorolaBoard(void)
for (entry = 0; mot_boards[entry].cpu_type != 0; entry++) {
if ((mot_boards[entry].cpu_type & 0xff) != cpu_type)
continue;
-
+
if ((mot_boards[entry].proc_type != PPC_UNKNOWN) &&
(mot_boards[entry].proc_type != proc_type))
/*
- * IMD: processor type does not match
+ * IMD: processor type does not match
* (here we distinguish a MVME2300 and a MVME2400)
*/
continue;
diff --git a/c/src/lib/libbsp/powerpc/shared/motorola/vpd.c b/c/src/lib/libbsp/powerpc/shared/motorola/vpd.c
index e61b9a1bd2..b4cba3f3eb 100644
--- a/c/src/lib/libbsp/powerpc/shared/motorola/vpd.c
+++ b/c/src/lib/libbsp/powerpc/shared/motorola/vpd.c
@@ -8,19 +8,19 @@ VPD = "MOTOROLA" , { field }
field = type, length, { data }
*/
-/*
+/*
* Authorship
* ----------
* This software ('beatnik' RTEMS BSP for MVME6100 and MVME5500) was
* created by Till Straumann <strauman@slac.stanford.edu>, 2005-2007,
* Stanford Linear Accelerator Center, Stanford University.
- *
+ *
* Acknowledgement of sponsorship
* ------------------------------
* The 'beatnik' BSP was produced by
* the Stanford Linear Accelerator Center, Stanford University,
* under Contract DE-AC03-76SFO0515 with the Department of Energy.
- *
+ *
* Government disclaimer of liability
* ----------------------------------
* Neither the United States nor the United States Department of Energy,
@@ -29,18 +29,18 @@ field = type, length, { data }
* completeness, or usefulness of any data, apparatus, product, or process
* disclosed, or represents that its use would not infringe privately owned
* rights.
- *
+ *
* Stanford disclaimer of liability
* --------------------------------
* Stanford University makes no representations or warranties, express or
* implied, nor assumes any liability for the use of this software.
- *
+ *
* Stanford disclaimer of copyright
* --------------------------------
* Stanford University, owner of the copyright, hereby disclaims its
* copyright and all other rights in this software. Hence, anyone may
- * freely use it for any purpose without restriction.
- *
+ * freely use it for any purpose without restriction.
+ *
* Maintenance of notices
* ----------------------
* In the interest of clarity regarding the origin and status of this
@@ -49,9 +49,9 @@ field = type, length, { data }
* or distributed by the recipient and are to be affixed to any copy of
* software made or distributed by the recipient that contains a copy or
* derivative of this software.
- *
+ *
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
- */
+ */
#include <rtems.h>
#include <string.h>
@@ -97,7 +97,7 @@ uint8_t fp[2];
fp[0] = early_fp>>8;
fp[1] = early_fp;
write_bytes(dev,fp,2);
-
+
start(d);
addr(d, BSP_VPD_I2C_ADDR, I2C_READ);
rval = d->ops->read_bytes(d, buf, len);
@@ -119,7 +119,7 @@ int got, rval = 0;
if ( (got = read_bytes(fd, buf+rval, len)) <= 0 )
return -1;
len -= got;
- rval+= got;
+ rval+= got;
}
return rval;
}
@@ -148,7 +148,7 @@ static int (*stop)(int fd);
/*
init(dev);
*
- * Hangs - probably would need a delay here - just leave motload settings
+ * Hangs - probably would need a delay here - just leave motload settings
*/
read_bytes = early_read;
@@ -267,7 +267,7 @@ L2 Cache Configuration : FF FF FF FF FF FF FF FF
VPD Revision : 00 03 00 00
L3 Cache Configuration : 01 01 07 02 03 00 00 00
: 01 00
-
+
diff --git a/c/src/lib/libbsp/powerpc/shared/motorola/vpd.h b/c/src/lib/libbsp/powerpc/shared/motorola/vpd.h
index 30fc20bf2e..61b633f38a 100644
--- a/c/src/lib/libbsp/powerpc/shared/motorola/vpd.h
+++ b/c/src/lib/libbsp/powerpc/shared/motorola/vpd.h
@@ -30,7 +30,7 @@ typedef enum {
L2CacheConfig = 0x0e, /* binary */
VPDRevision = 0x0f, /* binary (4bytes) */
L3CacheConfig = 0x19, /* binary */
- End = 0xff
+ End = 0xff
} VpdKey;
typedef struct {
@@ -43,7 +43,7 @@ typedef struct {
#define VPD_END { key:End, }
-
+
/* Scan the VPD EEPROM for a number of fields
*
@@ -96,19 +96,19 @@ BSP_vpdRetrieveKey(VpdKey k, void *buf, int buflen, int instance);
}
#endif
-/*
+/*
* Authorship
* ----------
* This software ('beatnik' RTEMS BSP for MVME6100 and MVME5500) was
* created by Till Straumann <strauman@slac.stanford.edu>, 2005-2007,
* Stanford Linear Accelerator Center, Stanford University.
- *
+ *
* Acknowledgement of sponsorship
* ------------------------------
* The 'beatnik' BSP was produced by
* the Stanford Linear Accelerator Center, Stanford University,
* under Contract DE-AC03-76SFO0515 with the Department of Energy.
- *
+ *
* Government disclaimer of liability
* ----------------------------------
* Neither the United States nor the United States Department of Energy,
@@ -117,18 +117,18 @@ BSP_vpdRetrieveKey(VpdKey k, void *buf, int buflen, int instance);
* completeness, or usefulness of any data, apparatus, product, or process
* disclosed, or represents that its use would not infringe privately owned
* rights.
- *
+ *
* Stanford disclaimer of liability
* --------------------------------
* Stanford University makes no representations or warranties, express or
* implied, nor assumes any liability for the use of this software.
- *
+ *
* Stanford disclaimer of copyright
* --------------------------------
* Stanford University, owner of the copyright, hereby disclaims its
* copyright and all other rights in this software. Hence, anyone may
- * freely use it for any purpose without restriction.
- *
+ * freely use it for any purpose without restriction.
+ *
* Maintenance of notices
* ----------------------
* In the interest of clarity regarding the origin and status of this
@@ -137,8 +137,8 @@ BSP_vpdRetrieveKey(VpdKey k, void *buf, int buflen, int instance);
* or distributed by the recipient and are to be affixed to any copy of
* software made or distributed by the recipient that contains a copy or
* derivative of this software.
- *
+ *
* ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
- */
+ */
#endif