diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme167')
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/clock/ckinit.c | 8 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/console/console-recording.h | 19 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/console/console.c | 28 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/include/bsp.h | 8 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/network/network.c | 55 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/network/uti596.h | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c | 2 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/startup/page_table.c | 1 | ||||
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/timer/timer.c | 3 |
10 files changed, 0 insertions, 126 deletions
diff --git a/c/src/lib/libbsp/m68k/mvme167/clock/ckinit.c b/c/src/lib/libbsp/m68k/mvme167/clock/ckinit.c index b2576028d8..a4c28bce50 100644 --- a/c/src/lib/libbsp/m68k/mvme167/clock/ckinit.c +++ b/c/src/lib/libbsp/m68k/mvme167/clock/ckinit.c @@ -58,7 +58,6 @@ rtems_device_minor_number rtems_clock_minor; */ volatile uint32_t Clock_driver_ticks; - /* * Clock_isrs is the number of clock ISRs until the next invocation of the * RTEMS clock tick routine. This clock tick device driver gets an interrupt @@ -70,19 +69,16 @@ volatile uint32_t Clock_driver_ticks; */ uint32_t Clock_isrs; - /* * Records the previous clock ISR (should be NULL) */ rtems_isr_entry Old_ticker; - /* * Called when the kernel exits. */ void clock_exit( void ); - /* * VMEchip2_T2_isr * @@ -132,7 +128,6 @@ rtems_isr VMEchip2_T2_isr( Clock_isrs -= overflow; } - /* * VMEchip2_T2_initialize * @@ -171,7 +166,6 @@ void VMEchip2_T2_initialize( void ) atexit( clock_exit ); /* Turn off T2 interrupts when we exit */ } - /* * clock_exit * @@ -194,7 +188,6 @@ void clock_exit( void ) set_vector( Old_ticker, CLOCK_VECTOR, 1 ); } - /* * Clock_initialize() * prototyped in rtems/c/src/lib/include/clockdrv.h. @@ -229,7 +222,6 @@ rtems_device_driver Clock_initialize( return RTEMS_SUCCESSFUL; } - /* * Clock_control(). * Prototyped in rtems/c/src/lib/include/clockdrv.h diff --git a/c/src/lib/libbsp/m68k/mvme167/console/console-recording.h b/c/src/lib/libbsp/m68k/mvme167/console/console-recording.h index 9aa0d597b8..f4c1eae9aa 100644 --- a/c/src/lib/libbsp/m68k/mvme167/console/console-recording.h +++ b/c/src/lib/libbsp/m68k/mvme167/console/console-recording.h @@ -24,7 +24,6 @@ #define CD2401_RECORD_DRAIN_OUTPUT #define CD2401_RECORD_DELAY - /* Call the data recording functions */ #ifdef CD2401_RECORD_WRITE #define CD2401_RECORD_WRITE_INFO( args ) cd2401_record_write_info args @@ -104,7 +103,6 @@ #define CD2401_RECORD_DELAY_INFO( args ) #endif - /* Define the data and the recording functions */ #define CD2401_DEBUG_BUFFER_SIZE 256 #define CD2401_DEBUG_CHAR_BUFSIZE 64 @@ -124,7 +122,6 @@ #define CD2401_DRAIN_OUTPUT_INFO 14 #define CD2401_DELAY_INFO 15 - struct cd2401_debug_info { short discriminant; short record_size; @@ -244,7 +241,6 @@ int cd2401_get_record_size( return size + 4; } - void cd2401_record_write_info( int len, const char * buf, @@ -266,7 +262,6 @@ void cd2401_record_write_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_tx_isr_info( unsigned char ch, unsigned char status, @@ -288,7 +283,6 @@ void cd2401_record_tx_isr_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_tx_isr_spurious_info( unsigned char ch, unsigned char status, @@ -312,7 +306,6 @@ void cd2401_record_tx_isr_spurious_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_tx_isr_buserr_info( unsigned char ch, unsigned char status, @@ -336,7 +329,6 @@ void cd2401_record_tx_isr_buserr_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_rx_isr_info( unsigned char ch, unsigned char total, @@ -357,7 +349,6 @@ void cd2401_record_rx_isr_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_rx_isr_spurious_info( unsigned char ch, unsigned char status, @@ -377,7 +368,6 @@ void cd2401_record_rx_isr_spurious_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_re_isr_spurious_info( unsigned char ch, uint32_t spur_dev, @@ -395,7 +385,6 @@ void cd2401_record_re_isr_spurious_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_modem_isr_spurious_info( unsigned char ch, uint32_t spur_dev, @@ -413,7 +402,6 @@ void cd2401_record_modem_isr_spurious_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_first_open_info( unsigned char ch, uint8_t init_count @@ -429,7 +417,6 @@ void cd2401_record_first_open_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_last_close_info( unsigned char ch, uint8_t init_count @@ -445,7 +432,6 @@ void cd2401_record_last_close_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_start_remote_tx_info( unsigned char ch ) @@ -459,7 +445,6 @@ void cd2401_record_start_remote_tx_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_stop_remote_tx_info( unsigned char ch ) @@ -473,7 +458,6 @@ void cd2401_record_stop_remote_tx_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_set_attributes_info( int minor, uint8_t need_reinit, @@ -530,7 +514,6 @@ void cd2401_record_set_attributes_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_drain_output_info( uint8_t txEmpty, uint8_t own_buf_A, @@ -548,7 +531,6 @@ void cd2401_record_drain_output_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - void cd2401_record_delay_info( rtems_interval start, rtems_interval end, @@ -568,7 +550,6 @@ void cd2401_record_delay_info( cd2401_debug_index = (cd2401_debug_index + 1 ) % CD2401_DEBUG_BUFFER_SIZE; } - #else /* Do not call the data recording functions */ diff --git a/c/src/lib/libbsp/m68k/mvme167/console/console.c b/c/src/lib/libbsp/m68k/mvme167/console/console.c index 3d760e14a8..60880b6289 100644 --- a/c/src/lib/libbsp/m68k/mvme167/console/console.c +++ b/c/src/lib/libbsp/m68k/mvme167/console/console.c @@ -157,12 +157,10 @@ int cd2401_drainOutput( int minor ); int _167Bug_pollRead( int minor ); int _167Bug_pollWrite( int minor, const char *buf, int len ); - /* Printk function */ static void _BSP_output_char( char c ); BSP_output_char_function_type BSP_output_char = _BSP_output_char; - /* Channel info */ /* static */ volatile struct { void *tty; /* Really a struct rtems_termios_tty * */ @@ -188,19 +186,16 @@ BSP_output_char_function_type BSP_output_char = _BSP_output_char; */ uint8_t Init_count; - /* Record previous handlers */ rtems_isr_entry Prev_re_isr; /* Previous rx exception isr */ rtems_isr_entry Prev_rx_isr; /* Previous rx isr */ rtems_isr_entry Prev_tx_isr; /* Previous tx isr */ rtems_isr_entry Prev_modem_isr; /* Previous modem/timer isr */ - /* Define the following symbol to trace the calls to this driver */ /* #define CD2401_RECORD_DEBUG_INFO */ #include "console-recording.h" - /* * Utility functions. */ @@ -236,7 +231,6 @@ rtems_isr_entry Prev_modem_isr; /* Previous modem/timer isr */ CD2401_RECORD_DELAY_INFO(( start_ticks, end_ticks, current_ticks, i )); } - /* * cd2401_chan_cmd * @@ -274,7 +268,6 @@ void cd2401_chan_cmd( } } - /* * cd2401_bitrate_divisor * @@ -314,7 +307,6 @@ uint16_t cd2401_bitrate_divisor( return( clksource | divisor ); } - /* * cd2401_initialize * @@ -401,7 +393,6 @@ void cd2401_initialize( void ) cd2401->tpr = 0x0A; /* Same value as 167Bug */ } - /* * cd2401_interrupts_initialize * @@ -445,7 +436,6 @@ void cd2401_interrupts_initialize( } } - /* ISRs */ /* @@ -481,7 +471,6 @@ rtems_isr cd2401_modem_isr( CD2401_Channel_Info[ch].spur_cnt )); } - /* * cd2401_re_isr * @@ -519,7 +508,6 @@ rtems_isr cd2401_re_isr( CD2401_Channel_Info[ch].spur_cnt )); } - /* * cd2401_rx_isr * @@ -567,7 +555,6 @@ rtems_isr cd2401_rx_isr( } } - /* * cd2401_tx_isr * @@ -664,7 +651,6 @@ rtems_isr cd2401_tx_isr( } } - /* * termios callbacks */ @@ -751,7 +737,6 @@ int cd2401_firstOpen( return RTEMS_SUCCESSFUL; } - /* * cd2401_lastClose * @@ -794,7 +779,6 @@ int cd2401_lastClose( return RTEMS_SUCCESSFUL; } - /* * cd2401_setAttributes * @@ -1083,7 +1067,6 @@ int cd2401_setAttributes( return RTEMS_SUCCESSFUL; } - /* * cd2401_startRemoreTx * @@ -1124,7 +1107,6 @@ int cd2401_startRemoteTx( return RTEMS_SUCCESSFUL; } - /* * cd2401_stopRemoteTx * @@ -1166,7 +1148,6 @@ int cd2401_stopRemoteTx( return RTEMS_SUCCESSFUL; } - /* * cd2401_write * @@ -1266,7 +1247,6 @@ int cd2401_drainOutput( } #endif - /* * _167Bug_pollRead * @@ -1324,7 +1304,6 @@ int _167Bug_pollRead( return (int)c; } - /* * _167Bug_pollWrite * @@ -1362,7 +1341,6 @@ int _167Bug_pollWrite( return RTEMS_SUCCESSFUL; } - /* * do_poll_read * @@ -1443,7 +1421,6 @@ rtems_status_code do_poll_write( return RTEMS_SUCCESSFUL; } - /* * _BSP_output_char * @@ -1469,7 +1446,6 @@ void _BSP_output_char(char c) _167Bug_pollWrite(printk_minor, &cr, 1); } - /* *************** * BOILERPLATE * @@ -1601,7 +1577,6 @@ rtems_device_driver console_open( #endif } - /* * Close the device */ @@ -1631,7 +1606,6 @@ rtems_device_driver console_close( #endif } - /* * Read from the device */ @@ -1661,7 +1635,6 @@ rtems_device_driver console_read( #endif } - /* * Write to the device */ @@ -1691,7 +1664,6 @@ rtems_device_driver console_write( #endif } - /* * Handle ioctl request. */ diff --git a/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c b/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c index b93a08fee1..142e25395a 100644 --- a/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c +++ b/c/src/lib/libbsp/m68k/mvme167/fatal/bspfatal.c @@ -41,7 +41,6 @@ static int mystrcat( return i; } - /* * bsp_fatal_error_occurred * diff --git a/c/src/lib/libbsp/m68k/mvme167/include/bsp.h b/c/src/lib/libbsp/m68k/mvme167/include/bsp.h index a1aa2727c7..e60ba54483 100644 --- a/c/src/lib/libbsp/m68k/mvme167/include/bsp.h +++ b/c/src/lib/libbsp/m68k/mvme167/include/bsp.h @@ -21,7 +21,6 @@ #ifndef __MVME167_H #define __MVME167_H - #ifdef __cplusplus extern "C" { #endif @@ -34,7 +33,6 @@ extern "C" { #include <rtems/iosupp.h> #include <rtems/bspIo.h> - /* * confdefs.h overrides for this BSP: * - termios serial ports (defaults to 1) @@ -142,7 +140,6 @@ typedef volatile struct memc040_regs_ { #define memc040_1 ((memc040_regs * const) 0xFFF43000) #define memc040_2 ((memc040_regs * const) 0xFFF43100) - /* * The MVME167 may be equiped with error-correcting RAM cards. In this case, * each MEMC040 is replaced by two MCECC ECC DRAM controllers. This port @@ -154,7 +151,6 @@ typedef volatile struct memc040_regs_ { * can be used to read those first eight registers. */ - /* * Representation of the Cirrus Logic CL-CD2401 Multi-Protocol Controller */ @@ -298,14 +294,12 @@ typedef volatile struct cd2401_regs_ { unsigned char dr; /* 0xFFF450F8 - Receive/Transmit Data */ } cd2401_regs; - /* * Base address of the CD2401. * This is not configurable in the MVME167. */ #define cd2401 ((cd2401_regs * const) 0xFFF45000) - /* CD2401 is clocked at 20 MHz */ #define CD2401_CLK_RATE 20000000 @@ -345,14 +339,12 @@ m68k_isr_entry set_vector( #define BSP_LIBIO_MAX_FDS 20 - /* miscellaneous stuff assumed to exist */ extern rtems_configuration_table BSP_Configuration; extern m68k_isr_entry M68Kvec[]; /* vector table address */ - /* * Define the time limits for RTEMS Test Suite test durations. * Long test and short test duration limits are provided. These diff --git a/c/src/lib/libbsp/m68k/mvme167/network/network.c b/c/src/lib/libbsp/m68k/mvme167/network/network.c index 8ab46e8ee9..e3d7abb278 100644 --- a/c/src/lib/libbsp/m68k/mvme167/network/network.c +++ b/c/src/lib/libbsp/m68k/mvme167/network/network.c @@ -49,7 +49,6 @@ #define START_TRANSMIT_EVENT RTEMS_EVENT_2 #define NIC_RESET_EVENT RTEMS_EVENT_3 - #include <bsp.h> #include <stdio.h> #include <string.h> @@ -120,7 +119,6 @@ char uti596initSetup[] = { 0x3f /* Byte 13: no multi IA, backoff enabled */ }; - /* Local Routines */ static unsigned long word_swap ( unsigned long ); @@ -155,7 +153,6 @@ static void uti596_append ( i596_rfd ** , i596_rfd * ); static void uti596_supplyFD ( i596_rfd * ); static void send_packet ( struct ifnet *, struct mbuf * ); - /* Required RTEMS network driver functions and tasks (plus reset daemon) */ static void uti596_start ( struct ifnet * ); @@ -178,8 +175,6 @@ static void print_pkt ( unsigned char * ); static void print_echo ( unsigned char * ); #endif - - /* * word_swap * @@ -200,7 +195,6 @@ static unsigned long word_swap( return (((val >> 16)&(0x0000ffff)) | ((val << 16)&(0xffff0000))); } - /* * malloc_16byte_aligned * @@ -236,7 +230,6 @@ static void * malloc_16byte_aligned( return *adjusted_pointer; } - /* * uti596_scp_alloc * @@ -273,7 +266,6 @@ static i596_scp * uti596_scp_alloc( return sc->pScp; } - /* * uti596_writePortFunction * @@ -298,7 +290,6 @@ RTEMS_INLINE_ROUTINE void uti596_writePortFunction( i82596->port_upper = (unsigned short)(((unsigned long)addr >> 16 ) & 0xFFFF); } - /* * uti596_portReset * @@ -315,7 +306,6 @@ RTEMS_INLINE_ROUTINE void uti596_portReset( void ) uti596_writePortFunction( NULL, UTI596_RESET_PORT_FUNCTION ); } - /* currently unused by RTEMS */ #if 0 /* @@ -370,7 +360,6 @@ static unsigned long uti596_portSelfTest( } #endif - /* currently unused by RTEMS */ #if 0 /* @@ -423,7 +412,6 @@ static int uti596_portDump( } #endif - /* * uti596_wait * @@ -458,7 +446,6 @@ static int uti596_wait( case UTI596_NO_WAIT: return 0; - case UTI596_WAIT_FOR_CU_ACCEPT: do { if (sc->scb.command == 0) @@ -521,7 +508,6 @@ static int uti596_wait( return -1; } - /* * uti596_issueCA * @@ -550,7 +536,6 @@ static int uti596_issueCA( return (uti596_wait ( sc, waitType )); } - /* * uti596_addCmd * @@ -604,7 +589,6 @@ static void uti596_addCmd( #endif } - /* * uti596_addPolledCmd * @@ -648,7 +632,6 @@ void uti596_addPolledCmd( #endif } - /* currently unused by RTEMS */ #if 0 /* @@ -678,7 +661,6 @@ static void uti596_CU_dump ( i596_dump_result * drp) } #endif - /* * uti596_dump_scb * @@ -707,7 +689,6 @@ static void uti596_dump_scb ( void ) printk(("t_off 0x%x\n",uti596_softc.scb.t_off)) } - /* * uti596_setScpAndScb * @@ -740,7 +721,6 @@ static int uti596_setScpAndScb( return ( uti596_issueCA ( sc, UTI596_WAIT_FOR_INITIALIZATION ) ); } - /* * uti596_diagnose * @@ -768,7 +748,6 @@ static int uti596_diagnose( void ) #endif } - /* * uti596_configure * @@ -796,7 +775,6 @@ static int uti596_configure ( return ( uti596_wait ( sc, UTI596_WAIT_FOR_STAT_C ) ); } - /* * uti596_IAsetup * @@ -829,7 +807,6 @@ static int uti596_IAsetup ( return ( uti596_wait ( sc, UTI596_WAIT_FOR_STAT_C ) ); } - /* * uti596_initTBD * @@ -877,7 +854,6 @@ static int uti596_initTBD ( uti596_softc_ * sc ) return 0; } - /* * uti596_initRFA * @@ -961,7 +937,6 @@ static int uti596_initRFA( int num ) return (i); /* the number of allocated buffers */ } - /* * uti596_initMem * @@ -1075,7 +1050,6 @@ void uti596_initialize( sc->scb.command = 0; } - /* * uti596_initialize_hardware * @@ -1125,7 +1099,6 @@ void uti596_initialize_hardware( #endif } - /* * uti596_reset_hardware * @@ -1175,7 +1148,6 @@ void uti596_reset_hardware( #endif } - /* * uti596_clearListStatus * @@ -1198,7 +1170,6 @@ void uti596_clearListStatus( } } - /* * uti596_reset * @@ -1241,7 +1212,6 @@ void uti596_reset( void ) sc->pCmdHead = sc->pCmdTail = sc->scb.pCmd = I596_NULL; - /* restore the RFA */ if ( sc->pLastUnkRFD != I596_NULL ) { @@ -1278,7 +1248,6 @@ void uti596_reset( void ) #endif } - /* * uti596_dequeue * @@ -1319,7 +1288,6 @@ i596_rfd * uti596_dequeue( return pRfd; } - /* * uti596_append * @@ -1367,7 +1335,6 @@ void uti596_append( } } - /* * uti596_supplyFD * @@ -1503,7 +1470,6 @@ void uti596_supplyFD ( } } - /* * send_packet * @@ -1645,7 +1611,6 @@ void send_packet( } } - /*********************************************************************** * Function: uti596_attach * @@ -1934,8 +1899,6 @@ void uti596_init( i82596->chan_attn = 0x00000000; } - - /*********************************************************************** * Function: void uti596_txDaemon * @@ -2124,7 +2087,6 @@ void uti596_txDaemon( #endif } - /*********************************************************************** * Function: void uti596_resetDaemon * @@ -2158,7 +2120,6 @@ void uti596_resetDaemon( } } - /*********************************************************************** * Function: uti596_DynamicInterruptHandler * @@ -2209,7 +2170,6 @@ void uti596_resetDaemon( uti596_softc.nic_reset = 1; } - if ( (scbStatus & SCB_STAT_CX) && !(scbStatus & SCB_STAT_CNA) ) { printk(("\n*****ERROR: Command Complete, and CNA available: 0x%x\nResetting...", scbStatus)) uti596_softc.nic_reset = 1; @@ -2325,7 +2285,6 @@ void uti596_resetDaemon( } } /* end if ( scbStatus & SCB_STAT_FR ) */ - /* * Command Unit Control * a command is completed @@ -2474,7 +2433,6 @@ void uti596_resetDaemon( } } /* end if command complete */ - /* * If the receiver has stopped, * check if this is a No Resources scenario, @@ -2607,7 +2565,6 @@ void uti596_resetDaemon( #endif count_rx=0; - /* Do this last, to ensure that the reset is called at the right time. */ if ( uti596_softc.nic_reset ) { uti596_softc.nic_reset = 0; @@ -2618,7 +2575,6 @@ void uti596_resetDaemon( return; } - /*********************************************************************** * Function: uti596_ioctl * @@ -2688,7 +2644,6 @@ static int uti596_ioctl( return error; } - /*********************************************************************** * Function: uti596_stats * @@ -2739,9 +2694,6 @@ void uti596_stats( #endif } - - - /************************ PACKET DEBUG ROUTINES ************************/ #ifdef DBG_PACKETS @@ -2781,7 +2733,6 @@ static void dumpQ( void ) } } - /* * show_buffers * @@ -2825,7 +2776,6 @@ static void show_buffers (void) printk(("\nUnknown: %p\n",uti596_softc.pLastUnkRFD)) } - /* * show_queues * @@ -2861,7 +2811,6 @@ static void show_queues(void) printk(("uti596_softc.pEndRFA: %p\n",uti596_softc.pEndRFA)) } - /* * print_eth * @@ -2924,7 +2873,6 @@ static void print_eth( printk (("%u\n", add[41])) } - if ( add[12] == 0x08 && add[13] == 0x00 ) { /* an IP packet */ printk (("*********************IP HEADER******************\n")) @@ -2950,7 +2898,6 @@ static void print_eth( } } - /* * print_hdr * @@ -2979,7 +2926,6 @@ static void print_hdr( printk (("print_hdr: completed")) } - /* * Function: print_pkt * @@ -3065,7 +3011,6 @@ static void print_pkt( } } - /* * print_echo * diff --git a/c/src/lib/libbsp/m68k/mvme167/network/uti596.h b/c/src/lib/libbsp/m68k/mvme167/network/uti596.h index bc97ac2455..ac1d454da9 100644 --- a/c/src/lib/libbsp/m68k/mvme167/network/uti596.h +++ b/c/src/lib/libbsp/m68k/mvme167/network/uti596.h @@ -101,7 +101,6 @@ struct enet_statistics{ #define I596_NULL ( ( void * ) 0xffffffff) #define UTI_596_END_OF_FRAME 0x8000 - struct i596_tbd; /* necessary forward declaration */ enum commands { diff --git a/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c b/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c index f4c640063d..1d07234879 100644 --- a/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c +++ b/c/src/lib/libbsp/m68k/mvme167/startup/bspstart.c @@ -18,7 +18,6 @@ * $Id$ */ - #include <string.h> #include <bsp.h> @@ -95,7 +94,6 @@ void bsp_start( void ) rom_monitor_vector_table = (m68k_isr_entry *)0xFFE00000; m68k_set_vbr( rom_monitor_vector_table ); - /* * Copy 167Bug Bus Error handler into our exception vector. All 167Bug * exception vectors are the same and point to the generalized exception diff --git a/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c b/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c index 985144224d..06ae67815c 100644 --- a/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c +++ b/c/src/lib/libbsp/m68k/mvme167/startup/page_table.c @@ -131,7 +131,6 @@ void page_table_init( :: "d" (0), "d" (dtt0), "d" (0xFF00C040), "d" (cacr)); } - /* * page_table_teardown * diff --git a/c/src/lib/libbsp/m68k/mvme167/timer/timer.c b/c/src/lib/libbsp/m68k/mvme167/timer/timer.c index 2d78f91685..0dc5343352 100644 --- a/c/src/lib/libbsp/m68k/mvme167/timer/timer.c +++ b/c/src/lib/libbsp/m68k/mvme167/timer/timer.c @@ -92,7 +92,6 @@ void Timer_initialize() /* (3 countdowns) to start/stop the timer. */ #define LEAST_VALID 3UL /* Don't trust a value lower than this */ - /* * This routine reads the Tick Timer 1 on the MVME167 board. * @@ -121,7 +120,6 @@ int Read_timer() return total - AVG_OVERHEAD; } - /* * Empty function call used in loops to measure basic cost of looping * in Timing Test Suite. @@ -135,7 +133,6 @@ rtems_status_code Empty_function( void ) return RTEMS_SUCCESSFUL; } - /* * This routine sets the Timer_driver_Find_average_overhead flag in this * module. |