[Top] [All Lists]

Linux MIPS PCI resource sanity check

Subject: Linux MIPS PCI resource sanity check
From: Michael Buesch <>
Date: Sat, 16 Feb 2008 11:39:10 +0100
Original-recipient: rfc822;
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

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.

<Prev in Thread] Current Thread [Next in Thread>