Re: pci segments/domains

Ivan Kokshaysky (ink@jurassic.park.msu.ru)
Fri, 17 May 2002 15:39:03 +0400


On Fri, May 17, 2002 at 04:04:21AM -0700, David S. Miller wrote:
> I'm not saying pci_domain structure will help, I am only
> saying that domain number is not the way to figure out
> the ability to do DMA between two devices :-)

Agreed. What about
dma_addr_t pci_to_pci_map_single(struct pci_dev *master,
struct pci_dev *target,
dma_addr_t tgt_addr, size_t size, int dir)

Could be implemented without much pain if there is enough interest. :-)

> I know for a fact that you can do PCI-to-PCI DMA between
> two PCI domains on Alpha.

Ah, indeed. I should check the docs before posting... :-\

Ivan.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/