mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 01:34:09 +00:00
Look for the correct method in sparc64_dmamap_load_mbuf() and
sparc64_dmamap_load_uio().
This commit is contained in:
parent
8c383bacf9
commit
6cf280f100
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108808
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue