home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / SUN / SLIP / CSN_SLIP.TAR / tools / str_conf.pat < prev   
Encoding:
Text File  |  1991-07-16  |  970 b   |  52 lines

  1. *** /sys/sun/str_conf.c-    Tue Jun 25 22:05:47 1991
  2. --- /sys/sun/str_conf.c    Wed Jun 26 09:21:32 1991
  3. ***************
  4. *** 6,11 ****
  5. --- 6,13 ----
  6.    * Copyright (c) 1986 by Sun Microsystems, Inc.
  7.    */
  8.   
  9. + #include "slip.h"
  10.   #include <sys/param.h>
  11.   #include <sys/systm.h>
  12.   #include <sys/conf.h>
  13. ***************
  14. *** 48,59 ****
  15. --- 50,72 ----
  16.   #if    NAUDIOAMD > 0
  17.   extern struct streamtab audio_79C30_info;
  18.   #endif
  19. + #if     NSLIP > 0
  20. + extern  struct  streamtab slipencode;
  21. + extern  struct  streamtab streams_ip;
  22. + #endif
  23.   
  24.   extern struct streamtab    ldtrinfo;
  25.   extern struct streamtab    ttycompatinfo;
  26.   
  27.   struct    fmodsw fmodsw[] =
  28.   {
  29. + #if     NSLIP > 0
  30. +         { "slipen", &slipencode },
  31. +         { "str_ip", &streams_ip },
  32. + #endif
  33.   #if    NNBUF > 0
  34.       { "nbuf",    &nb_info },
  35.   #endif
  36. ***************
  37. *** 91,96 ****
  38. --- 104,112 ----
  39.       { "",        0 },
  40.   #endif VDDRV
  41.       { "",        0 }
  42.   };
  43.   
  44.   int    fmodcnt = sizeof (fmodsw) / sizeof (fmodsw[0]) - 1;
  45.