diff options
author | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-03-06 07:06:48 +0000 |
---|---|---|
committer | Thorsten Lockert <tholo@cvs.openbsd.org> | 1997-03-06 07:06:48 +0000 |
commit | 2422a165f73a86df6d16ea2c903c80fd0c68fc65 (patch) | |
tree | ac506a93c8bb4a648dc91c965bf87b5a79eacde7 | |
parent | 71d8b30d72fc42b35440abbd765824a961f47499 (diff) |
Add control flag to call hardpps() on carrier change
-rw-r--r-- | sys/dev/ic/comvar.h | 3 | ||||
-rw-r--r-- | sys/sys/ttycom.h | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/comvar.h b/sys/dev/ic/comvar.h index 2a044c66ed5..c0da882608b 100644 --- a/sys/dev/ic/comvar.h +++ b/sys/dev/ic/comvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: comvar.h,v 1.7 1997/01/29 17:56:35 niklas Exp $ */ +/* $OpenBSD: comvar.h,v 1.8 1997/03/06 07:06:45 tholo Exp $ */ /* $NetBSD: comvar.h,v 1.5 1996/05/05 19:50:47 christos Exp $ */ /* @@ -77,6 +77,7 @@ struct com_softc { #define COM_SW_CLOCAL 0x02 #define COM_SW_CRTSCTS 0x04 #define COM_SW_MDMBUF 0x08 +#define COM_SW_PPS 0x10 u_char sc_msr, sc_mcr, sc_lcr, sc_ier; u_char sc_dtr; diff --git a/sys/sys/ttycom.h b/sys/sys/ttycom.h index 4f72bd4fcaf..c08bc8a94b1 100644 --- a/sys/sys/ttycom.h +++ b/sys/sys/ttycom.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ttycom.h,v 1.4 1996/09/09 23:35:17 downsj Exp $ */ +/* $OpenBSD: ttycom.h,v 1.5 1997/03/06 07:06:47 tholo Exp $ */ /* $NetBSD: ttycom.h,v 1.4 1996/05/19 17:17:53 jonathan Exp $ */ /*- @@ -128,6 +128,7 @@ struct winsize { #define TIOCFLAG_CLOCAL 0x02 /* set clocal on open */ #define TIOCFLAG_CRTSCTS 0x04 /* set crtscts on open */ #define TIOCFLAG_MDMBUF 0x08 /* set mdmbuf on open */ +#define TIOCFLAG_PPS 0x10 /* call hardpps on carrier up */ /* Backwards compatibility */ #define TIOCMODG TIOCMGET |