Date: Wed, 30 Nov 2016 14:17:06 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r309327 - head/sys/arm64/cavium Message-ID: <201611301417.uAUEH6CP066826@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611301417.uAUEH6CP066826>