diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-03 15:14:47 -0500 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-04-03 15:16:07 -0500 |
commit | aa7ff5d3f936bc177c0277d1074b6e472b356f53 (patch) | |
tree | 519edf7b2b1111336c21b4cd1b1114f88d24f983 /c/src/lib | |
parent | leon2/Makefile.am: Change to one file per line (diff) | |
download | rtems-aa7ff5d3f936bc177c0277d1074b6e472b356f53.tar.bz2 |
leon2 ckinit.c, console.c: Comment clean up
Diffstat (limited to 'c/src/lib')
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/clock/ckinit.c | 8 | ||||
-rw-r--r-- | c/src/lib/libbsp/sparc/leon2/console/console.c | 23 |
2 files changed, 5 insertions, 26 deletions
diff --git a/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c b/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c index 41183c6075..345ef3758a 100644 --- a/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c +++ b/c/src/lib/libbsp/sparc/leon2/clock/ckinit.c @@ -2,16 +2,14 @@ * @file * @ingroup sparc_leon2 * @brief Clock Tick Device Driver - */ - -/* - * Clock Tick Device Driver * * This routine initializes LEON timer 1 which used for the clock tick. * * The tick frequency is directly programmed to the configured number of * microseconds per tick. - * + */ + +/* * COPYRIGHT (c) 1989-2008. * On-Line Applications Research Corporation (OAR). * diff --git a/c/src/lib/libbsp/sparc/leon2/console/console.c b/c/src/lib/libbsp/sparc/leon2/console/console.c index 38a23c4d5c..0a4059e4c9 100644 --- a/c/src/lib/libbsp/sparc/leon2/console/console.c +++ b/c/src/lib/libbsp/sparc/leon2/console/console.c @@ -2,13 +2,11 @@ * @file * @ingroup sparc_leon2 * @brief TTY driver driver for the serial ports on the LEON console + * + * This file contains the TTY driver for the serial ports on the LEON. */ /* - * This file contains the TTY driver for the serial ports on the LEON. - * - * This driver uses the termios pseudo driver. - * * COPYRIGHT (c) 1989-1998. * On-Line Applications Research Corporation (OAR). * @@ -24,23 +22,6 @@ #include <rtems/bspIo.h> /* - * Should we use a polled or interrupt drived console? - * - * NOTE: This is defined in the custom/leon.cfg file. - * - * WARNING: In sis 1.6, it did not appear that the UART interrupts - * worked in a desirable fashion. Immediately upon writing - * a character into the TX buffer, an interrupt was generated. - * This did not allow enough time for the program to put more - * characters in the buffer. So every character resulted in - * "priming" the transmitter. This effectively results in - * in a polled console with a useless interrupt per character - * on output. It is reasonable to assume that input does not - * share this problem although it was not investigated. - * - */ - -/* * console_outbyte_polled * * This routine transmits a character using polling. |