1define(MACHINE,alpha)dnl 2vers(__file__, 3 {-$OpenBSD: MAKEDEV.md,v 1.78 2021/11/11 09:47:32 claudio Exp $-}, 4etc.MACHINE)dnl 5dnl 6dnl Copyright (c) 2001-2006 Todd T. Fries <todd@OpenBSD.org> 7dnl 8dnl Permission to use, copy, modify, and distribute this software for any 9dnl purpose with or without fee is hereby granted, provided that the above 10dnl copyright notice and this permission notice appear in all copies. 11dnl 12dnl THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 13dnl WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 14dnl MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 15dnl ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 16dnl WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 17dnl ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 18dnl OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 19dnl 20_TITLE(make) 21_DEV(all) 22_DEV(ramdisk) 23_DEV(std) 24_DEV(local) 25_TITLE(dis) 26_DEV(cd, 13, 3) 27_DEV(flo, 37, 4) 28_DEV(rd, 28, 6) 29_DEV(sd, 8, 8) 30_DEV(vnd, 9, 9) 31_DEV(wd, 36, 0) 32_TITLE(tap) 33_DEV(ch, 14) 34_DEV(st, 12) 35_TITLE(term) 36_DEV(com, 26) 37_DEV(ttyc, 38) 38_DEV(ttyB, 15) 39_TITLE(pty) 40_DEV(ptm, 55) 41_DEV(pty, 5) 42_DEV(tty, 4) 43_TITLE(cons) 44_DEV(wsdisp, 25) 45_DEV(wscons) 46_DEV(wskbd, 29) 47_DEV(wsmux, 60) 48_TITLE(point) 49_DEV(wsmouse, 30) 50_TITLE(prn) 51_DEV(lpa) 52_DEV(lpt, 31) 53_TITLE(usb) 54_DEV(ttyU, 49) 55_DEV(uall) 56_DEV(ugen, 48) 57_DEV(uhid, 46) 58_DEV(fido, 70) 59_DEV(ujoy, 72) 60_DEV(ulpt, 47) 61_DEV(usb, 45) 62_TITLE(spec) 63_DEV(au, 24) 64_DEV(bio, 53) 65_DEV(bktr, 58) 66_DEV(bpf, 11) 67_DEV(diskmap, 63) 68_DEV(dt, 32) 69_DEV(fdesc, 10) 70_DEV(fuse, 67) 71_DEV(hotplug, 56) 72_DEV(pci, 52) 73_DEV(pf, 35) 74_DEV(pppx, 64) 75_DEV(pppac, 71) 76_DEV(radio, 59) 77_DEV(rnd, 34) 78_DEV(rmidi, 41) 79_DEV(speak, 40) 80_DEV(tun, 7) 81_DEV(tap, 68) 82_DEV(tuner, 58) 83_DEV(uk, 33) 84_DEV(vi, 44) 85_DEV(vscsi, 61) 86_DEV(kstat, 51) 87dnl 88divert(__mddivert)dnl 89dnl 90ramdisk) 91 _recurse std fd0 wd0 wd1 wd2 sd0 sd1 sd2 bpf 92 _recurse st0 cd0 ttyC0 rd0 bio diskmap random 93 ;; 94 95_std(1, 2, 39, 6) 96 M xf86 c 2 4 600 97 ;; 98 99ttyB*|ttyc*) 100 U=${i##tty?} 101 case $i in 102 ttyB*) type=B major=15 minor=$U;; 103 ttyc*) type=c major=38 minor=$U;; 104 esac 105 M tty$type$U c $major $minor 660 dialer root 106 M cua$type$U c $major Add($minor, 128) 660 dialer root 107 ;; 108dnl 109dnl *** alpha specific targets 110dnl 111twrget(all, au, audio, 0, 1, 2, 3)dnl 112target(all, bio)dnl 113target(all, ch, 0)dnl 114target(all, vscsi, 0)dnl 115target(all, diskmap)dnl 116twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl 117twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl 118target(all, pty, 0)dnl 119target(all, tun, 0, 1, 2, 3)dnl 120target(all, tap, 0, 1, 2, 3)dnl 121target(all, ttyB, 0, 1)dnl 122target(all, rd, 0)dnl 123target(all, cd, 0, 1)dnl 124target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl 125target(all, vnd, 0, 1, 2, 3)dnl 126target(ramd, ttyB, 0, 1)dnl 127