From 3771e9556cf57c182caf0cd782ccafe31664fabf Mon Sep 17 00:00:00 2001 From: matthieu <> Date: Sat, 23 Jun 2001 03:34:34 +0000 Subject: [PATCH] add /dev/pci --- src/etc/etc.i386/MAKEDEV | 9 ++++++++- src/etc/etc.powerpc/MAKEDEV | 10 +++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/src/etc/etc.i386/MAKEDEV b/src/etc/etc.i386/MAKEDEV index aa43870f..3b1d171e 100644 --- a/src/etc/etc.i386/MAKEDEV +++ b/src/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/src/etc/etc.powerpc/MAKEDEV b/src/etc/etc.powerpc/MAKEDEV index 2ac73098..02b37dac 100644 --- a/src/etc/etc.powerpc/MAKEDEV +++ b/src/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