@ -1,6 +1,6 @@
#!/bin/sh -
#!/bin/sh -
#
#
# $OpenBSD: MAKEDEV,v 1.86 2000/11/23 23:37:44 deraadt Exp $
# $OpenBSD: MAKEDEV,v 1.87 2001/01/30 00:00:33 aaron Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
#
# Copyright (c) 1990 The Regents of the University of California.
# Copyright (c) 1990 The Regents of the University of California.
@ -48,9 +48,8 @@
# raid* RAIDframe disk devices
# raid* RAIDframe disk devices
#
#
# Console ports:
# Console ports:
# ttyC0 pccons or pcvt screen 0
# ttyC* pcvt
# pcvtctl userland <-> kernel mouse communication for pcvt
# ttyC0 pccons or wscons screen 0
# ttyC* wscons
#
#
# Pointing devices:
# Pointing devices:
# mms* Microsoft bus mouse
# mms* Microsoft bus mouse
@ -187,7 +186,8 @@ all)
sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
sh $this mcd0 vnd0 vnd1 lpa0 lpa1 ccd0 ccd1 ccd2 ccd3
sh $this mcd0 vnd0 vnd1 lpa0 lpa1 ccd0 ccd1 ccd2 ccd3
sh $this raid0 raid1 raid2 raid3 lpt0 lpt1 lpt2
sh $this raid0 raid1 raid2 raid3 lpt0 lpt1 lpt2
sh $this ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5 pcvtctl
sh $this ttyC0 ttyC1 ttyC2 ttyC3 ttyC4 ttyC5
sh $this wscons
sh $this ipl tun0 tun1 tun2
sh $this ipl tun0 tun1 tun2
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this speaker lkm mms0 lms0 pms0 audio joy0 joy1 apm local
sh $this speaker lkm mms0 lms0 pms0 audio joy0 joy1 apm local
@ -283,6 +283,12 @@ utty*)
chmod 660 utty$unit
chmod 660 utty$unit
;;
;;
ttyCcfg)
rm -f ttyCcfg
mknod ttyCcfg c 12 255
chown root.wheel ttyCcfg
;;
ttyC*)
ttyC*)
unit=${i##ttyC}
unit=${i##ttyC}
case $unit in
case $unit in
@ -295,11 +301,31 @@ ttyC*)
chown root.wheel ttyC$unit
chown root.wheel ttyC$unit
;;
;;
pcvtctl)
rm -f pcvtctl
mknod pcvtctl c 12 255
chown root.wheel pcvtctl
chmod 600 pcvtctl
wscons)
sh $this wskbd0 wskbd1 wskbd2 wskbd3
sh $this wsmouse0 wsmouse1 wsmouse2 wsmouse3
sh $this ttyCcfg
sh $this wsmux
;;
wskbd*)
rm -f wskbd$unit
mknod wskbd$unit c 67 $unit
chown root.wheel wskbd$unit
;;
wsmouse*)
rm -f wsmouse$unit
mknod wsmouse$unit c 68 $unit
chown root.wheel wsmouse$unit
;;
wsmux|wsmouse|wskbd)
rm -f wsmouse wskbd
mknod wsmouse c 69 0
mknod wskbd c 69 1
chown root.wheel wsmouse wskbd
chmod 600 wsmouse wskbd
;;
;;
ttyc*)
ttyc*)