Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/isp/isp_freebsd.c
Show First 20 Lines • Show All 2,527 Lines • ▼ Show 20 Lines | isp_handle_platform_atio7(ispsoftc_t *isp, at7_entry_t *aep) | ||||
lun = (aep->at_cmnd.fcp_cmnd_lun[0] << 8) | aep->at_cmnd.fcp_cmnd_lun[1]; | lun = (aep->at_cmnd.fcp_cmnd_lun[0] << 8) | aep->at_cmnd.fcp_cmnd_lun[1]; | ||||
/* | /* | ||||
* Find the N-port handle, and Virtual Port Index for this command. | * Find the N-port handle, and Virtual Port Index for this command. | ||||
* | * | ||||
* If we can't, we're somewhat in trouble because we can't actually respond w/o that information. | * If we can't, we're somewhat in trouble because we can't actually respond w/o that information. | ||||
* We also, as a matter of course, need to know the WWN of the initiator too. | * We also, as a matter of course, need to know the WWN of the initiator too. | ||||
*/ | */ | ||||
if (ISP_CAP_MULTI_ID(isp) && isp->isp_nchan > 1) { | if (ISP_CAP_MULTI_ID(isp)) { | ||||
/* | /* | ||||
* Find the right channel based upon D_ID | * Find the right channel based upon D_ID | ||||
*/ | */ | ||||
isp_find_chan_by_did(isp, did, &chan); | isp_find_chan_by_did(isp, did, &chan); | ||||
if (chan == ISP_NOCHAN) { | if (chan == ISP_NOCHAN) { | ||||
NANOTIME_T now; | NANOTIME_T now; | ||||
▲ Show 20 Lines • Show All 3,905 Lines • Show Last 20 Lines |