Create pci device nodes.

This commit is contained in:
augustss 2002-09-27 09:50:56 +00:00
parent 99680e22b9
commit b7f522dbbf
1 changed files with 10 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $NetBSD: MAKEDEV,v 1.4 2002/08/09 02:39:31 lukem Exp $
# $NetBSD: MAKEDEV,v 1.5 2002/09/27 09:50:56 augustss Exp $
#
# Copyright (c) 1990 The Regents of the University of California.
# All rights reserved.
@ -96,6 +96,7 @@
# cfs* Coda file system device
# wsmux* wscons event multiplexor
# systrace syscall tracer
# pci* PCI bus access devices
#
dialin=0
@ -132,6 +133,7 @@ all)
makedev lkm local satlink0
makedev ttyE0 ttyE1 ttyE2 ttyE3 ttyE4 ttyE5 ttyE6 ttyE7 ttyE8
makedev scsibus0 scsibus1 scsibus2 scsibus3
makedev pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
makedev isdns
makedev clockctl
makedev systrace
@ -487,6 +489,13 @@ random)
chmod 644 urandom
;;
pci*)
unit=${i#pci}
rm -f pci$unit
mknod pci$unit c 60 $unit
chmod 644 pci$unit
;;
cfs*)
unit=${i#cfs}
cfs=cfs$unit