Report support for unmapped I/O by adding PIM_UNMAPPED flag.

Submitted by:	jhb, scottl
This commit is contained in:
Jim Harris 2013-03-26 23:04:06 +00:00
parent de9dcfba06
commit 1da66a2776
2 changed files with 2 additions and 5 deletions

View File

@ -673,7 +673,8 @@ void isci_action(struct cam_sim *sim, union ccb *ccb)
cpi->version_num = 1;
cpi->hba_inquiry = PI_TAG_ABLE;
cpi->target_sprt = 0;
cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN;
cpi->hba_misc = PIM_NOBUSRESET | PIM_SEQSCAN |
PIM_UNMAPPED;
cpi->hba_eng_cnt = 0;
cpi->max_target = SCI_MAX_REMOTE_DEVICES - 1;
cpi->max_lun = ISCI_MAX_LUN;

View File

@ -747,10 +747,6 @@ isci_io_request_execute_scsi_io(union ccb *ccb,
io_request->current_sge_index = 0;
io_request->parent.remote_device_handle = device->sci_object;
if ((ccb->ccb_h.flags & CAM_DATA_MASK) != CAM_DATA_VADDR)
panic("Unexpected cam data format! flags = 0x%x\n",
ccb->ccb_h.flags);
error = bus_dmamap_load_ccb(io_request->parent.dma_tag,
io_request->parent.dma_map, ccb,
isci_io_request_construct, io_request, 0x0);