Date: Sun, 17 Jun 2012 21:30:25 +0000 (UTC) From: Matt Jacob <mjacob@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r237209 - stable/9/sys/dev/isp Message-ID: <201206172130.q5HLUPjb033899@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206172130.q5HLUPjb033899>