summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-06-07 06:46:04 +0000
committercgd <cgd@NetBSD.org>1995-06-07 06:46:04 +0000
commitda5b5dfa63d2090095247f168be538940dfabb39 (patch)
treee22d99ce004a59a670bfc7ff5c0c0cacce1202e4 /sys/dev
parent5a29222f9c3aeee7f2c21ab6127b220481eebdf4 (diff)
make match/attach routines and cfdriver struct mi
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/isa.c31
1 files changed, 1 insertions, 30 deletions
diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c
index c7ef96dfac7..799bf2fb2f9 100644
--- a/sys/dev/isa/isa.c
+++ b/sys/dev/isa/isa.c
@@ -1,4 +1,4 @@
-/* $NetBSD: isa.c,v 1.73 1995/05/17 02:07:03 cgd Exp $ */
+/* $NetBSD: isa.c,v 1.74 1995/06/07 06:46:04 cgd Exp $ */
/*-
* Copyright (c) 1993, 1994 Charles Hannum. All rights reserved.
@@ -39,22 +39,6 @@
#include <dev/isa/isareg.h>
#include <dev/isa/isavar.h>
-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);
-}
-
int
isaprint(aux, isa)
void *aux;
@@ -102,19 +86,6 @@ isascan(parent, match)
free(dev, M_DEVBUF);
}
-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);
-}
-
char *
isa_intr_typename(type)
isa_intrtype type;