applied patches from port-next68k/6708: add wscons devices to next68k MAKEDEV
This commit is contained in:
parent
99c914d1be
commit
654bed5b5c
@ -20,7 +20,7 @@
|
||||
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
||||
#
|
||||
# from: @(#)MAKEDEV 5.2 (Berkeley) 6/22/90
|
||||
# $NetBSD: MAKEDEV,v 1.3 1998/11/13 04:49:03 oster Exp $
|
||||
# $NetBSD: MAKEDEV,v 1.4 1999/01/02 13:06:54 dbj Exp $
|
||||
# @@@ This was taken from the mac68k port. It works, but still should
|
||||
# be reviewed for next68k device #'s --dbj
|
||||
#
|
||||
@ -48,7 +48,14 @@
|
||||
# Terminal ports:
|
||||
# ttye* ite consoles
|
||||
# tty* standard built-in serial ports (2)
|
||||
# ttyE? Workstation console ("wscons") glass-tty emulators
|
||||
#
|
||||
# Pointing devices:
|
||||
# wsmouse* wscons mouse events
|
||||
#
|
||||
# Keyboard devices:
|
||||
# wskbd* wscons keyboard events
|
||||
#
|
||||
# Pseudo terminals:
|
||||
# pty* set of 16 master and slave pseudo terminals
|
||||
#
|
||||
@ -85,6 +92,7 @@ all)
|
||||
sh $0 bpf8 bpf9 bpf10 bpf11 random
|
||||
sh $0 tun0 tun1 tun2 tun3 asc0 lkm ipl local
|
||||
sh $0 scsibus0 scsibus1 scsibus2 scsibus3
|
||||
sh $0 wscons
|
||||
;;
|
||||
|
||||
std)
|
||||
@ -131,6 +139,39 @@ adb)
|
||||
chmod 666 adb
|
||||
;;
|
||||
|
||||
wscons)
|
||||
sh $0 ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7
|
||||
sh $0 wsmouse0
|
||||
sh $0 wskbd0
|
||||
;;
|
||||
|
||||
ttyE*)
|
||||
chr=41; unit=${i#ttyE}
|
||||
rm -f ttyE$unit
|
||||
mknod ttyE$unit c $chr $unit
|
||||
chown root.wheel ttyE$unit
|
||||
;;
|
||||
|
||||
wsmouse*)
|
||||
unit=${i#wsmouse}
|
||||
wsmouse=wsmouse$unit
|
||||
major=43
|
||||
rm -f $wsmouse
|
||||
mknod $wsmouse c $major $unit
|
||||
chown root.wheel $wsmouse
|
||||
chmod 600 $wsmouse
|
||||
;;
|
||||
|
||||
wskbd*)
|
||||
unit=${i#wskbd}
|
||||
wskbd=wskbd$unit
|
||||
major=42
|
||||
rm -f $wskbd
|
||||
mknod $wskbd c $major $unit
|
||||
chown root.wheel $wskbd
|
||||
chmod 600 $wskbd
|
||||
;;
|
||||
|
||||
fd)
|
||||
rm -f fd/*
|
||||
mkdir fd > /dev/null 2>&1
|
||||
|
Loading…
Reference in New Issue
Block a user