aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ahb/ahb.c
diff options
context:
space:
mode:
authorScott Long <scottl@FreeBSD.org>2003-05-27 04:59:59 +0000
committerScott Long <scottl@FreeBSD.org>2003-05-27 04:59:59 +0000
commit7e71df93390826733b07b547c105326fc6ba2a74 (patch)
treeaaea1de6e07eae55f5e31e6ae4f5d42cc5ae59a1 /sys/dev/ahb/ahb.c
parent1093ceb08876448ac83e84392dfc22eafa2df63a (diff)
Notes
Diffstat (limited to 'sys/dev/ahb/ahb.c')
-rw-r--r--sys/dev/ahb/ahb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ahb/ahb.c b/sys/dev/ahb/ahb.c
index a60097ffe73c..e6d715bfce26 100644
--- a/sys/dev/ahb/ahb.c
+++ b/sys/dev/ahb/ahb.c
@@ -788,7 +788,7 @@ ahbdone(struct ahb_softc *ahb, u_int32_t mbox, u_int intstat)
LIST_REMOVE(&ccb->ccb_h, sim_links.le);
if ((ccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) {
- int op;
+ bus_dmasync_op_t op;
if ((ccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN)
op = BUS_DMASYNC_POSTREAD;
@@ -912,7 +912,7 @@ ahbexecuteecb(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error)
if (nseg != 0) {
ahb_sg_t *sg;
bus_dma_segment_t *end_seg;
- int op;
+ bus_dmasync_op_t op;
end_seg = dm_segs + nseg;