|
|
1.1 root 1: /* (-lgl
2: * COHERENT Driver Kit Version 1.1.0
3: * Copyright (c) 1982, 1990 by Mark Williams Company.
4: * All rights reserved. May not be copied without permission.
5: -lgl) */
6: /*
7: * TTY flag defines
8: */
9:
10: #ifndef __SYS_TTY_H__
11: #define __SYS_TTY_H__
12:
13: #define T_HILIM 0x0001 /* Hi water mark wait */
14: #define T_DRAIN 0x0002 /* Drain wait */
15: #define T_INPUT 0x0004 /* Input wait */
16: #define T_IFULL 0x0008 /* Input buffer full */
17: #define T_INL 0x0010 /* Insert newline */
18: #define T_STOP 0x0020 /* Stopped */
19: #define T_HPCL 0x0040 /* Hang up dataset on last close */
20: #define T_EXCL 0x0080 /* Exclusive use */
21: #define T_TSTOP 0x0100 /* Tandem input stop */
22: #define T_ISTOP 0x0200 /* Input overflow stop */
23: #define T_MODC 0x0400 /* Modem control */
24: #define T_CARR 0x0800 /* Carrier detect status */
25: #ifndef _I386
26: #define T_BRD 0x1000 /* Blocking read in CBREAK/RAW mode */
27: #endif
28: #define T_HOPEN 0x2000 /* Hanging in open (for modem control) */
29: #define T_HCLOS 0x4000 /* Hanging in close (for modem control) */
30: #define T_CFLOW 0x8000 /* Use RTS/CTS flow control */
31: #ifdef _I386
32: #define T_XSTOP 0x10000 /* Stopped by receiving a Ctrl-S */
33: #endif
34:
35: #define NMODC 0x80 /* Minor device modem control bit */
36: /* Set for NO modem control */
37: #define CPOLL 0x40 /* Minor device polled driver bit */
38: /* Set for polled operation */
39: /* Clear for IRQ operation */
40: #define CFLOW 0x20 /* Minor device flow control bit */
41: /* Set for RTS/CTS flow control */
42: /* Clear for none */
43:
44: #ifdef KERNEL
45: #include <sys/ktty.h>
46: #endif
47:
48: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.