summaryrefslogtreecommitdiffstats
path: root/sys/x86
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-03-16 16:12:10 +0000
committerjhb <jhb@FreeBSD.org>2012-03-16 16:12:10 +0000
commitd20688c1301752643d76639a2b835f54fa692460 (patch)
tree06384504b813767052fedc22a82bd7436ff29db9 /sys/x86
parentfbebe4e7770ae2d5b532ff04411d843acdf467ad (diff)
downloadFreeBSD-src-d20688c1301752643d76639a2b835f54fa692460.zip
FreeBSD-src-d20688c1301752643d76639a2b835f54fa692460.tar.gz
Revert the PCIe 4GB boundary issue workaround now that the proper fix is
in HEAD. Ok'd by: scottl
Diffstat (limited to 'sys/x86')
-rw-r--r--sys/x86/x86/busdma_machdep.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/x86/x86/busdma_machdep.c b/sys/x86/x86/busdma_machdep.c
index 35daa40..76d4926 100644
--- a/sys/x86/x86/busdma_machdep.c
+++ b/sys/x86/x86/busdma_machdep.c
@@ -227,14 +227,6 @@ bus_dma_tag_create(bus_dma_tag_t parent, bus_size_t alignment,
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;
OpenPOWER on IntegriCloud