Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.walnut Make the comments at the top match reality.



details:   https://anonhg.NetBSD.org/src/rev/1645596ddca0
branches:  trunk
changeset: 535609:1645596ddca0
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Aug 23 12:58:37 2002 +0000

description:
Make the comments at the top match reality.

G/C a couple of other unused devices.

As a precaution, comment out the wscons entries until
the kernel supports it and note that their major numbers
will need to be re-synced.

diffstat:

 etc/etc.walnut/MAKEDEV |  139 +++++++++++++++++++++---------------------------
 1 files changed, 62 insertions(+), 77 deletions(-)

diffs (196 lines):

diff -r 1a0c409d9aff -r 1645596ddca0 etc/etc.walnut/MAKEDEV
--- a/etc/etc.walnut/MAKEDEV    Fri Aug 23 12:46:49 2002 +0000
+++ b/etc/etc.walnut/MAKEDEV    Fri Aug 23 12:58:37 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.26 2002/08/23 12:18:06 scw Exp $
+#      $NetBSD: MAKEDEV,v 1.27 2002/08/23 12:58:37 scw Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -49,15 +49,6 @@
 #      ccd*    contatenated disk devices
 #      raid*   RAIDframe disk devices
 #
-# Console ports:
-#      ttyE*   wscons
-#
-# Pointing devices:
-#      wsmouse* wscons mouse events
-#
-# Keyboard devices:
-#      wskbd*  wscons keyboard events
-#
 # Terminal ports:
 #      com*    standard PC COM ports                   (XXX)
 #      tty*    alias for PC COM ports, this is what the system really wants
@@ -91,7 +82,6 @@
 #      uk*     unknown SCSI device
 #      ch*     SCSI media changer
 #      cfs*    Coda file system device
-#      wsmux*  wscons event multiplexor
 #      pci*    PCI bus access devices
 #      systrace syscall tracer
 #      kttcp   kernel ttcp helper
@@ -122,14 +112,14 @@
 case $i in
 
 all)
-       makedev std fd wt0 wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
+       makedev std fd wd0 wd1 wd2 wd3 sd0 sd1 sd2 sd3 sd4
        makedev tty0 tty1 pty0
        makedev raid0 raid1 raid2 raid3 raid4 raid5 raid6 raid7
        makedev st0 st1 ch0 cd0 cd1 vnd0 vnd1 lpa0 lpa1 lpa2
        makedev lpt0 lpt1 lpt2 tun0 tun1 ipl
        makedev bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
        makedev ccd0 ccd1 ccd2 ccd3 md0 ss0 ch0 uk0 uk1 random ttyCY0
-       makedev lkm mms0 lms0 apm local
+       makedev lkm local
        makedev scsibus0 scsibus1 scsibus2 scsibus3
        makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
        makedev isdns
@@ -166,70 +156,72 @@
        fi
        ;;
 
-wscons)
-       makedev ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
-       makedev wsmouse0 wsmouse1 wsmouse2 wsmouse3
-       makedev wskbd0 wskbd1 wskbd2 wskbd3
-       makedev wsmux0 wsmux1 wsmux2 wsmux3
-       makedev wsmouse wskbd
-       makedev ttyEcfg
-       ;;
+# Wscons commented out for now until it is supported for real.
+# Note that the major numbers will need to be revised at that time.
+#wscons)
+#      makedev ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
+#      makedev wsmouse0 wsmouse1 wsmouse2 wsmouse3
+#      makedev wskbd0 wskbd1 wskbd2 wskbd3
+#      makedev wsmux0 wsmux1 wsmux2 wsmux3
+#      makedev wsmouse wskbd
+#      makedev ttyEcfg
+#      ;;
 
-wsmouse)
-       rm -f wsmouse
-       mknod wsmouse c 52 0
-       chmod 600 wsmouse
-       ;;
+#wsmouse)
+#      rm -f wsmouse
+#      mknod wsmouse c 52 0
+#      chmod 600 wsmouse
+#      ;;
 
-wskbd)
-       rm -f wskbd
-       mknod wskbd c 52 1
-       chmod 600 wskbd
-       ;;
+#wskbd)
+#      rm -f wskbd
+#      mknod wskbd c 52 1
+#      chmod 600 wskbd
+#      ;;
 
-wsmux*)
-       unit=${i#wsmux}
-       unitctl=$(($unit + 128))
-       wsmux=wsmux$unit
-       wsmuxctl=wsmuxctl$unit
-       major=52
-       rm -f $wsmux $wsmuxctl
-       mknod $wsmux c $major $unit
-       chmod 600 $wsmux
-       mknod $wsmuxctl c $major $unitctl
-       chmod 200 $wsmuxctl
-       ;;
+#wsmux*)
+#      unit=${i#wsmux}
+#      unitctl=$(($unit + 128))
+#      wsmux=wsmux$unit
+#      wsmuxctl=wsmuxctl$unit
+#      major=52
+#      rm -f $wsmux $wsmuxctl
+#      mknod $wsmux c $major $unit
+#      chmod 600 $wsmux
+#      mknod $wsmuxctl c $major $unitctl
+#      chmod 200 $wsmuxctl
+#      ;;
 
-ttyEcfg)
-       chr=47
-       rm -f ttyEcfg
-       mknod ttyEcfg c $chr 255
-       chmod 600 ttyEcfg
-       ;;
+#ttyEcfg)
+#      chr=47
+#      rm -f ttyEcfg
+#      mknod ttyEcfg c $chr 255
+#      chmod 600 ttyEcfg
+#      ;;
 
-ttyE*)
-       chr=47; unit=${i#ttyE}
-       rm -f ttyE$unit
-       mknod ttyE$unit c $chr $unit
-       ;;
+#ttyE*)
+#      chr=47; unit=${i#ttyE}
+#      rm -f ttyE$unit
+#      mknod ttyE$unit c $chr $unit
+#      ;;
 
-wsmouse*)
-       unit=${i#wsmouse}
-       wsmouse=wsmouse$unit
-       major=49
-       rm -f $wsmouse
-       mknod $wsmouse c $major $unit
-       chmod 600 $wsmouse
-       ;;
+#wsmouse*)
+#      unit=${i#wsmouse}
+#      wsmouse=wsmouse$unit
+#      major=49
+#      rm -f $wsmouse
+#      mknod $wsmouse c $major $unit
+#      chmod 600 $wsmouse
+#      ;;
 
-wskbd*)
-       unit=${i#wskbd}
-       wskbd=wskbd$unit
-       major=48
-       rm -f $wskbd
-       mknod $wskbd c $major $unit
-       chmod 600 $wskbd
-       ;;
+#wskbd*)
+#      unit=${i#wskbd}
+#      wskbd=wskbd$unit
+#      major=48
+#      rm -f $wskbd
+#      mknod $wskbd c $major $unit
+#      chmod 600 $wskbd
+#      ;;
 
 fd)
        if $nofdesc; then
@@ -468,13 +460,6 @@
        chmod 640 lkm
        ;;
 
-satlink*)
-       unit=${i#satlink}
-       rm -f satlink$unit
-       mknod satlink$unit c 45 $unit
-       chmod 444 satlink$unit
-       ;;
-
 random)
        rm -f random urandom
        mknod random c 24 0



Home | Main Index | Thread Index | Old Index