Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.sandpoint Make sure tty00 and tty01 are linked to co...



details:   https://anonhg.NetBSD.org/src/rev/262045a43c86
branches:  trunk
changeset: 755181:262045a43c86
user:      phx <phx%NetBSD.org@localhost>
date:      Wed May 26 16:58:13 2010 +0000

description:
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).

diffstat:

 etc/etc.sandpoint/MAKEDEV.conf |  12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 16b6a642888f -r 262045a43c86 etc/etc.sandpoint/MAKEDEV.conf
--- a/etc/etc.sandpoint/MAKEDEV.conf    Wed May 26 15:04:40 2010 +0000
+++ b/etc/etc.sandpoint/MAKEDEV.conf    Wed May 26 16:58:13 2010 +0000
@@ -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
+       ;;



Home | Main Index | Thread Index | Old Index