diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 2002-02-14 17:46:16 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 2002-02-14 17:46:16 +0000 |
commit | 21627bedb01e48b190d1b159750facb3b627afbf (patch) | |
tree | 3763f47254edd23a7174098eefc7494b47d04c4c /etc/etc.hp300/MAKEDEV | |
parent | 42b72c0863b27a0f8c4fbd5e24bbcd4550f696bd (diff) |
sync
Diffstat (limited to 'etc/etc.hp300/MAKEDEV')
-rw-r--r-- | etc/etc.hp300/MAKEDEV | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV index ad6f0db9572..0c0ccfb35e3 100644 --- a/etc/etc.hp300/MAKEDEV +++ b/etc/etc.hp300/MAKEDEV @@ -3,11 +3,11 @@ # THIS FILE AUTOMATICALLY GENERATED. DO NOT EDIT. # generated from: # -# OpenBSD: etc.hp300/MAKEDEV.md,v 1.3 2002/02/14 04:37:15 todd Exp -# OpenBSD: MAKEDEV.mi,v 1.29 2002/02/14 05:38:22 todd Exp +# OpenBSD: etc.hp300/MAKEDEV.md,v 1.4 2002/02/14 13:29:20 todd Exp +# OpenBSD: MAKEDEV.mi,v 1.31 2002/02/14 17:44:38 todd Exp # OpenBSD: MAKEDEV.sub,v 1.6 2002/02/14 05:50:37 todd Exp # -# $OpenBSD: MAKEDEV,v 1.41 2002/02/14 05:55:09 todd Exp $ +# $OpenBSD: MAKEDEV,v 1.42 2002/02/14 17:46:15 todd Exp $ # # Copyright (c) 2001 Todd T. Fries <todd@OpenBSD.org> # All rights reserved. @@ -366,29 +366,17 @@ fd) ;; pty*) - case $U in - 0) off=0 name=p;; - 1) off=16 name=q;; - 2) off=32 name=r;; - 3) off=48 name=s;; - 4) off=64 name=t;; - 5) off=80 name=u;; - 6) off=96 name=v;; - 7) off=112 name=w;; - 8) off=128 name=x;; - 9) off=144 name=y;; - 10) off=160 name=z;; - 11) off=176 name=P;; - 12) off=192 name=Q;; - 13) off=206 name=R;; - 14) off=224 name=S;; - 15) off=240 name=T;; - *) echo bad unit for pty in: $i; continue;; - esac + if [ $U -gt 15 ]; then + echo bad unit for pty in: $i + continue + fi + set -A tbl p q r s t u v w x y z P Q R S T + name=${tbl[$U]} n=0 while [ $n -lt 16 ] do nam=$name$(hex $n) + off=$(($U*16)) M tty$nam c 4 $(($off+$n)) M pty$nam c 5 $(($off+$n)) n=$(($n+1)) |