Search Linux Wireless

Re: [PATCH 1/2] bcma: inform drivers about translation bits needed for the board

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

 



On 07/19/2011 04:05 AM, Rafał Miłecki wrote:
When using DMA, drivers need to pass special translation info to the
hardware.

Signed-off-by: Rafał Miłecki<zajec5@xxxxxxxxx>

I'm not sure why you are copying it to me.

+	switch (bus->hosttype) {
+	case BCMA_HOSTTYPE_PCI:
+		return 0x40000000;

This is already implemented in ssb_dma_translation(), and the constant is called SSB_PCI_DMA. I think we need a named constant here as well, either SSB_PCI_DMA or a new constant BCMA_PCI_DMA.

--
Regards,
Pavel Roskin
--
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