diff options
Diffstat (limited to 'arch/sparc/include/asm/termios.h')
-rw-r--r-- | arch/sparc/include/asm/termios.h | 41 |
1 files changed, 1 insertions, 40 deletions
diff --git a/arch/sparc/include/asm/termios.h b/arch/sparc/include/asm/termios.h index e2f46705a210..0c2414ddd52c 100644 --- a/arch/sparc/include/asm/termios.h +++ b/arch/sparc/include/asm/termios.h | |||
@@ -1,45 +1,8 @@ | |||
1 | #ifndef _SPARC_TERMIOS_H | 1 | #ifndef _SPARC_TERMIOS_H |
2 | #define _SPARC_TERMIOS_H | 2 | #define _SPARC_TERMIOS_H |
3 | 3 | ||
4 | #include <asm/ioctls.h> | 4 | #include <uapi/asm/termios.h> |
5 | #include <asm/termbits.h> | ||
6 | 5 | ||
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 | 6 | ||
44 | /* | 7 | /* |
45 | * c_cc characters in the termio structure. Oh, how I love being | 8 | * c_cc characters in the termio structure. Oh, how I love being |
@@ -180,6 +143,4 @@ struct winsize { | |||
180 | err; \ | 143 | err; \ |
181 | }) | 144 | }) |
182 | 145 | ||
183 | #endif /* __KERNEL__ */ | ||
184 | |||
185 | #endif /* _SPARC_TERMIOS_H */ | 146 | #endif /* _SPARC_TERMIOS_H */ |