Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc/etc.macppc Add PCI bus devices.



details:   https://anonhg.NetBSD.org/src/rev/589e086548fb
branches:  trunk
changeset: 514956:589e086548fb
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Fri Sep 14 21:15:03 2001 +0000

description:
Add PCI bus devices.

diffstat:

 etc/etc.macppc/MAKEDEV |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (41 lines):

diff -r 42ed4e439ae3 -r 589e086548fb etc/etc.macppc/MAKEDEV
--- a/etc/etc.macppc/MAKEDEV    Fri Sep 14 21:14:08 2001 +0000
+++ b/etc/etc.macppc/MAKEDEV    Fri Sep 14 21:15:03 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.39 2001/09/10 21:23:55 augustss Exp $
+#      $NetBSD: MAKEDEV,v 1.40 2001/09/14 21:15:03 nathanw Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -101,6 +101,7 @@
 #      uk*     SCSI unknown
 #      ch*     SCSI changer
 #      wsmux*  wscons event multiplexor
+#      pci*    PCI bus access devices
 #
 
 dialin=0
@@ -123,6 +124,7 @@
        sh $0 lkm nvram local raid0 raid1 raid2 raid3
        sh $0 scsibus0 scsibus1 scsibus2 scsibus3
        sh $0 isdn
+       sh $0 pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
        ;;
 
 audio)
@@ -691,6 +693,13 @@
        chmod 600 i4btrc$unit
        ;;
 
+pci*)
+       unit=${i#pci};
+       rm -f pci$unit
+       mknod pci$unit c 60 $unit
+       chmod 644 pci$unit
+       ;;
+
 local)
        umask 0
        sh $0.local all



Home | Main Index | Thread Index | Old Index