2 * Copyright (c) 1998 Doug Rabson
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
14 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
93 struct old_isa_driver {
95 struct isa_driver *driver;
98 extern struct isa_driver vtdriver;
99 extern struct isa_driver advdriver;
100 extern struct isa_driver wdcdriver;
101 extern struct isa_driver msedriver;
102 extern struct isa_driver ardriver;
103 extern struct isa_driver csdriver;
104 extern struct isa_driver cxdriver;
105 extern struct isa_driver eddriver;
106 extern struct isa_driver eldriver;
107 extern struct isa_driver fedriver;
108 extern struct isa_driver iedriver;
109 extern struct isa_driver ledriver;
110 extern struct isa_driver lncdriver;
111 extern struct isa_driver rdpdriver;
112 extern struct isa_driver srdriver;
113 extern struct isa_driver wldriver;
114 extern struct isa_driver zedriver;
115 extern struct isa_driver zpdriver;
116 extern struct isa_driver oltrdriver;
117 extern struct isa_driver pasdriver;
118 extern struct isa_driver sbdriver;
119 extern struct isa_driver sbxvidriver;
120 extern struct isa_driver sbmididriver;
121 extern struct isa_driver awedriver;
122 extern struct isa_driver gusdriver;
123 extern struct isa_driver mssdriver;
124 extern struct isa_driver cssdriver;
125 extern struct isa_driver sscapedriver;
126 extern struct isa_driver trixdriver;
127 extern struct isa_driver sscape_mssdriver;
128 extern struct isa_driver opldriver;
129 extern struct isa_driver mpudriver;
130 extern struct isa_driver uartdriver;
131 extern struct isa_driver pcadriver;
132 extern struct isa_driver mcddriver;
133 extern struct isa_driver scddriver;
134 extern struct isa_driver matcddriver;
135 extern struct isa_driver wtdriver;
136 extern struct isa_driver ctxdriver;
137 extern struct isa_driver spigotdriver;
138 extern struct isa_driver gpdriver;
139 extern struct isa_driver gscdriver;
140 extern struct isa_driver joydriver;
141 extern struct isa_driver cydriver;
142 extern struct isa_driver dgbdriver;
143 extern struct isa_driver dgmdriver;
144 extern struct isa_driver labpcdriver;
145 extern struct isa_driver rcdriver;
146 extern struct isa_driver rpdriver;
147 extern struct isa_driver twdriver;
148 extern struct isa_driver sidriver;
149 extern struct isa_driver ascdriver;
150 extern struct isa_driver stldriver;
151 extern struct isa_driver stlidriver;
152 extern struct isa_driver lorandriver;
153 extern struct isa_driver pcfdriver;
154 extern struct isa_driver isicdriver;
155 extern struct isa_driver tinadriver;
156 extern struct isa_driver ppcdriver;
158 extern struct isa_driver bsdriver;
162 static struct old_isa_driver old_drivers[] = {
170 { INTR_TYPE_NET, &fedriver },
173 { INTR_TYPE_NET, &rdpdriver },
181 { INTR_TYPE_TTY, &vtdriver },
184 { INTR_TYPE_TTY, &msedriver },
187 { INTR_TYPE_TTY, &pcadriver },
190 { INTR_TYPE_TTY, &gpdriver },
193 { INTR_TYPE_TTY, &gscdriver },
196 { INTR_TYPE_TTY, &cydriver },
199 { INTR_TYPE_TTY, &dgbdriver },
202 { INTR_TYPE_TTY, &dgmdriver },
205 { INTR_TYPE_TTY, &labpcdriver },
208 { INTR_TYPE_TTY, &rcdriver },
211 { INTR_TYPE_TTY, &rpdriver },
214 { INTR_TYPE_TTY, &twdriver },
217 { INTR_TYPE_TTY, &sidriver },
220 { INTR_TYPE_TTY, &ascdriver },
223 { INTR_TYPE_TTY, &stldriver },
226 { INTR_TYPE_TTY, &stlidriver },
229 { INTR_TYPE_TTY, &lorandriver },
232 { INTR_TYPE_TTY, &ppcdriver },
238 { INTR_TYPE_BIO, &wdcdriver },
241 { INTR_TYPE_BIO, &mcddriver },
244 { INTR_TYPE_BIO, &scddriver },
247 { INTR_TYPE_BIO, &matcddriver },
250 { INTR_TYPE_BIO, &wtdriver },
256 { INTR_TYPE_NET, &iedriver },
259 { INTR_TYPE_NET, &eddriver },
262 { INTR_TYPE_NET, &ledriver },
265 { INTR_TYPE_NET, &lncdriver },
268 { INTR_TYPE_NET, &zedriver },
271 { INTR_TYPE_NET, &zpdriver },
274 { INTR_TYPE_NET, &csdriver },
277 { INTR_TYPE_NET, &ardriver },
280 { INTR_TYPE_NET, &cxdriver },
283 { INTR_TYPE_NET, &eldriver },
286 { INTR_TYPE_NET, &srdriver },
289 { INTR_TYPE_NET, &wldriver },
292 { INTR_TYPE_NET, &pcfdriver },
295 { INTR_TYPE_NET, &isicdriver },
298 { INTR_TYPE_NET, &tinadriver },
305 { INTR_TYPE_CAM, &advdriver },
311 { INTR_TYPE_CAM, &bsdriver },
318 { INTR_TYPE_MISC, &oltrdriver },
321 { INTR_TYPE_MISC, &pasdriver },
324 { INTR_TYPE_MISC, &sbdriver },
327 { INTR_TYPE_MISC, &sbxvidriver },
330 { INTR_TYPE_MISC, &sbmididriver },
333 { INTR_TYPE_MISC, &awedriver },
336 { INTR_TYPE_MISC, &gusdriver },
339 { INTR_TYPE_MISC, &mssdriver },
342 { INTR_TYPE_MISC, &cssdriver },
345 { INTR_TYPE_MISC, &sscapedriver },
348 { INTR_TYPE_MISC, &trixdriver },
351 { INTR_TYPE_MISC, &sscape_mssdriver },
354 { INTR_TYPE_MISC, &opldriver },
357 { INTR_TYPE_MISC, &mpudriver },
360 { INTR_TYPE_MISC, &uartdriver },
363 { INTR_TYPE_MISC, &ctxdriver },
366 { INTR_TYPE_MISC, &spigotdriver },
369 { INTR_TYPE_MISC, &joydriver },
374 #define old_drivers_count (sizeof(old_drivers) / sizeof(old_drivers[0]))