summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-01-29 20:36:08 +0000
committerscottl <scottl@FreeBSD.org>2003-01-29 20:36:08 +0000
commit98eed43c20668a63cdf2710eb7fe473b4dee5b28 (patch)
tree6abc2551685fb6794488aa14e53bf7f0e82777c7 /sys
parent89099a65fbb79eff6aa92af702a79512b818068b (diff)
downloadFreeBSD-src-98eed43c20668a63cdf2710eb7fe473b4dee5b28.zip
FreeBSD-src-98eed43c20668a63cdf2710eb7fe473b4dee5b28.tar.gz
Fix another mistake in the bus_dmamem_alloc_size() thing
Submitted by: tmm
Diffstat (limited to 'sys')
-rw-r--r--sys/sparc64/include/bus.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/include/bus.h b/sys/sparc64/include/bus.h
index de15af0..5cd08ab 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);
}
OpenPOWER on IntegriCloud