Workaround build for PAE case for now - revert the PHYS
case to previous panic behavior. I have a real fix that changes the sg dma tag allocation to be limited to the under 4GB address space but would prefer to have review before committing.
This commit is contained in:
parent
ad1821916b
commit
42557eb9d1
@ -2470,11 +2470,15 @@ static void arcmsr_action(struct cam_sim * psim, union ccb * pccb)
|
||||
splx(s);
|
||||
}
|
||||
else { /* Buffer is physical */
|
||||
#ifdef PAE
|
||||
panic("arcmsr: CAM_DATA_PHYS not supported");
|
||||
#else
|
||||
struct bus_dma_segment seg;
|
||||
|
||||
seg.ds_addr = (bus_addr_t)pccb->csio.data_ptr;
|
||||
seg.ds_len = pccb->csio.dxfer_len;
|
||||
arcmsr_execute_srb(srb, &seg, 1, 0);
|
||||
#endif
|
||||
}
|
||||
} else {
|
||||
/* Scatter/gather list */
|
||||
|
Loading…
Reference in New Issue
Block a user