diff options
Diffstat (limited to 'sys/dev/amd/amd.c')
-rw-r--r-- | sys/dev/amd/amd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/amd/amd.c b/sys/dev/amd/amd.c index ae8b8a8..e611acc 100644 --- a/sys/dev/amd/amd.c +++ b/sys/dev/amd/amd.c @@ -328,7 +328,7 @@ amdexecutesrb(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) if (nseg != 0) { struct amd_sg *sg; bus_dma_segment_t *end_seg; - bus_dmasync_op_t op; + int op; end_seg = dm_segs + nseg; @@ -1888,7 +1888,7 @@ SRBdone(struct amd_softc *amd, struct amd_srb *pSRB) ("SRBdone - TagNumber %d\n", pSRB->TagNumber)); if ((pccb->ccb_h.flags & CAM_DIR_MASK) != CAM_DIR_NONE) { - bus_dmasync_op_t op; + int op; if ((pccb->ccb_h.flags & CAM_DIR_MASK) == CAM_DIR_IN) op = BUS_DMASYNC_POSTREAD; |