Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/isci/isci_io_request.c
Show First 20 Lines • Show All 180 Lines • ▼ Show 20 Lines | case SCI_IO_FAILURE_NO_NCQ_TAG_AVAILABLE: | ||||
{ | { | ||||
struct ccb_relsim ccb_relsim; | struct ccb_relsim ccb_relsim; | ||||
struct cam_path *path; | struct cam_path *path; | ||||
xpt_create_path(&path, NULL, | xpt_create_path(&path, NULL, | ||||
cam_sim_path(isci_controller->sim), | cam_sim_path(isci_controller->sim), | ||||
isci_remote_device->index, 0); | isci_remote_device->index, 0); | ||||
xpt_setup_ccb(&ccb_relsim.ccb_h, path, 5); | xpt_setup_stack_ccb( | ||||
&ccb_relsim.ccb_h, sizeof(ccb_relsim), path, 5); | |||||
ccb_relsim.ccb_h.func_code = XPT_REL_SIMQ; | ccb_relsim.ccb_h.func_code = XPT_REL_SIMQ; | ||||
ccb_relsim.ccb_h.flags = CAM_DEV_QFREEZE; | ccb_relsim.ccb_h.flags = CAM_DEV_QFREEZE; | ||||
ccb_relsim.release_flags = RELSIM_ADJUST_OPENINGS; | ccb_relsim.release_flags = RELSIM_ADJUST_OPENINGS; | ||||
ccb_relsim.openings = | ccb_relsim.openings = | ||||
scif_remote_device_get_max_queue_depth(remote_device); | scif_remote_device_get_max_queue_depth(remote_device); | ||||
xpt_action((union ccb *)&ccb_relsim); | xpt_action((union ccb *)&ccb_relsim); | ||||
xpt_free_path(path); | xpt_free_path(path); | ||||
complete_ccb = FALSE; | complete_ccb = FALSE; | ||||
▲ Show 20 Lines • Show All 792 Lines • Show Last 20 Lines |