summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-30 05:02:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2006-06-30 05:02:12 +0000
commitc4986b6685b9aef9210f93a8a5214974d00b6832 (patch)
treeaceb5f2569cc278161168789050cbf3ed4672267 /sys/arch
parenta699c5f854f9c6571ffe6fc4fc825100592fa885 (diff)
Some machines lack the virtual-dma property. In that case, go back
to the 128KB assumption, until we find out another way to determine the space. Damn.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/dev/schizo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sparc64/dev/schizo.c b/sys/arch/sparc64/dev/schizo.c
index 3ea692361f0..cfe655e72e3 100644
--- a/sys/arch/sparc64/dev/schizo.c
+++ b/sys/arch/sparc64/dev/schizo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: schizo.c,v 1.31 2006/06/28 20:09:15 deraadt Exp $ */
+/* $OpenBSD: schizo.c,v 1.32 2006/06/30 05:02:11 deraadt Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@ -313,7 +313,7 @@ void
schizo_init_iommu(struct schizo_softc *sc, struct schizo_pbm *pbm)
{
struct iommu_state *is = &pbm->sp_is;
- int *vdma = NULL, nitem, tsbsize;
+ int *vdma = NULL, nitem, tsbsize = 128 * 1024;
u_int32_t iobase = -1;
vaddr_t va;
char *name;