diff options
| author | <jgarzik@pretzel.yyz.us> | 2005-06-04 00:40:40 -0400 |
|---|---|---|
| committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-04 00:40:40 -0400 |
| commit | ae20ea8525a80a863f70d332cf47b71bd9f54c1f (patch) | |
| tree | 9d3cedeb65db521a8436b545bd91641549a18d24 /drivers/serial/21285.c | |
| parent | f497ba735fc9ff4e35a19641143708b3be1c7061 (diff) | |
| parent | 8be3de3fd8469154a2b3e18a4712032dac5b4a53 (diff) | |
Automatic merge of /spare/repo/linux-2.6/.git branch HEAD
Diffstat (limited to 'drivers/serial/21285.c')
| -rw-r--r-- | drivers/serial/21285.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/drivers/serial/21285.c b/drivers/serial/21285.c index 33fbda79f350..0b10169961eb 100644 --- a/drivers/serial/21285.c +++ b/drivers/serial/21285.c | |||
| @@ -126,18 +126,8 @@ static irqreturn_t serial21285_rx_chars(int irq, void *dev_id, struct pt_regs *r | |||
| 126 | flag = TTY_FRAME; | 126 | flag = TTY_FRAME; |
| 127 | } | 127 | } |
| 128 | 128 | ||
| 129 | if ((rxs & port->ignore_status_mask) == 0) { | 129 | uart_insert_char(port, rxs, RXSTAT_OVERRUN, ch, flag); |
| 130 | tty_insert_flip_char(tty, ch, flag); | 130 | |
| 131 | } | ||
| 132 | if ((rxs & RXSTAT_OVERRUN) && | ||
| 133 | tty->flip.count < TTY_FLIPBUF_SIZE) { | ||
| 134 | /* | ||
| 135 | * Overrun is special, since it's reported | ||
| 136 | * immediately, and doesn't affect the current | ||
| 137 | * character. | ||
| 138 | */ | ||
| 139 | tty_insert_flip_char(tty, 0, TTY_OVERRUN); | ||
| 140 | } | ||
| 141 | status = *CSR_UARTFLG; | 131 | status = *CSR_UARTFLG; |
| 142 | } | 132 | } |
| 143 | tty_flip_buffer_push(tty); | 133 | tty_flip_buffer_push(tty); |
