summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2001-11-06 23:46:06 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2001-11-06 23:46:06 +0000
commitc35bb91d81e26f0219e95a6309ea71a1abd06556 (patch)
treebe2a003a48de6802ed4bda533ead9731c99010c1 /etc
parent84a3f13de28a723165307dcd0fdae4a59e2f35c5 (diff)
Add USB scanner device node to macppc and i386, both of these had the
uscanner compiled into the kernel, but no device node, or even entry in the character device switch table. ok todd@
Diffstat (limited to 'etc')
-rw-r--r--etc/etc.i386/MAKEDEV11
-rw-r--r--etc/etc.macppc/MAKEDEV11
2 files changed, 18 insertions, 4 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV
index 3fdbb9595eb..3e6fd3633c6 100644
--- a/etc/etc.i386/MAKEDEV
+++ b/etc/etc.i386/MAKEDEV
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: MAKEDEV,v 1.104 2001/10/04 22:38:13 gluk Exp $
+# $OpenBSD: MAKEDEV,v 1.105 2001/11/06 23:46:05 drahn Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
@@ -221,7 +221,7 @@ usbs)
sh $this usb0 usb1
sh $this uhid0 uhid1 uhid2 uhid3
sh $this ulpt0 ulpt1
- sh $this urio0
+ sh $this urio0 uscanner0
sh $this utty0 utty1
;;
@@ -282,6 +282,13 @@ urio*)
chmod 660 urio$unit
;;
+uscanner*)
+ rm -f uscanner$unit
+ mknod uscanner$unit c 77 $unit
+ chown root.wheel uscanner$unit
+ chmod 660 uscanner$unit
+ ;;
+
ugen*)
for j in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15
do
diff --git a/etc/etc.macppc/MAKEDEV b/etc/etc.macppc/MAKEDEV
index 0514b3babac..e317f44dee3 100644
--- a/etc/etc.macppc/MAKEDEV
+++ b/etc/etc.macppc/MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: MAKEDEV,v 1.2 2001/10/03 14:50:38 drahn Exp $
+# $OpenBSD: MAKEDEV,v 1.3 2001/11/06 23:46:05 drahn Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@@ -212,7 +212,7 @@ usbs)
sh $this usb0 usb1
sh $this uhid0 uhid1 uhid2 uhid3
sh $this ulpt0 ulpt1
- sh $this urio0
+ sh $this urio0 uscanner0
sh $this utty0 utty1
;;
@@ -513,6 +513,13 @@ urio*)
chmod 660 urio$unit
;;
+uscanner*)
+ rm -f uscanner$unit
+ mknod uscanner$unit c 74 $unit
+ chown root.wheel uscanner$unit
+ chmod 660 uscanner$unit
+ ;;
+
utty*)
rm -f utty$unit
mknod utty$unit c 66 $unit