summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-07-07 23:49:59 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-07-07 23:49:59 +0000
commit86722bb3cc3849f995f6e08608f0ceb917f5d866 (patch)
tree85f514d29e6007ad778139c108ff1cded365f327 /etc
parent059ea7c17aa68064a3f5180671b0f324042aeb97 (diff)
Add ppi, fix dca.
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.hp300/MAKEDEV25
1 files changed, 19 insertions, 6 deletions
diff --git a/etc/etc.hp300/MAKEDEV b/etc/etc.hp300/MAKEDEV
index f9d18caff60..efe2a4c2ea0 100644
--- a/etc/etc.hp300/MAKEDEV
+++ b/etc/etc.hp300/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.19 1997/07/06 19:42:39 downsj Exp $
+# $OpenBSD: MAKEDEV,v 1.20 1997/07/07 23:49:58 downsj Exp $
# $NetBSD: MAKEDEV,v 1.12 1995/11/05 23:50:22 thorpej Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -55,6 +55,7 @@
# Pseudo terminals:
# pty* set of 16 master and slave pseudo terminals
# Printers:
+# ppi* HP-IB plotters
# Call units:
# Special purpose devices:
# fd file descriptors
@@ -76,7 +77,7 @@ case $i in
all)
sh MAKEDEV std fd ct0 ct1 st0 st1 ccd0 ccd1 ccd2 hd0 hd1 hd2
sh MAKEDEV sd0 sd1 sd2 rd0 rd1 pty0 vnd0 vnd1 vnd2 vnd3
- sh MAKEDEV hil grf0 apci0 ite0 dca0 dcm0 dcm1 dcm2 dcm3
+ sh MAKEDEV hil grf0 apci0 ppi0 ite0 dca0 dcm0 dcm1 dcm2 dcm3
sh MAKEDEV bpf0 bpf1 bpf2 bpf3 ipl tun0 tun1 tun2 tun3 lkm random
sh MAKEDEV local
;;
@@ -285,12 +286,11 @@ vnd*)
;;
dca*)
- # XXX What about dca cards?
unit=`expr $i : 'dca\(.*\)'`
case $unit in
- 0)
- rm -f tty0
- mknod tty0 c 12 0
+ 0|1|2|3)
+ rm -f tty${unit}
+ mknod tty${unit} c 12 ${unit}
;;
*)
echo bad unit for dca in: $i
@@ -327,6 +327,19 @@ apci*)
esac
;;
+ppi*)
+ unit=`expr $i : 'ppi\(.*\)'`
+ case $unit in
+ 0|1|2|3)
+ rm -f ppi${unit}
+ mknod ppi${unit} c 11 ${unit}
+ ;;
+ *)
+ echo bad unit for ppi in: $i
+ ;;
+ esac
+ ;;
+
ite*)
unit=`expr $i : 'ite\(.*\)'`
case $unit in