Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/etc/etc.alpha Create dtyC* devices, as well.
details: https://anonhg.NetBSD.org/src/rev/a2f1d70abce8
branches: trunk
changeset: 514972:a2f1d70abce8
user: thorpej <thorpej%NetBSD.org@localhost>
date: Sat Sep 15 04:41:46 2001 +0000
description:
Create dtyC* devices, as well.
diffstat:
etc/etc.alpha/MAKEDEV | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 19dce65afbb7 -r a2f1d70abce8 etc/etc.alpha/MAKEDEV
--- a/etc/etc.alpha/MAKEDEV Sat Sep 15 04:40:21 2001 +0000
+++ b/etc/etc.alpha/MAKEDEV Sat Sep 15 04:41:46 2001 +0000
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $NetBSD: MAKEDEV,v 1.73 2001/09/10 21:23:53 augustss Exp $
+# $NetBSD: MAKEDEV,v 1.74 2001/09/15 04:41:46 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -398,10 +398,9 @@
chown root:wheel $i
;;
-ttyB*|ttyC*|ttyE*)
+ttyB*|ttyE*)
case $i in
ttyB*) name=ttyB; unit=${i#ttyB}; major=15; minor=$(($unit * 2));;
- ttyC*) name=ttyC; unit=${i#ttyC}; major=26; minor=$unit;;
ttyE*) name=ttyE; unit=${i#ttyE}; major=25; minor=$unit;;
esac
rm -f $name$unit
@@ -409,6 +408,14 @@
chown uucp.wheel $name$unit
;;
+ttyC*)
+ unit=${i#ttyC}
+ rm -f ttyC$unit dtyC$unit
+ mknod ttyC$unit c 26 $(($unit + $dialin))
+ mknod dtyC$unit c 26 $(($unit + $dialout))
+ chown uucp.wheel ttyC$unit dtyC$unit
+ ;;
+
pty*)
class=${i#pty}
case $class in
Home |
Main Index |
Thread Index |
Old Index