summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/bus.h
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-01-29 17:41:29 +0000
committerscottl <scottl@FreeBSD.org>2003-01-29 17:41:29 +0000
commitd9bd56452d509a28ab6a2dbe1aaeefe4462b1601 (patch)
treea3bec54424dcdd709e462fadd85c8883ac950fa3 /sys/sparc64/include/bus.h
parent6962d02957b5fa66a727f89d2131a673d1a83c7a (diff)
downloadFreeBSD-src-d9bd56452d509a28ab6a2dbe1aaeefe4462b1601.zip
FreeBSD-src-d9bd56452d509a28ab6a2dbe1aaeefe4462b1601.tar.gz
Fix some more missing dt_ prefixes for dma tag fields.
Diffstat (limited to 'sys/sparc64/include/bus.h')
-rw-r--r--sys/sparc64/include/bus.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/sparc64/include/bus.h b/sys/sparc64/include/bus.h
index 2a90c01..de15af0 100644
--- a/sys/sparc64/include/bus.h
+++ b/sys/sparc64/include/bus.h
@@ -1093,9 +1093,9 @@ 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->dmamem_alloc == NULL; lt = lt->parent)
+ for (lt = pt; lt->dt_dmamem_alloc == NULL; lt = lt->dt_parent)
;
- return ((*lt->dmamem_alloc_size)(lt, dt, v, f, m, s));
+ return ((*lt->dt_dmamem_alloc_size)(lt, dt, v, f, m, s));
}
#define bus_dmamem_alloc_size(t, v, f, m, s) \
sparc64_dmamem_alloc_size((t), (t), (v), (f), (m), (s))
@@ -1119,9 +1119,9 @@ 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->dmamem_free == NULL; lt = lt->parent)
+ for (lt = pt; lt->dt_dmamem_free == NULL; lt = lt->dt_parent)
;
- (*lt->dmamem_free_size)(lt, dt, v, m, s);
+ (*lt->dt_dmamem_free_size)(lt, dt, v, m, s);
}
#define bus_dmamem_free_size(t, v, m, s) \
sparc64_dmamem_free_size((t), (t), (v), (m), (s))
OpenPOWER on IntegriCloud