Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Nov 2015 21:43:20 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r291518 - stable/10/sys/dev/isp
Message-ID:  <201511302143.tAULhKU4073690@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Nov 30 21:43:20 2015
New Revision: 291518
URL: https://svnweb.freebsd.org/changeset/base/291518

Log:
  MFC r291147: Increase maximal value of vports tunable to 254.
  
  I am not sure this value is really viable yet, but that is what chips
  officially support in NPIV mode (in loop mode maximum is 125).

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

Modified: stable/10/sys/dev/isp/isp_pci.c
==============================================================================
--- stable/10/sys/dev/isp/isp_pci.c	Mon Nov 30 21:42:35 2015	(r291517)
+++ stable/10/sys/dev/isp/isp_pci.c	Mon Nov 30 21:43:20 2015	(r291518)
@@ -486,7 +486,7 @@ isp_get_generic_options(device_t dev, is
 	}
 	tval = -1;
 	(void) resource_int_value(device_get_name(dev), device_get_unit(dev), "vports", &tval);
-	if (tval > 0 && tval < 127) {
+	if (tval > 0 && tval <= 254) {
 		isp_nvports = tval;
 	}
 	tval = 7;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511302143.tAULhKU4073690>