forked from Imagelibrary/rtems
2007-11-26 Joel Sherrill <joel.sherrill@OARcorp.com>
* shared/console/uart.c: Fix typo and spacing.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user