summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/macppc/include/autoconf.h3
-rw-r--r--sys/arch/macppc/pci/macobio.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/macppc/include/autoconf.h b/sys/arch/macppc/include/autoconf.h
index 76c44721873..f989d8707c6 100644
--- a/sys/arch/macppc/include/autoconf.h
+++ b/sys/arch/macppc/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.1 2001/09/01 15:49:06 drahn Exp $ */
+/* $OpenBSD: autoconf.h,v 1.2 2001/09/15 01:42:55 mickey Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -86,6 +86,7 @@ struct confargs {
/* macobio hooks ?? */
bus_space_tag_t ca_iot;
bus_space_tag_t ca_memt; /* XXX */
+ bus_dma_tag_t ca_dmat;
u_int32_t ca_node;
int ca_nreg;
u_int32_t *ca_reg;
diff --git a/sys/arch/macppc/pci/macobio.c b/sys/arch/macppc/pci/macobio.c
index 3d22477a3e0..91d7527ff4d 100644
--- a/sys/arch/macppc/pci/macobio.c
+++ b/sys/arch/macppc/pci/macobio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: macobio.c,v 1.1 2001/09/01 15:55:17 drahn Exp $ */
+/* $OpenBSD: macobio.c,v 1.2 2001/09/15 01:42:55 mickey Exp $ */
/* $NetBSD: obio.c,v 1.6 1999/05/01 10:36:08 tsubai Exp $ */
/*-
@@ -159,6 +159,7 @@ macobio_attach(parent, self, aux)
sc->sc_membus_space.bus_reverse = 1;
ca.ca_iot = &sc->sc_membus_space;
+ ca.ca_dmat = pa->pa_dmat;
printf("\n");