Use the previously committed pnp hook.
This commit is contained in:
parent
c1303944f7
commit
b7a585b61d
@ -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.
|
* Copyright (c) 1993, 1994 Charles Hannum. All rights reserved.
|
||||||
@ -44,6 +44,12 @@
|
|||||||
|
|
||||||
#include "isadma.h"
|
#include "isadma.h"
|
||||||
|
|
||||||
|
#include "isapnp.h"
|
||||||
|
#ifdef NISAPNP
|
||||||
|
#include <dev/isapnp/isapnpreg.h>
|
||||||
|
#include <dev/isapnp/isapnpvar.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
int isamatch __P((struct device *, struct cfdata *, void *));
|
int isamatch __P((struct device *, struct cfdata *, void *));
|
||||||
void isaattach __P((struct device *, struct device *, void *));
|
void isaattach __P((struct device *, struct device *, void *));
|
||||||
int isaprint __P((void *, const char *));
|
int isaprint __P((void *, const char *));
|
||||||
@ -86,6 +92,13 @@ isaattach(parent, self, aux)
|
|||||||
sc->sc_dmat = iba->iba_dmat;
|
sc->sc_dmat = iba->iba_dmat;
|
||||||
sc->sc_ic = iba->iba_ic;
|
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
|
#if NISADMA > 0
|
||||||
/*
|
/*
|
||||||
* Initialize our DMA state.
|
* Initialize our DMA state.
|
||||||
|
Loading…
Reference in New Issue
Block a user