diff options
author | Martin Mares <mj@ucw.cz> | 2024-03-13 18:55:25 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2024-03-13 18:55:25 +0100 |
commit | 0c196072071434fd46e70fd0b170cf071e09d504 (patch) | |
tree | bd90a72d92126945df7c3376fdc101fbc9d54a4f | |
parent | 9b31027f1d78c75bc41c5511ca50545a66229b59 (diff) | |
parent | 4c19d58638fca585f330c48ac5951ca88aed9452 (diff) | |
download | pciutils-0c196072071434fd46e70fd0b170cf071e09d504.tar.gz |
Merge remote-tracking branch 'github/master'
-rwxr-xr-x | lib/configure | 3 | ||||
-rw-r--r-- | lspci.man | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/lib/configure b/lib/configure index 3df057a..d02160b 100755 --- a/lib/configure +++ b/lib/configure @@ -208,6 +208,9 @@ case $sys in echo >>$c '#define PCI_PATH_DEVMEM_DEVICE "/dev/misc/mem"' echo >>$c '#define PCI_PATH_ACPI_MCFG ""' echo >>$c '#define PCI_PATH_EFI_SYSTAB ""' + if [ "$sys" != "beos" ] ; then + LIBRESOLV=-lnetwork + fi ;; sylixos) echo >>$c '#define PCI_PATH_SYLIXOS_DEVICE "/proc/pci"' @@ -116,7 +116,7 @@ Show PCI vendor and device codes as both numbers and names. Use DNS to query the central PCI ID database if a device is not found in the local .B pci.ids file. If the DNS query succeeds, the result is cached in -.B ~/.pciids-cache +.B $XDG_CACHE_HOME/pci-ids and it is recognized in subsequent runs even if .B -q is not given any more. Please use this switch inside automated scripts only @@ -345,7 +345,7 @@ utility to download the most recent version. .B @IDSDIR@/pci.ids.gz If lspci is compiled with support for compression, this file is tried before pci.ids. .TP -.B ~/.pciids-cache +.B $XDG_CACHE_HOME/pci-ids All ID's found in the DNS query mode are cached in this file. .SH BUGS |