[patch 09/16] parisc: use generic pci_enable_resources()

Kyle McMartin kyle at mcmartin.ca
Thu Mar 6 03:17:10 EST 2008


On Tue, Mar 04, 2008 at 11:56:55AM -0700, Bjorn Helgaas wrote:
> Use the generic pci_enable_resources() instead of the arch-specific code.
> 
> Unlike this arch-specific code, the generic version:
>     - checks PCI_NUM_RESOURCES (11), not DEVICE_COUNT_RESOURCE (12), resources
>     - skips resources that have neither IORESOURCE_IO nor IORESOURCE_MEM set
>     - skips ROM resources unless IORESOURCE_ROM_ENABLE is set
>     - checks for resource collisions with "!r->parent"
> 
> Signed-off-by: Bjorn Helgaas <bjorn.helgaas at hp.com>
> 

Acked-by: Kyle McMartin <kyle at mcmartin.ca>



More information about the Linuxppc-dev mailing list