projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
serial: Fix IGNBRK handling
[deliverable/linux.git]
/
drivers
/
tty
/
serial
/
pmac_zilog.c
diff --git
a/drivers/tty/serial/pmac_zilog.c
b/drivers/tty/serial/pmac_zilog.c
index e9d420ff39310741212eb77e194c13fca2662b18..8193635103eeefaf4f62cfd14eb3a4ab1be48fad 100644
(file)
--- a/
drivers/tty/serial/pmac_zilog.c
+++ b/
drivers/tty/serial/pmac_zilog.c
@@
-1092,7
+1092,7
@@
static void pmz_convert_to_zs(struct uart_pmac_port *uap, unsigned int cflag,
uap->port.read_status_mask = Rx_OVR;
if (iflag & INPCK)
uap->port.read_status_mask |= CRC_ERR | PAR_ERR;
uap->port.read_status_mask = Rx_OVR;
if (iflag & INPCK)
uap->port.read_status_mask |= CRC_ERR | PAR_ERR;
- if (iflag & (BRKINT | PARMRK))
+ if (iflag & (
IGNBRK |
BRKINT | PARMRK))
uap->port.read_status_mask |= BRK_ABRT;
uap->port.ignore_status_mask = 0;
uap->port.read_status_mask |= BRK_ABRT;
uap->port.ignore_status_mask = 0;
This page took
0.024216 seconds
and
5
git commands to generate.