diff options
author | mav <mav@FreeBSD.org> | 2015-11-30 21:43:20 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-11-30 21:43:20 +0000 |
commit | 7b3194de40bae21f3c63590a91d7ab41398abef3 (patch) | |
tree | 76ea881167211bbc0101dcd55e3eb810d86ea563 | |
parent | 7dd0f6589b1e7392840a4a5467a63d804a565c43 (diff) | |
download | FreeBSD-src-7b3194de40bae21f3c63590a91d7ab41398abef3.zip FreeBSD-src-7b3194de40bae21f3c63590a91d7ab41398abef3.tar.gz |
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).
-rw-r--r-- | sys/dev/isp/isp_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index 7ddf3c6..9de13a2 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -486,7 +486,7 @@ isp_get_generic_options(device_t dev, ispsoftc_t *isp) } 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; |