[patch 05/16] frv: use generic pci_enable_resources()

Greg KH greg at kroah.com
Thu Mar 6 07:14:46 EST 2008


On Wed, Mar 05, 2008 at 02:52:46PM +0000, David Howells wrote:
> 
> Bjorn Helgaas <bjorn.helgaas at hp.com> 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 6, 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: David Howells <dhowells at redhat.com>

Added, thanks.

greg k-h



More information about the Linuxppc-dev mailing list