Lines Matching refs:chan
478 isp_get_specific_options(device_t dev, int chan, ispsoftc_t *isp)
484 if (chan == 0)
487 snprintf(prefix, sizeof(prefix), "chan%d.", chan);
492 ISP_FC_PC(isp, chan)->default_id = 109 - chan;
495 ISP_SPI_PC(isp, chan)->iid = OF_getscsinitid(dev);
497 ISP_SPI_PC(isp, chan)->iid = 7;
502 ISP_FC_PC(isp, chan)->default_id = tval - chan;
504 ISP_SPI_PC(isp, chan)->iid = tval;
521 device_printf(dev, "Chan %d setting role to 0x%x\n", chan, tval);
531 ISP_FC_PC(isp, chan)->def_role = tval;
593 ISP_FC_PC(isp, chan)->def_wwpn = strtouq(sptr, &eptr, 16);
594 if (eptr < sptr + 16 || ISP_FC_PC(isp, chan)->def_wwpn == -1) {
596 ISP_FC_PC(isp, chan)->def_wwpn = 0;
606 ISP_FC_PC(isp, chan)->def_wwnn = strtouq(sptr, &eptr, 16);
607 if (eptr < sptr + 16 || ISP_FC_PC(isp, chan)->def_wwnn == 0) {
609 ISP_FC_PC(isp, chan)->def_wwnn = 0;
618 ISP_FC_PC(isp, chan)->loop_down_limit = tval;
620 ISP_FC_PC(isp, chan)->loop_down_limit = isp_loop_down_limit;
628 ISP_FC_PC(isp, chan)->gone_device_time = tval;
630 ISP_FC_PC(isp, chan)->gone_device_time = isp_gone_device_time;