Source-Changes-HG archive

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

[src/trunk]: src/etc Translate requests for ucom into ttyU.



details:   https://anonhg.NetBSD.org/src/rev/ae8af1bac4f0
branches:  trunk
changeset: 811646:ae8af1bac4f0
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Nov 08 23:23:30 2015 +0000

description:
Translate requests for ucom into ttyU.

diffstat:

 etc/MAKEDEV.tmpl |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 53a88fec6671 -r ae8af1bac4f0 etc/MAKEDEV.tmpl
--- a/etc/MAKEDEV.tmpl  Sun Nov 08 21:05:39 2015 +0000
+++ b/etc/MAKEDEV.tmpl  Sun Nov 08 23:23:30 2015 +0000
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#      $NetBSD: MAKEDEV.tmpl,v 1.175 2015/11/05 16:46:22 macallan Exp $
+#      $NetBSD: MAKEDEV.tmpl,v 1.176 2015/11/08 23:23:30 joerg Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -990,6 +990,10 @@
        mkdev ctyY$unit c %ucycom_chr% $(($unit + $callunit)) "" "" $u_uucp
        ;;
 
+ucom[0-9]*)
+       makedev ttyU${i#ucom}
+       ;;
+
 ttyU[0-9]*)
        unit=${i#ttyU}
        mkdev ttyU$unit c %ucom_chr% $(($unit + $dialin  )) "" "" $u_uucp



Home | Main Index | Thread Index | Old Index