]> mj.ucw.cz Git - pciutils.git/commit
libpci: Add new options for pci_fill_info: CLASS_EXT and SUBSYS
authorPali Rohár <pali@kernel.org>
Mon, 20 Dec 2021 21:07:28 +0000 (22:07 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 10 Feb 2022 12:49:35 +0000 (13:49 +0100)
commitb84f21545827cca1150bb53906257f80ebb5a84e
tree93f83a065d35472ed99592413716d400574540eb
parentccf68033a452cd32ac4c1f7d8618e79102bd08a8
libpci: Add new options for pci_fill_info: CLASS_EXT and SUBSYS

This change extends libpci library and allows providers to fill these
informations (Programming interface, Revision id and Subsystem ids) via
native system APIs, which sometimes may differs from what is stored in PCI
config space.

Programming interface is part of 24-bit Device Class number but apparently
libpci exports only high 16-bit of this number via device_class member.
lib/pci.h