aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ahb
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/ahb
parentb983c7b3ed942722be9263a2555c3379f85a8517 (diff)
downloadsrc-7a648f56cf84d2445098a8143ac93224be9c408e.tar.gz
src-7a648f56cf84d2445098a8143ac93224be9c408e.zip
I deserve a big pointy hat for having missed all those references
to bus_dmasync_op_t in my last commit.
Notes
Notes: svn path=/head/; revision=113350
Diffstat (limited to 'sys/dev/ahb')
-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 e6d715bfce26..a60097ffe73c 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) {
- bus_dmasync_op_t op;
+ int 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;
- bus_dmasync_op_t op;
+ int op;
end_seg = dm_segs + nseg;