summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 2231f22fc0a9..934054186be6 100644
--- a/sys/sparc64/include/bus.h
+++ b/sys/sparc64/include/bus.h
@@ -1027,7 +1027,7 @@ sparc64_dmamap_load_mbuf(bus_dma_tag_t pt, bus_dma_tag_t dt, bus_dmamap_t m,
{
bus_dma_tag_t lt;
- for (lt = pt; lt->dmamap_load == NULL; lt = lt->parent)
+ for (lt = pt; lt->dmamap_load_mbuf == NULL; lt = lt->parent)
;
return ((*lt->dmamap_load_mbuf)(lt, dt, m, mb, cb, cba, f));
}
@@ -1040,7 +1040,7 @@ sparc64_dmamap_load_uio(bus_dma_tag_t pt, bus_dma_tag_t dt, bus_dmamap_t m,
{
bus_dma_tag_t lt;
- for (lt = pt; lt->dmamap_load == NULL; lt = lt->parent)
+ for (lt = pt; lt->dmamap_load_uio == NULL; lt = lt->parent)
;
return ((*lt->dmamap_load_uio)(lt, dt, m, ui, cb, cba, f));
}