diff options
author | mjacob <mjacob@FreeBSD.org> | 2003-06-12 17:10:00 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2003-06-12 17:10:00 +0000 |
commit | 8b06c40d1cf199e57f0595d7a3f8fbfb93f87311 (patch) | |
tree | 5a345a89d58e551d8ecf308ed5433794d2c41f75 /sys/dev/mpt | |
parent | 3b2e1bb3751bd9814f35af9bff681310921e2978 (diff) | |
download | FreeBSD-src-8b06c40d1cf199e57f0595d7a3f8fbfb93f87311.zip FreeBSD-src-8b06c40d1cf199e57f0595d7a3f8fbfb93f87311.tar.gz |
Add change that allows PAE to work.
Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r-- | sys/dev/mpt/mpt_freebsd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mpt/mpt_freebsd.c b/sys/dev/mpt/mpt_freebsd.c index d02588b..4b370b9 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); } |