Author: andrew Date: Wed Nov 30 14:17:06 2016 New Revision: 309327 URL: https://svnweb.freebsd.org/changeset/base/309327
Log: 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 Modified: head/sys/arm64/cavium/thunder_pcie_common.c Modified: head/sys/arm64/cavium/thunder_pcie_common.c ============================================================================== --- head/sys/arm64/cavium/thunder_pcie_common.c Wed Nov 30 14:02:36 2016 (r309326) +++ head/sys/arm64/cavium/thunder_pcie_common.c Wed Nov 30 14:17:06 2016 (r309327) @@ -204,7 +204,7 @@ thunder_pcie_alloc_resource(device_t dev 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 _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"