diff options
author | scottl <scottl@FreeBSD.org> | 2003-05-27 04:59:59 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2003-05-27 04:59:59 +0000 |
commit | f26aca7b718b2d8b17889ad8eb0c65281493cc06 (patch) | |
tree | aaea1de6e07eae55f5e31e6ae4f5d42cc5ae59a1 /sys/dev/ida | |
parent | 5fd5bdfb84667ef474531ecc19cceafdf2ef5e36 (diff) | |
download | FreeBSD-src-f26aca7b718b2d8b17889ad8eb0c65281493cc06.zip FreeBSD-src-f26aca7b718b2d8b17889ad8eb0c65281493cc06.tar.gz |
Bring back bus_dmasync_op_t. It is now a typedef to an int, though the
BUS_DMASYNC_ definitions remain as before. The does not change the ABI,
and reverts the API to be a bit more compatible and flexible. This has
survived a full 'make universe'.
Approved by: re (bmah)
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 d45e74a..c141749 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; - int op; + bus_dmasync_op_t 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; - int op; + bus_dmasync_op_t 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) { - int op; + bus_dmasync_op_t op; op = qcb->flags & DMA_DATA_IN ? BUS_DMASYNC_POSTREAD : BUS_DMASYNC_POSTWRITE; |