xref: /openbsd/etc/etc.landisk/MAKEDEV.md (revision 5af055cd)
1define(MACHINE,landisk)dnl
2vers(__file__,
3	{-$OpenBSD: MAKEDEV.md,v 1.38 2015/10/23 15:14:11 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(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, 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(ulpt, 66)
68_DEV(usb, 64)
69_TITLE(spec)
70dnl _DEV(apm, 34)
71_DEV(au, 36)
72_DEV(bio, 37)
73dnl _DEV(bktr, 75)
74_DEV(bpf, 22)
75_DEV(diskmap,101)
76_DEV(fdesc, 7)
77_DEV(fuse, 103)
78_DEV(hotplug, 37)
79_DEV(pci, 88)
80_DEV(pf, 46)
81_DEV(pppx,102)
82_DEV(radio, 97)
83_DEV(rnd, 40)
84_DEV(rmidi, 57)
85_DEV(systrace, 50)
86_DEV(tun, 33)
87_DEV(tap, 104)
88dnl _DEV(tuner, 75)
89_DEV(uk, 28)
90_DEV(vi, 77)
91_DEV(vscsi, 99)
92dnl
93divert(__mddivert)dnl
94dnl
95ramdisk)
96	_recurse std bpf0 wd0 wd1 sd0 rd0 wsmouse
97	_recurse st0 ttyC0 wskbd0 bio diskmap random
98	;;
99
100_std(1, 2, 8, 6)
101	;;
102dnl
103dnl *** landisk specific targets
104dnl
105twrget(all, au, audio, 0, 1, 2)dnl
106twrget(all, scif, tty, a)dnl
107target(all, ch, 0)dnl
108target(all, vscsi, 0)dnl
109target(all, diskmap)dnl
110twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl
111twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl
112target(all, pty, 0)dnl
113target(all, bpf, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
114target(all, bio)dnl
115target(all, tun, 0, 1, 2, 3)dnl
116target(all, tap, 0, 1, 2, 3)dnl
117target(all, xy, 0, 1, 2, 3)dnl
118target(all, rd, 0)dnl
119target(all, cd, 0, 1)dnl
120target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
121target(all, vnd, 0, 1, 2, 3)dnl
122