Fill in the softc's bus space tag (OOPS!).

This commit is contained in:
thorpej 2000-02-26 05:11:27 +00:00
parent bd10f55368
commit 52169104c5

View File

@ -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. * 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 opl_softc *sc = (struct opl_softc *)self;
struct isa_attach_args *ia = aux; 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)) { if (bus_space_map(sc->iot, ia->ia_iobase, OPL_SIZE, 0, &sc->ioh)) {
printf("opl_isa_attach: bus_space_map failed\n"); printf("opl_isa_attach: bus_space_map failed\n");
return; return;