diff options
-rw-r--r-- | sys/arch/sparc64/dev/pyro.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/pyro.c b/sys/arch/sparc64/dev/pyro.c index 97ac8930235..0d3d0257600 100644 --- a/sys/arch/sparc64/dev/pyro.c +++ b/sys/arch/sparc64/dev/pyro.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pyro.c,v 1.2 2007/03/31 19:05:31 kettenis Exp $ */ +/* $OpenBSD: pyro.c,v 1.3 2007/03/31 22:14:52 kettenis Exp $ */ /* * Copyright (c) 2002 Jason L. Wright (jason@thought.net) @@ -150,6 +150,9 @@ pyro_init(struct pyro_softc *sc, int busa) pbm->pp_dmat = pyro_alloc_dma_tag(pbm); #endif + if (bus_space_map(pbm->pp_cfgt, 0, 0x10000000, 0, &pbm->pp_cfgh)) + panic("pyro: could not map config space"); + pbm->pp_pc = pyro_alloc_chipset(pbm, sc->sc_node, &_sparc_pci_chipset); pbm->pp_pc->bustag = pbm->pp_cfgt; |