From cb201058d9b2c5c6e155288a837adac653b310d7 Mon Sep 17 00:00:00 2001 From: miod Date: Wed, 16 Jul 2008 15:49:22 +0000 Subject: [PATCH] Now that uvm_pglistalloc() does not lose on large memory gaps, do not restrict the memory allocation range in _dmamem_alloc(). --- sys/arch/sgi/sgi/bus_dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sgi/sgi/bus_dma.c b/sys/arch/sgi/sgi/bus_dma.c index 3094c1038a5..aa6bc431c30 100644 --- a/sys/arch/sgi/sgi/bus_dma.c +++ b/sys/arch/sgi/sgi/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.5 2008/04/07 22:30:49 miod Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.6 2008/07/16 15:49:22 miod Exp $ */ /* * Copyright (c) 2003-2004 Opsycon AB (www.opsycon.se / www.opsycon.com) @@ -438,7 +438,7 @@ _dmamem_alloc(t, size, alignment, boundary, segs, nsegs, rsegs, flags) int flags; { return (_dmamem_alloc_range(t, size, alignment, boundary, - segs, nsegs, rsegs, flags, 0, 0xf0000000)); + segs, nsegs, rsegs, flags, 0, -1)); } /* -- 2.20.1