*** /usr/sys/h/ioctl.h.orig Fri Dec 9 10:05:18 1994 --- /usr/sys/h/ioctl.h Fri Dec 9 10:06:06 1994 *************** *** 405,410 **** --- 405,411 ---- #define SLPDISC 0x07 /* BSD Serial Line IP */ #define PCMDISC 0x08 /* Peripheral Control Module for dial and button boxex */ + #define PPPDISC 0x09 /* PPP Point-to-Point Protocol */ /* Line disc #'s 16-23 are reserved for local extension.*/ *** /usr/sys/net/net/if.h.orig Wed Aug 4 01:57:00 1993 --- /usr/sys/net/net/if.h Fri Dec 9 09:29:11 1994 *************** *** 231,236 **** --- 231,237 ---- #define IFT_XETHER 0x1a /* obsolete 3MB experimental ethernet */ #define IFT_NSIP 0x1b /* XNS over IP */ #define IFT_SLIP 0x1c /* IP over generic TTY */ + #define IFT_PPP 0x1d /* PPP over generic TTY */ /* * Output queues (ifp->if_snd) and internetwork datagram level (pup level 1) *** /usr/sys/net/net/netisr.h.orig Fri Dec 9 09:53:17 1994 --- /usr/sys/net/net/netisr.h Fri Dec 9 09:54:14 1994 *************** *** 77,82 **** --- 77,83 ---- #define NETISR_LAT 14 /* same as AF_LAT */ #define NETISR_BSC 15 /* same as AF_BSC */ #define NETISR_DLO 19 /* same as AF_OSI */ + #define NETISR_PPP 26 /* Point-to-Point Protocol */ #define schednetisr(anisr) { set_bit_atomic(anisr,&netisr); setsoftnet(); } *** /usr/sys/net/net/conf_net.c.orig Fri Dec 9 13:29:49 1994 --- /usr/sys/net/net/conf_net.c Fri Dec 9 13:32:50 1994 *************** *** 84,89 **** --- 84,90 ---- #ifdef vax #include "bsc.h" #endif vax + #include "ppp.h" #if ((NETHER==0 && NFDDI==0) || NINET==0) *************** *** 251,257 **** }; ! extern int rawintr(), ipintr(), nsintr(), dnetintr(), dlointr(), dliintr(), latintr(), bscintr(); #ifdef __mips extern int scsiisr(); #endif --- 252,258 ---- }; ! extern int rawintr(), ipintr(), nsintr(), dnetintr(), dlointr(), dliintr(), latintr(), bscintr(), pppintr(); #ifdef __mips extern int scsiisr(); #endif *************** *** 289,294 **** --- 290,298 ---- {NETISR_SCSI,scsiisr}, #endif /* NSCSI > 0 || NSII > 0 || NASC > 0 */ #endif /* __mips */ + #if NPPP > 0 + {NETISR_PPP,pppintr}, + #endif /* NPPP */ {-1 ,0} }; *** /usr/sys/data/pseudo_data.c.orig Sat Sep 19 06:20:31 1992 --- /usr/sys/data/pseudo_data.c Fri Dec 9 09:32:23 1994 *************** *** 25,30 **** --- 25,35 ---- #endif /* NSL > 0 */ + #include "ppp.h" + #if NPPP > 0 + pppattach(); + #endif + return; } *** /usr/sys/data/tty_conf_data.c.orig Sat Sep 19 06:19:21 1992 --- /usr/sys/data/tty_conf_data.c Fri Dec 9 09:32:38 1994 *************** *** 83,88 **** --- 83,94 ---- int slopen(), slclose(), slinput(), sltioctl(), slstart(); #endif + #include "ppp.h" + #if NPPP > 0 + int pppopen(), pppclose(), pppread(), pppwrite(), pppinput(); + int ppptioctl(), pppstart(); + #endif + #ifdef BINARY extern int nldisp; *************** *** 141,146 **** --- 147,161 ---- nodev, nodev, nodev, nodev, nodev, nodev, nodev, nodev, nodev, nodev, #endif + + #if NPPP > 0 + pppopen, pppclose, pppread, pppwrite, ppptioctl, + pppinput, nodev, nulldev, pppstart, nulldev, /* 9 - PPPDISC */ + #else + nodev, nodev, nodev, nodev, nodev, + nodev, nodev, nodev, nodev, nodev, + #endif + }; *** /usr/sys/conf/mips/files.mips.orig Sat Sep 11 06:09:28 1993 --- /usr/sys/conf/mips/files.mips Fri Dec 9 09:32:01 1994 *************** *** 114,120 **** io/netif/if_ln_copy.s optional ln Binary io/netif/if_ne.c optional ne device-driver Binary io/netif/if_sl.c optional sl device-driver Binary Unsupported ! io/netif/slcompress.c optional sl device-driver Binary Unsupported io/netif/if_qe.c optional qe device-driver Binary io/netif/if_uba.c optional inet device-driver Binary io/netif/if_ni.c optional bvpni device-driver Binary --- 114,123 ---- io/netif/if_ln_copy.s optional ln Binary io/netif/if_ne.c optional ne device-driver Binary io/netif/if_sl.c optional sl device-driver Binary Unsupported ! io/netif/if_ppp.c optional ppp device-driver Notbinary ! io/netif/ppp_tty.c optional ppp device-driver Notbinary ! io/netif/bsd-comp.c optional ppp device-driver Notbinary ! io/netif/slcompress.c optional sl or ppp device-driver Notbinary io/netif/if_qe.c optional qe device-driver Binary io/netif/if_uba.c optional inet device-driver Binary io/netif/if_ni.c optional bvpni device-driver Binary