xref: /openbsd/etc/etc.loongson/MAKEDEV.md (revision 097a140d)
1define(MACHINE,loongson)dnl
2vers(__file__,
3	{-$OpenBSD: MAKEDEV.md,v 1.35 2021/04/02 02:29:56 deraadt Exp $-},
4etc.MACHINE)dnl
5dnl
6dnl Copyright (c) 2001-2006 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
29__devitem(apm, apm, Power management device)dnl
30_TITLE(make)
31_DEV(all)
32_DEV(ramd)
33_DEV(std)
34_DEV(local)
35_TITLE(dis)
36_DEV(cd, 8, 3)
37_DEV(rd, 22, 8)
38_DEV(sd, 9, 0)
39_DEV(vnd, 11, 2)
40_DEV(wd, 18, 4)
41_TITLE(tap)
42_DEV(ch, 36)
43_DEV(st, 10)
44_TITLE(term)
45_DEV(com, 17)
46_TITLE(pty)
47_DEV(ptm, 52)
48_DEV(pty, 5)
49_DEV(tty, 4)
50_TITLE(cons)
51_DEV(wsdisp, 25)
52_DEV(wscons)
53_DEV(wskbd, 26)
54_DEV(wsmux, 28)
55_TITLE(point)
56_DEV(wsmouse, 27)
57_TITLE(usb)
58_DEV(ttyU, 66)
59_DEV(uall)
60_DEV(ugen, 63)
61_DEV(uhid, 62)
62_DEV(fido, 88)
63_DEV(ujoy, 90)
64_DEV(ulpt, 64)
65_DEV(usb, 61)
66_TITLE(spec)
67_DEV(apm, 14)
68_DEV(au, 44)
69_DEV(bio, 49)
70_DEV(bpf, 12)
71_DEV(dt, 30)
72_DEV(diskmap, 70)
73_DEV(dri, 87)
74_DEV(drm, 87)
75_DEV(fdesc, 7)
76_DEV(fuse, 73)
77_DEV(hotplug, 67)
78_DEV(pci, 29)
79_DEV(pf, 31)
80_DEV(pppx, 71)
81_DEV(pppac, 89)
82_DEV(rnd, 33)
83_DEV(tun, 13)
84_DEV(tap, 74)
85_DEV(uk, 32)
86_DEV(vi, 45)
87_DEV(vscsi, 69)
88_DEV(switch, 75)
89_DEV(kstat, 51)
90dnl
91divert(__mddivert)dnl
92dnl
93_std(2, 3, 35, 6)
94	;;
95dnl
96dnl *** loongson specific targets
97dnl
98twrget(all, au, audio, 0, 1, 2, 3)dnl
99dnl target(all, ch, 0)dnl
100target(all, vscsi, 0)dnl
101target(all, diskmap)dnl
102dnl twrget(all, flo, fd, 0, 0B, 0C, 0D, 0E, 0F, 0G, 0H)dnl
103dnl twrget(all, flo, fd, 1, 1B, 1C, 1D, 1E, 1F, 1G, 1H)dnl
104target(all, pty, 0, 1, 2)dnl
105target(all, bio)dnl
106target(all, tun, 0, 1, 2, 3)dnl
107target(all, tap, 0, 1, 2, 3)dnl
108target(all, xy, 0, 1, 2, 3)dnl
109target(all, rd, 0)dnl
110target(all, cd, 0, 1)dnl
111target(all, sd, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9)dnl
112target(all, vnd, 0, 1, 2, 3)dnl
113target(all, switch, 0, 1, 2, 3)dnl
114target(all, dri)dnl
115target(all, drm, 0, 1, 2, 3)dnl
116target(ramd, bio)dnl
117target(ramd, diskmap)dnl
118target(ramd, random)dnl
119target(ramd, wskbd, 0, 1, 2)dnl
120