diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-03-04 19:56:57 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-21 06:47:05 +0200 |
commit | e789920d0497bb3d7eb146382b9ca8137662fabb (patch) | |
tree | 560b9021840188ec50363e940ddc9c2a4db50e01 /arch/mips | |
parent | PCI: powerpc: use generic pci_enable_resources() (diff) | |
download | linux-e789920d0497bb3d7eb146382b9ca8137662fabb.tar.xz linux-e789920d0497bb3d7eb146382b9ca8137662fabb.zip |
PCI: ppc: use generic pci_enable_resources()
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", not IORESOURCE_UNSET
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/mips')
0 files changed, 0 insertions, 0 deletions