[patch 08/16] mn10300: use generic pci_enable_resources()

Greg KH greg at kroah.com
Thu Mar 6 07:15:06 EST 2008


On Wed, Mar 05, 2008 at 03:13:10PM +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