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).
This commit is contained in:
Alexander Motin 2015-11-21 21:44:11 +00:00
parent db00265949
commit ffe6ea0581

View File

@ -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;