Subject: port-next68k/6708: add wscons devices to next68k MAKEDEV
To: None <gnats-bugs@gnats.netbsd.org>
From: None <deberg@MIT.EDU>
List: netbsd-bugs
Date: 01/02/1999 01:46:00
>Number: 6708
>Category: port-next68k
>Synopsis: add wscons devices to next68k MAKEDEV
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-next68k-maintainer (NetBSD/next68k Portmaster)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Fri Jan 1 22:50:01 1999
>Last-Modified:
>Originator: matt debergalis
>Organization:
matt debergalis <deberg@mit.edu> KB1CTH
finger deberg@ai.mit.edu for PGP key
>Release: -current
>Environment:
System: NetBSD pizzabox.deberg.org 1.3I NetBSD 1.3I (WSCONS) #38: Sat Jan 2 00:10:13 EST 1999 deberg@sunrise.ne.mediaone.net:/src/netbsd/src/sys/arch/next68k/compile/WSCONS next68k
>Description:
>How-To-Repeat:
>Fix:
Index: MAKEDEV
===================================================================
RCS file: /src/cvsroot-netbsd/netbsd/src/etc/etc.next68k/MAKEDEV,v
retrieving revision 1.1.1.3
diff -u -c -r1.1.1.3 MAKEDEV
cvs diff: conflicting specifications of output style
*** MAKEDEV 1998/11/15 00:15:26 1.1.1.3
--- MAKEDEV 1999/01/02 06:41:07
***************
*** 48,54 ****
--- 48,61 ----
# 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,90 ****
--- 92,98 ----
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)
***************
*** 129,134 ****
--- 137,175 ----
rm -f adb
mknod adb c 23 0
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)
>Audit-Trail:
>Unformatted: