Skip to content

PCI: rely on libpci exclusively

Pino Toscano requested to merge pino/kinfocenter:kcmpci-libpci-only into master

Currently libpci is already optional, and its lack will use per-OS PCI listing methods, which seem mostly outdated for the non-Linux OSes.

Considering that libpci (part of pciutils) is already ported on many OSes [1] than what supported in kinfocenter, then make it mandatory for the pci module.

[1] the upstream homepage lists the following OSes: Linux, FreeBSD, NetBSD, OpenBSD, GNU/kFreeBSD, Solaris/i386, AIX, GNU Hurd, Windows, CYGWIN, BeOS, Haiku, and Darwin, adding that

However, not everything is supported on all systems. Some back-ends are read-only, some access the I/O ports directly, which need not work reliably. The only back-end which has all the features is Linux with a recent kernel.

Merge request reports