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@xxxxxxxxxxxx "Good, bad ... I'm the guy with the gun." - Ash, "Army of Darkness" - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html