diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2001-06-23 03:34:35 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2001-06-23 03:34:35 +0000 |
commit | 8e574c8018d2cb94ea8a996814764d36ff7cf597 (patch) | |
tree | 0929781d42624e477419e6968eb52c87a6edf63e | |
parent | 53429270408e554c3738afc2b6008017e7819e7f (diff) |
add /dev/pci
-rw-r--r-- | etc/etc.i386/MAKEDEV | 9 | ||||
-rw-r--r-- | etc/etc.powerpc/MAKEDEV | 10 |
2 files changed, 17 insertions, 2 deletions
diff --git a/etc/etc.i386/MAKEDEV b/etc/etc.i386/MAKEDEV index aa43870f082..3b1d171eb9c 100644 --- a/etc/etc.i386/MAKEDEV +++ b/etc/etc.i386/MAKEDEV @@ -1,6 +1,6 @@ #!/bin/sh - # -# $OpenBSD: MAKEDEV,v 1.97 2001/06/21 13:24:02 nate Exp $ +# $OpenBSD: MAKEDEV,v 1.98 2001/06/23 03:34:34 matthieu Exp $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -742,6 +742,13 @@ wdt*) chmod 0440 wdt$unit ;; +pci*) + rm -f pci + mknod pci c 72 0 + chown root.kmem pci + chmod 660 pci + ;; + local) umask 0 test -s $this.local && sh $this.local diff --git a/etc/etc.powerpc/MAKEDEV b/etc/etc.powerpc/MAKEDEV index 2ac73098107..02b37dacc6b 100644 --- a/etc/etc.powerpc/MAKEDEV +++ b/etc/etc.powerpc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.46 2001/06/23 02:29:30 drahn Exp $ +# $OpenBSD: MAKEDEV,v 1.47 2001/06/23 03:34:34 matthieu Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -161,6 +161,7 @@ all) sh $this audio0 sh $this random uk0 uk1 ss0 ss1 sh $this wscons + sh $this pci sh $this lkm xfs0 sh $this usbs sh $this local @@ -553,6 +554,13 @@ lkm) chmod 640 lkm ;; +pci*) + rm -f pci + mknod pci c 71 0 + chown root.kmem pci + chmod 660 pci + ;; + random|srandom|urandom|prandom|arandom) rm -f random urandom srandom prandom arandom mknod random c 40 0 |