Browse Source

add SES device

OPENBSD_2_7
mjacob 25 years ago
parent
commit
970df73852
2 changed files with 21 additions and 3 deletions
  1. +10
    -2
      src/etc/etc.i386/MAKEDEV
  2. +11
    -1
      src/etc/etc.sparc/MAKEDEV

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

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: MAKEDEV,v 1.74 1999/12/05 19:19:08 mickey Exp $
# $OpenBSD: MAKEDEV,v 1.75 2000/02/21 08:22:44 mjacob Exp $
# $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $ # $NetBSD: MAKEDEV,v 1.40 1996/03/31 00:50:47 perry Exp $
# #
# Copyright (c) 1990 The Regents of the University of California. # Copyright (c) 1990 The Regents of the University of California.
@ -88,6 +88,7 @@
# pcmcia* PCMCIA card drivers # pcmcia* PCMCIA card drivers
# *random inkernel random number generator # *random inkernel random number generator
# uk* "unknown SCSI" devices # uk* "unknown SCSI" devices
# ses* SES/SAF-TE SCSI devives
# ss* SCSI scanners # ss* SCSI scanners
# xfs* XFS filesystem devices # xfs* XFS filesystem devices
# bktr0 video capturing # bktr0 video capturing
@ -186,7 +187,7 @@ all)
sh $this ipl tun0 tun1 tun2 sh $this ipl tun0 tun1 tun2
sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9 sh $this bpf0 bpf1 bpf2 bpf3 bpf4 bpf5 bpf6 bpf7 bpf8 bpf9
sh $this speaker lkm mms0 lms0 pms0 audio joy0 joy1 apm local sh $this speaker lkm mms0 lms0 pms0 audio joy0 joy1 apm local
sh $this random uk0 uk1 ss0 ss1 pctr bktr0 tuner0 wdt0
sh $this random ses0 uk0 uk1 ss0 ss1 pctr bktr0 tuner0 wdt0
sh $this fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H sh $this fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H
sh $this fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H sh $this fd1 fd1B fd1C fd1D fd1E fd1F fd1G fd1H
sh $this xfs0 music sh $this xfs0 music
@ -655,6 +656,13 @@ uk*)
chmod 640 uk$unit chmod 640 uk$unit
;; ;;
ses*)
rm -f ses$unit
mknod ses$unit c 24 $unit
chown root.operator ses$unit
chmod 640 ses$unit
;;
ss*) ss*)
rm -f ss$unit rm -f ss$unit
mknod ss$unit c 19 $unit mknod ss$unit c 19 $unit


+ 11
- 1
src/etc/etc.sparc/MAKEDEV View File

@ -1,5 +1,5 @@
#!/bin/sh - #!/bin/sh -
# $OpenBSD: MAKEDEV,v 1.60 1999/09/04 03:28:04 jason Exp $
# $OpenBSD: MAKEDEV,v 1.61 2000/02/21 08:22:08 mjacob 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.
@ -48,6 +48,7 @@
# cd* SCSI cdrom drives # cd* SCSI cdrom drives
# ch* SCSI media changer # ch* SCSI media changer
# uk* SCSI Unknown device # uk* SCSI Unknown device
# ses* SCSI SES/SAF-TE device
# ss* SCSI scanners # ss* SCSI scanners
# xy* Xylogic 450/451 disks # xy* Xylogic 450/451 disks
# rd* "ramdisk" pseudo-disks # rd* "ramdisk" pseudo-disks
@ -200,6 +201,7 @@ all)
sh $this fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H sh $this fd0 fd0B fd0C fd0D fd0E fd0F fd0G fd0H
sh $this uk0 uk1 sh $this uk0 uk1
sh $this ss0 ss1 sh $this ss0 ss1
sh $this ses0
sh $this pty0 vnd0 vnd1 vnd2 vnd3 audio tun0 tun1 tun2 tun3 sh $this pty0 vnd0 vnd1 vnd2 vnd3 audio tun0 tun1 tun2 tun3
sh $this ccd0 ccd1 ccd2 ccd3 sh $this ccd0 ccd1 ccd2 ccd3
sh $this raid0 raid1 raid2 raid3 sh $this raid0 raid1 raid2 raid3
@ -716,6 +718,14 @@ uk*)
chmod 640 uk$unit chmod 640 uk$unit
;; ;;
ses*)
unit=`trunc $i ses`
rm -f ses$unit
mknod ses$unit c 124 $unit
chown root.operator ses$unit
chmod 640 ses$unit
;;
ss*) ss*)
unit=`trunc $i ss` unit=`trunc $i ss`
rm -f ss$unit rm -f ss$unit


Loading…
Cancel
Save