From aa7ff5d3f936bc177c0277d1074b6e472b356f53 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 3 Apr 2014 15:14:47 -0500 Subject: [PATCH] leon2 ckinit.c, console.c: Comment clean up --- c/src/lib/libbsp/sparc/leon2/clock/ckinit.c | 8 +++---- .../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). * @@ -23,23 +21,6 @@ #include #include -/* - * 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 *