diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /arch/sparc/include/asm/termios.h | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'arch/sparc/include/asm/termios.h')
-rw-r--r-- | arch/sparc/include/asm/termios.h | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/termios.h b/arch/sparc/include/asm/termios.h index 0c2414ddd52..e8ba9539964 100644 --- a/arch/sparc/include/asm/termios.h +++ b/arch/sparc/include/asm/termios.h | |||
@@ -1,8 +1,46 @@ | |||
1 | #ifndef _SPARC_TERMIOS_H | 1 | #ifndef _SPARC_TERMIOS_H |
2 | #define _SPARC_TERMIOS_H | 2 | #define _SPARC_TERMIOS_H |
3 | 3 | ||
4 | #include <uapi/asm/termios.h> | 4 | #include <asm/ioctls.h> |
5 | #include <asm/termbits.h> | ||
5 | 6 | ||
7 | #if defined(__KERNEL__) || defined(__DEFINE_BSD_TERMIOS) | ||
8 | struct sgttyb { | ||
9 | char sg_ispeed; | ||
10 | char sg_ospeed; | ||
11 | char sg_erase; | ||
12 | char sg_kill; | ||
13 | short sg_flags; | ||
14 | }; | ||
15 | |||
16 | struct tchars { | ||
17 | char t_intrc; | ||
18 | char t_quitc; | ||
19 | char t_startc; | ||
20 | char t_stopc; | ||
21 | char t_eofc; | ||
22 | char t_brkc; | ||
23 | }; | ||
24 | |||
25 | struct ltchars { | ||
26 | char t_suspc; | ||
27 | char t_dsuspc; | ||
28 | char t_rprntc; | ||
29 | char t_flushc; | ||
30 | char t_werasc; | ||
31 | char t_lnextc; | ||
32 | }; | ||
33 | #endif /* __KERNEL__ */ | ||
34 | |||
35 | struct winsize { | ||
36 | unsigned short ws_row; | ||
37 | unsigned short ws_col; | ||
38 | unsigned short ws_xpixel; | ||
39 | unsigned short ws_ypixel; | ||
40 | }; | ||
41 | |||
42 | #ifdef __KERNEL__ | ||
43 | #include <linux/module.h> | ||
6 | 44 | ||
7 | /* | 45 | /* |
8 | * c_cc characters in the termio structure. Oh, how I love being | 46 | * c_cc characters in the termio structure. Oh, how I love being |
@@ -143,4 +181,6 @@ | |||
143 | err; \ | 181 | err; \ |
144 | }) | 182 | }) |
145 | 183 | ||
184 | #endif /* __KERNEL__ */ | ||
185 | |||
146 | #endif /* _SPARC_TERMIOS_H */ | 186 | #endif /* _SPARC_TERMIOS_H */ |