Fix the alloc function the ThunderX PCIe driver calls, the previous
function may not exist when FDT is removed from the kernel. Obtained from: ABT Systems Ltd Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
83d1024582
commit
73431e62ab
@ -204,7 +204,7 @@ thunder_pcie_alloc_resource(device_t dev, device_t child, int type, int *rid,
|
||||
end = start + count - 1;
|
||||
}
|
||||
|
||||
return (pci_host_generic_alloc_resource(dev, child, type, rid, start,
|
||||
end, count, flags));
|
||||
return (pci_host_generic_core_alloc_resource(dev, child, type, rid,
|
||||
start, end, count, flags));
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user