1: /*
2: * Copyright (c) 1982, 1986 Regents of the University of California.
3: * All rights reserved. The Berkeley software License Agreement
4: * specifies the terms and conditions for redistribution.
5: *
6: * @(#)ttydev.h 7.1 (Berkeley) 6/4/86
7: */
8:
9: /*
10: * Terminal definitions related to underlying hardware.
11: */
12: #ifndef _TTYDEV_
13: #define _TTYDEV_
14:
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: * Hardware bits.
38: * SHOULD NOT BE HERE.
39: */
40: #define DONE 0200
41: #define IENABLE 0100
42:
43: /*
44: * Modem control commands.
45: */
46: #define DMSET 0
47: #define DMBIS 1
48: #define DMBIC 2
49: #define DMGET 3
50: #endif
51: #endif
Defined macros
B0
defined in line
18;
never used
B110
defined in line
21;
never used
B1200
defined in line
27;
never used
B134
defined in line
22;
never used
B150
defined in line
23;
never used
B1800
defined in line
28;
never used
B200
defined in line
24;
never used
B2400
defined in line
29;
never used
B300
defined in line
25;
never used
B4800
defined in line
30;
never used
B50
defined in line
19;
never used
B600
defined in line
26;
never used
B75
defined in line
20;
never used
B9600
defined in line
31;
never used
DMBIC
defined in line
48;
never used
DMBIS
defined in line
47;
never used
DMGET
defined in line
49;
never used
DMSET
defined in line
46;
never used
DONE
defined in line
40;
never used
EXTA
defined in line
32;
never used
EXTB
defined in line
33;
never used