ISP_FC_PC
if (IS_24XX(isp) || (IS_FC(isp) && ISP_FC_PC(isp, bus)->tm_luns_enabled)) {
struct isp_fc *fc = ISP_FC_PC(isp, chan);
SYSCTL_ADD_UINT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO, "loop_down_limit", CTLFLAG_RW, &ISP_FC_PC(isp, 0)->loop_down_limit, 0, "Loop Down Limit");
SYSCTL_ADD_UINT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO, "gone_device_time", CTLFLAG_RW, &ISP_FC_PC(isp, 0)->gone_device_time, 0, "Gone Device Time");
sim = ISP_FC_PC(isp, chan)->sim;
path = ISP_FC_PC(isp, chan)->path;
sim = ISP_FC_PC(isp, chan)->sim;
path = ISP_FC_PC(isp, chan)->path;
sim = ISP_FC_PC(isp, chan)->sim;
path = ISP_FC_PC(isp, chan)->path;
struct isp_fc *fc = ISP_FC_PC(isp, chan);
struct isp_fc *fc = ISP_FC_PC(isp, chan);
struct isp_fc *fc = ISP_FC_PC(isp, chan);
struct isp_fc *fc = ISP_FC_PC(isp, chan);
lim = ISP_FC_PC(isp, bus)->loop_down_limit;
if (FCPARAM(isp, bus)->loop_seen_once == 0 || ISP_FC_PC(isp, bus)->loop_down_time >= lim) {
isp_prt(isp, ISP_LOGDEBUG0, "%d.%d downtime (%d) > lim (%d)", XS_TGT(ccb), XS_LUN(ccb), ISP_FC_PC(isp, bus)->loop_down_time, lim);
xpt_async(AC_BUS_RESET, ISP_FC_PC(isp, bus)->path, 0);
fcp->isp_wwnn = ISP_FC_PC(isp, bus)->def_wwnn = kp->xport_specific.fc.wwnn;
fcp->isp_wwpn = ISP_FC_PC(isp, bus)->def_wwpn = kp->xport_specific.fc.wwpn;
xpt_async(AC_BUS_RESET, ISP_FC_PC(isp, bus)->path, NULL);
fc = ISP_FC_PC(isp, bus);
fc = ISP_FC_PC(isp, bus);
fc = ISP_FC_PC(isp, bus);
fc = ISP_FC_PC(isp, bus);
fc = ISP_FC_PC(isp, bus);
lp->gone_timer = ISP_FC_PC(isp, bus)->gone_device_time;
fc = ISP_FC_PC(isp, bus);
xpt_async(AC_CONTRACT, ISP_FC_PC(isp, notify->nt_channel)->path, &ac);
xpt_async(AC_CONTRACT, ISP_FC_PC(isp, notify->nt_channel)->path, &ac);
struct isp_fc *fc = ISP_FC_PC(isp, chan);
seed = iswwnn ? ISP_FC_PC(isp, 0)->def_wwnn : ISP_FC_PC(isp, 0)->def_wwpn;
rslt = ISP_FC_PC(isp, chan)-> tag; \
rp = &ISP_FC_PC(isp, chan)-> tag; \
ISP_FC_PC(isp, chan)-> tag = val; \
struct isp_fc *fc = ISP_FC_PC(isp, chan); \
struct isp_fc *fc = ISP_FC_PC(isp, chan); \
(IS_FC(isp)? ISP_FC_PC(isp, chan)->def_role : ISP_SPI_PC(isp, chan)->def_role)
ISP_FC_PC(isp, chan)->def_role = val; \
struct isp_fc *fc = ISP_FC_PC(isp, cmap);
struct isp_fc *fc = ISP_FC_PC(isp, cmap);
ISP_FC_PC(isp, chan)->default_id = 109 - chan;
ISP_FC_PC(isp, chan)->default_id = tval - chan;
ISP_FC_PC(isp, chan)->def_role = tval;
ISP_FC_PC(isp, chan)->def_wwpn = strtouq(sptr, &eptr, 16);
if (eptr < sptr + 16 || ISP_FC_PC(isp, chan)->def_wwpn == -1) {
ISP_FC_PC(isp, chan)->def_wwpn = 0;
ISP_FC_PC(isp, chan)->def_wwnn = strtouq(sptr, &eptr, 16);
if (eptr < sptr + 16 || ISP_FC_PC(isp, chan)->def_wwnn == 0) {
ISP_FC_PC(isp, chan)->def_wwnn = 0;
ISP_FC_PC(isp, chan)->hysteresis = tval;
ISP_FC_PC(isp, chan)->hysteresis = isp_fabric_hysteresis;
ISP_FC_PC(isp, chan)->loop_down_limit = tval;
ISP_FC_PC(isp, chan)->loop_down_limit = isp_loop_down_limit;
ISP_FC_PC(isp, chan)->gone_device_time = tval;
ISP_FC_PC(isp, chan)->gone_device_time = isp_gone_device_time;