diff options
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mvme3100/network/if_tsec_pub.h | 36 |
1 files changed, 18 insertions, 18 deletions
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!). |