]> git.ozlabs.org Git - ppp.git/blobdiff - freebsd-2.0/ppp_tty.c
*** empty log message ***
[ppp.git] / freebsd-2.0 / ppp_tty.c
index 01040de4748b2cc67e73aadb439b1e12da67af4e..f06c4d7d32a69edcd23c62d246bae9be788fba06 100644 (file)
@@ -70,7 +70,7 @@
  * Paul Mackerras (paulus@cs.anu.edu.au).
  */
 
-/* $Id: ppp_tty.c,v 1.5 1996/07/01 01:00:31 paulus Exp $ */
+/* $Id: ppp_tty.c,v 1.7 1997/03/04 03:27:28 paulus Exp $ */
 /* from if_sl.c,v 1.11 84/10/04 12:54:47 rick Exp */
 /* from NetBSD: if_ppp.c,v 1.15.2.2 1994/07/28 05:17:58 cgd Exp */
 
@@ -112,7 +112,7 @@ int pppopen __P((dev_t dev, struct tty *tp));
 int    pppclose __P((struct tty *tp, int flag));
 int    pppread __P((struct tty *tp, struct uio *uio, int flag));
 int    pppwrite __P((struct tty *tp, struct uio *uio, int flag));
-int    ppptioctl __P((struct tty *tp, u_long cmd, caddr_t data, int flag,
+int    ppptioctl __P((struct tty *tp, int cmd, caddr_t data, int flag,
                       struct proc *));
 int    pppinput __P((int c, struct tty *tp));
 int    pppstart __P((struct tty *tp));
@@ -397,7 +397,7 @@ pppwrite(tp, uio, flag)
 int
 ppptioctl(tp, cmd, data, flag, p)
     struct tty *tp;
-    u_long cmd;
+    int cmd;
     caddr_t data;
     int flag;
     struct proc *p;
@@ -507,7 +507,7 @@ pppfcs(fcs, cp, len)
 }
 
 /*
- * This gets called at splnet from if_ppp.c at various times
+ * This gets called at splsoftnet from if_ppp.c at various times
  * when there is data ready to be sent.
  */
 static void
@@ -691,7 +691,7 @@ pppasyncstart(sc)
 
 /*
  * This gets called when a received packet is placed on
- * the inq, at splnet.
+ * the inq, at splsoftnet.
  */
 static void
 pppasyncctlp(sc)
@@ -711,7 +711,7 @@ pppasyncctlp(sc)
 /*
  * Start output on async tty interface.  If the transmit queue
  * has drained sufficiently, arrange for pppasyncstart to be
- * called later at splnet.
+ * called later at splsoftnet.
  * Called at spltty or higher.
  */
 int