UPROTO_BOOT_KEYBOARD is already defined in usb.h as UIPROTO_BOOT_KEYBOARD
[dragonfly.git] / sys / bus / isa / x86_64 / isa_compat.h
1 /*-
2  * Copyright (c) 1998 Doug Rabson
3  * All rights reserved.
4  *
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.
13  *
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.
25  *
26  * $FreeBSD: src/sys/i386/isa/isa_compat.h,v 1.27.2.11 2002/10/05 18:31:48 scottl Exp $
27  */
28
29 #include "use_el.h"
30 #include "use_le.h"
31 #include "use_rdp.h"
32 #include "use_wt.h"
33 #include "use_ctx.h"
34 #include "use_spigot.h"
35 #include "use_gp.h"
36 #include "use_gsc.h"
37 #include "use_cy.h"
38 #include "use_dgb.h"
39 #include "use_labpc.h"
40 #include "use_rc.h"
41 #include "use_tw.h"
42 #include "use_asc.h"
43 #include "use_stl.h"
44 #include "use_stli.h"
45
46 struct old_isa_driver {
47         int                     type;
48         struct isa_driver       *driver;
49 };
50
51 extern struct isa_driver  eldriver;
52 extern struct isa_driver  ledriver;
53 extern struct isa_driver rdpdriver;
54 extern struct isa_driver  wtdriver;
55 extern struct isa_driver ctxdriver;
56 extern struct isa_driver spigotdriver;
57 extern struct isa_driver  gpdriver;
58 extern struct isa_driver gscdriver;
59 extern struct isa_driver  cydriver;
60 extern struct isa_driver dgbdriver;
61 extern struct isa_driver labpcdriver;
62 extern struct isa_driver  rcdriver;
63 extern struct isa_driver  twdriver;
64 extern struct isa_driver ascdriver;
65 extern struct isa_driver stldriver;
66 extern struct isa_driver stlidriver;
67
68
69 static struct old_isa_driver old_drivers[] = {
70
71 /* Sensitive TTY */
72
73 /* Sensitive BIO */
74
75 /* Sensitive NET */
76 #if NRDP > 0
77         { 0, &rdpdriver },
78 #endif
79
80 /* Sensitive CAM */
81
82 /* TTY */
83
84 #if NGP > 0
85         { 0, &gpdriver },
86 #endif
87 #if NGSC > 0
88         { 0, &gscdriver },
89 #endif
90 #if NCY > 0
91         { 0, &cydriver },
92 #endif
93 #if NDGB > 0
94         { 0, &dgbdriver },
95 #endif
96 #if NLABPC > 0
97         { 0, &labpcdriver },
98 #endif
99 #if NRC > 0
100         { 0, &rcdriver },
101 #endif
102 #if NTW > 0
103         { 0, &twdriver },
104 #endif
105 #if NASC > 0
106         { 0, &ascdriver },
107 #endif
108 #if NSTL > 0
109         { 0, &stldriver },
110 #endif
111 #if NSTLI > 0
112         { 0, &stlidriver },
113 #endif
114
115 /* BIO */
116
117 #if NWT > 0
118         { 0, &wtdriver },
119 #endif
120
121 /* NET */
122
123 #if NLE > 0
124         { 0, &ledriver },
125 #endif
126 #if NEL > 0
127         { 0, &eldriver },
128 #endif
129
130 /* MISC */
131
132 #if NCTX > 0
133         { 0, &ctxdriver },
134 #endif
135 #if NSPIGOT > 0
136         { 0, &spigotdriver },
137 #endif
138
139 };
140
141 #define old_drivers_count (sizeof(old_drivers) / sizeof(old_drivers[0]))
142