aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/linux_compat.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-01-11 15:17:49 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 21:42:14 -0500
commit8d8706e2f86d28814c1b40a116ffdeca35e4c949 (patch)
tree146567d7a807feb37a5368fbb4a6ee76d9d7bc7e /drivers/char/rio/linux_compat.h
parenta9415644583ef344e02f84faf5fe24bfadb2af8e (diff)
[PATCH] lindent rio drivers
Run all rio files through indent -kr -i8 -bri0 -l255, as requested by Alan. rioboot.c and rioinit.c were skipped due to worrisome lindent warnings. Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/rio/linux_compat.h')
-rw-r--r--drivers/char/rio/linux_compat.h46
1 files changed, 22 insertions, 24 deletions
diff --git a/drivers/char/rio/linux_compat.h b/drivers/char/rio/linux_compat.h
index d53843abe02d..17a14c4a3420 100644
--- a/drivers/char/rio/linux_compat.h
+++ b/drivers/char/rio/linux_compat.h
@@ -41,7 +41,7 @@
41#endif 41#endif
42 42
43struct ttystatics { 43struct ttystatics {
44 struct termios tm; 44 struct termios tm;
45}; 45};
46 46
47#define bzero(d, n) memset((d), 0, (n)) 47#define bzero(d, n) memset((d), 0, (n))
@@ -97,26 +97,24 @@ the older driver. The older driver includes "brates.h" which shadows
97the definitions from Linux, and is incompatible... */ 97the definitions from Linux, and is incompatible... */
98 98
99/* RxBaud and TxBaud definitions... */ 99/* RxBaud and TxBaud definitions... */
100#define RIO_B0 0x00 /* RTS / DTR signals dropped */ 100#define RIO_B0 0x00 /* RTS / DTR signals dropped */
101#define RIO_B50 0x01 /* 50 baud */ 101#define RIO_B50 0x01 /* 50 baud */
102#define RIO_B75 0x02 /* 75 baud */ 102#define RIO_B75 0x02 /* 75 baud */
103#define RIO_B110 0x03 /* 110 baud */ 103#define RIO_B110 0x03 /* 110 baud */
104#define RIO_B134 0x04 /* 134.5 baud */ 104#define RIO_B134 0x04 /* 134.5 baud */
105#define RIO_B150 0x05 /* 150 baud */ 105#define RIO_B150 0x05 /* 150 baud */
106#define RIO_B200 0x06 /* 200 baud */ 106#define RIO_B200 0x06 /* 200 baud */
107#define RIO_B300 0x07 /* 300 baud */ 107#define RIO_B300 0x07 /* 300 baud */
108#define RIO_B600 0x08 /* 600 baud */ 108#define RIO_B600 0x08 /* 600 baud */
109#define RIO_B1200 0x09 /* 1200 baud */ 109#define RIO_B1200 0x09 /* 1200 baud */
110#define RIO_B1800 0x0A /* 1800 baud */ 110#define RIO_B1800 0x0A /* 1800 baud */
111#define RIO_B2400 0x0B /* 2400 baud */ 111#define RIO_B2400 0x0B /* 2400 baud */
112#define RIO_B4800 0x0C /* 4800 baud */ 112#define RIO_B4800 0x0C /* 4800 baud */
113#define RIO_B9600 0x0D /* 9600 baud */ 113#define RIO_B9600 0x0D /* 9600 baud */
114#define RIO_B19200 0x0E /* 19200 baud */ 114#define RIO_B19200 0x0E /* 19200 baud */
115#define RIO_B38400 0x0F /* 38400 baud */ 115#define RIO_B38400 0x0F /* 38400 baud */
116#define RIO_B56000 0x10 /* 56000 baud */ 116#define RIO_B56000 0x10 /* 56000 baud */
117#define RIO_B57600 0x11 /* 57600 baud */ 117#define RIO_B57600 0x11 /* 57600 baud */
118#define RIO_B64000 0x12 /* 64000 baud */ 118#define RIO_B64000 0x12 /* 64000 baud */
119#define RIO_B115200 0x13 /* 115200 baud */ 119#define RIO_B115200 0x13 /* 115200 baud */
120#define RIO_B2000 0x14 /* 2000 baud */ 120#define RIO_B2000 0x14 /* 2000 baud */
121
122