Re: A simple question about readw, readw and the like

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sun Jul 30 2000 - 09:39:26 EST


> Sometimes it is needed to let one PCI device do DMA to another part of
> itself or another PCI device. For this, you need the bus addresses of
> the PCI memory resources. If pci_resource_start(dev,x) doesn't give
> you that, where else could it be found? By doing configure space reads
> I guess, but is that really necessary?

Firstly you need to read the intel triton chipset and natoma chipset errata
notes if you are doing this on x86. On non x86 you arent even guaranteed there
is a common addressing between PCI busses so you may not be able to hit one
bus from another

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



This archive was generated by hypermail 2b29 : Mon Jul 31 2000 - 21:00:31 EST