|
|
@ -1,6 +1,6 @@ |
|
|
|
include(MAKEDEV.sub)dnl |
|
|
|
dnl |
|
|
|
vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.39 2002/02/21 15:06:39 todd Exp $-})dnl |
|
|
|
vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.40 2002/02/21 18:36:54 deraadt Exp $-})dnl |
|
|
|
dnl |
|
|
|
divert(1)dnl |
|
|
|
{-#-} |
|
|
@ -135,6 +135,7 @@ target(all, apm)dnl |
|
|
|
twrget(all, tth, ttyh, 0, 1)dnl |
|
|
|
target(all, ttyA, 0, 1)dnl |
|
|
|
target(all, ttyB, 0, 1, 2, 3, 4, 5)dnl |
|
|
|
twrget(all, attyB, ttyB, 0, 1, 2, 3, 4)dnl |
|
|
|
target(all, tty0, 0, 1, 2, 3)dnl |
|
|
|
twrget(all, mac_tty0, tty0, 0, 1)dnl |
|
|
|
twrget(all, tzs, tty, a, b, c, d)dnl |
|
|
@ -148,7 +149,7 @@ twrget(all, mmcl, mmclock)dnl |
|
|
|
target(all, lpt, 0, 1, 2)dnl |
|
|
|
twrget(all, lpt, lpa, 0, 1, 2)dnl |
|
|
|
target(all, joy, 0, 1)dnl |
|
|
|
twrget(all, rnd, random)dnl |
|
|
|
target(all, rnd, random)dnl |
|
|
|
target(all, uk, 0)dnl |
|
|
|
target(all, st, 0)dnl |
|
|
|
target(all, wt, 0)dnl |
|
|
@ -173,6 +174,7 @@ twrget(all, csx, cgsix, 0)dnl |
|
|
|
twrget(all, ceg, cgeight, 0)dnl |
|
|
|
twrget(all, cfo, cgfourteen, 0)dnl |
|
|
|
target(all, tcx, 0)dnl |
|
|
|
twrget(all, grf_mac, grf, 0, 1, 2, 3)dnl |
|
|
|
twrget(all, grf_amiga, grf, 0, 1, 2, 3, 4, 5, 6)dnl |
|
|
|
target(all, par, 0)dnl |
|
|
|
twrget(all, amouse, mouse, 0, 1)dnl |
|
|
@ -303,7 +305,6 @@ target(ramd, bpf, 0)dnl |
|
|
|
target(ramd, rd, 0)dnl |
|
|
|
-})dnl |
|
|
|
ifelse(MACHINE, sparc, {-dnl |
|
|
|
target(all, uk, 1)dnl |
|
|
|
target(all, ses, 0)dnl |
|
|
|
target(all, ch, 0)dnl |
|
|
|
target(all, ss, 0, 1)dnl |
|
|
@ -324,10 +325,8 @@ 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, st, 0)dnl |
|
|
|
-})dnl |
|
|
|
ifelse(MACHINE, sparc64, {-dnl |
|
|
|
target(all, uk, 1)dnl |
|
|
|
twrget(wscons, wscons, ttyD, cfg, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, a, b)dnl |
|
|
|
target(all, ccd, 0, 1, 2, 3)dnl |
|
|
|
target(all, ses, 0)dnl |
|
|
@ -375,8 +374,6 @@ _mkdev(s64_czs, cua[a-z], {-u=${i#cua*} |
|
|
|
M cua$u c major_s64_czs_c Add($n, 128) 660 dialer uucp-})dnl |
|
|
|
-})dnl |
|
|
|
ifelse(MACHINE, i386, {-dnl |
|
|
|
target(all, bktr, 0)dnl |
|
|
|
target(all, uk, 1)dnl |
|
|
|
target(all, ses, 0)dnl |
|
|
|
target(all, ch, 0)dnl |
|
|
|
target(all, ss, 0, 1)dnl |
|
|
@ -393,18 +390,17 @@ target(all, sd, 0, 1, 2, 3, 4)dnl |
|
|
|
target(all, vnd, 0, 1, 2, 3)dnl |
|
|
|
target(all, ccd, 0, 1, 2, 3)dnl |
|
|
|
target(ramd, tty0, 0, 1, 2, 3)dnl |
|
|
|
target(ramd, wd, 0, 1, 2, 3)dnl |
|
|
|
target(ramd, sd, 0, 1, 2, 3)dnl |
|
|
|
target(ramd, mcd, 0)dnl |
|
|
|
twrget(ramd, wsdisp, ttyC, 0)dnl |
|
|
|
target(ramd, wt, 0)dnl |
|
|
|
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(all, uk, 1)dnl |
|
|
|
target(all, ses, 0)dnl |
|
|
|
target(all, ch, 0)dnl |
|
|
|
target(all, ss, 0, 1)dnl |
|
|
@ -429,8 +425,6 @@ target(ramd, ttyB, 0, 1)dnl |
|
|
|
target(ramd, ttyE, 0, 1)dnl |
|
|
|
-})dnl |
|
|
|
ifelse(MACHINE, amiga, {-dnl |
|
|
|
target(all, cuaB, 5, 6, 7, 8, 9)dnl |
|
|
|
target(all, uk, 1)dnl |
|
|
|
target(all, ses, 0)dnl |
|
|
|
target(all, ch, 0)dnl |
|
|
|
target(all, ss, 0, 1)dnl |
|
|
@ -446,9 +440,6 @@ target(all, cd, 0, 1)dnl |
|
|
|
target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl |
|
|
|
target(all, vnd, 0, 1, 2, 3)dnl |
|
|
|
target(all, ccd, 0, 1, 2, 3)dnl |
|
|
|
target(all, tty0, 1, 2, 3)dnl |
|
|
|
target(all, view, 00, 01, 02, 03, 04, 05)dnl |
|
|
|
twrget(all, attyB, ttyB, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl |
|
|
|
target(ramd, kbd)dnl |
|
|
|
target(ramd, pty, 0)dnl |
|
|
|
target(ramd, tty0, 0)dnl |
|
|
@ -551,8 +542,6 @@ target(ramd, bpf, 0, 1)dnl |
|
|
|
target(ramd, tun, 0, 1)dnl |
|
|
|
-})dnl |
|
|
|
ifelse(MACHINE, mac68k, {-dnl |
|
|
|
twrget(all, grf_mac, grf, 0, 1, 2, 3)dnl |
|
|
|
target(all, uk, 1)dnl |
|
|
|
target(all, ses, 0)dnl |
|
|
|
target(all, sd, 0, 1, 2, 3, 4)dnl |
|
|
|
target(all, vnd, 0, 1, 2, 3)dnl |
|
|
@ -568,14 +557,12 @@ target(all, xy, 0, 1, 2, 3)dnl |
|
|
|
target(all, rd, 0)dnl |
|
|
|
target(all, cd, 0, 1)dnl |
|
|
|
target(all, ccd, 0, 1, 2, 3)dnl |
|
|
|
twrget(all, grf_mac, grf, 0, 1)dnl |
|
|
|
twrget(ramd, mac_ttye, ttye, 0)dnl |
|
|
|
target(ramd, cd, 0, 1)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 |
|
|
@ -595,18 +582,16 @@ target(all, cd, 0, 1)dnl |
|
|
|
target(all, sd, 0, 1, 2, 3, 4)dnl |
|
|
|
target(all, vnd, 0, 1, 2, 3)dnl |
|
|
|
target(all, ccd, 0, 1, 2, 3)dnl |
|
|
|
target(all, wd, 0, 1, 2, 3)dnl |
|
|
|
target(ramd, sd, 0, 1, 2, 3, 4)dnl |
|
|
|
target(ramd, wd, 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 |
|
|
|
twrget(ramd, rnd, random)dnl |
|
|
|
-})dnl |
|
|
|
ifelse(MACHINE, sun3, {- |
|
|
|
target(all, uk, 1)dnl |
|
|
|
target(all, ses, 0)dnl |
|
|
|
target(all, ch, 0)dnl |
|
|
|
target(all, ss, 0, 1)dnl |
|
|
@ -1231,7 +1216,6 @@ dnl |
|
|
|
dnl non multi mknod |
|
|
|
dnl |
|
|
|
[ "${mklist[{-$-}1]}" ] && { |
|
|
|
dnl [ "$DEBUG" ] && echo "mknod -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5" |
|
|
|
mklist[{-$-}1]="${mklist[{-$-}1]};mknod -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5" |
|
|
|
} || { |
|
|
|
mklist[{-$-}1]="mknod -m {-$-}1 {-$-}2 {-$-}3 {-$-}4 {-$-}5" |
|
|
|