lkml.org 
[lkml]   [2015]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Add support for reading SMBIOS Slot number for PCI devices
From
On Mon, Jul 13, 2015 at 2:35 AM, Jean Delvare <jdelvare@suse.de> wrote:
>
> Hi Jordan,
>
On Fri, 10 Jul 2015 17:02:46 -0500, Jordan Hargrave wrote:
> From: Jordan Hargrave <Jordan_Hargrave@dell.com>
> >
> > 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


\
 
 \ /
  Last update: 2015-07-13 17:41    [W:0.064 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site