Merge branch 'vendor/ZLIB'
[dragonfly.git] / sys / bus / isa / i386 / 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_cy.h"
30 #include "use_stl.h"
31 #include "use_stli.h"
32
33 struct old_isa_driver {
34         int                     type;
35         struct isa_driver       *driver;
36 };
37
38 extern struct isa_driver cydriver;
39 extern struct isa_driver stldriver;
40 extern struct isa_driver stlidriver;
41
42
43 static struct old_isa_driver old_drivers[] = {
44
45 /* Sensitive TTY */
46
47 /* Sensitive BIO */
48
49 /* Sensitive NET */
50
51 /* Sensitive CAM */
52
53 /* TTY */
54
55 #if NCY > 0
56         { 0, &cydriver },
57 #endif
58 #if NSTL > 0
59         { 0, &stldriver },
60 #endif
61 #if NSTLI > 0
62         { 0, &stlidriver },
63 #endif
64
65 /* BIO */
66
67 /* NET */
68
69 /* MISC */
70
71 };
72
73 #define old_drivers_count NELEM(old_drivers)
74