svn commit: r233036 - head/sys/x86/x86

John Baldwin jhb at FreeBSD.org
Fri Mar 16 16:12:11 UTC 2012


Author: jhb
Date: Fri Mar 16 16:12:10 2012
New Revision: 233036
URL: http://svn.freebsd.org/changeset/base/233036

Log:
  Revert the PCIe 4GB boundary issue workaround now that the proper fix is
  in HEAD.
  
  Ok'd by:	scottl

Modified:
  head/sys/x86/x86/busdma_machdep.c

Modified: head/sys/x86/x86/busdma_machdep.c
==============================================================================
--- head/sys/x86/x86/busdma_machdep.c	Fri Mar 16 15:46:44 2012	(r233035)
+++ head/sys/x86/x86/busdma_machdep.c	Fri Mar 16 16:12:10 2012	(r233036)
@@ -227,14 +227,6 @@ bus_dma_tag_create(bus_dma_tag_t parent,
 	bus_dma_tag_t newtag;
 	int error = 0;
 
-	/* Always enforce at least a 4GB (2GB for PAE) boundary. */
-#if defined(__amd64__)
-	if (boundary == 0 || boundary > ((bus_addr_t)1 << 32))
-		boundary = (bus_size_t)1 << 32;
-#elif defined(PAE)
-	if (boundary == 0 || boundary > ((bus_addr_t)1 << 31))
-		boundary = (bus_size_t)1 << 31;
-#endif
 	/* Basic sanity checking */
 	if (boundary != 0 && boundary < maxsegsz)
 		maxsegsz = boundary;


More information about the svn-src-all mailing list