[patch 08/16] mn10300: use generic pci_enable_resources()
    David Howells 
    dhowells at redhat.com
       
    Thu Mar  6 02:13:10 EST 2008
    
    
  
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>
    
    
More information about the Linuxppc-dev
mailing list