diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-03-04 18:56:57 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-21 04:47:05 (GMT) |
commit | e789920d0497bb3d7eb146382b9ca8137662fabb (patch) | |
tree | 560b9021840188ec50363e940ddc9c2a4db50e01 /Kbuild | |
parent | 7cfb5f9aaec6f0fc45ff323841e6d62f67e7ffad (diff) | |
download | linux-e789920d0497bb3d7eb146382b9ca8137662fabb.tar.xz |
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 'Kbuild')
0 files changed, 0 insertions, 0 deletions