Browse Source

create iop0, iop1

OPENBSD_3_0
mickey 23 years ago
parent
commit
2518b3b90d
2 changed files with 20 additions and 3 deletions
  1. +10
    -2
      src/etc/etc.alpha/MAKEDEV
  2. +10
    -1
      src/etc/etc.powerpc/MAKEDEV

+ 10
- 2
src/etc/etc.alpha/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/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 $ # $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. # Copyright (c) 1990 The Regents of the University of California.
@ -84,6 +84,7 @@
# uk* SCSI Unknown device # uk* SCSI Unknown device
# ss* SCSI scanners # ss* SCSI scanners
# altq ALTQ control interface # altq ALTQ control interface
# iop I2O controller device
PATH=/sbin:/bin:/usr/bin:/usr/sbin PATH=/sbin:/bin:/usr/bin:/usr/sbin
this=$0 this=$0
@ -164,7 +165,7 @@ all)
sh $this uk0 uk1 ss0 ss1 sh $this uk0 uk1 ss0 ss1
sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7 sh $this ttyc0 ttyc1 ttyc2 ttyc3 ttyc4 ttyc5 ttyc6 ttyc7
sh $this local xfs0 altq sh $this local xfs0 altq
sh $this usbs wscons ttyCcfg
sh $this usbs wscons ttyCcfg iop0 iop1
;; ;;
raminst) raminst)
@ -192,6 +193,13 @@ wsmux|wskbd|wsmouse)
chmod 600 wsmouse wskbd 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) usbs)
sh $this usb usb0 usb1 sh $this usb usb0 usb1
sh $this uhid0 uhid1 uhid2 uhid3 sh $this uhid0 uhid1 uhid2 uhid3


+ 10
- 1
src/etc/etc.powerpc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/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. # Copyright (c) 1990 The Regents of the University of California.
# All rights reserved. # All rights reserved.
@ -78,6 +78,7 @@
# lkm loadable kernel modules interface # lkm loadable kernel modules interface
# *random inkernal random data source # *random inkernal random data source
# altq ALTQ control interface # altq ALTQ control interface
# iop I2O controller device
# #
PATH=/sbin:/bin:/usr/bin:/usr/sbin PATH=/sbin:/bin:/usr/bin:/usr/sbin
@ -165,6 +166,7 @@ all)
sh $this pci sh $this pci
sh $this lkm xfs0 altq sh $this lkm xfs0 altq
sh $this usbs sh $this usbs
sh $this iop0 iop1
sh $this local sh $this local
;; ;;
@ -197,6 +199,13 @@ std)
mknod ksyms c 43 0 ; chmod 640 ksyms ; chown root.kmem ksyms 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) usbs)
sh $this usb0 usb1 sh $this usb0 usb1
sh $this uhid0 uhid1 uhid2 uhid3 sh $this uhid0 uhid1 uhid2 uhid3


Loading…
Cancel
Save