summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-10-09 17:32:43 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-10-09 17:32:43 +0000
commit52350702d43aa63b4d264857dc913869bad463af (patch)
treee5203c5117462dd5a14a4d28c6132aff91fd2747 /sys
parentcdef4a78753170711e2ce949f09e55b3e55556df (diff)
go back to non-raw busdma load as some archs still do not have load_raw
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/siop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/siop.c b/sys/dev/ic/siop.c
index d334137fa53..1994b9a6593 100644
--- a/sys/dev/ic/siop.c
+++ b/sys/dev/ic/siop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siop.c,v 1.29 2003/09/29 18:52:53 mickey Exp $ */
+/* $OpenBSD: siop.c,v 1.30 2003/10/09 17:32:42 mickey Exp $ */
/* $NetBSD: siop.c,v 1.65 2002/11/08 22:04:41 bouyer Exp $ */
/*
@@ -1739,8 +1739,8 @@ siop_morecbd(sc)
sc->sc_c.sc_dev.dv_xname, error);
goto bad1;
}
- error = bus_dmamap_load_raw(sc->sc_c.sc_dmat, newcbd->xferdma, &seg,
- rseg, PAGE_SIZE, BUS_DMA_NOWAIT);
+ error = bus_dmamap_load(sc->sc_c.sc_dmat, newcbd->xferdma, newcbd->xfers,
+ PAGE_SIZE, NULL, BUS_DMA_NOWAIT);
if (error) {
printf("%s: unable to load cbd DMA map, error = %d\n",
sc->sc_c.sc_dev.dv_xname, error);