summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp/isp_pci.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-10-23 08:53:32 +0000
committermav <mav@FreeBSD.org>2015-10-23 08:53:32 +0000
commit73f40fd44f8beef5024676d0f9ca7fff26a9b99b (patch)
treebe778bc106739750697753d4963d155c225e84e7 /sys/dev/isp/isp_pci.c
parentd4f1edf72604afd2aa33ed65fe2311a5ab5a8906 (diff)
downloadFreeBSD-src-73f40fd44f8beef5024676d0f9ca7fff26a9b99b.zip
FreeBSD-src-73f40fd44f8beef5024676d0f9ca7fff26a9b99b.tar.gz
Disable full bus scan by CAM for FC adapters.
FC port database code already notifies CAM about all devices. Additional full scan is just a waste of time, that by definition won't find anything that is not present in port database.
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r--sys/dev/isp/isp_pci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c
index 96eabc7..9f8c82d 100644
--- a/sys/dev/isp/isp_pci.c
+++ b/sys/dev/isp/isp_pci.c
@@ -489,9 +489,6 @@ isp_get_generic_options(device_t dev, ispsoftc_t *isp)
if (tval > 0 && tval < 127) {
isp_nvports = tval;
}
- tval = 1;
- (void) resource_int_value(device_get_name(dev), device_get_unit(dev), "autoconfig", &tval);
- isp_autoconfig = tval;
tval = 7;
(void) resource_int_value(device_get_name(dev), device_get_unit(dev), "quickboot_time", &tval);
isp_quickboot_time = tval;
OpenPOWER on IntegriCloud