summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>1998-06-09 00:02:43 +0000
committerthorpej <thorpej@NetBSD.org>1998-06-09 00:02:43 +0000
commite290abfe342e3c12c8a160907998d1a3b7c03c2b (patch)
tree5e2f9d91c8fe0c5d7788d1f4bc801d96cfa9adce /sys/dev
parentff76b8e96b4690c19cfc1d988354f1b41f1d630d (diff)
Initialize DMA state when we attach the ofisa bus.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ofisa/ofisa.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ofisa/ofisa.c b/sys/dev/ofisa/ofisa.c
index 8cd10eb4193..265460d113c 100644
--- a/sys/dev/ofisa/ofisa.c
+++ b/sys/dev/ofisa/ofisa.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ofisa.c,v 1.2 1998/03/21 02:06:17 cgd Exp $ */
+/* $NetBSD: ofisa.c,v 1.3 1998/06/09 00:02:43 thorpej Exp $ */
/*
* Copyright 1997, 1998
@@ -112,6 +112,11 @@ ofisaattach(parent, dev, aux)
printf("\n");
+ /*
+ * Initialize our DMA state.
+ */
+ isa_dmainit(iba.iba_ic, iba.iba_iot, iba.iba_dmat, self);
+
for (child = OF_child(oba->oba_phandle); child;
child = OF_peer(child)) {
if (ofisa_ignore_child(oba->oba_phandle, child))