Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.walnut Build the pci devices.



details:   https://anonhg.NetBSD.org/src/rev/99fa6c87067c
branches:  trunk
changeset: 535255:99fa6c87067c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Aug 13 01:16:24 2002 +0000

description:
Build the pci devices.

diffstat:

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

diffs (41 lines):

diff -r 3ffa919d79d3 -r 99fa6c87067c etc/etc.walnut/MAKEDEV
--- a/etc/etc.walnut/MAKEDEV    Tue Aug 13 01:15:31 2002 +0000
+++ b/etc/etc.walnut/MAKEDEV    Tue Aug 13 01:16:24 2002 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.24 2002/08/09 02:39:35 lukem Exp $
+#      $NetBSD: MAKEDEV,v 1.25 2002/08/13 01:16:24 simonb Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -93,6 +93,7 @@
 #      ch*     SCSI media changer
 #      cfs*    Coda file system device
 #      wsmux*  wscons event multiplexor
+#      pci*    PCI bus access devices
 #      systrace syscall tracer
 #      kttcp   kernel ttcp helper
 #      sysmon  System Monitoring hardware
@@ -132,6 +133,7 @@
        makedev lkm mms0 lms0 apm 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
@@ -532,6 +534,13 @@
        chmod 600 isdntrc$unit
        ;;
 
+pci*)
+       unit=${i#pci};
+       rm -f pci$unit
+       mknod pci$unit c 63 $unit
+       chmod 644 pci$unit
+       ;;
+
 clockctl)
        rm -f clockctl
        mknod clockctl c 59 0



Home | Main Index | Thread Index | Old Index