- Temporary fix so this compiles with 64 bit bus_addr_t.
Sponsored by: DARPA, Network Associates Laboratories Approved by: scottl
This commit is contained in:
parent
7ab9b220d9
commit
a271c2ed7f
@ -1386,7 +1386,8 @@ ahc_setup_data(struct ahc_softc *ahc, struct cam_sim *sim,
|
||||
panic("ahc_setup_data - Transfer size "
|
||||
"larger than can device max");
|
||||
|
||||
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;
|
||||
ahc_execute_scb(scb, &seg, 1, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user