aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/include/asm/rs485.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-22 10:38:37 -0500
commitfcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch)
treea57612d1888735a2ec7972891b68c1ac5ec8faea /arch/cris/include/asm/rs485.h
parent8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff)
Added missing tegra files.HEADmaster
Diffstat (limited to 'arch/cris/include/asm/rs485.h')
-rw-r--r--arch/cris/include/asm/rs485.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/cris/include/asm/rs485.h b/arch/cris/include/asm/rs485.h
new file mode 100644
index 00000000000..ad40f9fbcb8
--- /dev/null
+++ b/arch/cris/include/asm/rs485.h
@@ -0,0 +1,18 @@
1/* RS-485 structures */
2
3/* Used with ioctl() TIOCSERSETRS485 for backward compatibility!
4 * XXX: Do not use it for new code!
5 */
6struct rs485_control {
7 unsigned short rts_on_send;
8 unsigned short rts_after_sent;
9 unsigned long delay_rts_before_send;
10 unsigned short enabled;
11};
12
13/* Used with ioctl() TIOCSERWRRS485 */
14struct rs485_write {
15 unsigned short outc_size;
16 unsigned char *outc;
17};
18