diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 04:37:44 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-30 04:37:44 +0000 |
commit | ac7af4a359cc51bc06e1bf0ed3314744972b8395 (patch) | |
tree | 7c73805f8b66af9b3082fbde80f6eb70edd966ac /c/src/lib/libbsp/powerpc/mvme3100 | |
parent | 2009-11-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-ac7af4a359cc51bc06e1bf0ed3314744972b8395.tar.bz2 |
Whitespace removal.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme3100')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/flash/flashcfg.c | 18 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/i2c/i2c_init.c | 20 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c.c | 24 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h | 18 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h | 24 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/irq/irq_init.c | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h | 36 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c | 102 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/pci/detect_host_bridge.c | 20 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/start/start.S | 6 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c | 16 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c | 18 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h | 18 |
14 files changed, 163 insertions, 163 deletions
diff --git a/c/src/lib/libbsp/powerpc/mvme3100/flash/flashcfg.c b/c/src/lib/libbsp/powerpc/mvme3100/flash/flashcfg.c index 6451a20976..7da2be2079 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/flash/flashcfg.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/flash/flashcfg.c @@ -2,20 +2,20 @@ /* BSP-specific bits of flash programmer support */ -/* +/* * Authorship * ---------- * This software ('mvme3100' RTEMS BSP) was created by * * Till Straumann <strauman@slac.stanford.edu>, 2005-2007, * Stanford Linear Accelerator Center, Stanford University. - * + * * Acknowledgement of sponsorship * ------------------------------ * The 'mvme3100' 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, @@ -24,18 +24,18 @@ * 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 @@ -44,9 +44,9 @@ * 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 <bsp.h> #include <libcpu/spr.h> diff --git a/c/src/lib/libbsp/powerpc/mvme3100/i2c/i2c_init.c b/c/src/lib/libbsp/powerpc/mvme3100/i2c/i2c_init.c index 6e9e49eb65..ce0b834a1c 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/i2c/i2c_init.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/i2c/i2c_init.c @@ -2,20 +2,20 @@ /* Register i2c bus driver & devices */ -/* +/* * Authorship * ---------- * This software ('mvme3100' RTEMS BSP) was created by * * Till Straumann <strauman@slac.stanford.edu>, 2005-2007, * Stanford Linear Accelerator Center, Stanford University. - * + * * Acknowledgement of sponsorship * ------------------------------ * The 'mvme3100' 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, @@ -24,18 +24,18 @@ * 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 @@ -44,9 +44,9 @@ * 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 <bsp.h> @@ -92,7 +92,7 @@ int busno, succ = 0; safe_printf("Initializing I2C library failed\n"); return -1; } - + /* Register our bus driver */ if ( (busno=rtems_libi2c_register_bus( BSP_I2C_BUS0_NAME, diff --git a/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c.c b/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c.c index 1c57f5723e..e3f2524ea6 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c.c @@ -1,19 +1,19 @@ /* I2C bus driver for mpc8540-based boards */ -/* +/* * Authorship * ---------- * This software ('mvme3100' RTEMS BSP) was created by * * Till Straumann <strauman@slac.stanford.edu>, 2005-2007, * Stanford Linear Accelerator Center, Stanford University. - * + * * Acknowledgement of sponsorship * ------------------------------ * The 'mvme3100' 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, @@ -22,18 +22,18 @@ * 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 @@ -42,9 +42,9 @@ * 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 - */ + */ /* Note: We maintain base address, IRQ etc. statically and * globally. We don't bother creating driver-specific @@ -64,7 +64,7 @@ #include "mpc8540_i2c_busdrv.h" -#define STATIC +#define STATIC /* I2C controller register definitions */ #define I2CADR 0x3000 @@ -205,7 +205,7 @@ i2c_xfer(int rw, uint8_t *buf, int len) { int i; rtems_status_code sc; - + if ( rw ) { i2c_clr( I2CCR, I2CCR_MTX ); } else { @@ -233,7 +233,7 @@ rtems_status_code sc; return i; } -/* +/* * This bus controller gives us lagging data, i.e., * when we read a byte from the data reg then that * issues a read cycle on the bus and gives us the diff --git a/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h b/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h index 96921c19d8..7ebebb0b00 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/i2c/mpc8540_i2c_busdrv.h @@ -1,20 +1,20 @@ #ifndef MPC8540_I2C_BUS_DRIVER_H #define MPC8540_I2C_BUS_DRIVER_H -/* +/* * Authorship * ---------- * This software ('mvme3100' RTEMS BSP) was created by * * Till Straumann <strauman@slac.stanford.edu>, 2005-2007, * Stanford Linear Accelerator Center, Stanford University. - * + * * Acknowledgement of sponsorship * ------------------------------ * The 'mvme3100' 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, @@ -23,18 +23,18 @@ * 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 @@ -43,9 +43,9 @@ * 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 - */ + */ #ifdef __cplusplus extern "C" { diff --git a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h index 115750fb0c..664cdf9003 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/include/bsp.h @@ -26,7 +26,7 @@ * confdefs.h overrides for this BSP: */ #define CONFIGURE_MALLOC_BSP_SUPPORTS_SBRK - + #define BSP_INTERRUPT_STACK_SIZE (16 * 1024) /* @@ -47,11 +47,11 @@ * NOTE: VME addresses should NEVER be translated using these constants! * they are strictly for BSP internal use. Drivers etc. should use * the translation routines int VME.h (BSP_vme2local_adrs/BSP_local2vme_adrs). - * + * * CPU ADDR PCI_ADDR VME ADDR - * + * * 00000000 XXXXXXXX XXXXXXXX - * ^ ^ ........ + * ^ ^ ........ * | | * | | e.g., RAM XXXXXXXX * | | 00000000 @@ -74,18 +74,18 @@ * VME devices hostbridge mapped by * visible here universe * ===================================================== - * + * */ /* fundamental addresses for BSP (CHRPxxx and PREPxxx are from libcpu/io.h) */ -#define _IO_BASE 0xe0000000 /* Motload's PCI IO base */ +#define _IO_BASE 0xe0000000 /* Motload's PCI IO base */ #define _ISA_MEM_BASE CHRP_ISA_MEM_BASE /* address of our ram on the PCI bus */ #define PCI_DRAM_OFFSET CHRP_PCI_DRAM_OFFSET /* offset of pci memory as seen from the CPU */ #define PCI_MEM_BASE 0 /* where (in CPU addr. space) does the PCI window start */ -#define PCI_MEM_WIN0 0x80000000 +#define PCI_MEM_WIN0 0x80000000 /* * Base address definitions for several devices @@ -117,7 +117,7 @@ #define BSP_USR1_I2C_ADDR (0xA6>>1) /* the 2nd user EEPROM */ #define BSP_THM_I2C_ADDR (0x90>>1) /* the DS1621 temperature sensor & thermostat */ #define BSP_RTC_I2C_ADDR (0xD0>>1) /* the DS1375 wall-clock */ - + #define BSP_I2C_BUS_DESCRIPTOR mpc8540_i2c_bus_descriptor #define BSP_I2C_BUS0_NAME "/dev/i2c0" @@ -152,7 +152,7 @@ #ifdef __cplusplus extern "C" { #endif -/* Initialize the I2C driver and register all devices +/* Initialize the I2C driver and register all devices * RETURNS 0 on success, -1 on error. * * Access to the VPD and user EEPROMS as well @@ -165,15 +165,15 @@ extern "C" { * /dev/i2c0.ds1621 (read-only; one byte: board-temp in degC) * /dev/i2c0.ds1621-raw (read-write; transfer bytes to/from the ds1621) * /dev/i2c0.ds1375-raw (read-write; transfer bytes to/from the ds1375) - * + * */ int BSP_i2c_initialize(); /* System Control Register */ #define BSP_MVME3100_SYS_CR ((volatile uint8_t *)0xe2000001) -#define BSP_MVME3100_SYS_CR_RESET_MSK (7<<5) -#define BSP_MVME3100_SYS_CR_RESET (5<<5) +#define BSP_MVME3100_SYS_CR_RESET_MSK (7<<5) +#define BSP_MVME3100_SYS_CR_RESET (5<<5) #define BSP_MVME3100_SYS_CR_EEPROM_WP (1<<1) #define BSP_MVME3100_SYS_CR_TSTAT_MSK (1<<0) diff --git a/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h b/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h index d7002527e9..4c982712d6 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/irq/irq.h @@ -97,7 +97,7 @@ extern "C" { #define BSP_UART_COM2_IRQ (BSP_CORE_IRQ_LOWEST_OFFSET + 26) #define BSP_I2C_IRQ (BSP_CORE_IRQ_LOWEST_OFFSET + 27) -/* +/* * Some internal (CORE) name definitions */ /* Ethernet (FEC) */ diff --git a/c/src/lib/libbsp/powerpc/mvme3100/irq/irq_init.c b/c/src/lib/libbsp/powerpc/mvme3100/irq/irq_init.c index 58f364b462..24eedccab9 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/irq/irq_init.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/irq/irq_init.c @@ -73,7 +73,7 @@ void BSP_rtems_irq_mng_init(unsigned cpuId) unsigned char pol[56]; int i; - /* Note: The openpic driver initializes only as many + /* Note: The openpic driver initializes only as many * 'pic-external' interrupt sources as reported * by the feature register. * The 8540's openpic supports 12 core-external @@ -103,7 +103,7 @@ void BSP_rtems_irq_mng_init(unsigned cpuId) * to 'low/0' will disable the interrupt but * I found this not to be true: on the device * I tested the interrupt was asserted hard. - */ + */ /* core-external sources on the mvme3100 are active-low, * core-internal sources are active high. diff --git a/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h b/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h index f0a6f586e3..f84c760cd0 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h @@ -1,20 +1,20 @@ #ifndef IF_TSEC_PUBLIC_INTERFACE_H #define IF_TSEC_PUBLIC_INTERFACE_H -/* +/* * Authorship * ---------- * This software ('mvme3100' RTEMS BSP) was created by * * Till Straumann <strauman@slac.stanford.edu>, 2005-2007, * Stanford Linear Accelerator Center, Stanford University. - * + * * Acknowledgement of sponsorship * ------------------------------ * The 'mvme3100' 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, @@ -23,18 +23,18 @@ * 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 @@ -43,9 +43,9 @@ * 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 <stdio.h> @@ -87,8 +87,8 @@ struct tsec_private; * by BSP_tsec_send_buf() earlier. The callback is passed 'cleanup_txbuf_arg' * and a flag indicating whether the send had been successful. * The driver no longer accesses 'user_buf' after invoking this callback. - * CONTEXT: This callback is executed either by BSP_tsec_swipe_tx() or - * BSP_tsec_send_buf(), BSP_tsec_init_hw(), BSP_tsec_stop_hw() (the latter + * CONTEXT: This callback is executed either by BSP_tsec_swipe_tx() or + * BSP_tsec_send_buf(), BSP_tsec_init_hw(), BSP_tsec_stop_hw() (the latter * ones calling BSP_tsec_swipe_tx()). * void *cleanup_txbuf_arg: * Closure argument that is passed on to 'cleanup_txbuf()' callback; @@ -106,7 +106,7 @@ struct tsec_private; * instead of handing it out to 'consume_rxbuf()'. * CONTEXT: Called when initializing the RX ring (BSP_tsec_init_hw()) or when * swiping it (BSP_tsec_swipe_rx()). - * + * * * void (*consume_rxbuf)(void *user_buf, void *consume_rxbuf_arg, int len); * Pointer to user-supplied callback to pass a received buffer back to @@ -141,7 +141,7 @@ struct tsec_private * BSP_tsec_setup( int unit, rtems_id driver_tid, - void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), + void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), void * cleanup_txbuf_arg, void * (*alloc_rxbuf)(int *p_size, uintptr_t *p_data_addr), void (*consume_rxbuf)(void *user_buf, void *consume_rxbuf_arg, int len), @@ -162,7 +162,7 @@ BSP_tsec_setup_1( int unit, void (*isr)(void *isr_arg), void * isr_arg, - void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), + void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), void * cleanup_txbuf_arg, void * (*alloc_rxbuf)(int *p_size, uintptr_t *p_data_addr), void (*consume_rxbuf)(void *user_buf, void *consume_rxbuf_arg, int len), @@ -195,7 +195,7 @@ BSP_tsec_reset_stats(struct tsec_private *mp); /* * Initialize interface hardware * - * 'mp' handle obtained by from BSP_tsec_setup(). + * 'mp' handle obtained by from BSP_tsec_setup(). * 'promisc' whether to set promiscuous flag. * 'enaddr' pointer to six bytes with MAC address. Read * from the device if NULL. @@ -228,7 +228,7 @@ BSP_tsec_mcast_filter_accept_all(struct tsec_private *mp); * Add a MAC address to the multicast filter and increment * the reference count for the matching hash-table entry * (see BSP_tsec_mcast_filter_accept_del()). - * + * * Existing entries are not changed but note that * the filter is imperfect, i.e., multiple MAC addresses * may alias to a single filter entry. Hence software @@ -405,7 +405,7 @@ BSP_tsec_disable_irq_mask(struct tsec_private *mp, uint32_t irq_mask); /* Acknowledge and clear selected interrupts. * * RETURNS: All pending interrupts. - * + * * NOTE: Only pending interrupts contained in 'mask' * are cleared. Others are left pending. * @@ -427,7 +427,7 @@ BSP_tsec_get_tid(struct tsec_private *mp); struct tsec_private * BSP_tsec_getp(unsigned index); -/* +/* * * Example driver task loop (note: no synchronization of * buffer access shown!). diff --git a/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c b/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c index 1b54688128..2a6b568403 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/network/tsec.c @@ -1,17 +1,17 @@ -/* +/* * Authorship * ---------- * This software ('mvme3100' RTEMS BSP) was created by * * Till Straumann <strauman@slac.stanford.edu>, 2005-2007, * Stanford Linear Accelerator Center, Stanford University. - * + * * Acknowledgement of sponsorship * ------------------------------ * The 'mvme3100' 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, @@ -20,18 +20,18 @@ * 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 @@ -40,9 +40,9 @@ * 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 <rtems/error.h> @@ -219,7 +219,7 @@ void tsec_dump_rring(struct tsec_private *mp); /* * Misuse reserved bit 4 to flag link interrupts * (which are totally external to the TSEC). - * Because reading the MII is so slow we don't + * Because reading the MII is so slow we don't * want to poll MII unnecessarily from RX/TX ISRs */ #define TSEC_LINK_INTR (1<<(31- 4)) @@ -232,7 +232,7 @@ void tsec_dump_rring(struct tsec_private *mp); #define TSEC_IEVENT_TXF (1<<(31-11)) #define TSEC_IEVENT_LC (1<<(31-13)) #define TSEC_IEVENT_CRLXDA (1<<(31-14)) -#define TSEC_IEVENT_XFUN (1<<(31-15)) +#define TSEC_IEVENT_XFUN (1<<(31-15)) #define TSEC_IEVENT_RXB (1<<(31-16)) #define TSEC_IEVENT_GRSC (1<<(31-23)) #define TSEC_IEVENT_RXF (1<<(31-24)) @@ -264,7 +264,7 @@ void tsec_dump_rring(struct tsec_private *mp); #define TSEC_IMASK_TXFEN (1<<(31-11)) #define TSEC_IMASK_LCEN (1<<(31-13)) #define TSEC_IMASK_CRLXDAEN (1<<(31-14)) -#define TSEC_IMASK_XFUNEN (1<<(31-15)) +#define TSEC_IMASK_XFUNEN (1<<(31-15)) #define TSEC_IMASK_RXBEN (1<<(31-16)) #define TSEC_IMASK_GRSCEN (1<<(31-23)) #define TSEC_IMASK_RXFEN (1<<(31-24)) @@ -341,7 +341,7 @@ void tsec_dump_rring(struct tsec_private *mp); #define TSEC_IPGIFG 0x508 #define TSEC_HAFDUP 0x50c #define TSEC_MAXFRM 0x510 -#define TSEC_MIIMCFG 0x520 /* TSEC only */ +#define TSEC_MIIMCFG 0x520 /* TSEC only */ #define TSEC_MIIMCOM 0x524 /* TSEC only */ #define TSEC_MIIMCOM_SCAN (1<<(31-30)) #define TSEC_MIIMCOM_READ (1<<(31-31)) @@ -532,7 +532,7 @@ static inline void st_be32(volatile uint32_t *a, uint32_t v) #ifdef SW_COHERENCY #error "SW_COHERENCY not implemented" -/* Note: maintaining BD coherency in software is not trivial +/* Note: maintaining BD coherency in software is not trivial * because BDs are smaller than a cache line; * we cannot pad a BD to the length of a cache line because * the TSEC assumes BDs layed out sequentially in memory. @@ -540,7 +540,7 @@ static inline void st_be32(volatile uint32_t *a, uint32_t v) * line either because the manual says that the length * field of a TX BD must not be zero. * - * We probably would need MMU resources to map BDs + * We probably would need MMU resources to map BDs * as non-cachable. * * Maintaining buffer coherency would be easier: @@ -659,7 +659,7 @@ struct tsec_private { * connected to mii bus of 1st controller. */ unsigned phy; /* Phy address on mii bus */ - unsigned unit; /* Driver instance (one-based */ + unsigned unit; /* Driver instance (one-based */ int isfec; /* Set if a FEC (not TSEC) controller */ struct tsec_softc *sc; /* Pointer to BSD driver struct */ TSEC_BD *ring_area; /* Not necessarily aligned */ @@ -727,12 +727,12 @@ typedef struct tsec_bsp_config { /********** Global Variables ********************/ /* You may override base addresses - * externally - but you must + * externally - but you must * then also define TSEC_NUM_DRIVER_SLOTS. */ #ifndef TSEC_CONFIG -static TsecBspConfig tsec_config[] = +static TsecBspConfig tsec_config[] = { { base: BSP_8540_CCSR_BASE + 0x24000, @@ -896,7 +896,7 @@ FEC_Enet_Base b = mp->base; * the PHY ISR is not hooked yet and there can be no * interrupts... */ - if ( tsec_mtx ) + if ( tsec_mtx ) #endif phy_dis_irq_at_phy( mp ); @@ -918,7 +918,7 @@ FEC_Enet_Base b = mp->base; /* wait for > 8ms */ rtems_task_wake_after(1); - + /* set GRS if not already stopped */ if ( ! (TSEC_DMACTRL_GRS & fec_rd(b, TSEC_DMACTRL)) ) { /* Make sure GRSC is clear */ @@ -947,7 +947,7 @@ install_remove_isrs(int install, struct tsec_private *mp, uint32_t irq_mask) xxx.on = noop; xxx.off = noop; - xxx.isOn = nopf; + xxx.isOn = nopf; xxx.handle = mp; if ( irq_mask & TSEC_TXIRQ ) { @@ -965,7 +965,7 @@ install_remove_isrs(int install, struct tsec_private *mp, uint32_t irq_mask) if ( (line = TSEC_CONFIG[unit-1].rirq) < 0 && ! installed ) { /* have no dedicated RX IRQ line; install TX ISR if not already done */ line = TSEC_CONFIG[unit-1].xirq; - } + } xxx.name = line; xxx.hdl = tsec_risr; if ( ! (install ? @@ -979,7 +979,7 @@ install_remove_isrs(int install, struct tsec_private *mp, uint32_t irq_mask) if ( (line = TSEC_CONFIG[unit-1].eirq) < 0 && ! installed ) { /* have no dedicated RX IRQ line; install TX ISR if not already done */ line = TSEC_CONFIG[unit-1].xirq; - } + } xxx.name = line; xxx.hdl = tsec_eisr; if ( ! (install ? @@ -1010,8 +1010,8 @@ install_remove_isrs(int install, struct tsec_private *mp, uint32_t irq_mask) * by BSP_tsec_send_buf() earlier. The callback is passed 'cleanup_txbuf_arg' * and a flag indicating whether the send had been successful. * The driver no longer accesses 'user_buf' after invoking this callback. - * CONTEXT: This callback is executed either by BSP_tsec_swipe_tx() or - * BSP_tsec_send_buf(), BSP_tsec_init_hw(), BSP_tsec_stop_hw() (the latter + * CONTEXT: This callback is executed either by BSP_tsec_swipe_tx() or + * BSP_tsec_send_buf(), BSP_tsec_init_hw(), BSP_tsec_stop_hw() (the latter * ones calling BSP_tsec_swipe_tx()). * void *cleanup_txbuf_arg: * Closure argument that is passed on to 'cleanup_txbuf()' callback; @@ -1029,7 +1029,7 @@ install_remove_isrs(int install, struct tsec_private *mp, uint32_t irq_mask) * instead of handing it out to 'consume_rxbuf()'. * CONTEXT: Called when initializing the RX ring (BSP_tsec_init_hw()) or when * swiping it (BSP_tsec_swipe_rx()). - * + * * * void (*consume_rxbuf)(void *user_buf, void *consume_rxbuf_arg, int len); * Pointer to user-supplied callback to pass a received buffer back to @@ -1067,7 +1067,7 @@ tsec_setup_internal( rtems_id driver_tid, void (*isr)(void *), void * isr_arg, - void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), + void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), void * cleanup_txbuf_arg, void * (*alloc_rxbuf)(int *p_size, uintptr_t *p_data_addr), void (*consume_rxbuf)(void *user_buf, void *consume_rxbuf_arg, int len), @@ -1145,7 +1145,7 @@ struct ifnet *ifp; M_DEVBUF, M_WAIT ); assert( mp->tx_ring_user ); - + mp->rx_ring_user = mp->tx_ring_user + mp->tx_ring_size; /* Initialize TX ring */ @@ -1208,7 +1208,7 @@ struct ifnet *ifp; /* another task was faster installing the mutex */ rtems_semaphore_delete( new_mtx ); } - + } #endif @@ -1228,7 +1228,7 @@ struct tsec_private * BSP_tsec_setup( int unit, rtems_id driver_tid, - void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), + void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), void * cleanup_txbuf_arg, void * (*alloc_rxbuf)(int *p_size, uintptr_t *p_data_addr), void (*consume_rxbuf)(void *user_buf, void *consume_rxbuf_arg, int len), @@ -1260,7 +1260,7 @@ BSP_tsec_setup_1( int unit, void (*isr)(void*), void * isr_arg, - void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), + void (*cleanup_txbuf)(void *user_buf, void *cleanup_txbuf_arg, int error_on_tx_occurred), void * cleanup_txbuf_arg, void * (*alloc_rxbuf)(int *p_size, uintptr_t *p_data_addr), void (*consume_rxbuf)(void *user_buf, void *consume_rxbuf_arg, int len), @@ -1329,7 +1329,7 @@ int media = IFM_MAKEWORD(0, 0, 0, 0); /* * Initialize interface hardware * - * 'mp' handle obtained by from BSP_tsec_setup(). + * 'mp' handle obtained by from BSP_tsec_setup(). * 'promisc' whether to set promiscuous flag. * 'enaddr' pointer to six bytes with MAC address. Read * from the device if NULL. @@ -1360,7 +1360,7 @@ int sz; } if ( data_area & (RX_BUF_ALIGNMENT-1) ) rtems_panic(DRVNAME": RX buffers must be %i-byte aligned", RX_BUF_ALIGNMENT); - + bd_wrbuf( &mp->rx_ring[i], data_area ); st_be16 ( &mp->rx_ring[i].len, sz ); bd_setfl( &mp->rx_ring[i], TSEC_RXBD_E | TSEC_RXBD_I ); @@ -1407,7 +1407,7 @@ int sz; */ fec_wr( b, TSEC_TXIC, 0); } - fec_wr( b, TSEC_OSTBD, 0 ); + fec_wr( b, TSEC_OSTBD, 0 ); fec_wr( b, TSEC_RCTRL, (promisc ? TSEC_RCTRL_PROM : 0) ); fec_wr( b, TSEC_RSTAT, TSEC_RSTAT_QHLT ); if ( !mp->isfec ) { @@ -1484,7 +1484,7 @@ int sz; /* enable PHY irq (MII operation, slow) */ phy_en_irq_at_phy (mp ); } - + BSP_tsec_enable_irq_mask( mp, mp->irq_mask ); } @@ -1631,7 +1631,7 @@ unsigned i; /* should be OK to clear all ownership flags */ for ( i=0; i<mp->tx_ring_size; i++ ) { bd_clrfl( &mp->tx_ring[i], TSEC_TXBD_R ); - } + } BSP_tsec_swipe_tx(mp); #if DEBUG > 0 tsec_dump_tring(mp); @@ -1835,7 +1835,7 @@ startover: #endif bd_wrbuf( bd, 0 ); bd_clrfl( bd, TSEC_TXBD_R | TSEC_TXBD_L ); - + mp->tx_avail++; } mp->tx_avail++; @@ -1872,7 +1872,7 @@ startover: if ( d == t ) { tsec_dump_tring(mp); printf("l %i, d %i, t %i, nmbs %i\n", l,d,t, nmbs); - } else + } else assert( d != t ); assert( ! bd_rdbuf( &mp->tx_ring[d] ) ); #endif @@ -1949,7 +1949,7 @@ void *newbuf; int sz; uint16_t len; uintptr_t baddr; - + i = mp->rx_tail; bd = mp->rx_ring + i; flags = bd_rdfl( bd ); @@ -1994,7 +1994,7 @@ uintptr_t baddr; rval++; - i = NEXT_RXI( mp, i ); + i = NEXT_RXI( mp, i ); bd = mp->rx_ring + i; flags = bd_rdfl( bd ); } @@ -2014,7 +2014,7 @@ union { uint16_t s[2]; uint8_t c[4]; } x; - st_le32( (volatile uint32_t *)(eaddr+2), fec_rd(mp->base, TSEC_MACSTNADDR1) ); + st_le32( (volatile uint32_t *)(eaddr+2), fec_rd(mp->base, TSEC_MACSTNADDR1) ); x.u = fec_rd(mp->base, TSEC_MACSTNADDR2); st_le16( (volatile uint16_t *)(eaddr), x.s[0]); } @@ -2401,7 +2401,7 @@ BSP_tsec_getp(unsigned index) return & theTsecEths[index].pvt; } -/* +/* * * Example driver task loop (note: no synchronization of * buffer access shown!). @@ -2462,7 +2462,7 @@ unsigned long l,o; m->m_len = m->m_pkthdr.len = l; *psz = m->m_len; - *paddr = mtod(m, unsigned long); + *paddr = mtod(m, unsigned long); return (void*) m; } @@ -2489,7 +2489,7 @@ struct mbuf *m = buf; ifp->if_ipackets++; ifp->if_ibytes += m->m_pkthdr.len; - + /* send buffer upwards */ if (0) { /* Low-level debugging */ @@ -2658,7 +2658,7 @@ int f; case SIOCSIFMEDIA: error = BSP_tsec_media_ioctl(&sc->pvt, cmd, &ifr->ifr_media); break; - + case SIOCADDMULTI: case SIOCDELMULTI: error = (cmd == SIOCADDMULTI) @@ -2831,7 +2831,7 @@ struct ifnet *ifp; /* * While nonzero, the 'if->if_timer' is decremented * (by the networking code) at a rate of IFNET_SLOWHZ (1hz) and 'if_watchdog' - * is called when it expires. + * is called when it expires. * If either of those fields is 0 the feature is disabled. */ ifp->if_watchdog = tsec_watchdog; @@ -2947,7 +2947,7 @@ struct ifnet *ifp; #define PHY_IRQS ( BCM54xx_IRQ_LNK | BCM54xx_IRQ_SPD | BCM54xx_IRQ_DUP ) -static void +static void phy_en_irq_at_phy( struct tsec_private *mp ) { uint32_t ecr; @@ -2959,7 +2959,7 @@ uint32_t ecr; REGUNLOCK(); } -static void +static void phy_dis_irq_at_phy( struct tsec_private *mp ) { uint32_t ecr; @@ -3109,7 +3109,7 @@ void cleanup_txbuf_test(void *u, void *a, int err) { printf("cleanup_txbuf_test (releasing buf 0x%8p)\n", u); free(u); - if ( err ) + if ( err ) printf("cleanup_txbuf_test: an error was detected\n"); } @@ -3135,7 +3135,7 @@ uintptr_t d = (uintptr_t)ALIGNTO(user_buf,RX_BUF_ALIGNMENT); /* PRIxPTR is still broken */ printf("consuming rx buf 0x%8p (data@ 0x%08"PRIx32")\n",user_buf, (uint32_t)d); - if ( len > 32 ) + if ( len > 32 ) len = 32; if ( len < 0 ) printf("consume_rxbuf_test: ERROR occurred: 0x%x\n", len); @@ -3158,7 +3158,7 @@ void * tsec_up() struct tsec_private *tsec = BSP_tsec_setup( 1, 0, cleanup_txbuf_test, 0, - alloc_rxbuf_test, + alloc_rxbuf_test, consume_rxbuf_test, 0, 2, 2, diff --git a/c/src/lib/libbsp/powerpc/mvme3100/pci/detect_host_bridge.c b/c/src/lib/libbsp/powerpc/mvme3100/pci/detect_host_bridge.c index 56c16e7f07..92e2244171 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/pci/detect_host_bridge.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/pci/detect_host_bridge.c @@ -2,20 +2,20 @@ /* PCI Initialization */ -/* +/* * Authorship * ---------- * This software ('mvme3100' RTEMS BSP) was created by * * Till Straumann <strauman@slac.stanford.edu>, 2005-2007, * Stanford Linear Accelerator Center, Stanford University. - * + * * Acknowledgement of sponsorship * ------------------------------ * The 'mvme3100' 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, @@ -24,18 +24,18 @@ * 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 @@ -44,9 +44,9 @@ * 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 <bsp.h> #include <bsp/pci.h> @@ -86,7 +86,7 @@ dump_dev_cb( int dev, int fun, void *uarg -) +) { uint16_t vi,di; uint16_t cd,st; diff --git a/c/src/lib/libbsp/powerpc/mvme3100/start/start.S b/c/src/lib/libbsp/powerpc/mvme3100/start/start.S index dbbe5f69c7..bfbe4d321c 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/start/start.S +++ b/c/src/lib/libbsp/powerpc/mvme3100/start/start.S @@ -6,7 +6,7 @@ * The license and distribution terms for this file may be * found in found in the file LICENSE in this distribution or at * http://www.rtems.com/license/LICENSE. - * + * * Modified for mvme3100 by T. Straumann, 2007. * * $Id$ @@ -45,7 +45,7 @@ __rtems_entry_point: * mapping a possible larger area as memory (not-guarded, caching-enabled) * than actual physical memory is available. * In case of speculative loads this may cause 'memory-select' errors - * which seem to raise 'core_fault_in' (found no description in + * which seem to raise 'core_fault_in' (found no description in * the manual but I experienced this problem). * Such errors (if HID1[RFXE] is clear) may *stall* execution * leading to mysterious 'hangs'. @@ -79,7 +79,7 @@ __rtems_entry_point: li r5, (CPU_STACK_ALIGNMENT - 1) andc r1, r9, r5 /* - * We are now in a environment that is totally independent from + * We are now in a environment that is totally independent from * bootloader setup. */ /* pass result of 'save_boot_params' to 'boot_card' in R3 */ diff --git a/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c index 65da976c7f..69d3569ea9 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/startup/bspstart.c @@ -28,13 +28,13 @@ #include <libcpu/spr.h> #include <libcpu/io.h> #include <libcpu/e500_mmu.h> -#include <bsp/uart.h> -#include <bsp/irq.h> -#include <bsp/pci.h> +#include <bsp/uart.h> +#include <bsp/irq.h> +#include <bsp/pci.h> #include <bsp/vpd.h> #include <libcpu/cpuIdent.h> #include <bsp/vectors.h> -#include <rtems/powerpc/powerpc.h> +#include <rtems/powerpc/powerpc.h> #define SHOW_MORE_INIT_SETTINGS #undef DEBUG @@ -68,11 +68,11 @@ uint32_t bsp_clicks_per_usec = 0; * Total memory using RESIDUAL DATA */ unsigned int BSP_mem_size = 0; -/* +/* * PCI Bus Frequency */ unsigned int BSP_pci_bus_frequency = 0xdeadbeef; -/* +/* * PPC Bus Frequency */ unsigned int BSP_bus_frequency = 0; @@ -250,7 +250,7 @@ VpdBufRec vpdData [] = { /* * Get CPU identification dynamically. Note that the get_ppc_cpu_type() - * function store the result in global variables so that it can be used + * function store the result in global variables so that it can be used * later... */ myCpu = get_ppc_cpu_type(); @@ -412,7 +412,7 @@ VpdBufRec vpdData [] = { if (0) { asm volatile("mtmsr %0"::"r"(msr|0x8000)); for (i=0; i<12; i++) - BSP_enable_irq_at_pic(i); + BSP_enable_irq_at_pic(i); printk("IRQS enabled\n"); } } diff --git a/c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c b/c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c index 7a18df3362..5cd26d7749 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c +++ b/c/src/lib/libbsp/powerpc/mvme3100/startup/misc.c @@ -2,20 +2,20 @@ /* Miscellaneous small BSP routines; reboot, board CSR, ... */ -/* +/* * Authorship * ---------- * This software ('mvme3100' RTEMS BSP) was created by * * Till Straumann <strauman@slac.stanford.edu>, 2005-2007, * Stanford Linear Accelerator Center, Stanford University. - * + * * Acknowledgement of sponsorship * ------------------------------ * The 'mvme3100' 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, @@ -24,18 +24,18 @@ * 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 @@ -44,9 +44,9 @@ * 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 <bsp.h> diff --git a/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h b/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h index 3366efab41..4c7d9b076c 100644 --- a/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h +++ b/c/src/lib/libbsp/powerpc/mvme3100/vme/VMEConfig.h @@ -4,19 +4,19 @@ /* mvme3100 BSP specific address space configuration parameters */ -/* +/* * Authorship * ---------- * This software was created by * Till Straumann <strauman@slac.stanford.edu>, 2002..2007, * Stanford Linear Accelerator Center, Stanford University. - * + * * Acknowledgement of sponsorship * ------------------------------ * This software 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, @@ -25,18 +25,18 @@ * 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 @@ -45,9 +45,9 @@ * 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 - */ + */ /* * NOTE: the BSP (startup/bspstart.c) uses |