Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Linux MIPS PCI resource sanity check
@ 2008-02-16 10:39 Michael Buesch
  2008-02-16 10:49 ` Sergei Shtylyov
  2008-02-19 15:51 ` Ralf Baechle
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Buesch @ 2008-02-16 10:39 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips

Hi,

There's a sanity check in pcibios_enable_resources() that looks like this:

	r = &dev->resource[idx];
	if (!r->start && r->end) {
		printk(KERN_ERR "PCI: Device %s not available because of resource collisions\n", pci_name(dev));
		return -EINVAL;
	}

What is this check actually doing? It triggers for me on a BCM4318 device
which is behind a BCM4710 PCI bridge.
r->start is 0 and r->end is 0x1FFF when this triggers.
If I simply comment out that check the device is detected correctly
and seems to initialize just fine.

-- 
Greetings Michael.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-02-19 15:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-16 10:39 Linux MIPS PCI resource sanity check Michael Buesch
2008-02-16 10:49 ` Sergei Shtylyov
2008-02-16 10:55   ` Michael Buesch
2008-02-16 23:35   ` Andrew Sharp
2008-02-17 11:19     ` Michael Buesch
2008-02-18 13:55     ` Sergei Shtylyov
2008-02-19 15:30   ` Ralf Baechle
2008-02-19 15:51 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox