Commit 539e6f8c authored by Michael Buesch's avatar Michael Buesch Committed by John W. Linville
Browse files

b43: Add DMA mapping failure messages

This adds messages for some DMA mapping failures.
These are useful for debugging DMA address problems, as they appear
on x86_64 machines with IOMMU enabled.

Signed-off-by: default avatarMichael Buesch <>
Signed-off-by: default avatarJohn W. Linville <>
parent 64f851e4
......@@ -619,6 +619,7 @@ static int setup_rx_descbuffer(struct b43_dmaring *ring,
if (b43_dma_mapping_error(ring, dmaaddr, ring->rx_buffersize, 0)) {
b43err(ring->dev->wl, "RX DMA buffer allocation failed\n");
return -EIO;
......@@ -874,8 +875,12 @@ struct b43_dmaring *b43_setup_dmaring(struct b43_wldev *dev,
if (b43_dma_mapping_error(ring, dma_test,
b43_txhdr_size(dev), 1))
b43_txhdr_size(dev), 1)) {
"TXHDR DMA allocation failed\n");
goto err_kfree_txhdr_cache;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment