diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2016-11-30 14:17:06 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2016-11-30 14:17:06 +0000 |
commit | d2314cb3b904df2138225af723b4c734d3eb5b5e (patch) | |
tree | a30e023a12a136f364aaff5af80db345a256ee66 /sys/arm64 | |
parent | f534f01f1a0204d37479757f24a3ce967714edff (diff) | |
download | src-d2314cb3b904df2138225af723b4c734d3eb5b5e.tar.gz src-d2314cb3b904df2138225af723b4c734d3eb5b5e.zip |
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
Notes
Notes:
svn path=/head/; revision=309327
Diffstat (limited to 'sys/arm64')
-rw-r--r-- | sys/arm64/cavium/thunder_pcie_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arm64/cavium/thunder_pcie_common.c b/sys/arm64/cavium/thunder_pcie_common.c index b9244648a800..e8313fa98a2b 100644 --- a/sys/arm64/cavium/thunder_pcie_common.c +++ b/sys/arm64/cavium/thunder_pcie_common.c @@ -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 |