Explorar o código

[PATCH] Add CMSPAR to termbits.h for powerpc and alpha

Some driver wants to use CMSPAR, but it was missing on alpha and powerpc.
This adds it, with the same value as every other architecture uses.

(akpm: fixes the build of an upcoming gregkh USB patch)

Signed-off-by: Paul Mackerras <paulus@samba.org>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Paul Mackerras %!s(int64=19) %!d(string=hai) anos
pai
achega
6bf08cb246
Modificáronse 2 ficheiros con 2 adicións e 0 borrados
  1. 1 0
      include/asm-alpha/termbits.h
  2. 1 0
      include/asm-powerpc/termbits.h

+ 1 - 0
include/asm-alpha/termbits.h

@@ -148,6 +148,7 @@ struct termios {
 #define HUPCL	00040000
 #define HUPCL	00040000
 
 
 #define CLOCAL	00100000
 #define CLOCAL	00100000
+#define CMSPAR	  010000000000		/* mark or space (stick) parity */
 #define CRTSCTS	  020000000000		/* flow control */
 #define CRTSCTS	  020000000000		/* flow control */
 
 
 /* c_lflag bits */
 /* c_lflag bits */

+ 1 - 0
include/asm-powerpc/termbits.h

@@ -153,6 +153,7 @@ struct termios {
 #define HUPCL	00040000
 #define HUPCL	00040000
 
 
 #define CLOCAL	00100000
 #define CLOCAL	00100000
+#define CMSPAR	  010000000000		/* mark or space (stick) parity */
 #define CRTSCTS	  020000000000		/* flow control */
 #define CRTSCTS	  020000000000		/* flow control */
 
 
 /* c_lflag bits */
 /* c_lflag bits */