From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [RFC/PATCH] of: Match PCI devices to OF nodes generically Date: Tue, 05 Apr 2011 07:03:57 +1000 Message-ID: <1301951037.2549.85.camel@pasglop> References: <1301882694.2549.53.camel@pasglop> <1301887630.2549.71.camel@pasglop> <1301902664.2549.76.camel@pasglop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org Sender: linuxppc-dev-bounces+glppe-linuxppc-embedded-2=m.gmane.org@lists.ozlabs.org To: Bjorn Helgaas Cc: linux-arch@vger.kernel.org, "linux-pci@vger.kernel.org" , linuxppc-dev , "linux-kernel@vger.kernel.org" , David Miller List-Id: linux-arch.vger.kernel.org On Mon, 2011-04-04 at 09:25 -0600, Bjorn Helgaas wrote: > > Some of this is reminiscent of the ACPI/PCI binding we do on x86/ia64, > e.g., acpi_get_pci_dev() and the stuff in drivers/acpi/glue.c. Have > you looked at that to see if there's any hope of covering both OF and > ACPI with something more generic? I haven't but I will have a look. Thanks. Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org ([63.228.1.57]:46920 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755707Ab1DDVVG (ORCPT ); Mon, 4 Apr 2011 17:21:06 -0400 Subject: Re: [RFC/PATCH] of: Match PCI devices to OF nodes generically From: Benjamin Herrenschmidt In-Reply-To: References: <1301882694.2549.53.camel@pasglop> <1301887630.2549.71.camel@pasglop> <1301902664.2549.76.camel@pasglop> Content-Type: text/plain; charset="UTF-8" Date: Tue, 05 Apr 2011 07:03:57 +1000 Message-ID: <1301951037.2549.85.camel@pasglop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Bjorn Helgaas Cc: linux-arch@vger.kernel.org, linuxppc-dev , "linux-kernel@vger.kernel.org" , David Miller , "linux-pci@vger.kernel.org" Message-ID: <20110404210357.KAL-aibqGSRVbzUSQGL7YN78hGqvauDXGF_z7Y09FLQ@z> On Mon, 2011-04-04 at 09:25 -0600, Bjorn Helgaas wrote: > > Some of this is reminiscent of the ACPI/PCI binding we do on x86/ia64, > e.g., acpi_get_pci_dev() and the stuff in drivers/acpi/glue.c. Have > you looked at that to see if there's any hope of covering both OF and > ACPI with something more generic? I haven't but I will have a look. Thanks. Cheers, Ben.