summaryrefslogtreecommitdiff
path: root/sys/dev/ic/mfi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/mfi.c')
-rw-r--r--sys/dev/ic/mfi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c
index 1ff9ce2c4ec..3ee4261a62f 100644
--- a/sys/dev/ic/mfi.c
+++ b/sys/dev/ic/mfi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfi.c,v 1.130 2012/08/14 10:44:36 dlg Exp $ */
+/* $OpenBSD: mfi.c,v 1.131 2012/08/16 05:38:13 dlg Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -2062,7 +2062,8 @@ mfi_done(struct mfi_ccb *ccb)
struct mfi_softc *sc = ccb->ccb_sc;
bus_dmamap_sync(sc->sc_dmat, MFIMEM_MAP(sc->sc_frames),
- ccb->ccb_pframe_offset, sc->sc_frames_size, BUS_DMASYNC_PREREAD);
+ ccb->ccb_pframe_offset, sc->sc_frames_size,
+ BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE);
ccb->ccb_done(ccb);
}