From 2518b3b90d41a449d1b33abc758472b002d65c5d Mon Sep 17 00:00:00 2001 From: mickey <> Date: Thu, 5 Jul 2001 02:54:07 +0000 Subject: [PATCH] create iop0, iop1 --- src/etc/etc.alpha/MAKEDEV | 12 ++++++++++-- src/etc/etc.powerpc/MAKEDEV | 11 ++++++++++- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/etc/etc.alpha/MAKEDEV b/src/etc/etc.alpha/MAKEDEV index 5027b084..79acd203 100644 --- a/src/etc/etc.alpha/MAKEDEV +++ b/src/etc/etc.alpha/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.59 2001/06/28 02:58:52 kjc Exp $ +# $OpenBSD: MAKEDEV,v 1.60 2001/07/05 02:54:06 mickey Exp $ # $NetBSD: MAKEDEV,v 1.8.4.1 1996/06/18 00:41:56 cgd Exp $ # # Copyright (c) 1990 The Regents of the University of California. @@ -84,6 +84,7 @@ # uk* SCSI Unknown device # ss* SCSI scanners # altq ALTQ control interface +# iop I2O controller device PATH=/sbin:/bin:/usr/bin:/usr/sbin this=$0 @@ -164,7 +165,7 @@ all) sh $this uk0 uk1 ss0 ss1 sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7 sh $this local xfs0 altq - sh $this usbs wscons ttyCcfg + sh $this usbs wscons ttyCcfg iop0 iop1 ;; raminst) @@ -192,6 +193,13 @@ wsmux|wskbd|wsmouse) chmod 600 wsmouse wskbd ;; +iop*) + rm -f iop$unit + mknod iop$unit c 54 $unit + chown root.wheel iop$unit + chmod 660 iop$unit + ;; + usbs) sh $this usb usb0 usb1 sh $this uhid0 uhid1 uhid2 uhid3 diff --git a/src/etc/etc.powerpc/MAKEDEV b/src/etc/etc.powerpc/MAKEDEV index 0f10b10a..b6c12436 100644 --- a/src/etc/etc.powerpc/MAKEDEV +++ b/src/etc/etc.powerpc/MAKEDEV @@ -1,5 +1,5 @@ #!/bin/sh - -# $OpenBSD: MAKEDEV,v 1.52 2001/07/01 10:52:13 dhartmei Exp $ +# $OpenBSD: MAKEDEV,v 1.53 2001/07/05 02:54:07 mickey Exp $ # # Copyright (c) 1990 The Regents of the University of California. # All rights reserved. @@ -78,6 +78,7 @@ # lkm loadable kernel modules interface # *random inkernal random data source # altq ALTQ control interface +# iop I2O controller device # PATH=/sbin:/bin:/usr/bin:/usr/sbin @@ -165,6 +166,7 @@ all) sh $this pci sh $this lkm xfs0 altq sh $this usbs + sh $this iop0 iop1 sh $this local ;; @@ -197,6 +199,13 @@ std) mknod ksyms c 43 0 ; chmod 640 ksyms ; chown root.kmem ksyms ;; +iop*) + rm -f iop$unit + mknod iop$unit c 73 $unit + chown root.wheel iop$unit + chmod 660 iop$unit + ;; + usbs) sh $this usb0 usb1 sh $this uhid0 uhid1 uhid2 uhid3