aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/include/asm/rs485.h
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-10-21 11:45:58 -0400
committerJesper Nilsson <jesper.nilsson@axis.com>2008-10-29 12:29:44 -0400
commit556dcee7b829e5c350c3ffdbdb87a8b15aa3c5d3 (patch)
tree26485b0d92eedcba6c0c96d4069469041aaf7106 /arch/cris/include/asm/rs485.h
parent242bfafc8e42da4697c1e2dea108049d14dbac4b (diff)
[CRIS] Move header files from include to arch/cris/include.
Change all users of header files to correct path. Remove some unneeded headers for arch-v32. Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
Diffstat (limited to 'arch/cris/include/asm/rs485.h')
-rw-r--r--arch/cris/include/asm/rs485.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/cris/include/asm/rs485.h b/arch/cris/include/asm/rs485.h
new file mode 100644
index 000000000000..c331c51b0c2b
--- /dev/null
+++ b/arch/cris/include/asm/rs485.h
@@ -0,0 +1,20 @@
1/* RS-485 structures */
2
3/* RS-485 support */
4/* Used with ioctl() TIOCSERSETRS485 */
5struct rs485_control {
6 unsigned short rts_on_send;
7 unsigned short rts_after_sent;
8 unsigned long delay_rts_before_send;
9 unsigned short enabled;
10#ifdef __KERNEL__
11 int disable_serial_loopback;
12#endif
13};
14
15/* Used with ioctl() TIOCSERWRRS485 */
16struct rs485_write {
17 unsigned short outc_size;
18 unsigned char *outc;
19};
20