diff options
author | jhb <jhb@FreeBSD.org> | 2003-05-27 18:32:24 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-05-27 18:32:24 +0000 |
commit | 79b642f8ca56efefcf8ebb6d398b2cee4fe40d8e (patch) | |
tree | 2ed0a180337d11c7f0bb3b7420cc1d7a6b442717 | |
parent | 03b1a0c8d79062e44d803c426862b7b25c0ce456 (diff) | |
download | FreeBSD-src-79b642f8ca56efefcf8ebb6d398b2cee4fe40d8e.zip FreeBSD-src-79b642f8ca56efefcf8ebb6d398b2cee4fe40d8e.tar.gz |
Fix compile: the type is spelled bus_dmasync_op_t rather than
bus_dmamap_sync_t.
With hat: re
-rw-r--r-- | sys/dev/mpt/mpt_freebsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mpt/mpt_freebsd.c b/sys/dev/mpt/mpt_freebsd.c index 926ab3a..a3df9df 100644 --- a/sys/dev/mpt/mpt_freebsd.c +++ b/sys/dev/mpt/mpt_freebsd.c @@ -224,7 +224,7 @@ mpt_execute_req(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) if (nseg > MPT_NSGL_FIRST(mpt)) { int i, nleft = nseg; u_int32_t flags; - bus_dmamap_sync_t op; + bus_dmasync_op_t op; SGE_CHAIN32 *ce; mpt_req->DataLength = ccb->csio.dxfer_len; @@ -305,7 +305,7 @@ mpt_execute_req(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) } else if (nseg > 0) { int i; u_int32_t flags; - bus_dmamap_sync_t op; + bus_dmasync_op_t op; mpt_req->DataLength = ccb->csio.dxfer_len; flags = MPI_SGE_FLAGS_SIMPLE_ELEMENT; @@ -878,7 +878,7 @@ mpt_done(mpt_softc_t *mpt, u_int32_t reply) untimeout(mpttimeout, ccb, ccb->ccb_h.timeout_ch); if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { - bus_dmamap_sync_t op; + bus_dmasync_op_t op; if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) { op = BUS_DMASYNC_POSTREAD; |