diff options
author | mux <mux@FreeBSD.org> | 2003-04-10 23:50:06 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2003-04-10 23:50:06 +0000 |
commit | 37f577805d461a803b9a667586b06c20a0b1adae (patch) | |
tree | 692dac52f815371a272af60ef8787d0a5acc0643 /sys/dev/ida | |
parent | b3e58d6801ada57bba484c31370f6ddfbcfc7f28 (diff) | |
download | FreeBSD-src-37f577805d461a803b9a667586b06c20a0b1adae.zip FreeBSD-src-37f577805d461a803b9a667586b06c20a0b1adae.tar.gz |
I deserve a big pointy hat for having missed all those references
to bus_dmasync_op_t in my last commit.
Diffstat (limited to 'sys/dev/ida')
-rw-r--r-- | sys/dev/ida/ida.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ida/ida.c b/sys/dev/ida/ida.c index c141749..d45e74a 100644 --- a/sys/dev/ida/ida.c +++ b/sys/dev/ida/ida.c @@ -324,7 +324,7 @@ ida_command(struct ida_softc *ida, int command, void *data, int datasize, { struct ida_hardware_qcb *hwqcb; struct ida_qcb *qcb; - bus_dmasync_op_t op; + int op; int s, error; s = splbio(); @@ -377,7 +377,7 @@ ida_construct_qcb(struct ida_softc *ida) { struct ida_hardware_qcb *hwqcb; struct ida_qcb *qcb; - bus_dmasync_op_t op; + int op; struct bio *bp; bp = bioq_first(&ida->bio_queue); @@ -501,7 +501,7 @@ ida_done(struct ida_softc *ida, struct ida_qcb *qcb) * finish up command */ if (qcb->flags & DMA_DATA_TRANSFER) { - bus_dmasync_op_t op; + int op; op = qcb->flags & DMA_DATA_IN ? BUS_DMASYNC_POSTREAD : BUS_DMASYNC_POSTWRITE; |