home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / bugs / 2bsd / 83 < prev    next >
Encoding:
Internet Message Format  |  1992-08-30  |  4.3 KB

  1. Path: sparky!uunet!know!mips2!news.bbn.com!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!europa.asd.contel.com!awds.imsd.contel.com!wlbr!sms
  2. From: sms@WLV.IIPO.GTEGSC.COM (Steven M. Schultz)
  3. Newsgroups: comp.bugs.2bsd
  4. Subject: DL-11 defined in /dev/MAKEDEV plus change to dh.4 man page (#74)
  5. Message-ID: <1992Aug30.045114.15668@wlbr.iipo.gtegsc.com>
  6. Date: 30 Aug 92 04:51:14 GMT
  7. Sender: news@wlbr.iipo.gtegsc.com (news)
  8. Organization: GTE Government Systems
  9. Lines: 141
  10. Nntp-Posting-Host: wlv.iipo.gtegsc.com
  11.  
  12. Subject: DL-11 defined in /dev/MAKEDEV plus change to dh.4 man page (#74)
  13. Index:    /dev/MAKEDEV,/usr/src/man/man4/dh.4 2.11BSD
  14.  
  15. Description:
  16.     The 11/93 and 11/94 have 7 extra DL-11 type serial ports on the
  17.     cpu board.  A device node name was needed.  'dl' was selected
  18.     and the /dev name is /dev/ttyl[1-7].  Unit 0 is reserved for the
  19.     console device.
  20.  
  21. Repeat-By:
  22.     Put 2.11BSD on a 11/93, note that /dev/MAKEDEV doesn't know what
  23.     to do.
  24.  
  25. Fix:
  26.     It is highly unlikely that more than 4 DH-11 units will (or can)
  27.     be used.  The dh.4 man page and /dev/MAKEDEV script were updated 
  28.     to only allow tty[h,i,j,k] and ttyl was selected as the DL-11
  29.     device name.
  30. ==============================cut here============================
  31. *** /dev/MAKEDEV.old    Sun Dec 22 17:16:18 1991
  32. --- /dev/MAKEDEV    Thu Jul 23 20:29:09 1992
  33. ***************
  34. *** 24,29 ****
  35. --- 24,30 ----
  36.   #    si*    unibus cdc 9766 w/ si 9500
  37.   #    xp*    unibus rm02/03/05, rp04/05/06, diva, eagle, cdc9766, fuji 160.
  38.   # Terminal multiplexors:
  39. + #    dl*    dl-11 units other than the console
  40.   #    dz*    unibus dz11 and dz32
  41.   #    dh*    unibus dh11 and emulations (e.g. Able dmax, Emulex cs-11)
  42.   #    dmf*    unibus dmf32
  43. ***************
  44. *** 250,256 ****
  45.           unit=`expr $i : "$name\(.*\)"`
  46.           case $unit in
  47.           0) ch=h ;; 1) ch=i ;; 2) ch=j ;; 3) ch=k ;;
  48. -         4) ch=l ;; 5) ch=m ;; 6) ch=n ;; 7) ch=o ;;
  49.           *) echo bad unit for $name in: $i ;;
  50.           esac;;
  51.       esac
  52. --- 251,256 ----
  53. ***************
  54. *** 263,274 ****
  55.           printf("/etc/mknod tty%s%c c %d %d; ",ch,87+i,m,u+i); }'`
  56.       ;;
  57.   
  58.   # we may want va and vp someday...
  59.   # lp*|va*|vp*)
  60.   lp*|dn*)
  61.       case $i in
  62.       lp*) name=lp; major=5;;
  63. !     dn*) name=dn; major=21;
  64.   #    va*) name=va; major=10;;
  65.   #    vp*) name=vp; major=6;;
  66.       esac
  67. --- 263,293 ----
  68.           printf("/etc/mknod tty%s%c c %d %d; ",ch,87+i,m,u+i); }'`
  69.       ;;
  70.   
  71. + # extra DL-11 units not including the console.  unit numbers start at 1 because
  72. + # the console is always unit 0.  Seven units (1 - 7) are defined for the 11/93
  73. + # and 11/94.  Device name is "ttyl?".  The DH range was restricted from 'h'-'o'
  74. + # to 'h' - 'k' (very unlikely that more than 64 channels of DH-11 will or could
  75. + # be put on an 11.
  76. + dl*)
  77. +     name=dl; major=0; ch=l
  78. +     unit=`expr $i : "$name\(.*\)"`
  79. +     case $unit in
  80. +     1|2|3|4|5|6|7)
  81. +         /etc/mknod tty${ch}${unit} c $major $unit;
  82. +         ;;
  83. +     *)
  84. +         echo bad unit for $name in: $i
  85. +         ;;
  86. +     esac
  87. +     ;;
  88.   # we may want va and vp someday...
  89.   # lp*|va*|vp*)
  90.   lp*|dn*)
  91.       case $i in
  92.       lp*) name=lp; major=5;;
  93. !     dn*) name=dn; major=21;;
  94.   #    va*) name=va; major=10;;
  95.   #    vp*) name=vp; major=6;;
  96.       esac
  97. *** /usr/src/man/man4/dh.4.old    Thu Jan 28 11:56:23 1988
  98. --- /usr/src/man/man4/dh.4    Thu Jul 23 20:29:11 1992
  99. ***************
  100. *** 2,8 ****
  101.   .\" All rights reserved.  The Berkeley software License Agreement
  102.   .\" specifies the terms and conditions for redistribution.
  103.   .\"
  104. ! .\"    @(#)dh.4    6.2 (Berkeley) 1/28/88
  105.   .\"
  106.   .TH DH 4 "January 28, 1988"
  107.   .UC 2
  108. --- 2,8 ----
  109.   .\" All rights reserved.  The Berkeley software License Agreement
  110.   .\" specifies the terms and conditions for redistribution.
  111.   .\"
  112. ! .\"    @(#)dh.4    6.3 (Berkeley) 7/23/92
  113.   .\"
  114.   .TH DH 4 "January 28, 1988"
  115.   .UC 2
  116. ***************
  117. *** 26,32 ****
  118.       raw: 3
  119.   minor device encoding:
  120.       bits 0017 specify line on DH unit
  121. !     bits 0160 specify DH unit
  122.       bit  0200 specifies non-blocking open (``CD always on'')
  123.   .fi
  124.   .ft R
  125. --- 26,33 ----
  126.       raw: 3
  127.   minor device encoding:
  128.       bits 0017 specify line on DH unit
  129. !     bits 0060 specify DH unit
  130. !     bit  0100 unused
  131.       bit  0200 specifies non-blocking open (``CD always on'')
  132.   .fi
  133.   .ft R
  134. ***************
  135. *** 63,69 ****
  136.   the driver polls for input 30 times per second.
  137.   .SH FILES
  138.   .ta \w'/dev/MAKEDEV.local  'u
  139. ! /dev/tty[h-o][0-9a-f]
  140.   .br
  141.   /dev/ttyd[0-9a-f]
  142.   .br
  143. --- 64,70 ----
  144.   the driver polls for input 30 times per second.
  145.   .SH FILES
  146.   .ta \w'/dev/MAKEDEV.local  'u
  147. ! /dev/tty[h-k][0-9a-f]
  148.   .br
  149.   /dev/ttyd[0-9a-f]
  150.   .br
  151.