Bug 14121
Summary: | Wireless Cards Fail to Intitialize - ath5k 32-bit DMA not available | ||
---|---|---|---|
Product: | Networking | Reporter: | Jim Gifford (giffordj) |
Component: | Wireless | Assignee: | networking_wireless (networking_wireless) |
Status: | CLOSED INSUFFICIENT_DATA | ||
Severity: | high | CC: | blofeldus, linux, linville, me, mickflemm |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.30.x | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Jim Gifford
2009-09-04 16:23:56 UTC
/* XXX 32-bit addressing only */ ret = pci_set_dma_mask(pdev, DMA_BIT_MASK(32)); if (ret) { dev_err(&pdev->dev, "32-bit DMA not available\n"); goto err_dis; } Seems that pci_set_dma_mask returns an error for some reason. Doesn't seem like an ath5k bug. I think this is due to commit 4ae0ff606e848fa4957ebf8f97e5db5fdeec27be. There is a missing "set_dma_ops(dev, &dma_direct_ops)" somewhere, but I don't know where to put it. I have the same probe failed problem with a cardbus sata_sil device on my g4 powerbook, and adding that code to the sata_sil.c code fixed the problem for me. Forwarded link to Kumar Gala, the author of the commit referenced above -- hopefully he has some insight. (galak@kernel.crashing.org doesn't seem to work for Cc list...) This seems to be fixed in recent kernels (2.6.33-rcX) by means of 2d1c861871d767153538a77c498752b36d4bb4b8 (PCI/cardbus: Add a fixup hook and fix powerpc). Could you confirm this, please? Closed due to lack of response... |