Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.sparc64 create ss, ch, uk and pci devices.



details:   https://anonhg.NetBSD.org/src/rev/225e9efa27cb
branches:  trunk
changeset: 515001:225e9efa27cb
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Sep 15 17:44:47 2001 +0000

description:
create ss, ch, uk and pci devices.

diffstat:

 etc/etc.sparc64/MAKEDEV |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r 5875814fb227 -r 225e9efa27cb etc/etc.sparc64/MAKEDEV
--- a/etc/etc.sparc64/MAKEDEV   Sat Sep 15 17:27:24 2001 +0000
+++ b/etc/etc.sparc64/MAKEDEV   Sat Sep 15 17:44:47 2001 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.19 2001/05/14 09:11:10 wiz Exp $
+#      $NetBSD: MAKEDEV,v 1.20 2001/09/15 17:44:47 mrg Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -99,7 +99,7 @@
 
 all)
        sh -$- $0 std ttya ttyb ttyc ttyd
-       sh -$- $0 fd sd0 sd1 sd2 sd3 sd4
+       sh -$- $0 fd sd0 sd1 sd2 sd3 sd4 ss0 ch0 uk0 uk1
        sh -$- $0 wd0 wd1 wd2 wd3 cd0 st0 st1 fd0 md0 md1
        sh -$- $0 audio0 audio1 audio2 audio3
        sh -$- $0 pty0 pty1 pty2 pty3 vnd0 vnd1 vnd2 vnd3 audio
@@ -111,6 +111,7 @@
        sh -$- $0 scsibus0 scsibus1 scsibus2 scsibus3
        sh -$- $0 ipl lkm random local
        sh -$- $0 isdn
+       sh -$- pci0 pci1 pci2 pci3 pci4 pci5 pci6 pci7
        ;;
 floppy|ramdisk)
        sh -$- $0 std ttya ttyb ttyc ttyd pty0
@@ -480,6 +481,13 @@
        chmod 600 i4btrc$unit
        ;;
 
+pci*)
+       unit=${i#pci};
+       rm -f pci$unit
+       mknod pci$unit c 123 $unit
+       chmod 644 pci$unit
+       ;;
+
 local)
        umask 0
        sh $0.local all



Home | Main Index | Thread Index | Old Index