From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle McMartin Subject: Re: [patch 09/16] parisc: use generic pci_enable_resources() Date: Wed, 5 Mar 2008 11:17:10 -0500 Message-ID: <20080305161709.GA3354@phobos.i.cabal.ca> References: <20080304185646.864917286@ldl.fc.hp.com> <20080304185821.554040328@ldl.fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20080304185821.554040328-e+Ta4ugHZmL3oGB3hsPCZA@public.gmane.org> Sender: linux-arch-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: To: Bjorn Helgaas Cc: linux-pci-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org, linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King , Kyle McMartin , Matthew Wilcox , Grant Grundler , linux-parisc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Paul Mackerras , Benjamin Herrenschmidt , linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, Chris Zankel On Tue, Mar 04, 2008 at 11:56:55AM -0700, 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 DEVICE_COUNT_RESOURCE (12), 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: Kyle McMartin -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from 206-248-169-182.dsl.ncf.ca ([206.248.169.182]:42261 "EHLO phobos.cabal.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759023AbYCEQRL (ORCPT ); Wed, 5 Mar 2008 11:17:11 -0500 Date: Wed, 5 Mar 2008 11:17:10 -0500 From: Kyle McMartin Subject: Re: [patch 09/16] parisc: use generic pci_enable_resources() Message-ID: <20080305161709.GA3354@phobos.i.cabal.ca> References: <20080304185646.864917286@ldl.fc.hp.com> <20080304185821.554040328@ldl.fc.hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080304185821.554040328@ldl.fc.hp.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Bjorn Helgaas Cc: linux-pci@atrey.karlin.mff.cuni.cz, linux-arch@vger.kernel.org, Russell King , Kyle McMartin , Matthew Wilcox , Grant Grundler , linux-parisc@vger.kernel.org, Paul Mackerras , Benjamin Herrenschmidt , linuxppc-dev@ozlabs.org, Chris Zankel Message-ID: <20080305161710.keJop1w5OlkRf9KBHAXXQo1OS0HhQaB3uAkTm7GLiTg@z> On Tue, Mar 04, 2008 at 11:56:55AM -0700, 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 DEVICE_COUNT_RESOURCE (12), 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: Kyle McMartin