1 /* 2 * Copyright (c) 1992, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * This code is derived from software contributed to Berkeley by 6 * Sony Corp. and Kazumasa Utashiro of Software Research Associates, Inc. 7 * 8 * %sccs.include.redist.c% 9 * 10 * from: $Hdr: rsreg.h,v 4.300 91/06/09 06:43:04 root Rel41 $ SONY 11 * 12 * @(#)rsreg.h 8.1 (Berkeley) 06/11/93 13 */ 14 15 #ifndef __RSREG__ 16 #define __RSREG__ 1 17 18 /* bits in dm lsr, copied from dh.c */ 19 #define DML_USR 0001000 /* usr modem sig, not a real DM bit */ 20 #define DML_DSR 0000400 /* data set ready, not a real DM bit */ 21 #define DML_RNG 0000200 /* ring */ 22 #define DML_CAR 0000100 /* carrier detect */ 23 #define DML_CTS 0000040 /* clear to send */ 24 #define DML_SR 0000020 /* secondary receive */ 25 #define DML_ST 0000010 /* secondary transmit */ 26 #define DML_RTS 0000004 /* request to send */ 27 #define DML_DTR 0000002 /* data terminal ready */ 28 #define DML_LE 0000001 /* line enable */ 29 30 #endif /* !__RSREG__ */ 31