diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/mvme167/console/console.c')
-rw-r--r-- | c/src/lib/libbsp/m68k/mvme167/console/console.c | 28 |
1 files changed, 0 insertions, 28 deletions
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. */ |