86843ea8de
- Don't compare the DMA map to NULL to determine if bus_dmamap_unload() should be called when releasing a static allocation. Instead, compare the bus address against 0. - Don't assume that the DMA map for static allocations is NULL. Instead, save the value set by bus_dmamem_alloc() so it can later be passed to bus_dmamem_free(). Also, add missing calls to bus_dmamap_unload() in these cases before freeing the buffer. - Use the bus address from the bus_dma callback instead of calling vtophys() on the address allocated by bus_dmamem_alloc(). Reviewed by: kan |
||
---|---|---|
.. | ||
hda | ||
allegro_code.h | ||
allegro_reg.h | ||
als4000.c | ||
als4000.h | ||
atiixp.c | ||
atiixp.h | ||
aureal.c | ||
aureal.h | ||
cmi.c | ||
cmireg.h | ||
cs461x_dsp.h | ||
cs4281.c | ||
cs4281.h | ||
csa.c | ||
csapcm.c | ||
csareg.h | ||
csavar.h | ||
ds1-fw.h | ||
ds1.c | ||
ds1.h | ||
emu10k1.c | ||
emu10kx-midi.c | ||
emu10kx-pcm.c | ||
emu10kx.c | ||
emu10kx.h | ||
emuxkireg.h | ||
envy24.c | ||
envy24.h | ||
envy24ht.c | ||
envy24ht.h | ||
es137x.c | ||
es137x.h | ||
fm801.c | ||
hdspe-pcm.c | ||
hdspe.c | ||
hdspe.h | ||
ich.c | ||
ich.h | ||
maestro3.c | ||
maestro_reg.h | ||
maestro.c | ||
neomagic-coeff.h | ||
neomagic.c | ||
neomagic.h | ||
solo.c | ||
spicds.c | ||
spicds.h | ||
t4dwave.c | ||
t4dwave.h | ||
via82c686.c | ||
via82c686.h | ||
via8233.c | ||
via8233.h | ||
vibes.c | ||
vibes.h |