aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/sunsab.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-05-11 14:34:32 -0400
committerDavid S. Miller <davem@davemloft.net>2005-05-11 14:34:32 -0400
commite4fdee8e3b41239242a8f421a28736ef8e08ca55 (patch)
treed2040221acc9fbd2f24f7670d0edfaba425d376c /drivers/serial/sunsab.h
parent88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 (diff)
[SUNSAB]: Defer register updates until transmitter is idle.
The chip can emit garbage characters if we touch the settings while characters are going out. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/serial/sunsab.h')
-rw-r--r--drivers/serial/sunsab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/sunsab.h b/drivers/serial/sunsab.h
index 686086fcbbf5..b78e1f7b8050 100644
--- a/drivers/serial/sunsab.h
+++ b/drivers/serial/sunsab.h
@@ -126,6 +126,7 @@ union sab82532_irq_status {
126/* irqflags bits */ 126/* irqflags bits */
127#define SAB82532_ALLS 0x00000001 127#define SAB82532_ALLS 0x00000001
128#define SAB82532_XPR 0x00000002 128#define SAB82532_XPR 0x00000002
129#define SAB82532_REGS_PENDING 0x00000004
129 130
130/* RFIFO Status Byte */ 131/* RFIFO Status Byte */
131#define SAB82532_RSTAT_PE 0x80 132#define SAB82532_RSTAT_PE 0x80