aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mpt
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2003-06-12 17:10:00 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2003-06-12 17:10:00 +0000
commita96c0ef246ad1b25e22aab234de95f8b0adbb5ee (patch)
tree5a345a89d58e551d8ecf308ed5433794d2c41f75 /sys/dev/mpt
parent48b8c0de5a9eaab101f8c7c30530fe321e02ea02 (diff)
Notes
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r--sys/dev/mpt/mpt_freebsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mpt/mpt_freebsd.c b/sys/dev/mpt/mpt_freebsd.c
index d02588b6b7756..4b370b9239caa 100644
--- a/sys/dev/mpt/mpt_freebsd.c
+++ b/sys/dev/mpt/mpt_freebsd.c
@@ -512,7 +512,8 @@ mpt_start(union ccb *ccb)
* physical buffer.
*/
struct bus_dma_segment seg;
- seg.ds_addr = (bus_addr_t)csio->data_ptr;
+ seg.ds_addr =
+ (bus_addr_t)(vm_offset_t)csio->data_ptr;
seg.ds_len = csio->dxfer_len;
mpt_execute_req(req, &seg, 1, 0);
}