On Sat, Jan 03, 2009 at 02:44:11PM +0100, Gabor Juhos wrote: > In the AR913x SoCs, the WMAC devices are connected to the CPU through > the internal AHB bus instead of PCI. We first patch ath9k driver to use > replaceable DMA routines, so we can use different code for the AHB bus. > - pci_unmap_single(sc->pdev, bf->bf_dmacontext, > - skb->len, > - PCI_DMA_TODEVICE); > + ath_unmap_single_to_device(sc, bf->bf_dmacontext, skb->len); Just use the dma_* routines, as they are bus-agnostic and make sure the implementation on your mips SOC works for the ahb bus. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html