diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-15 09:31:41 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-10-16 08:58:48 -0500 |
commit | 7ec9bd5917d71f594da5890bc35aaec07352d5c1 (patch) | |
tree | e97dec9bc13de80b35cd582ac08266e173be6d0b /c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c | |
parent | libcpu/arm/at91rm9200/usart/usart.c: Fix warnings (diff) | |
download | rtems-7ec9bd5917d71f594da5890bc35aaec07352d5c1.tar.bz2 |
mpc8260 libcpu and mpc6260ads BSP: Fix warnings
Diffstat (limited to 'c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c')
-rw-r--r-- | c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c b/c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c index a6497aa0f4..9a020c82fe 100644 --- a/c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c +++ b/c/src/lib/libbsp/powerpc/mpc8260ads/console/console.c @@ -1,6 +1,4 @@ /* - * console.c - * * This file contains the MBX8xx termios serial I/O package. * Only asynchronous I/O is supported. * @@ -14,6 +12,16 @@ * SCC3 /dev/tty3 4 * SCC4 /dev/tty4 5 * + * The SCCs and SMCs on the eval board are assigned as follows + * + * Channel Device Minor Termios + * SMC1 /dev/tty3 4 no + * SMC2 /dev/tty4 5 no + * SCC1 /dev/tty0 0 no + * SCC2 /dev/console 1 yes + * SCC3 /dev/tty1 2 no * USED FOR NETWORK I/F + * SCC4 /dev/tty2 3 no * USED FOR NETWORK I/F + * * All ports support termios. The use of termios is recommended for real-time * applications. Termios provides buffering and input processing. When not * using termios, processing is limited to the substitution of LF for CR on @@ -64,7 +72,9 @@ * the sub-devices using minor device numbers. It is not possible to have * other protocols running on the other ports when this driver is used as * currently written. - * + */ + +/* * Based on code (alloc860.c in eth_comm port) by * Jay Monkman (jmonkman@frasca.com), * Copyright (C) 1998 by Frasca International, Inc. @@ -75,17 +85,6 @@ * * Modifications by Andy Dachs <iwe@fsmal.net> for MPC8260 * support. - * - * The SCCs and SMCs on the eval board are assigned as follows - * - * Channel Device Minor Termios - * SMC1 /dev/tty3 4 no - * SMC2 /dev/tty4 5 no - * SCC1 /dev/tty0 0 no - * SCC2 /dev/console 1 yes - * SCC3 /dev/tty1 2 no * USED FOR NETWORK I/F - * SCC4 /dev/tty2 3 no * USED FOR NETWORK I/F - * */ #include <stdarg.h> #include <stdio.h> @@ -451,7 +450,6 @@ rtems_device_driver console_control( /* * Support routine for console-generic */ - int mbx8xx_console_get_configuration(void) { #if UARTS_IO_MODE == 1 |