]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r273599:
authorloos <loos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 Jan 2015 02:47:57 +0000 (02:47 +0000)
committerloos <loos@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 9 Jan 2015 02:47:57 +0000 (02:47 +0000)
commita11f5b76d76842a87ad95ece38e2a906fe711a48
treeaa23b6512787687ecb9cb853a26c2776c34ca8e4
parentec6f28508d70eae0e56aab6f34495e6dcc718d95
MFC r273599:

Fix a bug where DMA maps created with bus_dmamap_create() won't increment
the map count and without being able to keep track of the current map
allocation, bus_dma_tag_destroy() will fail to proceed and will return
EBUSY even after all the maps have been correctly destroyed with
bus_dmamap_destroy().

Found while testing the detach method of a NIC.

git-svn-id: svn://svn.freebsd.org/base/stable/10@276874 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/arm/arm/busdma_machdep-v6.c