1define(MACHINE,amd64)dnl 2vers(__file__, 3 {-$OpenBSD: MAKEDEV.md,v 1.79 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 20dnl 21__devitem(apm, apm, Power Management Interface)dnl 22__devitem(nvram, nvram, NVRAM access)dnl 23_mkdev(nvram, nvram, {-M nvram c major_nvram_c 0 440 kmem-})dnl 24_TITLE(make) 25_DEV(all) 26_DEV(ramdisk) 27_DEV(std) 28_DEV(local) 29_TITLE(dis) 30_DEV(cd, 15, 6) 31_DEV(flo, 9, 2) 32_DEV(rd, 47, 17) 33_DEV(sd, 13, 4) 34_DEV(vnd, 41, 14) 35_DEV(wd, 3, 0) 36_TITLE(tap) 37_DEV(ch, 17) 38_DEV(st, 14) 39_TITLE(term) 40_DEV(com, 8) 41_DEV(ttyc, 38) 42_DEV(ttyVI, 94) 43_TITLE(pty) 44_DEV(ptm, 81) 45_DEV(pty, 6) 46_DEV(tty, 5) 47_TITLE(cons) 48_DEV(wsdisp, 12) 49_DEV(wscons) 50_DEV(wskbd, 67) 51_DEV(wsmux, 69) 52_TITLE(point) 53_DEV(wsmouse, 68) 54_TITLE(prn) 55_DEV(lpa) 56_DEV(lpt, 16) 57_TITLE(usb) 58_DEV(ttyU, 66) 59_DEV(uall) 60_DEV(ugen, 63) 61_DEV(uhid, 62) 62_DEV(fido, 98) 63_DEV(ujoy, 100) 64_DEV(ulpt, 64) 65_DEV(usb, 61) 66_TITLE(spec) 67_DEV(apm, 83) 68_DEV(au, 42) 69_DEV(bio, 79) 70_DEV(bktr, 49) 71_DEV(bpf, 23) 72_DEV(dt, 30) 73_DEV(diskmap, 90) 74_DEV(dri, 87) 75_DEV(drm, 87) 76_DEV(fdesc, 22) 77_DEV(fuse, 92) 78_DEV(gpio, 88) 79_DEV(hotplug, 82) 80_DEV(ipmi, 96) 81dnl _DEV(joy, 26) 82_DEV(nvram, 85) 83_DEV(kcov, 19) 84_DEV(pci, 72) 85_DEV(pctr, 46) 86_DEV(pf, 73) 87_DEV(pppx, 91) 88_DEV(pppac, 99) 89_DEV(radio, 76) 90_DEV(rnd, 45) 91_DEV(rmidi, 52) 92_DEV(speak, 27) 93_DEV(tun, 40) 94_DEV(tap, 93) 95_DEV(tuner, 49) 96_DEV(uk, 20) 97_DEV(vi, 44) 98_DEV(vmm, 10) 99_DEV(vscsi, 89) 100_DEV(pvbus, 95) 101_DEV(kstat, 51) 102dnl 103divert(__mddivert)dnl 104dnl 105ramdisk) 106 _recurse std bpf fd0 wd0 sd0 tty00 tty01 rd0 bio diskmap 107 _recurse st0 cd0 ttyC0 wskbd0 wskbd1 wskbd2 random 108 ;; 109 110_std(1, 2, 50, 7) 111 M xf86 c 2 4 600 112 ;; 113 114ttyc*) 115 M ttyc$U c 38 $U 660 dialer root 116 M cuac$U c 38 Add($U, 128) 660 dialer root 117 ;; 118dnl 119dnl amd64 specific targets 120dnl 121twrget(all, au, audio, 0, 1, 2, 3)dnl 122target(all, ch, 0)dnl 123target(all, vscsi, 0)dnl 124target(all, diskmap)dnl 125twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl 126twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl 127target(all, pty, 0)dnl 128target(all, bio)dnl 129target(all, tun, 0, 1, 2, 3)dnl 130target(all, tap, 0, 1, 2, 3)dnl 131target(all, xy, 0, 1, 2, 3)dnl 132target(all, rd, 0)dnl 133target(all, cd, 0, 1)dnl 134target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl 135target(all, vnd, 0, 1, 2, 3)dnl 136target(all, bktr, 0)dnl 137target(all, gpio, 0, 1, 2)dnl 138target(all, nvram)dnl 139target(all, dri)dnl 140target(all, drm, 0, 1, 2, 3)dnl 141target(all, ttyVI, 00, 10, 20, 30, 40)dnl 142target(all, ipmi, 0)dnl 143twrget(ramd, wsdisp, ttyC, 0)dnl 144target(ramd, fd, 0)dnl 145