Re: promise controller resource alloc problems with ~2.6.8

From: Linus Torvalds
Date: Fri Oct 01 2004 - 09:37:59 EST




On Fri, 1 Oct 2004, CaT wrote:
>
> You meant this, right?
>
> if (!pr || insert_resource(pr, r) < 0)
> printk(KERN_ERR "PCI: Cannot allocate resource region %d of bridge %s\n", idx, pci_name(dev));

Yup.

> If so then the patch + the above did not work. :/

Damn.

> BTW. I just realised (and I apologise for not doing so earlier) that I'm
> not using ACPI on this box.

For you, the bigger patch shouldn't have made any difference. But it's
needed for some other people who have BIOS'es that mark PCI regions as
being reserved for the motherboard, and they get resource conflicts
otherwise (resource conflicts that largely go away with
"insert_resource()", but if we want to change that to "request_resource()"
then that other patch is needed).

Can you send me your ioports from 2.6.9-rc3 _with_ the
"request_resource()" change..

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