diff options
author | mav <mav@FreeBSD.org> | 2015-11-23 20:44:49 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-11-23 20:44:49 +0000 |
commit | 28a1692666dbff5455bada1386037cb84a481e5b (patch) | |
tree | e7557fd8cac1574ff668149fd5a194b1b9c37f2e /sys/dev/isp/isp_pci.c | |
parent | 444bb113f8b4b56bb88aa856dc49bc04b26b6eae (diff) | |
download | FreeBSD-src-28a1692666dbff5455bada1386037cb84a481e5b.zip FreeBSD-src-28a1692666dbff5455bada1386037cb84a481e5b.tar.gz |
Remove "disable" hint, which duplicates system-wide "disabled".
Diffstat (limited to 'sys/dev/isp/isp_pci.c')
-rw-r--r-- | sys/dev/isp/isp_pci.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 1f3d6d6..87fbb8d 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -456,16 +456,6 @@ isp_get_generic_options(device_t dev, ispsoftc_t *isp) { int tval; - /* - * Figure out if we're supposed to skip this one. - */ - tval = 0; - if (resource_int_value(device_get_name(dev), device_get_unit(dev), "disable", &tval) == 0 && tval) { - device_printf(dev, "disabled at user request\n"); - isp->isp_osinfo.disabled = 1; - return; - } - tval = 0; if (resource_int_value(device_get_name(dev), device_get_unit(dev), "fwload_disable", &tval) == 0 && tval != 0) { isp->isp_confopts |= ISP_CFG_NORELOAD; @@ -710,16 +700,6 @@ isp_pci_attach(device_t dev) isp_get_generic_options(dev, isp); /* - * Check to see if options have us disabled - */ - if (isp->isp_osinfo.disabled) { - /* - * But return zero to preserve unit numbering - */ - return (0); - } - - /* * Get PCI options- which in this case are just mapping preferences. */ isp_get_pci_options(dev, &m1, &m2); |