Fill in the softc's bus space tag (OOPS!).
This commit is contained in:
parent
bd10f55368
commit
52169104c5
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: opl_isa.c,v 1.3 1999/08/14 14:32:12 drochner Exp $ */
|
||||
/* $NetBSD: opl_isa.c,v 1.4 2000/02/26 05:11:27 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999 The NetBSD Foundation, Inc.
|
||||
@ -97,6 +97,8 @@ opl_isa_attach(parent, self, aux)
|
||||
struct opl_softc *sc = (struct opl_softc *)self;
|
||||
struct isa_attach_args *ia = aux;
|
||||
|
||||
sc->iot = ia->ia_iot;
|
||||
|
||||
if (bus_space_map(sc->iot, ia->ia_iobase, OPL_SIZE, 0, &sc->ioh)) {
|
||||
printf("opl_isa_attach: bus_space_map failed\n");
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user