Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbbGMPLu (ORCPT ); Mon, 13 Jul 2015 11:11:50 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:34860 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751819AbbGMPLo (ORCPT ); Mon, 13 Jul 2015 11:11:44 -0400 MIME-Version: 1.0 In-Reply-To: References: <1436565766-21820-1-git-send-email-jordan_hargrave@dell.com> <20150713093518.7e869d07@endymion.delvare> Date: Mon, 13 Jul 2015 10:11:43 -0500 Message-ID: Subject: Re: [PATCH] Add support for reading SMBIOS Slot number for PCI devices From: Jordan Hargrave Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Jordan Hargrave Content-Type: text/plain; charset=UTF-8 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 958 Lines: 28 On Mon, Jul 13, 2015 at 2:35 AM, Jean Delvare wrote: > > Hi Jordan, > On Fri, 10 Jul 2015 17:02:46 -0500, Jordan Hargrave wrote: > From: Jordan Hargrave > > > > There currently isn't an easy way to determine which PCI devices belong > > to > > system slots. This patch adds support to read SMBIOS Type 9 (System > > Slots). > > I'm wondering, can't you use dmidecode or libsmbios to retrieve the > same information? > > -- > Jean Delvare > SUSE L3 Support You can but it's as not easy to determine the slot number for leaf devices on bridges. Eventually planning on using this for pulling slot number for identifying network cards and disk numbering for systemd -- 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/