Skip to content

Support for PCI_FILL_DRIVER

Pali Rohár linux-pci 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4libpci: Define new string property PCI_FILL_DRIVERlib/pci.h+1 -00 replies
2/4libpci: proc: Implement support for PCI_FILL_DRIVERlib/proc.c+20 -20 replies
3/4libpci: sysfs: Implement support for PCI_FILL_DRIVERlib/sysfs.c+13 -00 replies
4/4lspci: Replace find_driver() via libpci PCI_FILL_DRIVERls-kernel.c+16 -400 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH pciutils 0/4] Support for PCI_FILL_DRIVER

Both procfs and sysfs provides information about used PCI driver. Add support for a new libpci string property PCI_FILL_DRIVER, fill it in both procfs ans sysfs provides and use it in lspci instead of lspci own sysfs code for retrieving driver.

This patch series is based on top of another patch series:
https://lore.kernel.org/linux-pci/[email protected]/t/

Pali Rohár (4):
libpci: Define new string property PCI_FILL_DRIVER
libpci: proc: Implement support for PCI_FILL_DRIVER
libpci: sysfs: Implement support for PCI_FILL_DRIVER
lspci: Replace find_driver() via libpci PCI_FILL_DRIVER

 lib/pci.h   |  1 +
 lib/proc.c  | 22 +++++++++++++++++++--
 lib/sysfs.c | 13 +++++++++++++
 ls-kernel.c | 56 +++++++++++++++--------------------------------------
 4 files changed, 50 insertions(+), 42 deletions(-)
Signature · 1 line
2.20.1