1define(MACHINE,landisk)dnl 2vers(__file__, 3 {-$OpenBSD: MAKEDEV.md,v 1.23 2010/09/30 15:27:54 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 uucp-})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(ccd, 21, 21) 43_DEV(cd, 26, 26) 44_DEV(ch, 27) 45_DEV(raid, 71, 71) 46_DEV(rd, 18, 18) 47_DEV(sd, 24, 24) 48_DEV(vnd, 19, 19) 49_DEV(wd, 16, 16) 50_TITLE(tap) 51_DEV(st, 25, 25) 52_TITLE(term) 53_DEV(scif, 11) 54_TITLE(pty) 55_DEV(ptm, 98) 56_DEV(pty, 5) 57_DEV(tty, 4) 58_TITLE(cons) 59_DEV(wsdisp, 60) 60_DEV(wscons) 61_DEV(wskbd, 61) 62_DEV(wsmouse, 62) 63_DEV(wsmux, 63) 64_TITLE(usb) 65_DEV(ttyU, 68) 66_DEV(uall) 67_DEV(ugen, 70) 68_DEV(uhid, 65) 69_DEV(ulpt, 66) 70_DEV(urio, 67) 71_DEV(usb, 64) 72_DEV(uscan, 69) 73_TITLE(spec) 74dnl _DEV(apm, 34) 75_DEV(au, 36) 76_DEV(bio, 37) 77dnl _DEV(bktr, 75) 78_DEV(bpf, 22) 79_DEV(bthub,100) 80_DEV(cry, 47) 81_DEV(diskmap,101) 82_DEV(fdesc, 7) 83_DEV(hotplug, 37) 84dnl _DEV(iop, 73) 85_DEV(lkm, 35) 86_DEV(music, 58) 87_DEV(nnpfs, 51) 88_DEV(pci, 88) 89_DEV(pf, 46) 90_DEV(pppx,102) 91_DEV(radio, 97) 92_DEV(rnd, 40) 93_DEV(rmidi, 57) 94_DEV(systrace, 50) 95_DEV(tun, 33) 96dnl _DEV(tuner, 75) 97_DEV(uk, 28) 98_DEV(vi, 77) 99_DEV(vscsi, 99) 100dnl 101divert(__mddivert)dnl 102dnl 103ramdisk) 104 _recurse std bpf0 wd0 wd1 sd0 tty00 rd0 wsmouse 105 _recurse st0 ttyC0 wskbd0 apm bio diskmap 106 ;; 107 108_std(1, 2, 8, 6) 109 ;; 110dnl 111dnl *** landisk specific targets 112dnl 113twrget(all, scif, tty, a)dnl 114target(all, ch, 0)dnl 115target(all, nnpfs, 0)dnl 116target(all, vscsi, 0)dnl 117target(all, diskmap)dnl 118twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl 119twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl 120target(all, pty, 0)dnl 121target(all, bpf, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl 122target(all, bio)dnl 123target(all, tun, 0, 1, 2, 3)dnl 124target(all, xy, 0, 1, 2, 3)dnl 125target(all, rd, 0)dnl 126target(all, cd, 0, 1)dnl 127target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl 128target(all, vnd, 0, 1, 2, 3)dnl 129target(all, ccd, 0, 1, 2, 3)dnl 130target(all, bthub, 0, 1, 2)dnl 131