svn commit: r237209 - stable/9/sys/dev/isp

Matt Jacob mjacob at FreeBSD.org
Sun Jun 17 21:30:25 UTC 2012


Author: mjacob
Date: Sun Jun 17 21:30:24 2012
New Revision: 237209
URL: http://svn.freebsd.org/changeset/base/237209

Log:
  MFC of 237135
  
  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.

Modified:
  stable/9/sys/dev/isp/isp_pci.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/dev/   (props changed)
  stable/9/sys/dev/isp/   (props changed)

Modified: stable/9/sys/dev/isp/isp_pci.c
==============================================================================
--- stable/9/sys/dev/isp/isp_pci.c	Sun Jun 17 21:28:11 2012	(r237208)
+++ stable/9/sys/dev/isp/isp_pci.c	Sun Jun 17 21:30:24 2012	(r237209)
@@ -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-stable-9 mailing list