Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/isp/isp.c
Show First 20 Lines • Show All 3,647 Lines • ▼ Show 20 Lines | for (portidx = 0; portidx < portlim; portidx++) { | ||||
/* | /* | ||||
* Skip ourselves here and on other channels. If we're | * Skip ourselves here and on other channels. If we're | ||||
* multi-id, we can't check the portids in other FCPARAM | * multi-id, we can't check the portids in other FCPARAM | ||||
* arenas because the resolutions here aren't synchronized. | * arenas because the resolutions here aren't synchronized. | ||||
* The best way to do this is to exclude looking at portids | * The best way to do this is to exclude looking at portids | ||||
* that have the same domain and area code as our own | * that have the same domain and area code as our own | ||||
* portid. | * portid. | ||||
*/ | */ | ||||
if (ISP_CAP_MULTI_ID(isp) && isp->isp_nchan > 1) { | if (ISP_CAP_MULTI_ID(isp)) { | ||||
if ((portid >> 8) == (fcp->isp_portid >> 8)) { | if ((portid >> 8) == (fcp->isp_portid >> 8)) { | ||||
isp_prt(isp, ISP_LOG_SANCFG, | isp_prt(isp, ISP_LOG_SANCFG, | ||||
"Chan %d skip PortID 0x%06x", | "Chan %d skip PortID 0x%06x", | ||||
chan, portid); | chan, portid); | ||||
continue; | continue; | ||||
} | } | ||||
} else if (portid == fcp->isp_portid) { | } else if (portid == fcp->isp_portid) { | ||||
isp_prt(isp, ISP_LOG_SANCFG, | isp_prt(isp, ISP_LOG_SANCFG, | ||||
▲ Show 20 Lines • Show All 4,812 Lines • Show Last 20 Lines |