Subject: MAKEDEV sets incorrect minor devices for scc lines
To: None <port-pmax@NetBSD.ORG>
From: maximum entropy <entropy@zippy.bernstein.com>
List: port-pmax
Date: 04/03/1997 11:53:01
This fixes MAKEDEV so that /dev/tty00 and /dev/tty01 both point to
25-pin serial ports.  It also changes the name of minor device 2 so
that tty00 and tty01 refer to the same ports on both NetBSD and
Ultrix.

--- /usr/src/etc/etc.pmax/MAKEDEV-orig	Mon Oct 14 11:25:30 1996
+++ /usr/src/etc/etc.pmax/MAKEDEV	Thu Apr  3 11:40:49 1997
@@ -172,8 +172,8 @@
 	unit=`expr $i : 'scc\(.*\)'`
 	case $unit in
 	0)
-		mknod tty00 c 17 2
-		mknod tty01 c 17 3
+		mknod tty00 c 17 0
+		mknod tty01 c 17 2
 		;;
 	*)
 		echo bad unit for scc in: $i

--
entropy -- it's not just a good idea, it's the second law.