summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic')
-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 e7c167075fb..7da8bd3e999 100644
--- a/sys/dev/ic/siop.c
+++ b/sys/dev/ic/siop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: siop.c,v 1.17 2001/11/05 17:25:58 art Exp $ */
+/* $OpenBSD: siop.c,v 1.18 2002/01/23 13:34:38 pefo Exp $ */
/* $NetBSD: siop.c,v 1.39 2001/02/11 18:04:49 bouyer Exp $ */
/*
@@ -1090,7 +1090,7 @@ siop_scsicmd_end(siop_cmd)
0, siop_cmd->dmamap_data->dm_mapsize,
BUS_DMASYNC_PREREAD);
bus_dmamap_sync(sc->sc_dmat, siop_cmd->dmamap_cmd,
- 0, siop_cmd->dmamap_data->dm_mapsize,
+ 0, siop_cmd->dmamap_cmd->dm_mapsize,
BUS_DMASYNC_PREWRITE);
siop_setuptables(siop_cmd);
@@ -1354,7 +1354,7 @@ siop_scsicmd(xs)
BUS_DMASYNC_PREREAD : BUS_DMASYNC_PREWRITE);
}
bus_dmamap_sync(sc->sc_dmat, siop_cmd->dmamap_cmd,
- 0, siop_cmd->dmamap_data->dm_mapsize,
+ 0, siop_cmd->dmamap_cmd->dm_mapsize,
BUS_DMASYNC_PREWRITE);
siop_setuptables(siop_cmd);