From 934f7c1306cc745b7ca91e5814225598dcfdf641 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 18 Mar 2006 19:00:07 +0000 Subject: In _bus_dmamem_alloc_range(), do not ignore the caller's ``high'' parameter. Makes isadma much happier. From NetBSD --- sys/arch/alpha/dev/bus_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/arch') diff --git a/sys/arch/alpha/dev/bus_dma.c b/sys/arch/alpha/dev/bus_dma.c index 41e385dfc14..b16376ec7fc 100644 --- a/sys/arch/alpha/dev/bus_dma.c +++ b/sys/arch/alpha/dev/bus_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bus_dma.c,v 1.15 2005/10/28 19:10:26 martin Exp $ */ +/* $OpenBSD: bus_dma.c,v 1.16 2006/03/18 19:00:06 miod Exp $ */ /* $NetBSD: bus_dma.c,v 1.40 2000/07/17 04:47:56 thorpej Exp $ */ /*- @@ -486,8 +486,6 @@ _bus_dmamem_alloc_range(t, size, alignment, boundary, segs, nsegs, rsegs, /* Always round the size. */ size = round_page(size); - high = avail_end - PAGE_SIZE; - /* * Allocate pages from the VM system. */ -- cgit v1.2.3