From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by ozlabs.org (Postfix) with ESMTP id CD14EDE048 for ; Thu, 6 Mar 2008 02:15:10 +1100 (EST) From: David Howells In-Reply-To: <20080304185821.354198782@ldl.fc.hp.com> References: <20080304185821.354198782@ldl.fc.hp.com> <20080304185646.864917286@ldl.fc.hp.com> To: Bjorn Helgaas Subject: Re: [patch 08/16] mn10300: use generic pci_enable_resources() Date: Wed, 05 Mar 2008 15:13:10 +0000 Message-ID: <28205.1204729990@redhat.com> Sender: dhowells@redhat.com Cc: linux-arch@vger.kernel.org, Chris Zankel , Grant Grundler , linux-parisc@vger.kernel.org, Matthew Wilcox , Kyle McMartin , linuxppc-dev@ozlabs.org, Paul Mackerras , linux-pci@atrey.karlin.mff.cuni.cz, linux-arm-kernel@lists.arm.linux.org.uk, Russell King List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Bjorn Helgaas 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 Acked-by: David Howells