diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-06-24 17:29:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-06-25 17:03:21 +0200 |
commit | e18db9f0cffcb143e5fdec27539efb417cb4ebf3 (patch) | |
tree | 804edba552541bea8d5ea5c38680903373bf6c27 /c/src/lib/libcpu/mips | |
parent | bsps/arm: Rename function (diff) | |
download | rtems-e18db9f0cffcb143e5fdec27539efb417cb4ebf3.tar.bz2 |
termios: Update due to API changes
Termios notifies now the driver about an inactive transmit with the
length argument set to zero.
Diffstat (limited to 'c/src/lib/libcpu/mips')
-rw-r--r-- | c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c b/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c index 00e5e7921e..f198ac9a92 100644 --- a/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c +++ b/c/src/lib/libcpu/mips/mongoosev/duart/mg5uart.c @@ -686,7 +686,6 @@ MG5UART_STATIC int mg5uart_write_support_int( size_t len ) { - uint32_t Irql; uint32_t pMG5UART_port; pMG5UART_port = Console_Port_Tbl[minor]->ulCtrlPort2; @@ -703,8 +702,6 @@ MG5UART_STATIC int mg5uart_write_support_int( * Put the character out and enable interrupts if necessary. */ - rtems_interrupt_disable(Irql); - MG5UART_SETREG(pMG5UART_port, MG5UART_TX_BUFFER, *buf); if( Console_Port_Data[minor].bActive == FALSE ) @@ -713,7 +710,6 @@ MG5UART_STATIC int mg5uart_write_support_int( mg5uart_enable_interrupts(minor, MG5UART_ENABLE_ALL); } - rtems_interrupt_enable(Irql); return 1; } |