summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-08-11 21:28:54 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-08-11 21:28:54 +0000
commit1e40b562ca211d159552741c5ad95f831a794e5c (patch)
tree75561f9a427c842a33568c888f607372f5a51ee1 /sys/arch/sparc64
parentfa52c6dbee44e5933c7655930f53a5602448116c (diff)
Only print iotdb stuff when DEBUG.
Diffstat (limited to 'sys/arch/sparc64')
-rw-r--r--sys/arch/sparc64/dev/iommu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c
index 50da7b37b2a..d3cd50a6d1e 100644
--- a/sys/arch/sparc64/dev/iommu.c
+++ b/sys/arch/sparc64/dev/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.50 2008/07/12 13:08:04 kettenis Exp $ */
+/* $OpenBSD: iommu.c,v 1.51 2008/08/11 21:28:53 kettenis Exp $ */
/* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */
/*
@@ -212,9 +212,11 @@ iommu_init(char *name, struct iommu_state *is, int tsbsize, u_int32_t iovabase)
* Now all the hardware's working we need to allocate a dvma map.
*/
printf("dvma map %x-%x, ", is->is_dvmabase, is->is_dvmaend);
+#ifdef DEBUG
printf("iotdb %llx-%llx",
(unsigned long long)is->is_ptsb,
(unsigned long long)(is->is_ptsb + size));
+#endif
is->is_dvmamap = extent_create(name,
is->is_dvmabase, (u_long)is->is_dvmaend + 1,
M_DEVBUF, 0, 0, EX_NOWAIT);