summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/bus.h
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2003-01-06 17:17:26 +0000
committertmm <tmm@FreeBSD.org>2003-01-06 17:17:26 +0000
commit0a1436cdc492c972072920821a4aabff7db7e914 (patch)
treefabb0ec661ceef15694745969e6bac0b1aa24b52 /sys/sparc64/include/bus.h
parent9043c08e47190c2b820657ee36605ccf97d8dba0 (diff)
downloadFreeBSD-src-0a1436cdc492c972072920821a4aabff7db7e914.zip
FreeBSD-src-0a1436cdc492c972072920821a4aabff7db7e914.tar.gz
Look for the correct method in sparc64_dmamap_load_mbuf() and
sparc64_dmamap_load_uio().
Diffstat (limited to 'sys/sparc64/include/bus.h')
-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 2231f22..9340541 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));
}
OpenPOWER on IntegriCloud