1 /*        $NetBSD: diodevs.h,v 1.17 2011/02/19 05:41:38 tsutsui Exp $ */
2 
3 /*
4  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
5  *
6  * generated from:
7  *        NetBSD: diodevs,v 1.14 2011/02/19 05:40:58 tsutsui Exp
8  */
9 
10 /*-
11  * Copyright (c) 1996 The NetBSD Foundation, Inc.
12  * All rights reserved.
13  *
14  * This code is derived from software contributed to The NetBSD Foundation
15  * by Jason R. Thorpe.
16  *
17  * Redistribution and use in source and binary forms, with or without
18  * modification, are permitted provided that the following conditions
19  * are met:
20  * 1. Redistributions of source code must retain the above copyright
21  *    notice, this list of conditions and the following disclaimer.
22  * 2. Redistributions in binary form must reproduce the above copyright
23  *    notice, this list of conditions and the following disclaimer in the
24  *    documentation and/or other materials provided with the distribution.
25  *
26  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
27  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
28  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
30  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36  * POSSIBILITY OF SUCH DAMAGE.
37  */
38 
39 
40 #define   DIO_DEVICE_ID_DCA0  0x02
41 #define   DIO_DEVICE_DESC_DCA0          "98644A serial"
42 
43 #define   DIO_DEVICE_ID_DCA0REM         0x82
44 #define   DIO_DEVICE_DESC_DCA0REM       "98644A serial"
45 
46 #define   DIO_DEVICE_ID_DCA1  0x42
47 #define   DIO_DEVICE_DESC_DCA1          "98644A serial"
48 
49 #define   DIO_DEVICE_ID_DCA1REM         0xc2
50 #define   DIO_DEVICE_DESC_DCA1REM       "98644A serial"
51 
52 
53 #define   DIO_DEVICE_ID_DCM   0x05
54 #define   DIO_DEVICE_DESC_DCM "98642A serial MUX"
55 
56 #define   DIO_DEVICE_ID_DCMREM          0x85
57 #define   DIO_DEVICE_DESC_DCMREM        "98642A serial MUX"
58 
59 
60 #define   DIO_DEVICE_ID_LAN   0x15
61 #define   DIO_DEVICE_DESC_LAN "98643A LAN"
62 
63 
64 #define   DIO_DEVICE_ID_FHPIB 0x08
65 #define   DIO_DEVICE_DESC_FHPIB         "98625A/98625B HP-IB"
66 
67 #define   DIO_DEVICE_ID_NHPIB 0x01
68 #define   DIO_DEVICE_DESC_NHPIB         "98624A HP-IB"
69 
70 #define   DIO_DEVICE_ID_IHPIB 0x00
71 #define   DIO_DEVICE_DESC_IHPIB         "internal HP-IB"
72 
73 
74 #define   DIO_DEVICE_ID_SCSI0 0x07
75 #define   DIO_DEVICE_DESC_SCSI0         "98265A SCSI"
76 
77 #define   DIO_DEVICE_ID_SCSI1 0x27
78 #define   DIO_DEVICE_DESC_SCSI1         "98265A SCSI"
79 
80 #define   DIO_DEVICE_ID_SCSI2 0x47
81 #define   DIO_DEVICE_DESC_SCSI2         "98265A SCSI"
82 
83 #define   DIO_DEVICE_ID_SCSI3 0x67
84 #define   DIO_DEVICE_DESC_SCSI3         "98265A SCSI"
85 
86 /* Framebuffer devices; same primary ID, different secondary IDs. */
87 
88 
89 #define   DIO_DEVICE_ID_FRAMEBUFFER     0x39
90 #define   DIO_DEVICE_DESC_FRAMEBUFFER   "bitmapped display"
91 
92 
93 #define   DIO_DEVICE_SECID_GATORBOX     0x01
94 #define   DIO_DEVICE_DESC_GATORBOX      "98700/98710 (\"gatorbox\") display"
95 
96 #define   DIO_DEVICE_SECID_TOPCAT       0x02
97 #define   DIO_DEVICE_DESC_TOPCAT        "98544/98545/98547 (\"topcat\") display"
98 
99 #define   DIO_DEVICE_SECID_RENAISSANCE  0x04
100 #define   DIO_DEVICE_DESC_RENAISSANCE   "98720/98721 (\"renaissance\") display"
101 
102 #define   DIO_DEVICE_SECID_LRCATSEYE    0x05
103 #define   DIO_DEVICE_DESC_LRCATSEYE     "low-res catseye display"
104 
105 #define   DIO_DEVICE_SECID_HRCCATSEYE   0x06
106 #define   DIO_DEVICE_DESC_HRCCATSEYE    "high-res color catseye display"
107 
108 #define   DIO_DEVICE_SECID_HRMCATSEYE   0x07
109 #define   DIO_DEVICE_DESC_HRMCATSEYE    "high-res mono catseye display"
110 
111 #define   DIO_DEVICE_SECID_DAVINCI      0x08
112 #define   DIO_DEVICE_DESC_DAVINCI       "98730/98731 (\"davinci\") display"
113 
114 #define   DIO_DEVICE_SECID_XXXCATSEYE   0x09
115 #define   DIO_DEVICE_DESC_XXXCATSEYE    "catseye display"
116 
117 #define   DIO_DEVICE_SECID_TIGERSHARK   0x0c
118 #define   DIO_DEVICE_DESC_TIGERSHARK    "TurboVRX (\"tigershark\") display"
119 
120 #define   DIO_DEVICE_SECID_HYPERION     0x0e
121 #define   DIO_DEVICE_DESC_HYPERION      "A1096A (\"hyperion\") display"
122 
123 #define   DIO_DEVICE_SECID_A1474MID     0x10
124 #define   DIO_DEVICE_DESC_A1474MID      "A1474-69511 on-board mid-res graphics"
125 
126 #define   DIO_DEVICE_SECID_A147xVGA     0x11
127 #define   DIO_DEVICE_DESC_A147xVGA      "A147x-69510 on-board VGA graphics"
128 
129 /* Unsupported framebuffers. */
130 
131 
132 #define   DIO_DEVICE_SECID_XGENESIS     0x0b
133 #define   DIO_DEVICE_DESC_XGENESIS      "x-genesis display"
134 
135 #define   DIO_DEVICE_SECID_YGENESIS     0x0d
136 #define   DIO_DEVICE_DESC_YGENESIS      "y-genesis display"
137 /* No ID info about A1474-69515 on-board high-res graphics */
138 
139 /* Devices not yet supported.  Descriptions are lacking. */
140 
141 
142 #define   DIO_DEVICE_ID_MISC0 0x03
143 #define   DIO_DEVICE_DESC_MISC0         "98622A"
144 
145 #define   DIO_DEVICE_ID_MISC1 0x04
146 #define   DIO_DEVICE_DESC_MISC1         "98623A"
147 
148 #define   DIO_DEVICE_ID_PARALLEL        0x06
149 #define   DIO_DEVICE_DESC_PARALLEL      "internal parallel"
150 
151 #define   DIO_DEVICE_ID_MISC2 0x09
152 #define   DIO_DEVICE_DESC_MISC2         "98287A keyboard"
153 
154 #define   DIO_DEVICE_ID_MISC3 0x0a
155 #define   DIO_DEVICE_DESC_MISC3         "HP98635A floating point accelerator"
156 
157 #define   DIO_DEVICE_ID_MISC4 0x0b
158 #define   DIO_DEVICE_DESC_MISC4         "timer"
159 
160 #define   DIO_DEVICE_ID_MISC5 0x12
161 #define   DIO_DEVICE_DESC_MISC5         "98640A"
162 
163 #define   DIO_DEVICE_ID_AUDIO 0x13
164 #define   DIO_DEVICE_DESC_AUDIO         "digital audio"
165 
166 #define   DIO_DEVICE_ID_MISC6 0x16
167 #define   DIO_DEVICE_DESC_MISC6         "98659A"
168 
169 #define   DIO_DEVICE_ID_MISC7 0x19
170 #define   DIO_DEVICE_DESC_MISC7         "237 display"
171 
172 #define   DIO_DEVICE_ID_MISC8 0x1a
173 #define   DIO_DEVICE_DESC_MISC8         "quad-wide card"
174 
175 #define   DIO_DEVICE_ID_MISC9 0x1b
176 #define   DIO_DEVICE_DESC_MISC9         "98253A"
177 
178 #define   DIO_DEVICE_ID_MISC10          0x1c
179 #define   DIO_DEVICE_DESC_MISC10        "98627A"
180 
181 #define   DIO_DEVICE_ID_MISC11          0x1d
182 #define   DIO_DEVICE_DESC_MISC11        "98633A"
183 
184 #define   DIO_DEVICE_ID_MISC12          0x1e
185 #define   DIO_DEVICE_DESC_MISC12        "98259A"
186 
187 #define   DIO_DEVICE_ID_MISC13          0x1f
188 #define   DIO_DEVICE_DESC_MISC13        "8741"
189 
190 #define   DIO_DEVICE_ID_VME   0x31
191 #define   DIO_DEVICE_DESC_VME "98577A VME adapter"
192 
193 #define   DIO_DEVICE_ID_DCL   0x34
194 #define   DIO_DEVICE_DESC_DCL "98628A serial"
195 
196 #define   DIO_DEVICE_ID_DCLREM          0xb4
197 #define   DIO_DEVICE_DESC_DCLREM        "98628A serial"
198