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/trm | |
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/trm')
-rw-r--r-- | sys/dev/trm/trm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/trm/trm.c b/sys/dev/trm/trm.c index 058fcde..3cb9e4f 100644 --- a/sys/dev/trm/trm.c +++ b/sys/dev/trm/trm.c @@ -2504,7 +2504,7 @@ trm_SRBdone(PACB pACB, PDCB pDCB, PSRB pSRB) target_id = pSRB->pccb->ccb_h.target_id; target_lun = pSRB->pccb->ccb_h.target_lun; if ((pccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { - int op; + bus_dmasync_op_t op; if ((pccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) op = BUS_DMASYNC_POSTREAD; else |