Module Name: src
Committed By: phx
Date: Wed May 26 16:58:13 UTC 2010
Modified Files:
src/etc/etc.sandpoint: MAKEDEV.conf
Log Message:
Make sure tty00 and tty01 are linked to com(4).
The default for the unified PPC devices was to set a hard link to ttyZ*,
which uses the zstty(4) driver (not used on any Sandpoint board so far).
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/etc/etc.sandpoint/MAKEDEV.conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/etc/etc.sandpoint/MAKEDEV.conf
diff -u src/etc/etc.sandpoint/MAKEDEV.conf:1.7 src/etc/etc.sandpoint/MAKEDEV.conf:1.8
--- src/etc/etc.sandpoint/MAKEDEV.conf:1.7 Sat Sep 13 11:46:18 2008
+++ src/etc/etc.sandpoint/MAKEDEV.conf Wed May 26 16:58:13 2010
@@ -1,13 +1,13 @@
-# $NetBSD: MAKEDEV.conf,v 1.7 2008/09/13 11:46:18 tsutsui Exp $
+# $NetBSD: MAKEDEV.conf,v 1.8 2010/05/26 16:58:13 phx Exp $
init)
- makedev std tty0 tty1 tty2 tty3 opty ptm pty0
+ makedev std tty00 tty01 opty ptm pty0
makedev md0 wd0 wd1
makedev pci0 bpf clockctl
;;
all_md)
- makedev tty0 tty1 tty2 tty3
+ makedev tty00 tty01
makedev wd0 wd1
makedev sd0 sd1 sd2 st0 cd0 ss0 ch0 uk0
makedev scsibus0 scsibus1
@@ -18,3 +18,9 @@
ramdisk|floppy)
makedev init
;;
+
+tty0*)
+ unit=${i#tty0}
+ mkdev tty0$unit c 45 $(($unit + $dialin )) "" "" $u_uucp
+ mkdev dty0$unit c 45 $(($unit + $dialout)) "" "" $u_uucp
+ ;;