BSD 4_3 release
[unix-history] / usr / src / sys / h / ttydev.h
CommitLineData
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 *
95f51977 6 * @(#)ttydev.h 7.1 (Berkeley) 6/4/86
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
59703a43
C
36/*
37 * Hardware bits.
38 * SHOULD NOT BE HERE.
39 */
40#define DONE 0200
41#define IENABLE 0100
42
e4776639
SL
43/*
44 * Modem control commands.
45 */
46#define DMSET 0
47#define DMBIS 1
48#define DMBIC 2
49#define DMGET 3
50#endif
1ef52834 51#endif