summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>1999-03-30 06:33:10 +0000
committerPaul Mackerras <paulus@samba.org>1999-03-30 06:33:10 +0000
commitc1d7b083dc15423cae75be3c8b50a9a35aceac21 (patch)
treee587b80f1c4ab787cfc035c6f41cd40d1a98812f /include
parent4426185a13df05984b8827e786966ed1b1408e4e (diff)
downloadppp-c1d7b083dc15423cae75be3c8b50a9a35aceac21.tar.gz
Apply patch for sync serial support from Paul Fulghum.
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_ppp.h7
-rw-r--r--include/linux/if_pppvar.h3
2 files changed, 6 insertions, 4 deletions
diff --git a/include/linux/if_ppp.h b/include/linux/if_ppp.h
index 02c2b7c..95c552e 100644
--- a/include/linux/if_ppp.h
+++ b/include/linux/if_ppp.h
@@ -1,4 +1,4 @@
-/* $Id: if_ppp.h,v 1.17 1999/03/02 05:37:51 paulus Exp $ */
+/* $Id: if_ppp.h,v 1.18 1999/03/30 06:33:07 paulus Exp $ */
/*
* if_ppp.h - Point-to-Point Protocol definitions.
@@ -21,7 +21,7 @@
*/
/*
- * ==FILEVERSION 990226==
+ * ==FILEVERSION 990325==
*
* NOTE TO MAINTAINERS:
* If you modify this file at all, please set the above date.
@@ -67,7 +67,8 @@
#define SC_LOG_OUTPKT 0x00040000 /* log contents of pkts sent */
#define SC_LOG_RAWIN 0x00080000 /* log all chars received */
#define SC_LOG_FLUSH 0x00100000 /* log all chars flushed */
-#define SC_MASK 0x0f0000ff /* bits that user can change */
+#define SC_SYNC 0x00200000 /* synchronous serial mode */
+#define SC_MASK 0x0f2000ff /* bits that user can change */
/* state bits */
#define SC_XMIT_BUSY 0x10000000 /* (used by isdn_ppp?) */
diff --git a/include/linux/if_pppvar.h b/include/linux/if_pppvar.h
index 6fae4b9..d6cd0c2 100644
--- a/include/linux/if_pppvar.h
+++ b/include/linux/if_pppvar.h
@@ -42,7 +42,7 @@
*/
/*
- * ==FILEVERSION 990114==
+ * ==FILEVERSION 990325==
*
* NOTE TO MAINTAINERS:
* If you modify this file at all, please set the above date.
@@ -89,6 +89,7 @@ struct ppp {
__u8 escape; /* 0x20 if prev char was PPP_ESC */
__u8 toss; /* toss this frame */
volatile __u8 tty_pushing; /* internal state flag */
+ volatile __u8 woke_up; /* internal state flag */
__u32 xmit_async_map[8]; /* 1 bit means that given control
character is quoted on output*/
__u32 recv_async_map; /* 1 bit means that given control