|
|
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 TTY_H
11: #define TTY_H 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: #define T_BRD 0x1000 /* Blocking read in CBREAK/RAW mode */
26: #define T_HOPEN 0x2000 /* Hanging in open (for modem control) */
27: #define T_HCLOS 0x4000 /* Hanging in close (for modem control) */
28: #define T_CFLOW 0x8000 /* Use RTS/CTS flow control */
29:
30: /* don't reset these flags when flushing the input and output queues */
31: #define T_SAVE (T_HPCL|T_EXCL|T_MODC|T_CARR|T_HOPEN|T_BRD|T_HCLOS|T_CFLOW)
32:
33: #define NMODC 0x80 /* Minor device modem control bit */
34: /* Set for NO modem control */
35: #define CPOLL 0x40 /* Minor device polled driver bit */
36: /* Set for polled operation */
37: /* Clear for IRQ operation */
38: #define CFLOW 0x20 /* Minor device flow control bit */
39: /* Set for RTS/CTS flow control */
40: /* Clear for none */
41:
42: #ifdef KERNEL
43: #include <sys/ktty.h>
44: #endif
45:
46: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.