Commit | Line | Data |
---|---|---|
da7c5cc6 | 1 | /* |
1810611d | 2 | * Copyright (c) 1982, 1986 Regents of the University of California. |
da7c5cc6 KM |
3 | * All rights reserved. The Berkeley software License Agreement |
4 | * specifies the terms and conditions for redistribution. | |
5 | * | |
4b41edb2 | 6 | * @(#)ttydev.h 7.2 (Berkeley) %G% |
da7c5cc6 | 7 | */ |
e4776639 SL |
8 | |
9 | /* | |
10 | * Terminal definitions related to underlying hardware. | |
11 | */ | |
1ef52834 SL |
12 | #ifndef _TTYDEV_ |
13 | #define _TTYDEV_ | |
14 | ||
e4776639 SL |
15 | /* |
16 | * Speeds | |
17 | */ | |
18 | #define B0 0 | |
19 | #define B50 1 | |
20 | #define B75 2 | |
21 | #define B110 3 | |
22 | #define B134 4 | |
23 | #define B150 5 | |
24 | #define B200 6 | |
25 | #define B300 7 | |
26 | #define B600 8 | |
27 | #define B1200 9 | |
28 | #define B1800 10 | |
29 | #define B2400 11 | |
30 | #define B4800 12 | |
31 | #define B9600 13 | |
32 | #define EXTA 14 | |
33 | #define EXTB 15 | |
34 | ||
35 | #ifdef KERNEL | |
36 | /* | |
37 | * Modem control commands. | |
38 | */ | |
39 | #define DMSET 0 | |
40 | #define DMBIS 1 | |
41 | #define DMBIC 2 | |
42 | #define DMGET 3 | |
43 | #endif | |
1ef52834 | 44 | #endif |