forked from Imagelibrary/rtems
termios: Update due to API changes
Termios notifies now the driver about an inactive transmit with the length argument set to zero.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user