Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269286AbUIHSXd (ORCPT ); Wed, 8 Sep 2004 14:23:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269287AbUIHSXd (ORCPT ); Wed, 8 Sep 2004 14:23:33 -0400 Received: from adsl-63-197-226-105.dsl.snfc21.pacbell.net ([63.197.226.105]:36808 "EHLO cheetah.davemloft.net") by vger.kernel.org with ESMTP id S269286AbUIHSXc (ORCPT ); Wed, 8 Sep 2004 14:23:32 -0400 Date: Wed, 8 Sep 2004 11:20:27 -0700 From: "David S. Miller" To: Jesse Barnes Cc: jonsmirl@gmail.com, willy@debian.org, linux-kernel@vger.kernel.org Subject: Re: multi-domain PCI and sysfs Message-Id: <20040908112027.545a6b2e.davem@davemloft.net> In-Reply-To: <200409080902.14640.jbarnes@engr.sgi.com> References: <9e4733910409041300139dabe0@mail.gmail.com> <200409072125.41153.jbarnes@engr.sgi.com> <9e47339104090723012190c73a@mail.gmail.com> <200409080902.14640.jbarnes@engr.sgi.com> X-Mailer: Sylpheed version 0.9.12 (GTK+ 1.2.10; sparc-unknown-linux-gnu) X-Face: "_;p5u5aPsO,_Vsx"^v-pEq09'CU4&Dc1$fQExov$62l60cgCc%FnIwD=.UF^a>?5'9Kn[;433QFVV9M..2eN.@4ZWPGbdi<=?[:T>y?SD(R*-3It"Vj:)"dP Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 882 Lines: 19 On Wed, 8 Sep 2004 09:02:14 -0700 Jesse Barnes wrote: > > Where is the PCI segment base address stored in the PCI driver > > structures? I'm still having trouble with the fact that the PCI driver > > does not have a clear structure representing a PCI segment. Shouldn't > > there be a structure corresponding to a segment? > > That would be nice, maybe an extra resource or something? I haven't looked at > the sparc code, but it probably deals with this (sn2 has platform specific > functions to get the base address for a bus). We store them directly in pci_resource_*(pdev,BAR_NUM) as physical addresses. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/