diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-05-16 01:15:30 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-05-16 01:15:30 +0000 |
commit | c899bfa6093e1c37da6403f71157efe6420596cb (patch) | |
tree | 29dfc13e1ac2ca0e8d305956de2b296b79634e42 /sys/dev/ic | |
parent | 88b0c2865eccd88df172e1d739650cb02fd881c4 (diff) |
Oops PREREAD not PREWRITE.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/mfi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index 447f556caa3..1d19de5e233 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.29 2006/05/16 01:02:42 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.30 2006/05/16 01:15:29 marco Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -823,7 +823,7 @@ mfi_start_xs(struct mfi_softc *sc, struct mfi_ccb *ccb, if (ccb->ccb_direction == MFI_DATA_IN) { hdr->mfh_flags |= MFI_FRAME_DIR_READ; bus_dmamap_sync(sc->sc_dmat, ccb->ccb_dmamap, 0, - ccb->ccb_dmamap->dm_mapsize, BUS_DMASYNC_PREWRITE); + ccb->ccb_dmamap->dm_mapsize, BUS_DMASYNC_PREREAD); } else { hdr->mfh_flags |= MFI_FRAME_DIR_WRITE; bus_dmamap_sync(sc->sc_dmat, ccb->ccb_dmamap, 0, |