summaryrefslogtreecommitdiff
path: root/sys/dev/sym/sym_hipd.c
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2003-04-10 23:50:06 +0000
committerMaxime Henrion <mux@FreeBSD.org>2003-04-10 23:50:06 +0000
commit7a648f56cf84d2445098a8143ac93224be9c408e (patch)
tree692dac52f815371a272af60ef8787d0a5acc0643 /sys/dev/sym/sym_hipd.c
parentb983c7b3ed942722be9263a2555c3379f85a8517 (diff)
Notes
Diffstat (limited to 'sys/dev/sym/sym_hipd.c')
-rw-r--r--sys/dev/sym/sym_hipd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/sym/sym_hipd.c b/sys/dev/sym/sym_hipd.c
index fc52a6b87c97..e378168033a0 100644
--- a/sys/dev/sym/sym_hipd.c
+++ b/sys/dev/sym/sym_hipd.c
@@ -7496,7 +7496,7 @@ static void sym_complete_error (hcb_p np, ccb_p cp)
*/
if (cp->dmamapped) {
bus_dmamap_sync(np->data_dmat, cp->dmamap,
- (bus_dmasync_op_t)(cp->dmamapped == SYM_DMA_READ ?
+ (cp->dmamapped == SYM_DMA_READ ?
BUS_DMASYNC_POSTREAD : BUS_DMASYNC_POSTWRITE));
}
#endif
@@ -7568,7 +7568,7 @@ static void sym_complete_ok (hcb_p np, ccb_p cp)
*/
if (cp->dmamapped) {
bus_dmamap_sync(np->data_dmat, cp->dmamap,
- (bus_dmasync_op_t)(cp->dmamapped == SYM_DMA_READ ?
+ (cp->dmamapped == SYM_DMA_READ ?
BUS_DMASYNC_POSTREAD : BUS_DMASYNC_POSTWRITE));
}
#endif
@@ -8045,7 +8045,7 @@ sym_execute_ccb(void *arg, bus_dma_segment_t *psegs, int nsegs, int error)
*/
if (cp->dmamapped) {
bus_dmamap_sync(np->data_dmat, cp->dmamap,
- (bus_dmasync_op_t)(cp->dmamapped == SYM_DMA_READ ?
+ (cp->dmamapped == SYM_DMA_READ ?
BUS_DMASYNC_PREREAD : BUS_DMASYNC_PREWRITE));
}