mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
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
80595f8a8f
commit
add5afdc93
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=215280
@ -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