From: Bjorn Helgaas Date: Tue, 4 Mar 2008 18:56:57 +0000 (-0700) Subject: PCI: ppc: use generic pci_enable_resources() X-Git-Tag: v2.6.26-rc1~1119^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e789920d0497bb3d7eb146382b9ca8137662fabb;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed