Thread (50 messages) 50 messages, 8 authors, 2004-01-19

Re: multiple separate pci bridges ...

From: Sven Luther <hidden>
Date: 2004-01-13 10:26:13

On Tue, Jan 13, 2004 at 10:56:38AM +0100, Sven Luther wrote:
On Wed, Jan 07, 2004 at 08:37:36AM +1100, Benjamin Herrenschmidt wrote:
quoted
quoted
Here's the code from our pcibios_fixup:

	dev = NULL;
	while ((dev = pci_find_device(PCI_VENDOR_ID_GALILEO,
				PCI_DEVICE_ID_GALILEO_GT64260, dev))) {
		for (i = 0; i < DEVICE_COUNT_RESOURCE; i++) {
			dev->resource[i].flags = 0;
			dev->resource[i].start = 0;
			dev->resource[i].end = 0;
		}
	}
pcibios_fixup isn't the right place to do that ;) You should do this
from a pci quirk imho.
Damn, i specifically return 0 when reading bytes >15 on the device 0,
func 0, but hexdump /proc/bus/pci/10/00.0 still gives me :

0000000 ab11 6064 0700 b022 0300 0006 2000 0000
0000010 20df 65c3 20df 65c3 20df 65c3 20df 65c3
*
0000040

Should the second line not show only 0s ?

Also, GALILEO is now known as MARVELL, is it ok to add the additional
PCI_VENDOR_ID_MARVELL as the same value as the PCI_VENDOR_ID_GALILEO
above, and also use PCI_DEVICE_ID_MAVELL_... ?

Friendly,

Sven Luther

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help