Fix LINT: Remove cm(4) and fla(4) remains.
[dragonfly.git] / sys / bus / isa / i386 / isa_compat.h
blob7f3774dd052542f685e286cc78e303f2916f4848
1 /*-
2 * Copyright (c) 1998 Doug Rabson
3 * All rights reserved.
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
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
24 * SUCH DAMAGE.
26 * $FreeBSD: src/sys/i386/isa/isa_compat.h,v 1.27.2.11 2002/10/05 18:31:48 scottl Exp $
27 * $DragonFly: src/sys/bus/isa/i386/isa_compat.h,v 1.12 2007/08/29 15:42:05 swildner Exp $
30 #include "use_vt.h"
31 #include "use_cx.h"
32 #include "use_el.h"
33 #include "use_le.h"
34 #include "use_rdp.h"
35 #include "use_pcm.h"
36 #include "use_wt.h"
37 #include "use_ctx.h"
38 #include "use_spigot.h"
39 #include "use_gp.h"
40 #include "use_gsc.h"
41 #include "use_cy.h"
42 #include "use_dgb.h"
43 #include "use_labpc.h"
44 #include "use_rc.h"
45 #include "use_tw.h"
46 #include "use_asc.h"
47 #include "use_stl.h"
48 #include "use_stli.h"
50 struct old_isa_driver {
51 int type;
52 struct isa_driver *driver;
55 extern struct isa_driver vtdriver;
56 extern struct isa_driver cxdriver;
57 extern struct isa_driver eldriver;
58 extern struct isa_driver ledriver;
59 extern struct isa_driver rdpdriver;
60 extern struct isa_driver mcddriver;
61 extern struct isa_driver scddriver;
62 extern struct isa_driver wtdriver;
63 extern struct isa_driver ctxdriver;
64 extern struct isa_driver spigotdriver;
65 extern struct isa_driver gpdriver;
66 extern struct isa_driver gscdriver;
67 extern struct isa_driver cydriver;
68 extern struct isa_driver dgbdriver;
69 extern struct isa_driver labpcdriver;
70 extern struct isa_driver rcdriver;
71 extern struct isa_driver rpdriver;
72 extern struct isa_driver twdriver;
73 extern struct isa_driver ascdriver;
74 extern struct isa_driver stldriver;
75 extern struct isa_driver stlidriver;
76 extern struct isa_driver lorandriver;
79 static struct old_isa_driver old_drivers[] = {
81 /* Sensitive TTY */
83 /* Sensitive BIO */
85 /* Sensitive NET */
86 #if NRDP > 0
87 { 0, &rdpdriver },
88 #endif
90 /* Sensitive CAM */
92 /* TTY */
94 #if NVT > 0
95 { 0, &vtdriver },
96 #endif
97 #if NGP > 0
98 { 0, &gpdriver },
99 #endif
100 #if NGSC > 0
101 { 0, &gscdriver },
102 #endif
103 #if NCY > 0
104 { INTR_FAST, &cydriver },
105 #endif
106 #if NDGB > 0
107 { 0, &dgbdriver },
108 #endif
109 #if NLABPC > 0
110 { 0, &labpcdriver },
111 #endif
112 #if NRC > 0
113 { 0, &rcdriver },
114 #endif
115 #if NRP > 0
116 { 0, &rpdriver },
117 #endif
118 #if NTW > 0
119 { 0, &twdriver },
120 #endif
121 #if NASC > 0
122 { 0, &ascdriver },
123 #endif
124 #if NSTL > 0
125 { 0, &stldriver },
126 #endif
127 #if NSTLI > 0
128 { 0, &stlidriver },
129 #endif
130 #if NLORAN > 0
131 { INTR_FAST, &lorandriver },
132 #endif
134 /* BIO */
136 #if NMCD > 0
137 { 0, &mcddriver },
138 #endif
139 #if NSCD > 0
140 { 0, &scddriver },
141 #endif
142 #if NWT > 0
143 { 0, &wtdriver },
144 #endif
146 /* NET */
148 #if NLE > 0
149 { 0, &ledriver },
150 #endif
151 #if NCX > 0
152 { 0, &cxdriver },
153 #endif
154 #if NEL > 0
155 { 0, &eldriver },
156 #endif
158 /* MISC */
160 #if NCTX > 0
161 { 0, &ctxdriver },
162 #endif
163 #if NSPIGOT > 0
164 { 0, &spigotdriver },
165 #endif
169 #define old_drivers_count (sizeof(old_drivers) / sizeof(old_drivers[0]))