Look for the correct method in sparc64_dmamap_load_mbuf() and

sparc64_dmamap_load_uio().
This commit is contained in:
Thomas Moestl 2003-01-06 17:17:26 +00:00
parent 8c383bacf9
commit 6cf280f100
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108808

View file

@ -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));
}