2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>

* shared/console/uart.c: Fix typo and spacing.
This commit is contained in:
Joel Sherrill
2007-11-26 19:33:55 +00:00
parent 1066597789
commit d9b0895dff
2 changed files with 10 additions and 6 deletions

View File

@@ -1,3 +1,7 @@
2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/uart.c: Fix typo and spacing.
2007-11-21 Till Straumann <strauman@slac.stanford.edu> 2007-11-21 Till Straumann <strauman@slac.stanford.edu>
* shared/console/uart.c: when draining UART during * shared/console/uart.c: when draining UART during

View File

@@ -20,11 +20,11 @@
struct uart_data struct uart_data
{ {
unsigned long ioBase; unsigned long ioBase;
int irq; int irq;
int hwFlow; int hwFlow;
int baud; int baud;
BSP_UartBreakCbRec breakCallback; BSP_UartBreakCbRec breakCallback;
}; };
/* /*
@@ -63,7 +63,7 @@ static struct uart_data uart_data[2] = {
#define SANITY_CHECK(uart) \ #define SANITY_CHECK(uart) \
assert( MAX_UARTS > (unsigned)(uart) && uart_data[(uart)].ioBase != UART_UNSUPP ) assert( MAX_UARTS > (unsigned)(uart) && uart_data[(uart)].ioBase != UART_UNSUPP )
/* /*
* Macros to read/wirte register of uart, if configuration is * Macros to read/write register of uart, if configuration is
* different just rewrite these macros * different just rewrite these macros
*/ */