summaryrefslogtreecommitdiff
path: root/drivers/serial/sunsab.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2005-05-11 11:34:32 -0700
committerDavid S. Miller <davem@davemloft.net>2005-05-11 11:34:32 -0700
commite4fdee8e3b41239242a8f421a28736ef8e08ca55 (patch)
treed2040221acc9fbd2f24f7670d0edfaba425d376c /drivers/serial/sunsab.h
parent88d7bd8cb9eb8d64bf7997600b0d64f7834047c5 (diff)
downloadlwn-e4fdee8e3b41239242a8f421a28736ef8e08ca55.tar.gz
lwn-e4fdee8e3b41239242a8f421a28736ef8e08ca55.zip
[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 {
/* irqflags bits */
#define SAB82532_ALLS 0x00000001
#define SAB82532_XPR 0x00000002
+#define SAB82532_REGS_PENDING 0x00000004
/* RFIFO Status Byte */
#define SAB82532_RSTAT_PE 0x80