Source-Changes-HG archive

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

[src/trunk]: src/etc/etc.i386 Make iop device files.



details:   https://anonhg.NetBSD.org/src/rev/52f5064eb480
branches:  trunk
changeset: 500007:52f5064eb480
user:      ad <ad%NetBSD.org@localhost>
date:      Sun Dec 03 13:23:12 2000 +0000

description:
Make iop device files.

diffstat:

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

diffs (42 lines):

diff -r 3f0666932b88 -r 52f5064eb480 etc/etc.i386/MAKEDEV
--- a/etc/etc.i386/MAKEDEV      Sun Dec 03 13:19:07 2000 +0000
+++ b/etc/etc.i386/MAKEDEV      Sun Dec 03 13:23:12 2000 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh -
 #
-#      $NetBSD: MAKEDEV,v 1.128 2000/11/30 07:33:52 jmc Exp $
+#      $NetBSD: MAKEDEV,v 1.129 2000/12/03 13:23:12 ad Exp $
 #
 # Copyright (c) 1990 The Regents of the University of California.
 # All rights reserved.
@@ -110,6 +110,7 @@
 #      cfs*    Coda file system device
 #      sysmon  System Monitoring hardware
 #      bktr    Brooktree 848/849/878/879 based TV cards
+#      iop*    I2O IOP control interface
 #
 
 dialin=0
@@ -142,7 +143,7 @@
        sh $0 bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7
        sh $0 lpt0 lpt1 lpt2 ttyv0 tun0 tun1 tun2 tun3 ipl
        sh $0 ccd0 ccd1 ccd2 ccd3 md0 ss0 ch0 uk0 uk1 random
-       sh $0 speaker lkm mms0 lms0 pms0 joy0 joy1 apm local satlink0
+       sh $0 speaker lkm mms0 lms0 pms0 joy0 joy1 apm local satlink0 iop0
        sh $0 audio
        sh $0 usbs
        sh $0 music rmidi0 rmidi1 rmidi2 rmidi3 rmidi4 rmidi5 rmidi6 rmidi7
@@ -713,6 +714,13 @@
        chmod 444 bktr$unit tuner$unit vbi$unit
        ;;
 
+iop*)
+       unit=${i#iop};
+       rm -f iop$unit
+       mknod iop$unit c 76 $unit
+       chmod 600 iop$unit
+       ;;
+
 local)
        umask 0
        sh $0.local all



Home | Main Index | Thread Index | Old Index