From 288a05f9eeafc04edae38a75e3ae8aeee74a68f9 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Wed, 29 Jan 2003 20:36:08 +0000 Subject: [PATCH] Fix another mistake in the bus_dmamem_alloc_size() thing Submitted by: tmm --- sys/sparc64/include/bus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/sparc64/include/bus.h b/sys/sparc64/include/bus.h index de15af04c8a8..5cd08ab76213 100644 --- a/sys/sparc64/include/bus.h +++ b/sys/sparc64/include/bus.h @@ -1093,7 +1093,7 @@ sparc64_dmamem_alloc_size(bus_dma_tag_t pt, bus_dma_tag_t dt, void **v, int f, { bus_dma_tag_t lt; - for (lt = pt; lt->dt_dmamem_alloc == NULL; lt = lt->dt_parent) + for (lt = pt; lt->dt_dmamem_alloc_size == NULL; lt = lt->dt_parent) ; return ((*lt->dt_dmamem_alloc_size)(lt, dt, v, f, m, s)); } @@ -1119,7 +1119,7 @@ sparc64_dmamem_free_size(bus_dma_tag_t pt, bus_dma_tag_t dt, void *v, { bus_dma_tag_t lt; - for (lt = pt; lt->dt_dmamem_free == NULL; lt = lt->dt_parent) + for (lt = pt; lt->dt_dmamem_free_size == NULL; lt = lt->dt_parent) ; (*lt->dt_dmamem_free_size)(lt, dt, v, m, s); }