mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Improve diagnostic message.
This commit is contained in:
parent
4560dfb5b1
commit
24ea970aff
1 changed files with 3 additions and 2 deletions
|
|
@ -1740,8 +1740,9 @@ pci_alloc_map(device_t dev, device_t child, int type, int *rid,
|
|||
res = BUS_ALLOC_RESOURCE(device_get_parent(dev), child, type, rid,
|
||||
start, end, count, flags);
|
||||
if (res == NULL) {
|
||||
device_printf(child, "%#lx bytes of rid %#x res %d failed.\n",
|
||||
count, *rid, type);
|
||||
device_printf(child,
|
||||
"%#lx bytes of rid %#x res %d failed (%#lx, %#lx).\n",
|
||||
count, *rid, type, start, end);
|
||||
goto out;
|
||||
}
|
||||
resource_list_add(rl, type, *rid, start, end, count);
|
||||
|
|
|
|||
Loading…
Reference in a new issue