1999-04-16 21:22:55 +00:00
|
|
|
/*-
|
|
|
|
* Copyright (c) 1998 Doug Rabson
|
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or without
|
|
|
|
* modification, are permitted provided that the following conditions
|
|
|
|
* are met:
|
|
|
|
* 1. Redistributions of source code must retain the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer.
|
|
|
|
* 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
* notice, this list of conditions and the following disclaimer in the
|
|
|
|
* documentation and/or other materials provided with the distribution.
|
|
|
|
*
|
|
|
|
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
* SUCH DAMAGE.
|
|
|
|
*
|
1999-05-09 09:56:52 +00:00
|
|
|
* $Id: isa_compat.h,v 1.6 1999/05/08 21:59:26 dfr Exp $
|
1999-04-16 21:22:55 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "vt.h"
|
|
|
|
#include "adv.h"
|
|
|
|
#include "aha.h"
|
|
|
|
#include "wdc.h"
|
|
|
|
#include "mse.h"
|
|
|
|
#include "ar.h"
|
|
|
|
#include "cs.h"
|
|
|
|
#include "cx.h"
|
|
|
|
#include "ed.h"
|
|
|
|
#include "el.h"
|
|
|
|
#include "ep.h"
|
|
|
|
#include "ex.h"
|
|
|
|
#include "fe.h"
|
|
|
|
#include "ie.h"
|
|
|
|
#include "le.h"
|
|
|
|
#include "lnc.h"
|
|
|
|
#include "rdp.h"
|
|
|
|
#include "sr.h"
|
|
|
|
#include "wl.h"
|
|
|
|
#include "ze.h"
|
|
|
|
#include "zp.h"
|
|
|
|
#include "oltr.h"
|
1999-04-17 19:38:38 +00:00
|
|
|
#include "pcm.h"
|
1999-04-16 21:22:55 +00:00
|
|
|
#include "pas.h"
|
|
|
|
#include "sb.h"
|
|
|
|
#include "sbxvi.h"
|
|
|
|
#include "sbmidi.h"
|
|
|
|
#include "awe.h"
|
|
|
|
#include "gus.h"
|
|
|
|
#include "mss.h"
|
|
|
|
#include "css.h"
|
|
|
|
#include "sscape.h"
|
|
|
|
#include "trix.h"
|
|
|
|
#include "opl.h"
|
|
|
|
#include "mpu.h"
|
|
|
|
#include "uart.h"
|
|
|
|
#include "pca.h"
|
|
|
|
#include "mcd.h"
|
|
|
|
#include "scd.h"
|
|
|
|
#include "matcd.h"
|
|
|
|
#include "wt.h"
|
|
|
|
#include "ctx.h"
|
|
|
|
#include "spigot.h"
|
|
|
|
#include "gp.h"
|
|
|
|
#include "gsc.h"
|
|
|
|
#include "joy.h"
|
|
|
|
#include "cy.h"
|
|
|
|
#include "dgb.h"
|
|
|
|
#include "dgm.h"
|
|
|
|
#include "labpc.h"
|
|
|
|
#include "rc.h"
|
|
|
|
#include "rp.h"
|
|
|
|
#include "tw.h"
|
|
|
|
#include "si.h"
|
|
|
|
#include "asc.h"
|
|
|
|
#include "stl.h"
|
|
|
|
#include "stli.h"
|
|
|
|
#include "loran.h"
|
|
|
|
#include "pcf.h"
|
|
|
|
#include "isic.h"
|
|
|
|
#include "tina.h"
|
|
|
|
#include "ppc.h"
|
1999-05-08 14:36:48 +00:00
|
|
|
#include "fla.h"
|
1999-04-24 04:21:42 +00:00
|
|
|
#ifdef PC98
|
|
|
|
#include "bs.h"
|
|
|
|
#endif
|
1999-04-16 21:22:55 +00:00
|
|
|
|
|
|
|
struct old_isa_driver {
|
|
|
|
int type;
|
|
|
|
struct isa_driver *driver;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern struct isa_driver vtdriver;
|
|
|
|
extern struct isa_driver advdriver;
|
|
|
|
extern struct isa_driver ahadriver;
|
|
|
|
extern struct isa_driver wdcdriver;
|
|
|
|
extern struct isa_driver msedriver;
|
|
|
|
extern struct isa_driver ardriver;
|
|
|
|
extern struct isa_driver csdriver;
|
|
|
|
extern struct isa_driver cxdriver;
|
|
|
|
extern struct isa_driver eddriver;
|
|
|
|
extern struct isa_driver eldriver;
|
|
|
|
extern struct isa_driver epdriver;
|
|
|
|
extern struct isa_driver exdriver;
|
|
|
|
extern struct isa_driver fedriver;
|
|
|
|
extern struct isa_driver iedriver;
|
|
|
|
extern struct isa_driver ledriver;
|
|
|
|
extern struct isa_driver lncdriver;
|
|
|
|
extern struct isa_driver rdpdriver;
|
|
|
|
extern struct isa_driver srdriver;
|
|
|
|
extern struct isa_driver wldriver;
|
|
|
|
extern struct isa_driver zedriver;
|
|
|
|
extern struct isa_driver zpdriver;
|
|
|
|
extern struct isa_driver oltrdriver;
|
1999-04-17 19:38:38 +00:00
|
|
|
extern struct isa_driver pcmdriver;
|
1999-04-16 21:22:55 +00:00
|
|
|
extern struct isa_driver pasdriver;
|
|
|
|
extern struct isa_driver sbdriver;
|
|
|
|
extern struct isa_driver sbxvidriver;
|
|
|
|
extern struct isa_driver sbmididriver;
|
|
|
|
extern struct isa_driver awedriver;
|
|
|
|
extern struct isa_driver gusdriver;
|
|
|
|
extern struct isa_driver mssdriver;
|
|
|
|
extern struct isa_driver cssdriver;
|
|
|
|
extern struct isa_driver sscapedriver;
|
|
|
|
extern struct isa_driver trixdriver;
|
|
|
|
extern struct isa_driver sscape_mssdriver;
|
|
|
|
extern struct isa_driver opldriver;
|
|
|
|
extern struct isa_driver mpudriver;
|
|
|
|
extern struct isa_driver uartdriver;
|
|
|
|
extern struct isa_driver pcadriver;
|
|
|
|
extern struct isa_driver mcddriver;
|
|
|
|
extern struct isa_driver scddriver;
|
|
|
|
extern struct isa_driver matcddriver;
|
|
|
|
extern struct isa_driver wtdriver;
|
|
|
|
extern struct isa_driver ctxdriver;
|
|
|
|
extern struct isa_driver spigotdriver;
|
|
|
|
extern struct isa_driver gpdriver;
|
|
|
|
extern struct isa_driver gscdriver;
|
|
|
|
extern struct isa_driver joydriver;
|
|
|
|
extern struct isa_driver cydriver;
|
|
|
|
extern struct isa_driver dgbdriver;
|
|
|
|
extern struct isa_driver dgmdriver;
|
|
|
|
extern struct isa_driver labpcdriver;
|
|
|
|
extern struct isa_driver rcdriver;
|
|
|
|
extern struct isa_driver rpdriver;
|
|
|
|
extern struct isa_driver twdriver;
|
|
|
|
extern struct isa_driver sidriver;
|
|
|
|
extern struct isa_driver ascdriver;
|
|
|
|
extern struct isa_driver stldriver;
|
|
|
|
extern struct isa_driver stlidriver;
|
|
|
|
extern struct isa_driver lorandriver;
|
|
|
|
extern struct isa_driver pcfdriver;
|
|
|
|
extern struct isa_driver isicdriver;
|
|
|
|
extern struct isa_driver tinadriver;
|
|
|
|
extern struct isa_driver ppcdriver;
|
1999-05-08 14:36:48 +00:00
|
|
|
extern struct isa_driver fladriver;
|
1999-04-24 04:21:42 +00:00
|
|
|
#ifdef PC98
|
|
|
|
extern struct isa_driver bsdriver;
|
|
|
|
#endif
|
1999-04-16 21:22:55 +00:00
|
|
|
|
|
|
|
|
|
|
|
static struct old_isa_driver old_drivers[] = {
|
|
|
|
|
|
|
|
/* Sensitive TTY */
|
|
|
|
|
|
|
|
/* Sensitive BIO */
|
|
|
|
|
|
|
|
/* Sensitive NET */
|
|
|
|
#if NED > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &eddriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NFE > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &fedriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NRDP > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &rdpdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Sensitive CAM */
|
|
|
|
|
|
|
|
/* TTY */
|
|
|
|
|
|
|
|
#if NVT > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &vtdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NMSE > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &msedriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NPCA > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &pcadriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NGP > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &gpdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NGSC > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &gscdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NCY > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &cydriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NDGB > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &dgbdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NDGM > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &dgmdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NLABPC > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &labpcdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NRCD > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &rcdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NRP > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &rpdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NTW > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &twdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSI > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &sidriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NASC > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &ascdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSTL > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &stldriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSTLI > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &stlidriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NLORAN > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &lorandriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NPPC > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_TTY, &ppcdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* BIO */
|
|
|
|
|
|
|
|
#if NWDC > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_BIO, &wdcdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NMCD > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_BIO, &mcddriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSCD > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_BIO, &scddriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NMATCD > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_BIO, &matcddriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NWT > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_BIO, &wtdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
1999-05-08 14:36:48 +00:00
|
|
|
#if NFLA > 0
|
1999-05-09 09:56:52 +00:00
|
|
|
{ INTR_TYPE_BIO, &fladriver },
|
1999-05-08 14:36:48 +00:00
|
|
|
#endif
|
1999-04-16 21:22:55 +00:00
|
|
|
|
|
|
|
/* NET */
|
|
|
|
|
|
|
|
#if NIE > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &iedriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NEP > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &epdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NEX > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &exdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NLE > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &ledriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NLNC > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &lncdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NZE > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &zedriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NZP > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &zpdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NCS > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &csdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NAR > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &ardriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NCX > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &cxdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NEL > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &eldriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSR > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &srdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NWL > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &wldriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NPCF > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &pcfdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NISIC > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &isicdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NTINA > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_NET, &tinadriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* CAM */
|
|
|
|
|
1999-04-24 04:21:42 +00:00
|
|
|
#ifndef PC98
|
1999-04-16 21:22:55 +00:00
|
|
|
#if NADV > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_CAM, &advdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
1999-04-24 04:21:42 +00:00
|
|
|
#endif
|
|
|
|
|
1999-04-16 21:22:55 +00:00
|
|
|
#if NAHA > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_CAM, &ahadriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
|
1999-04-24 04:21:42 +00:00
|
|
|
#ifdef PC98
|
|
|
|
#if NBS > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_CAM, &bsdriver },
|
1999-04-24 04:21:42 +00:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
1999-04-16 21:22:55 +00:00
|
|
|
/* MISC */
|
|
|
|
|
|
|
|
#if NOLTR > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &oltrdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
1999-04-17 19:38:38 +00:00
|
|
|
#if NPCM > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &pcmdriver },
|
1999-04-17 19:38:38 +00:00
|
|
|
#endif
|
1999-04-16 21:22:55 +00:00
|
|
|
#if NPAS > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &pasdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSB > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &sbdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
1999-04-17 19:38:38 +00:00
|
|
|
#if NSBXVI > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &sbxvidriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSBMIDI > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &sbmididriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NAWE > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &awedriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NGUS > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &gusdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NMSS > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &mssdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NCSS > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &cssdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSSCAPE > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &sscapedriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NTRIX > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &trixdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSSCAPE > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &sscape_mssdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NOPL > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &opldriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NMPU > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &mpudriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NUART > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &uartdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NCTX > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &ctxdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NSPIGOT > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &spigotdriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
#if NJOY > 0
|
1999-05-08 21:59:43 +00:00
|
|
|
{ INTR_TYPE_MISC, &joydriver },
|
1999-04-16 21:22:55 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#define old_drivers_count (sizeof(old_drivers) / sizeof(old_drivers[0]))
|