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 /dev/openfirm



details:   https://anonhg.NetBSD.org/src/rev/f1dbda542a31
branches:  trunk
changeset: 499227:f1dbda542a31
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Nov 14 21:21:31 2000 +0000

description:
Add /dev/openfirm

diffstat:

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

diffs (42 lines):

diff -r 71de00dc1ab1 -r f1dbda542a31 etc/etc.macppc/MAKEDEV
--- a/etc/etc.macppc/MAKEDEV    Tue Nov 14 21:10:05 2000 +0000
+++ b/etc/etc.macppc/MAKEDEV    Tue Nov 14 21:21:31 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.32 2000/10/14 12:36:06 augustss Exp $
+#      $NetBSD: MAKEDEV,v 1.33 2000/11/14 21:21:31 matt Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -81,6 +81,7 @@
 #      fd      file descriptors
 #      bpf*    packet filter
 #      ipl     ip filter
+#      openfirm OpenFireware queries
 #      random  Random number generator
 #      lkm     loadable kernel modules interface
 #      audio*  audio devices
@@ -106,7 +107,7 @@
        sh $0 ss0 ch0 uk0 uk1 vnd0 vnd1 ccd0 ccd1 ccd2 ccd3
        sh $0 random tty00 tty01 tty10 pty0 pty1 pty2 pty3 adb grf0 wscons
        sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
-       sh $0 tun0 tun1 ipl usbs ttyCZ0 audio
+       sh $0 tun0 tun1 ipl usbs ttyCZ0 audio openfirm
        sh $0 music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
        sh $0 lkm nvram local raid0 raid1 raid2 raid3
        sh $0 scsibus0 scsibus1 scsibus2 scsibus3
@@ -495,6 +496,13 @@
        chmod 644 urandom
        ;;
 
+openfirm)
+       rm -f openfirm
+       mknod openfirm c 53 0
+       chown root.wheel openfirm
+       chmod 444 openfirm
+       ;;
+
 nvram)
        rm -f nvram
        mknod nvram c 33 0



Home | Main Index | Thread Index | Old Index