Add override so that we can force set our hard loopdid.

MFC after:	1 week
This commit is contained in:
mjacob 2002-07-08 17:34:32 +00:00
parent 8eccb6dabf
commit 6954940847

View File

@ -675,6 +675,20 @@ isp_pci_attach(device_t dev)
isp->isp_osinfo.default_node_wwn = 0x400000007F000009ull;
}
if (resource_int_value(device_get_name(dev), device_get_unit(dev),
"iid", &tval) == 0) {
isp->isp_osinfo.default_id = tval;
isp->isp_confopts |= ISP_CFG_OWNLOOPID;
}
if (isp->isp_osinfo.default_id == 0) {
if (IS_FC(isp)) {
isp->isp_osinfo.default_id = 109;
} else {
isp->isp_osinfo.default_id = 7;
}
}
isp_debug = 0;
isp_debug = 0;
(void) resource_int_value(device_get_name(dev), device_get_unit(dev),
"debug", &isp_debug);