]> mj.ucw.cz Git - pciutils.git/commit
libpci: Define new string property PCI_FILL_DRIVER
authorPali Rohár <pali@kernel.org>
Mon, 27 Dec 2021 13:04:59 +0000 (14:04 +0100)
committerMartin Mares <mj@ucw.cz>
Thu, 10 Feb 2022 12:49:35 +0000 (13:49 +0100)
commit2b883e3fd5ad2da5351599f327cc76006e2ef2f0
tree0197a1eb756ede0006517c6a20ad06926bde1dec
parentfd9c6a29a32659287cb7be52b2f2ca638cda35ad
libpci: Define new string property PCI_FILL_DRIVER

This change extends libpci library and allows providers to fill
PCI_FILL_DRIVER via native system APIs. As it is string property there is
no need to increase ABI version.

Intended usage in application is just:

  const char *driver = pci_get_string_property(d->dev, PCI_FILL_DRIVER);
lib/pci.h