Hide "no default resources for" warning under bootverbose. It's ok to use
optional resources. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
2737a5a925
commit
089dfb09f1
@ -251,8 +251,9 @@ simplebus_alloc_resource(device_t bus, device_t child, int type, int *rid,
|
||||
|
||||
rle = resource_list_find(&di->di_res, type, *rid);
|
||||
if (rle == NULL) {
|
||||
device_printf(bus, "no default resources for "
|
||||
"rid = %d, type = %d\n", *rid, type);
|
||||
if (bootverbose)
|
||||
device_printf(bus, "no default resources for "
|
||||
"rid = %d, type = %d\n", *rid, type);
|
||||
return (NULL);
|
||||
}
|
||||
start = rle->start;
|
||||
|
Loading…
x
Reference in New Issue
Block a user