summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2003-02-26 15:02:55 +0000
committermux <mux@FreeBSD.org>2003-02-26 15:02:55 +0000
commitb0f2f954b20c1370a09567f78b27f28e5f9db12a (patch)
treef2725acf030233bb9db19507e17ce9734e51764c
parent0c38fa8e5735040c921c23c18879569c0d6a314b (diff)
downloadFreeBSD-src-b0f2f954b20c1370a09567f78b27f28e5f9db12a.zip
FreeBSD-src-b0f2f954b20c1370a09567f78b27f28e5f9db12a.tar.gz
Unbreak the IOMMU code.
Pointy hat to: mux Reviewed by: tmm
-rw-r--r--sys/sparc64/sparc64/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sparc64/sparc64/iommu.c b/sys/sparc64/sparc64/iommu.c
index 6059460..26f7f42 100644
--- a/sys/sparc64/sparc64/iommu.c
+++ b/sys/sparc64/sparc64/iommu.c
@@ -143,7 +143,7 @@
/*
* Tuning constants.
*/
-#define IOMMU_MAX_PRE BUS_SPACE_MAXSIZE
+#define IOMMU_MAX_PRE (128 * 1024)
#define IOMMU_MAX_PRE_SEG 3
MALLOC_DEFINE(M_IOMMU, "dvmamem", "IOMMU DVMA Buffers");
OpenPOWER on IntegriCloud