summaryrefslogtreecommitdiff
path: root/include/asm-ppc/commproc.h
diff options
context:
space:
mode:
authorVitaly Bordug <vbordug@ru.mvista.com>2006-04-29 22:32:44 +0400
committerPaul Mackerras <paulus@samba.org>2006-05-03 17:06:43 +0400
commit61f5657c50341198ff05e375e6f1fc0476556562 (patch)
tree33c0fa26dc730885176f4be2a8853b1c0b65aa8a /include/asm-ppc/commproc.h
parent0ccde0a290b44b8296b82a7683b4c299eb51ba6b (diff)
downloadlinux-61f5657c50341198ff05e375e6f1fc0476556562.tar.xz
[PATCH] ppc32 CPM_UART: Fixed break send on SCC
SCC uart sends a break sequence each time it is stopped with the CPM_CR_STOP_TX command. That means that each time an application closes the serial device, a break is transmitted. To fix this, graceful tx stop is issued for SCC. Signed-off-by: David Jander <david.jander@protonic.nl> Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-ppc/commproc.h')
-rw-r--r--include/asm-ppc/commproc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-ppc/commproc.h b/include/asm-ppc/commproc.h
index 973e60908234..31f362966a58 100644
--- a/include/asm-ppc/commproc.h
+++ b/include/asm-ppc/commproc.h
@@ -35,6 +35,7 @@
#define CPM_CR_INIT_TX ((ushort)0x0002)
#define CPM_CR_HUNT_MODE ((ushort)0x0003)
#define CPM_CR_STOP_TX ((ushort)0x0004)
+#define CPM_CR_GRA_STOP_TX ((ushort)0x0005)
#define CPM_CR_RESTART_TX ((ushort)0x0006)
#define CPM_CR_CLOSE_RX_BD ((ushort)0x0007)
#define CPM_CR_SET_GADDR ((ushort)0x0008)