From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Howells Subject: Re: [patch 01/16] PCI: add generic pci_enable_resources() Date: Wed, 05 Mar 2008 14:53:31 +0000 Message-ID: <20894.1204728811@redhat.com> References: <20080304185819.885549413@ldl.fc.hp.com> <20080304185646.864917286@ldl.fc.hp.com> Return-path: In-Reply-To: <20080304185819.885549413@ldl.fc.hp.com> Sender: linux-parisc-owner@vger.kernel.org To: Bjorn Helgaas Cc: dhowells@redhat.com, Russell King , linux-arm-kernel@lists.arm.linux.org.uk, Kyle McMartin , Matthew Wilcox , Grant Grundler , linux-parisc@vger.kernel.org, Paul Mackerras , Benjamin Herrenschmidt , linuxppc-dev@ozlabs.org, Chris Zankel , linux-pci@atrey.karlin.mff.cuni.cz, linux-arch@vger.kernel.org List-Id: linux-arch.vger.kernel.org Bjorn Helgaas wrote: > Each architecture has its own pcibios_enable_resources() implementation. > These differ in many minor ways that have nothing to do with actual > architectural differences. Follow-on patches will make most arches > use this generic version instead. > > This version is based on powerpc, which seemed most up-to-date. The only > functional difference from the x86 version is that this uses "!r->parent" > to check for resource collisions instead of "!r->start && r->end". > > Signed-off-by: Bjorn Helgaas Acked-by: David Howells From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([66.187.233.31]:33678 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752654AbYCEPFg (ORCPT ); Wed, 5 Mar 2008 10:05:36 -0500 From: David Howells In-Reply-To: <20080304185819.885549413@ldl.fc.hp.com> References: <20080304185819.885549413@ldl.fc.hp.com> <20080304185646.864917286@ldl.fc.hp.com> Subject: Re: [patch 01/16] PCI: add generic pci_enable_resources() Date: Wed, 05 Mar 2008 14:53:31 +0000 Message-ID: <20894.1204728811@redhat.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Bjorn Helgaas Cc: dhowells@redhat.com, Russell King , linux-arm-kernel@lists.arm.linux.org.uk, Kyle McMartin , Matthew Wilcox , Grant Grundler , linux-parisc@vger.kernel.org, Paul Mackerras , Benjamin Herrenschmidt , linuxppc-dev@ozlabs.org, Chris Zankel , linux-pci@atrey.karlin.mff.cuni.cz, linux-arch@vger.kernel.org Message-ID: <20080305145331.8Qjf_NBPjAuFG-x_C6FnmhskKyujXXFLsfBlFWJzJJE@z> Bjorn Helgaas wrote: > Each architecture has its own pcibios_enable_resources() implementation. > These differ in many minor ways that have nothing to do with actual > architectural differences. Follow-on patches will make most arches > use this generic version instead. > > This version is based on powerpc, which seemed most up-to-date. The only > functional difference from the x86 version is that this uses "!r->parent" > to check for resource collisions instead of "!r->start && r->end". > > Signed-off-by: Bjorn Helgaas Acked-by: David Howells