summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/isp/isp_pci.c2
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;
OpenPOWER on IntegriCloud