Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932134AbXKNGqU (ORCPT ); Wed, 14 Nov 2007 01:46:20 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755679AbXKNGqI (ORCPT ); Wed, 14 Nov 2007 01:46:08 -0500 Received: from tomts12-srv.bellnexxia.net ([209.226.175.56]:47335 "EHLO tomts12-srv.bellnexxia.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755538AbXKNGqG (ORCPT ); Wed, 14 Nov 2007 01:46:06 -0500 X-Greylist: delayed 2733 seconds by postgrey-1.27 at vger.kernel.org; Wed, 14 Nov 2007 01:46:05 EST X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAGMeOkdFnhZP/2dsb2JhbAAM Date: Wed, 14 Nov 2007 01:00:28 -0500 (EST) From: Scott Murray X-X-Sender: scottm@godzilla.spiteful.org To: Greg KH cc: Matthew Wilcox , Rick Jones , Greg KH , Alex Chiang , kristen.c.accardi@intel.com, lenb@kernel.org, linux-kernel@vger.kernel.org, linux-pci@atrey.karlin.mff.cuni.cz, pcihpd-discuss@lists.sourceforge.net, linux-acpi@vger.kernel.org Subject: Re: [PATCH 0/5][RFC] Physical PCI slot objects In-Reply-To: <20071113230722.GA5506@suse.de> Message-ID: References: <20071113000853.GA13341@ldl.fc.hp.com> <20071113170129.GA20185@kroah.com> <20071113202154.GA22812@ldl.fc.hp.com> <20071113202632.GA3227@kroah.com> <473A2A61.7030303@hp.com> <20071113225605.GA2589@suse.de> <20071113230400.GP17785@parisc-linux.org> <20071113230722.GA5506@suse.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1582 Lines: 38 On Tue, 13 Nov 2007, Greg KH wrote: > On Tue, Nov 13, 2007 at 04:04:00PM -0700, Matthew Wilcox wrote: > > On Tue, Nov 13, 2007 at 02:56:05PM -0800, Greg KH wrote: > > > Why not just use the code in the linux firmware kit that does this > > > already today from userspace (thanks to Kristen for pointing this out to > > > me on irc.)? > > > > So then we have something that works on ACPI-based machines. Who will > > add support for all the other kinds of firmware and non-firmware based > > slots? > > Well, it seems that the powerpc people do not want this at all, as they > just have "virtual" slots that they don't want people trying to root > around and find the real thing. > > What other types of machines can export this kind of information? How > will you discover non-firmware based slots? Just to add my 2 cents, I've not seen any CompactPCI gear that had a way to easily map a PCI peripheral slot to the corresponding physical slot in the chassis. In the products I've worked on that use my CPCI hotplug drivers, we did any required mapping in userspace based on knowledge of the chassis layout for the particular product. Scott -- ============================================================================== Scott Murray, scott@spiteful.org "Good, bad ... I'm the guy with the gun." - Ash, "Army of Darkness" - 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/