1define(MACHINE,landisk)dnl 2vers(__file__, 3 {-$OpenBSD: MAKEDEV.md,v 1.50 2021/11/11 09:47:33 claudio Exp $-}, 4etc.MACHINE)dnl 5dnl 6dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> 7dnl All rights reserved. 8dnl 9dnl Redistribution and use in source and binary forms, with or without 10dnl modification, are permitted provided that the following conditions 11dnl are met: 12dnl 1. Redistributions of source code must retain the above copyright 13dnl notice, this list of conditions and the following disclaimer. 14dnl 2. The name of the author may not be used to endorse or promote products 15dnl derived from this software without specific prior written permission. 16dnl 17dnl THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, 18dnl INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 19dnl AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL 20dnl THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 21dnl EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 22dnl PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 23dnl OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 24dnl WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 25dnl OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 26dnl ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27dnl 28dnl 29dnl *** landisk specific devices 30dnl 31__devitem(scif, ttya, on-board serial port,scif)dnl 32_mkdev(scif, ttya, {-M ttya c major_scif_c 0 660 dialer root-})dnl 33dnl 34dnl *** MAKEDEV itself 35dnl 36_TITLE(make) 37_DEV(all) 38_DEV(ramdisk) 39_DEV(std) 40_DEV(local) 41_TITLE(dis) 42_DEV(cd, 26, 26) 43_DEV(ch, 27) 44_DEV(rd, 18, 18) 45_DEV(sd, 24, 24) 46_DEV(vnd, 19, 19) 47_DEV(wd, 16, 16) 48_TITLE(tap) 49_DEV(st, 25) 50_TITLE(term) 51_DEV(scif, 11) 52_TITLE(pty) 53_DEV(ptm, 98) 54_DEV(pty, 5) 55_DEV(tty, 4) 56_TITLE(cons) 57_DEV(wsdisp, 60) 58_DEV(wscons) 59_DEV(wskbd, 61) 60_DEV(wsmouse, 62) 61_DEV(wsmux, 63) 62_TITLE(usb) 63_DEV(ttyU, 68) 64_DEV(uall) 65_DEV(ugen, 70) 66_DEV(uhid, 65) 67_DEV(fido, 106) 68_DEV(ujoy, 108) 69_DEV(ulpt, 66) 70_DEV(usb, 64) 71_TITLE(spec) 72dnl _DEV(apm, 34) 73_DEV(au, 36) 74_DEV(bio, 37) 75dnl _DEV(bktr, 75) 76_DEV(bpf, 22) 77_DEV(dt, 30) 78_DEV(diskmap,101) 79_DEV(fdesc, 7) 80_DEV(fuse, 103) 81_DEV(hotplug, 37) 82_DEV(pci, 88) 83_DEV(pf, 46) 84_DEV(pppx,102) 85_DEV(pppac,107) 86_DEV(radio, 97) 87_DEV(rnd, 40) 88_DEV(rmidi, 57) 89_DEV(tun, 33) 90_DEV(tap, 104) 91dnl _DEV(tuner, 75) 92_DEV(uk, 28) 93_DEV(vi, 77) 94_DEV(vscsi, 99) 95_DEV(kstat, 51) 96dnl 97divert(__mddivert)dnl 98dnl 99ramdisk) 100 _recurse std bpf wd0 wd1 sd0 rd0 wsmouse 101 _recurse st0 ttyC0 wskbd0 bio diskmap random 102 ;; 103 104_std(1, 2, 8, 6) 105 ;; 106dnl 107dnl *** landisk specific targets 108dnl 109twrget(all, au, audio, 0, 1, 2, 3)dnl 110twrget(all, scif, tty, a)dnl 111target(all, ch, 0)dnl 112target(all, vscsi, 0)dnl 113target(all, diskmap)dnl 114twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl 115twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl 116target(all, pty, 0)dnl 117target(all, bio)dnl 118target(all, tun, 0, 1, 2, 3)dnl 119target(all, tap, 0, 1, 2, 3)dnl 120target(all, xy, 0, 1, 2, 3)dnl 121target(all, rd, 0)dnl 122target(all, cd, 0, 1)dnl 123target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl 124target(all, vnd, 0, 1, 2, 3)dnl 125