From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from pentafluge.infradead.org (pentafluge.infradead.org [213.146.154.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id A08B3DDF06 for ; Thu, 6 Mar 2008 07:17:58 +1100 (EST) Date: Wed, 5 Mar 2008 12:15:06 -0800 From: Greg KH To: David Howells Subject: Re: [patch 08/16] mn10300: use generic pci_enable_resources() Message-ID: <20080305201506.GF13569@kroah.com> References: <20080304185821.354198782@ldl.fc.hp.com> <20080304185646.864917286@ldl.fc.hp.com> <28205.1204729990@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <28205.1204729990@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 , Bjorn Helgaas List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Mar 05, 2008 at 03:13:10PM +0000, David Howells wrote: > > 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 added, thanks. greg k-h