Search Linux Wireless

Re: [RFC 01/12] ath9k: introduce bus specific DMA routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Hellwig írta:
> 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.
> 
> 

Ok, i will try it.
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux