[PATCH] PNP: have quirk_system_pci_resources() include io resources.

From: Rene Herman
Date: Wed Jun 25 2008 - 13:57:57 EST


This is a multi-part message in MIME format.Hi Andrew.

quirk_system_pci_resources() disables a PnP mem resource that overlaps a
PCI BAR so as to not keep the PCI driver from claiming the resource.
Have it do the same for io resources.

Here, ACPI claims ports that overlap with my soundcard causing the
soundcard driver to fail to load. It's unknown why my ACPI BIOS claims
those ports; it did not use to but this is not a (kernel) regression.
Some odd BIOS reconfig triggered by temporarily removing the card seems
to have brought this on.

This is not urgent -- I now all of a sudden need this on any kernel anyway. It applies on top of Bjorn's PNP patches you have in the tree. Strictly, Bjorn's ACK was on another version of this that rolled its own private pnp_resource_type_name(), an interface introduced by those new PNP patches. I took the liberty to consider that trivial enough of a change to keep it though.

Rene.