]> git.ozlabs.org Git - ppp.git/blobdiff - modules/ppp_ahdlc.c
priority queueing stuff (define bcanputnext)
[ppp.git] / modules / ppp_ahdlc.c
index a52e156af0dc50f6e80c047ec0ae3fb4037d86f3..79a2d05d870b33f860cc597f66724ff89ee456b3 100644 (file)
@@ -24,7 +24,7 @@
  * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
  * OR MODIFICATIONS.
  *
- * $Id: ppp_ahdlc.c,v 1.3 1996/08/28 06:35:50 paulus Exp $
+ * $Id: ppp_ahdlc.c,v 1.5 1997/03/04 03:31:51 paulus Exp $
  */
 
 /*
@@ -68,7 +68,11 @@ static int msg_byte __P((mblk_t *, unsigned int));
 
 #define PPP_AHDL_ID 0x7d23
 static struct module_info minfo = {
+#ifdef PRIOQ
+    PPP_AHDL_ID, "ppp_ahdl", 0, INFPSZ, 640, 512
+#else
     PPP_AHDL_ID, "ppp_ahdl", 0, INFPSZ, 4096, 128
+#endif PRIOQ
 };
 
 static struct qinit rinit = {
@@ -79,6 +83,10 @@ static struct qinit winit = {
     ahdlc_wput, NULL, NULL, NULL, NULL, &minfo, NULL
 };
 
+#if defined(SVR4) && !defined(SOL2)
+int phdldevflag = 0;
+#define ppp_ahdlcinfo phdlinfo
+#endif
 struct streamtab ppp_ahdlcinfo = {
     &rinit, &winit, NULL, NULL
 };