svn commit: r237135 - head/sys/dev/isp
Matt Jacob
mjacob at FreeBSD.org
Fri Jun 15 15:28:16 UTC 2012
Author: mjacob
Date: Fri Jun 15 15:28:15 2012
New Revision: 237135
URL: http://svn.freebsd.org/changeset/base/237135
Log:
If debug values were set, the default from tval floated
down and triggered an attempt to set multiple virtual
ports whether you wanted them or not.
MFC after: 3 days
Modified:
head/sys/dev/isp/isp_pci.c
Modified: head/sys/dev/isp/isp_pci.c
==============================================================================
--- head/sys/dev/isp/isp_pci.c Fri Jun 15 10:38:14 2012 (r237134)
+++ head/sys/dev/isp/isp_pci.c Fri Jun 15 15:28:15 2012 (r237135)
@@ -483,6 +483,7 @@ isp_get_generic_options(device_t dev, is
if (bootverbose) {
isp->isp_dblev |= ISP_LOGCONFIG|ISP_LOGINFO;
}
+ tval = 0;
(void) resource_int_value(device_get_name(dev), device_get_unit(dev), "vports", &tval);
if (tval > 0 && tval < 127) {
*nvp = tval;
More information about the svn-src-head
mailing list