From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261876AbULGSQ3 (ORCPT ); Tue, 7 Dec 2004 13:16:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261877AbULGSQ3 (ORCPT ); Tue, 7 Dec 2004 13:16:29 -0500 Received: from omx2-ext.sgi.com ([192.48.171.19]:17373 "EHLO omx2.sgi.com") by vger.kernel.org with ESMTP id S261876AbULGSQN (ORCPT ); Tue, 7 Dec 2004 13:16:13 -0500 From: Mike Werner Reply-To: werner@sgi.com To: Christoph Hellwig , linux-kernel@vger.kernel.org Subject: Re: [RFC][AGPGART]Allow multiple backends to be initialized Date: Tue, 7 Dec 2004 10:17:54 -0800 User-Agent: KMail/1.6.2 References: <200412061740.52337.werner@sgi.com> <20041207090244.GA13591@infradead.org> In-Reply-To: <20041207090244.GA13591@infradead.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200412071017.54665.werner@sgi.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday 07 December 2004 01:02, Christoph Hellwig wrote: > Wrong interface. Please pass in the pci_dev of the grpahics cards and > add a new method for lowlevel drivers to find the bridge. For the normal > bridges (aka everything but the hp, alpha and your new driver) you'd do > a generic helper that just walks down the parent pointers until it finds > a class. > In order to do this they way you want I need to know how this helper function finds the bridge of interest. Just searching for the class doesn't cut it, we need a match criterion for the multi-bridge case.