summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/apecs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/alpha/pci/apecs.c')
-rw-r--r--sys/arch/alpha/pci/apecs.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/alpha/pci/apecs.c b/sys/arch/alpha/pci/apecs.c
index bd2aa724dfa..5c94e3e01cd 100644
--- a/sys/arch/alpha/pci/apecs.c
+++ b/sys/arch/alpha/pci/apecs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apecs.c,v 1.15 2001/11/06 19:53:13 miod Exp $ */
+/* $OpenBSD: apecs.c,v 1.16 2001/12/14 00:44:59 nate Exp $ */
/* $NetBSD: apecs.c,v 1.16 1996/12/05 01:39:34 cgd Exp $ */
/*-
@@ -149,8 +149,8 @@ apecs_init(acp, mallocsafe)
if (!acp->ac_initted) {
/* don't do these twice since they set up extents */
- acp->ac_iot = apecs_bus_io_init(acp);
- acp->ac_memt = apecs_bus_mem_init(acp);
+ apecs_bus_io_init(&acp->ac_iot, acp);
+ apecs_bus_mem_init(&acp->ac_memt, acp);
#if 0
/*
@@ -239,8 +239,8 @@ apecsattach(parent, self, aux)
}
pba.pba_busname = "pci";
- pba.pba_iot = acp->ac_iot;
- pba.pba_memt = acp->ac_memt;
+ pba.pba_iot = &acp->ac_iot;
+ pba.pba_memt = &acp->ac_memt;
pba.pba_dmat =
alphabus_dma_get_tag(&acp->ac_dmat_direct, ALPHA_BUS_PCI);
pba.pba_pc = &acp->ac_pc;