head 1.9; access; symbols pkgsrc-2024Q4:1.8.0.8 pkgsrc-2024Q4-base:1.8 pkgsrc-2024Q3:1.8.0.6 pkgsrc-2024Q3-base:1.8 pkgsrc-2024Q2:1.8.0.4 pkgsrc-2024Q2-base:1.8 pkgsrc-2024Q1:1.8.0.2 pkgsrc-2024Q1-base:1.8 pkgsrc-2023Q4:1.7.0.8 pkgsrc-2023Q4-base:1.7 pkgsrc-2023Q3:1.7.0.6 pkgsrc-2023Q3-base:1.7 pkgsrc-2023Q2:1.7.0.4 pkgsrc-2023Q2-base:1.7 pkgsrc-2023Q1:1.7.0.2 pkgsrc-2023Q1-base:1.7 pkgsrc-2022Q4:1.6.0.6 pkgsrc-2022Q4-base:1.6 pkgsrc-2022Q3:1.6.0.4 pkgsrc-2022Q3-base:1.6 pkgsrc-2022Q2:1.6.0.2 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.5.0.18 pkgsrc-2022Q1-base:1.5 pkgsrc-2021Q4:1.5.0.16 pkgsrc-2021Q4-base:1.5 pkgsrc-2021Q3:1.5.0.14 pkgsrc-2021Q3-base:1.5 pkgsrc-2021Q2:1.5.0.12 pkgsrc-2021Q2-base:1.5 pkgsrc-2021Q1:1.5.0.10 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.8 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.5.0.6 pkgsrc-2020Q3-base:1.5 pkgsrc-2020Q2:1.5.0.4 pkgsrc-2020Q2-base:1.5 pkgsrc-2020Q1:1.5.0.2 pkgsrc-2020Q1-base:1.5 pkgsrc-2019Q4:1.4.0.10 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.6 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.4 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.2 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.3.0.26 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.24 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.22 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.20 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.18 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.16 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.12 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.10 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.8 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.6 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.4 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.2 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.2.0.10 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.8 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.6 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.4 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.2 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.1.0.48 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.46 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.44 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.42 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.40 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.38 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.36 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.34 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.32 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.30 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.28 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.26 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.24 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.22 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.20 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.18 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.16 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.14 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.12 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.10 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.8 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.6 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.4 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.2 pkgsrc-2008Q4-base:1.1; locks; strict; comment @# @; 1.9 date 2025.02.28.23.21.14; author pin; state dead; branches; next 1.8; commitid n41joKYkFHsI9iLF; 1.8 date 2024.02.25.15.08.50; author wiz; state Exp; branches; next 1.7; commitid iOfYD0efgx3biPZE; 1.7 date 2022.12.31.22.21.04; author msaitoh; state Exp; branches; next 1.6; commitid qs0LZ8ZBk34odL7E; 1.6 date 2022.05.13.23.50.46; author tnn; state Exp; branches; next 1.5; commitid bxRDfZxASTteaXDD; 1.5 date 2020.01.23.04.26.41; author msaitoh; state Exp; branches; next 1.4; commitid SpsdatOqz0h0LLTB; 1.4 date 2019.01.25.04.54.36; author msaitoh; state Exp; branches; next 1.3; commitid eFMed90YEeAgA79B; 1.3 date 2015.12.29.04.04.31; author dholland; state Exp; branches; next 1.2; commitid MGywJcTuFA0OoNOy; 1.2 date 2014.11.27.11.45.56; author msaitoh; state Exp; branches; next 1.1; commitid fttRUZgeFn3yIOZx; 1.1 date 2008.11.03.22.01.29; author bjs; state Exp; branches; next ; desc @@ 1.9 log @sysutils/pciutils: update to 3.13.0 2024-05-30 Martin Mares * Released as 3.13.0. * lspci decodes CXL 1.1 device link status information. This requires a recent kernel which exports rcd_* atributes via sysfs. * Further development of the pcilmr (the link margining utility) * Dump parsing supports 6-digit domain numbers. * Bug fixes in PCIe link state reporting. * Decode more fields in PCIe AER capability. * Fixed build on Linux systems with musl libc. * Updated pci.ids. 2024-04-05 Martin Mares * Released as 3.12.0. * lspci decodes the IDE (Integrity & Data Encryption) and TEE-IO extended capabilities. * Several bugs in back-ends for Windows were fixed and the README.Windows updated. * Fixed building on Haiku. * We now use more C99 features. * Optimization flags used for compiling individual object files should be the same as optimization flags for linking the final executable to make link-time optimization possible. * We no longer look up subsystems in the HWDB, because there is no API for querying only the subsystem. The lookup we used previously returned a device name if there was no entry for the particular subsystem. * Updated pci.ids. @ text @$NetBSD: patch-ab,v 1.8 2024/02/25 15:08:50 wiz Exp $ lspci on Linux is unprivileged and wants to go in bin, not sbin. But that breaks our PLIST so let's not bother with that. --- lib/configure.orig 2024-02-23 13:56:07.000000000 +0000 +++ lib/configure @@@@ -85,7 +85,6 @@@@ case $sys in ;; esac echo >>$c '#define PCI_HAVE_64BIT_ADDRESS' - LSPCIDIR=BINDIR ;; sunos) echo_n " mem-ports ecam" @@@@ -352,7 +351,7 @@@@ else echo >>$m 'PCILIB_LDFLAGS+=-Wl,--exclude-all-symbols' fi fi -echo >>$m 'PCILIBPC=$(LIBNAME).pc' +echo >>$m 'PCILIBPC=libpci.pc' if [ "$SHARED" != no ] && [ "$LIBEXT" = dll ]; then echo >>$m 'PCIIMPLIB=$(PCILIB).a' @ 1.8 log @pciutils: update to 3.11.1. 2024-02-25 Martin Mares * Released as 3.11.1. * Fixed wrong API version in lib/pci.h. * Updated README.Windows. * Fix compilation on Windows. 2024-02-24 Martin Mares * Released as 3.11.0. * update-pciids now supports XZ compression. If libpci is configured with support for compression, all downloaded files are recompressed as gzip. Otherwise they are stored as plain text. * update-pciids now sends itself as the User-Agent. * Added a pcilmr utility for PCIe lane margining. Thanks to Nikita Proshkin for contributing it. * Re-factored access to i386 ports on all relevant platforms. * Added i386 port access on OpenBSD. * Back-ends for Windows received many bug fixes and improvements. * ECAM back-end now scans ACPI and BIOS memory faster. * Linux systems without pread/pwrite are no longer supported as they are hopefully long gone. This helps avoid the tricky check for presence of pread which was found to fail on musl libc. * Improved decoding of PCIe control and status registers. * Decoding of CXL capabilities now supports up to CXL 3.0. * lspci now displays interrupt message numbers consistently across different capabilities. * Cache of IDs resolved via DNS, which was located in ~/.pci-ids by default, is now stored according to the XDG base directory specification in $XDG_CACHE_HOME/pci-ids. * All source files now have SPDX license identifiers. * Internal: The "aux" fields of structs pci_access and pci_dev reserved for use by back-ends were renamed to backend_data to better reflect their meaning. * As usually, various minor bug fixes and updated pci.ids. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.7 2022/12/31 22:21:04 msaitoh Exp $ @ 1.7 log @pciutils: Update to 3.9.0. 2022-11-20 Martin Mares * Released as 3.9.0. * We decode Compute Express Link (CXL) capabilities. * The tree mode of lspci is now compatible with filtering options. * When setpci is used with a named register, it checks whether the register is present in the particular header type. * Linux: The intel-conf[12] back-ends prefer to use ioperm() instead of iopl() to gain access to I/O ports. * Windows: We have two new back-ends thanks to Pali Rohár. One uses the NT SysDbg interface, the other uses kldbgdrv.sys (which is a part of the Microsoft WinDbg tool). * Windows: We support building libpci as a DLL. Also, Windows binaries now include meta-data with version. * Hurd: The Hurd back-end works again. * mmio-conf1(-ext): Added a new back-end implementing the intel-conf1 interface over MMIO. This is useful on some ARM machines, but it requires manual configuration of the MMIO addresses. * As usually, updated pci.ids to the current snapshot of the database. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.6 2022/05/13 23:50:46 tnn Exp $ d6 3 a8 3 --- lib/configure.orig 2022-11-18 22:15:08.000000000 +0900 +++ lib/configure 2022-11-24 18:48:25.439715651 +0900 @@@@ -82,7 +82,6 @@@@ case $sys in d15 2 a16 2 case $cpu in @@@@ -321,7 +320,7 @@@@ else @ 1.6 log @pciutils: fix PLIST issue on Linux @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2020/01/23 04:26:41 msaitoh Exp $ d6 3 a8 3 --- lib/configure.orig 2022-04-15 21:57:59.000000000 +0000 +++ lib/configure @@@@ -80,7 +80,6 @@@@ case $sys in d16 2 a17 2 @@@@ -301,7 +300,7 @@@@ else echo >>$m 'SONAME=-Wl,-soname,$(LIBNAME).$(LIBEXT)$(ABI_VERSION)' d23 2 a24 2 echo >>$c "#define PCILIB_VERSION \"$VERSION\"" sed '/"/{s/^#define \([^ ]*\) "\(.*\)"$/\1=\2/;p;d;};s/^#define \(.*\)/\1=1/' <$c >>$m @ 1.5 log @Update pciutils to 3.6.3. 2020-01-22 Martin Mares * Released as 3.6.3. * `lspci -t' (tree mode) can be combined with `-s' to show a sub-tree. We also fixed potential buffer overflows in the tree dumper. * Cleaned messy code for dumping of I/O, memory, and ROM regions. This helped fixing a bug, which caused some 64-bit regions to be reported as virtual. All flags are now printed after the address (previously, "[virtual]" and "[enhanced]" were before it for no good reason). * Added pci_find_cap_nr() to the library, which handles capabilities which occur multiple times in a single device. * Minor improvements in printing of PCIe capabilities. * We now decode the Multicast and Secondary PCI Express extended capabilities. * The list of capability names available to setpci was updated. * Minor bugs were fixed in FreeBSD and Solaris ports. * We now prefer HTTPS URLs in all documentation * The pci.ids file has a man page. * As usually, updated pci.ids to the current snapshot of the database. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2019/01/25 04:54:36 msaitoh Exp $ d3 14 a16 3 --- lib/configure.orig 2018-03-21 05:36:30.000000000 +0900 +++ lib/configure 2019-01-25 13:38:50.273095384 +0900 @@@@ -266,7 +267,7 @@@@ else @ 1.4 log @ Set PCI_HAVE_64BIT_ADDRESS for NetBSD. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2015/12/29 04:04:31 dholland Exp $ a4 8 @@@@ -116,6 +116,7 @@@@ case $sys in echo_n " nbsd-libpci" echo >>$c '#define PCI_HAVE_PM_NBSD_LIBPCI' echo >>$c '#define PCI_PATH_NBSD_DEVICE "/dev/pci0"' + echo >>$c '#define PCI_HAVE_64BIT_ADDRESS' echo >>$m 'LIBNAME=libpciutils' echo >>$m 'WITH_LIBS+=-lpci' LIBRESOLV= @ 1.3 log @Fix missing/broken rcsids. @ text @d1 1 a1 1 $NetBSD$ d3 11 a13 3 --- lib/configure.orig 2014-11-02 19:09:25.000000000 +0900 +++ lib/configure 2014-11-26 14:15:03.000000000 +0900 @@@@ -260,7 +260,7 @@@@ @ 1.2 log @Update to 3.3.0: * Device names exported by BIOS are displayed on Linux. * On Linux systems, HWDB is used to look up device names when our ID database gives no match. (More precisely, HWDB is consulted after local pci.ids, but before using network to query online pci.ids.) Thanks to Tom Gundersen for the initial patch. * Added experimental back-end for OS X / Darwin. Thanks to Richard Yao for providing it. * Filters now support matching by device class. Original patch by Matthew Wilcox, wrappers for ABI compatibility by me. * Interrupt Pin and Interrupt Line registers are displayed for bridge devices, too. * Several portability bugs have been fixed. * Several typos have been fixed. Also, use of questionable constructs in man pages has been reduced. * PCIe link capabilities now include the ASPMOptComp bit. * The "CRS Software Visibility" bit is now decoded properly. * Updated pci.ids to the current snapshot of the database. @ text @d1 2 @ 1.1 log @Update to version-3.0.2. Many, many changes--please see the ChangeLog for details, they are way too numerous to list here. Bump BUILDLINK_API_DEPENDS. TODO: use misc/pciids? @ text @d1 4 a4 6 $NetBSD$ --- lib/configure.orig 2008-09-19 14:04:37.000000000 -0400 +++ lib/configure @@@@ -179,7 +179,7 @@@@ else echo >>$m 'SONAME=-Wl,-soname,$(LIBNAME).so$(ABI_VERSION)' @