kernel: Remove some old ISA only drivers.
[dragonfly.git] / sys / bus / isa / i386 / isa_compat.h
CommitLineData
984263bc
MD
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
1f2de5d4 29#include "use_cy.h"
1f2de5d4
MD
30#include "use_stl.h"
31#include "use_stli.h"
984263bc
MD
32
33struct old_isa_driver {
34 int type;
35 struct isa_driver *driver;
36};
37
ad9f8794 38extern struct isa_driver cydriver;
984263bc
MD
39extern struct isa_driver stldriver;
40extern struct isa_driver stlidriver;
984263bc
MD
41
42
43static struct old_isa_driver old_drivers[] = {
44
45/* Sensitive TTY */
46
47/* Sensitive BIO */
48
49/* Sensitive NET */
984263bc
MD
50
51/* Sensitive CAM */
52
53/* TTY */
54
984263bc 55#if NCY > 0
f8a09be1 56 { 0, &cydriver },
984263bc 57#endif
984263bc 58#if NSTL > 0
ee61f228 59 { 0, &stldriver },
984263bc
MD
60#endif
61#if NSTLI > 0
ee61f228 62 { 0, &stlidriver },
984263bc 63#endif
984263bc
MD
64
65/* BIO */
66
984263bc
MD
67/* NET */
68
984263bc
MD
69/* MISC */
70
984263bc
MD
71};
72
c157ff7a 73#define old_drivers_count NELEM(old_drivers)
ee61f228 74