summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c')
-rw-r--r--c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c b/c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c
index 29243f4783..27b93d0de4 100644
--- a/c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c
+++ b/c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c
@@ -98,12 +98,8 @@ static void _BSP_output_char( char c );
static rtems_status_code do_poll_read( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);
static rtems_status_code do_poll_write( rtems_device_major_number major, rtems_device_minor_number minor, void * arg);
-
BSP_output_char_function_type BSP_output_char = _BSP_output_char;
-
-
-
/*
* do_poll_read
*
@@ -146,7 +142,6 @@ static rtems_status_code do_poll_read(
return RTEMS_SUCCESSFUL;
}
-
/*
* do_poll_write
*
@@ -190,7 +185,6 @@ static rtems_status_code do_poll_write(
}
-
/*
* Print functions prototyped in bspIo.h
*/
@@ -211,7 +205,6 @@ static void _BSP_output_char( char c )
}
-
/*
***************
* BOILERPLATE *
@@ -266,8 +259,6 @@ rtems_device_driver console_initialize(
m8xx_uart_scc_initialize(SCC4_MINOR); /* /dev/tty3 */
#endif
-
-
/*
* Set up interrupts
*/
@@ -279,7 +270,6 @@ rtems_device_driver console_initialize(
chmod("/dev/tty0",0660);
chown("/dev/tty0",2,0);
-
status = rtems_io_register_name ("/dev/tty1", major, SCC2_MINOR);
if (status != RTEMS_SUCCESSFUL)
rtems_fatal_error_occurred (status);
@@ -313,7 +303,6 @@ rtems_device_driver console_initialize(
return RTEMS_SUCCESSFUL;
}
-
/*
* Open the device
*/
@@ -359,7 +348,6 @@ rtems_device_driver console_open(
if ( minor > NUM_PORTS-1 )
return RTEMS_INVALID_NUMBER;
-
#if UARTS_USE_TERMIOS == 1
#if UARTS_IO_MODE == 1 /* RTEMS interrupt-driven I/O with termios */
@@ -378,7 +366,6 @@ rtems_device_driver console_open(
}
-
/*
* Close the device
*/
@@ -399,7 +386,6 @@ rtems_device_driver console_close(
}
-
/*
* Read from the device
*/
@@ -412,7 +398,6 @@ rtems_device_driver console_read(
if ( minor > NUM_PORTS-1 )
return RTEMS_INVALID_NUMBER;
-
#if UARTS_USE_TERMIOS == 1
return rtems_termios_read( arg );
#else
@@ -421,7 +406,6 @@ rtems_device_driver console_read(
}
-
/*
* Write to the device
*/
@@ -434,7 +418,6 @@ rtems_device_driver console_write(
if ( minor > NUM_PORTS-1 )
return RTEMS_INVALID_NUMBER;
-
#if UARTS_USE_TERMIOS == 1
return rtems_termios_write( arg );
#else
@@ -444,7 +427,6 @@ rtems_device_driver console_write(
}
-
/*
* Handle ioctl request.
*/
@@ -457,7 +439,6 @@ rtems_device_driver console_control(
if ( minor > NUM_PORTS-1 )
return RTEMS_INVALID_NUMBER;
-
#if UARTS_USE_TERMIOS == 1
return rtems_termios_ioctl( arg );
#else