Re: [PATCH] Add support for reading SMBIOS Slot number for PCI devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 13, 2015 at 09:57:32AM -0500, Jordan Hargrave wrote:
> On Mon, Jul 13, 2015 at 2:35 AM, Jean Delvare <jdelvare@xxxxxxx> wrote:
> 
> > Hi Jordan,
> >
> > On Fri, 10 Jul 2015 17:02:46 -0500, Jordan Hargrave wrote:
> > > From: Jordan Hargrave <Jordan_Hargrave@xxxxxxxx>
> > >
> > > 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

Can you outline the problems with using dmidecode or libsmbios?
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux