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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to