Add change that allows PAE to work.

Submitted by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
This commit is contained in:
Matt Jacob 2003-06-12 17:10:00 +00:00
parent 48b8c0de5a
commit a96c0ef246

View file

@ -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);
}