|
|
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: #include <common/feature.h> ! 14: ! 15: #define T_HILIM 0x0001 /* Hi water mark wait */ ! 16: #define T_DRAIN 0x0002 /* Drain wait */ ! 17: #define T_INPUT 0x0004 /* Input wait */ ! 18: #define T_IFULL 0x0008 /* Input buffer full */ ! 19: #define T_INL 0x0010 /* Insert newline */ ! 20: #define T_STOP 0x0020 /* Stopped */ ! 21: #define T_HPCL 0x0040 /* Hang up dataset on last close */ ! 22: #define T_EXCL 0x0080 /* Exclusive use */ ! 23: #define T_TSTOP 0x0100 /* Tandem input stop */ ! 24: #define T_ISTOP 0x0200 /* Input overflow stop */ ! 25: #define T_MODC 0x0400 /* Modem control */ ! 26: #define T_CARR 0x0800 /* Carrier detect status */ ! 27: #ifndef _I386 ! 28: #define T_BRD 0x1000 /* Blocking read in CBREAK/RAW mode */ ! 29: #endif ! 30: #define T_HOPEN 0x2000 /* Hanging in open (for modem control) */ ! 31: #define T_HCLOS 0x4000 /* Hanging in close (for modem control) */ ! 32: #define T_CFLOW 0x8000 /* Use RTS/CTS flow control */ ! 33: #ifdef _I386 ! 34: #define T_XSTOP 0x10000 /* Stopped by receiving a Ctrl-S */ ! 35: #endif ! 36: ! 37: #define NMODC 0x80 /* Minor device modem control bit */ ! 38: /* Set for NO modem control */ ! 39: #define CPOLL 0x40 /* Minor device polled driver bit */ ! 40: /* Set for polled operation */ ! 41: /* Clear for IRQ operation */ ! 42: #define CFLOW 0x20 /* Minor device flow control bit */ ! 43: /* Set for RTS/CTS flow control */ ! 44: /* Clear for none */ ! 45: ! 46: #if __KERNEL__ ! 47: #include <sys/ktty.h> ! 48: #endif ! 49: ! 50: #endif /* ! defined (__SYS_TTY_H__) */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.