Pass the i/o handle, not bus PA, to bus_space_unmap().
From Matthias Drochner <drochner@zelz28.zel.kfa-juelich.de>, in PR #3216.
This commit is contained in:
parent
dfa1224fab
commit
2953a0ce90
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: sb_isa.c,v 1.1 1997/01/16 21:03:34 christos Exp $ */
|
||||
/* $NetBSD: sb_isa.c,v 1.2 1997/02/12 23:37:38 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991-1993 Regents of the University of California.
|
||||
|
@ -103,7 +103,7 @@ sb_isa_match(parent, match, aux)
|
|||
sc->sc_ic = ia->ia_ic;
|
||||
|
||||
if (!sbmatch(sc)) {
|
||||
bus_space_unmap(sc->sc_iot, ia->ia_iobase, SBP_NPORT);
|
||||
bus_space_unmap(sc->sc_iot, sc->sc_ioh, SBP_NPORT);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue