svn commit: r309327 - head/sys/arm64/cavium

Andrew Turner andrew at FreeBSD.org
Wed Nov 30 14:17:08 UTC 2016


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


More information about the svn-src-head mailing list