Add CTR5() to bus_dmamap_load_ccb, similar to other bus_dmamap_load_*

functions.

Sponsored by:	Intel
This commit is contained in:
Jim Harris 2013-03-29 16:00:16 +00:00
parent ab72998ef7
commit 86675b5c0d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248893

View File

@ -386,6 +386,10 @@ bus_dmamap_load_ccb(bus_dma_tag_t dmat, bus_dmamap_t map, union ccb *ccb,
nsegs = -1;
error = _bus_dmamap_load_ccb(dmat, map, ccb, &nsegs, flags);
nsegs++;
CTR5(KTR_BUSDMA, "%s: tag %p tag flags 0x%x error %d nsegs %d",
__func__, dmat, flags, error, nsegs);
if (error == EINPROGRESS)
return (error);