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. MFC after: 3 days
This commit is contained in:
parent
144a7f643e
commit
5328dda9e8
@ -483,6 +483,7 @@ isp_get_generic_options(device_t dev, ispsoftc_t *isp, int *nvp)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user