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

Greg KH greg at kroah.com
Thu Mar 6 07:09:43 EST 2008


On Wed, Mar 05, 2008 at 11:17:10AM -0500, Kyle McMartin wrote:
> 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>

added, thanks.

greg k-h



More information about the Linuxppc-dev mailing list