make ISA bus match/attach and sub-device attachment machine-independent.

(remove that code from this file.)
This commit is contained in:
cgd 1996-02-28 01:49:35 +00:00
parent 51815fdcd6
commit f5f5831829
1 changed files with 1 additions and 30 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_machdep.c,v 1.10 1996/02/09 02:26:00 mycroft Exp $ */
/* $NetBSD: isa_machdep.c,v 1.11 1996/02/28 01:49:35 cgd Exp $ */
/*-
* Copyright (c) 1993, 1994 Charles Hannum.
@ -58,35 +58,6 @@ typedef (*vector)();
extern vector IDTVEC(intr)[], IDTVEC(fast)[];
extern struct gate_descriptor idt[];
int isamatch __P((struct device *, void *, void *));
void isaattach __P((struct device *, struct device *, void *));
struct cfdriver isacd = {
NULL, "isa", isamatch, isaattach, DV_DULL, sizeof(struct isa_softc), 1
};
int
isamatch(parent, match, aux)
struct device *parent;
void *match, *aux;
{
return (1);
}
void
isaattach(parent, self, aux)
struct device *parent, *self;
void *aux;
{
struct isa_softc *sc = (struct isa_softc *)self;
printf("\n");
TAILQ_INIT(&sc->sc_subdevs);
config_scan(isascan, self);
}
/*
* Fill in default interrupt table (in case of spuruious interrupt
* during configuration of kernel, setup interrupt control unit