Browse Source

use target for ramdisk on all archs

OPENBSD_3_1
todd 23 years ago
parent
commit
a3abf37f4a
1 changed files with 95 additions and 4 deletions
  1. +95
    -4
      src/etc/MAKEDEV.mi

+ 95
- 4
src/etc/MAKEDEV.mi View File

@ -1,6 +1,6 @@
include(MAKEDEV.sub)dnl
dnl
vers(a,{-$OpenBSD: MAKEDEV.mi,v 1.20 2002/01/23 06:43:53 todd Exp $-})dnl
vers(a,{-$OpenBSD: MAKEDEV.mi,v 1.21 2002/01/23 07:45:44 todd Exp $-})dnl
dnl
divert(1)dnl
{-#-}
@ -305,16 +305,32 @@ _mkdev(ramd,ramdisk,{-dnl
show_target(ramd)dnl
-})dnl
ifelse(MACHINE,mvmeppc,{-dnl
target(ramd,std)dnl
target(ramd,tty0,0,1,2,3)dnl
twrget(ramd,wsdisp,ttyC,0)dnl
target(ramd,rd,0)dnl
target(ramd,wd,0,1,2,3)dnl
target(ramd,sd,0,1,2,3,4)dnl
target(ramd,cd,0,1)dnl
target(ramd,st,0,1)dnl
target(ramd,bpf,0)dnl
target(ramd,rd,0)dnl
-})dnl
ifelse(MACHINE,sparc,{-dnl
target(ramd,fd,0)dnl
target(ramd,sd,0,1,2,3)dnl
target(ramd,rd,0)dnl
target(ramd,cd,0)dnl
-})dnl
ifelse(MACHINE,sparc64,{-dnl
target(ramd,fd,0)dnl
target(ramd,rd,0)dnl
target(ramd,sd,0,1,2,3)dnl
target(ramd,wd,0,1,2,3)dnl
target(ramd,cd,0,1)dnl
target(ramd,st,0,1)dnl
target(ramd,bpf,0)dnl
-})dnl
ifelse(MACHINE,i386,{-dnl
target(ramd,std)dnl
target(ramd,tty0,0,1,2,3)dnl
twrget(ramd,wsdisp,ttyC,0)dnl
target(ramd,wt,0)dnl
@ -322,12 +338,87 @@ target(ramd,fd,0)dnl
target(ramd,rd,0)dnl
target(ramd,wd,0,1,2,3)dnl
target(ramd,sd,0,1,2,3)dnl
target(ramd,cd,0,1)dnl
target(ramd,st,0,1)dnl
target(ramd,mcd,0)dnl
-})dnl
ifelse(MACHINE,alpha,{-dnl
target(ramd,sd,0,1,2)dnl
target(ramd,wd,0)dnl
target(ramd,tty0,0,1)dnl
target(ramd,st,0)dnl
target(ramd,cd,0)dnl
target(ramd,ttyB,0,1)dnl
target(ramd,ttyE,0,1)dnl
-})dnl
ifelse(MACHINE,amiga,{-dnl
target(ramd,kbd)dnl
target(ramd,pty,0)dnl
target(ramd,tty0,0)dnl
target(ramd,ttyA,0,1)dnl
target(ramd,ttyB,0,1)dnl
target(ramd,ttye,0,1,2,3,4,5,6)dnl
target(ramd,cd,0,1)dnl
target(ramd,sd,0,1,2,3)dnl
target(ramd,st,0,1)dnl
target(ramd,fd,0,1)dnl
target(ramd,wd,0,1)dnl
target(ramd,rd,0)dnl
-})dnl
ifelse(MACHINE,hp300,{-dnl
target(ramd,ct,0,1)dnl
target(ramd,hd,0,1,2,3,4)dnl
target(ramd,sd,0,1,2,3,4)dnl
target(ramd,rd,0,1)dnl
target(ramd,pty,0)dnl
target(ramd,hil)dnl
target(ramd,grf,0)dnl
target(ramd,apci,0)dnl
target(ramd,ite,0)dnl
target(ramd,dca,0)dnl
target(ramd,dcm,0,1)dnl
target(ramd,bpf,0,1)dnl
target(ramd,tun,0,1)dnl
-})dnl
ifelse(MACHINE,hppa,{-dnl
target(ramd,st,0,1)dnl
target(ramd,sd,0,1,2,3)dnl
target(ramd,rd,0,1)dnl
target(ramd,pty,0)dnl
target(ramd,hil)dnl
target(ramd,com,0,1)dnl
target(ramd,bpf,0,1)dnl
target(ramd,tun,0,1)dnl
-})dnl
ifelse(MACHINE,mac68k,{-dnl
target(ramd,sd,0,1,2,3)dnl
target(ramd,st,0,1)dnl
target(ramd,adb)dnl
target(ramd,asc,0)dnl
target(ramd,grf,0,1)dnl
target(ramd,ttye,0)dnl
twrget(ramd,mac_tty0,tty0,0,1)dnl
target(ramd,pty,0)dnl
-})dnl
ifelse(MACHINE,macppc,{-
target(ramd,sd,0,1,2,3,4)dnl
target(ramd,st,0,1)dnl
target(ramd,cd,0,1)dnl)dnl
target(ramd,rd,0)dnl
target(ramd,ttyE,0)dnl
target(ramd,tty0,0,1)dnl
target(ramd,pty,0)dnl
-})dnl
ifelse(MACHINE,vax,{-
target(ramd,fd,0)dnl
target(ramd,sd,0,1,2,3)dnl
target(ramd,rd,0)dnl
target(ramd,cd,0)dnl
target(ramd,bpf,0)dnl
-})dnl
target(ramd,std)dnl
target(ramd,random)dnl
target(ramd,bpf,0)dnl
target(ramd,cd,0,1)dnl
__devitem(rd,{-rd*-},"ramdisk" pseudo-disks)dnl
_mkdev(rd,rd*,{-dodisk2 rd $U major_rd_b major_rd_c $U 0{--}ifstep(rd)-})dnl
__devitem(xd,xd*,Xylogic 753/7053 disks)dnl


Loading…
Cancel
Save