forked from Imagelibrary/rtems
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
* mongoosev/duart/mg5uart.c: Remove warnings.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2010-04-28 Joel Sherrill <joel.sherrilL@OARcorp.com>
|
||||
|
||||
* mongoosev/duart/mg5uart.c: Remove warnings.
|
||||
|
||||
2009-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* Makefile.am: Add shared/interrupts/isr_entries.h.
|
||||
|
||||
@@ -440,6 +440,8 @@ MG5UART_STATIC void mg5uart_write_polled(
|
||||
*/
|
||||
|
||||
|
||||
extern void mips_default_isr(int vector);
|
||||
|
||||
#define __ISR(_TYPE, _OFFSET) \
|
||||
MG5UART_STATIC void mg5uart_process_isr_ ## _TYPE ( \
|
||||
int minor \
|
||||
@@ -450,7 +452,6 @@ MG5UART_STATIC void mg5uart_write_polled(
|
||||
) \
|
||||
{ \
|
||||
int minor; \
|
||||
extern void mips_default_isr(int vector); \
|
||||
\
|
||||
for(minor=0 ; minor<Console_Port_Count ; minor++) { \
|
||||
if( Console_Port_Tbl[minor].deviceType == SERIAL_MG5UART && \
|
||||
@@ -469,9 +470,6 @@ __ISR(tx_ready, MG5UART_IRQ_TX_READY)
|
||||
__ISR(rx_ready, MG5UART_IRQ_RX_READY)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
MG5UART_STATIC void mg5uart_process_isr_rx_error(
|
||||
int minor,
|
||||
uint32_t mask
|
||||
@@ -679,10 +677,10 @@ MG5UART_STATIC int mg5uart_write_support_int(
|
||||
*
|
||||
*/
|
||||
|
||||
MG5UART_STATIC int mg5uart_write_support_polled(
|
||||
MG5UART_STATIC ssize_t mg5uart_write_support_polled(
|
||||
int minor,
|
||||
const char *buf,
|
||||
int len
|
||||
size_t len
|
||||
)
|
||||
{
|
||||
int nwrite = 0;
|
||||
|
||||
Reference in New Issue
Block a user