From a96c0ef246ad1b25e22aab234de95f8b0adbb5ee Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Thu, 12 Jun 2003 17:10:00 +0000 Subject: [PATCH] Add change that allows PAE to work. Submitted by: Hidetoshi Shimokawa --- sys/dev/mpt/mpt_freebsd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/mpt/mpt_freebsd.c b/sys/dev/mpt/mpt_freebsd.c index d02588b6b77..4b370b9239c 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); }