From b7a585b61dc5e74a293196953c540a24c9f47070 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 30 Jul 1998 18:03:34 +0000 Subject: [PATCH] Use the previously committed pnp hook. --- sys/dev/isa/isa.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c index 914399bfde43..55cfde74c2a9 100644 --- a/sys/dev/isa/isa.c +++ b/sys/dev/isa/isa.c @@ -1,4 +1,4 @@ -/* $NetBSD: isa.c,v 1.102 1998/06/11 08:29:33 leo Exp $ */ +/* $NetBSD: isa.c,v 1.103 1998/07/30 18:03:34 christos Exp $ */ /*- * Copyright (c) 1993, 1994 Charles Hannum. All rights reserved. @@ -44,6 +44,12 @@ #include "isadma.h" +#include "isapnp.h" +#ifdef NISAPNP +#include +#include +#endif + int isamatch __P((struct device *, struct cfdata *, void *)); void isaattach __P((struct device *, struct device *, void *)); int isaprint __P((void *, const char *)); @@ -86,6 +92,13 @@ isaattach(parent, self, aux) sc->sc_dmat = iba->iba_dmat; sc->sc_ic = iba->iba_ic; +#if NISAPNP > 0 + /* + * Reset isapnp cards that the bios configured for us + */ + isapnp_isa_attach_hook(sc); +#endif + #if NISADMA > 0 /* * Initialize our DMA state.