[PATCH v2] bsps/sparc: Reduce copy and paste
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Jun 30 11:41:52 UTC 2014
On 2014-06-30 13:34, Sebastian Huber wrote:
> @@ -83,8 +84,8 @@ static void leon3_console_isr(void *arg)
> }
>
> if (
> - (status & LEON_REG_UART_STATUS_THE)
> - && (uart->regs->ctrl & LEON_REG_UART_CTRL_TI) != 0
> + (status & APBUART_STATUS_THE)
> + && (uart->regs->ctrl & APBUART_CTRL_TI) != 0
> ) {
> /* write_interrupt will get called from this function */
> rtems_termios_dequeue_characters(uart->cookie, 1);
Sorry, this should be
+ (status & APBUART_STATUS_TE)
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list