History log of /pciutils/lib/filter.c (Results 1 – 25 of 25)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v3.14.0, v3.13.0
# ef78f397 30-May-2024 Martin Mares <[email protected]>

ABI version bump for pci_fill_info()

We have new flags and new fields in struct pci_dev.


Revision tags: v3.12.0, v3.11.1, v3.11.0
# 61829219 18-Jun-2023 Martin Mares <[email protected]>

Update license comments and added SPDX license identifiers

Previously, the only information about the specific version of GPL
was present in the README and individual source files mentioned only
GPL

Update license comments and added SPDX license identifiers

Previously, the only information about the specific version of GPL
was present in the README and individual source files mentioned only
GPL alone.

Let us update all copyright comments to explicitly say "GPL v2+"
and also include the machine readable SPDX license identifier.

show more ...


Revision tags: v3.10.0
# a9f51446 04-Mar-2023 Martin Mares <[email protected]>

Filters: Allow leading "0x" for backward compatibility


Revision tags: v3.9.0
# 26a64f91 08-May-2022 Pali Rohár <[email protected]>

libpci: Do not call unversioned symbols from libpci itself

Windows version of GNU LD has bugs which cause that linker would translate
this unknown unversioned symbols to some random version.

So cha

libpci: Do not call unversioned symbols from libpci itself

Windows version of GNU LD has bugs which cause that linker would translate
this unknown unversioned symbols to some random version.

So change pci_fill_info() to pci_fill_info_v38() in lib/filter.c to ensure
that last version of this function would be used also by Windows version of
GNU LD linker.

Before this change GNU LD translated this function call to symbol
_pci_fill_info@LIBPCI_3.0. After this change GNU LD translate it to
_pci_fill_info@LIBPCI_3.8.

show more ...


# 0478e1f3 10-Aug-2022 Martin Mares <[email protected]>

Avoid adding multiple version tags to the same symbol

This is apparently forbidden in most versions of binutils.


Revision tags: v3.8.0
# f514df26 18-Apr-2022 Martin Mares <[email protected]>

Filters: Fixed symbol versioning


# 511122b8 15-Apr-2022 Martin Mares <[email protected]>

Filters now support partially specified classes and also prog-if's

Rewritten the filter parser, the old code was too twisted to extend.


# 119c1376 20-Nov-2021 Pali Rohár <[email protected]>

libpci: Add support for filling bridge resources

Extend libpci API and ABI to fill bridge resources from sysfs.


Revision tags: v3.7.0, v3.6.4, v3.6.3, v3.6.2, v3.6.1, v3.6.0, v3.5.6, v3.5.5, v3.5.4, v3.5.3, v3.5.2, v3.5.1, v3.5.0
# ab61451d 17-Mar-2016 Keith Busch <[email protected]>

pciutils: Add support for 32-bit PCI domains

This adds support for new host bridges that may create PCI domain number
values requiring more than 16 bits. The new domain 32-bit integer is
signed to a

pciutils: Add support for 32-bit PCI domains

This adds support for new host bridges that may create PCI domain number
values requiring more than 16 bits. The new domain 32-bit integer is
signed to allow -1 for "any", and is sufficient as the domain number
will never require the full 32-bits.

The domain field is appended at the end of struct pci_dev, and the
current location of the 16-bit domain remains for compatibility. The
domain number is truncated and copied into the legacy domain location
so existing applications linking to the library will continue to work
without modification. We accept that these applications may not work
correctly on machines with host bridges exporting 32-bit domains.

In order to force new programs to link to the new ABI, the pci_init
function call is versioned in this commit.

Signed-off-by: Keith Busch <[email protected]>

show more ...


# 558f736b 12-Feb-2016 Sean O. Stalley <[email protected]>

Add support for enhanced allocation regions

Append [enhanced] to Regions that contain the BEI flag in sysfs.
To do this, we need to add the resource flags to the pci_dev struct.
This struct is passe

Add support for enhanced allocation regions

Append [enhanced] to Regions that contain the BEI flag in sysfs.
To do this, we need to add the resource flags to the pci_dev struct.
This struct is passed through the libpci API, so we increment the API version number.

Don't truncate least significant bits of the region size.
ex: a 2000 byte region should display [size=2000] instead of [size=1K]

Signed-off-by: Sean O. Stalley <[email protected]>

show more ...


Revision tags: v3.4.1, v3.4.0
# 3218af50 14-Sep-2015 Martin Mares <[email protected]>

Updated fixed-version references to pci_fill_info


# 8ab74b69 13-Apr-2015 Lucas Stach <[email protected]>

Fix broken backward compat struct translation for pci filters

This seems to be a copy&paste error in both directions of the
compat translation.

Signed-off-by: Lucas Stach <[email protected]>


Revision tags: v3.3.1, v3.3.0
# 52aecc75 02-Nov-2014 Martin Mares <[email protected]>

Backward ABI compatibility for new filters and pci_fill_info

This is tricky, because we have to translate between old and new
format of struct pci_filter. At least, I added several RFU fields
so thi

Backward ABI compatibility for new filters and pci_fill_info

This is tricky, because we have to translate between old and new
format of struct pci_filter. At least, I added several RFU fields
so this hopefully won't have to happen again soon.

show more ...


# 4d1c9525 30-Sep-2014 Matthew Wilcox <[email protected]>

lspci: Add ability to filter by class code

Extend the 'filter by device ID' functionality to allow optional
specification of a device ID. For example, to list all USB controllers
in the system made

lspci: Add ability to filter by class code

Extend the 'filter by device ID' functionality to allow optional
specification of a device ID. For example, to list all USB controllers
in the system made by Intel, specify:

lspci -d 8086::0c03

Signed-off-by: Matthew Wilcox <[email protected]>

show more ...


Revision tags: v3.2.1, v3.2.0
# dbe1e0a6 01-Apr-2013 Martin Mares <[email protected]>

Use symbol versioning for our new member of struct pci_dev


Revision tags: v3.1.10, v3.1.9, v3.1.8, v3.1.7, v3.1.6, v3.1.5, v3.1.4, v3.1.3, v3.1.2, v3.1.1, v3.1.0, v3.1-alpha3, v3.1-alpha2, v3.1-alpha1
# 89c51b98 11-Nov-2008 Martin Mares <[email protected]>

Updated library ABI with proper versioning.


Revision tags: v3.0.3, v3.0.2, v3.0.1
# f2505ce4 26-Aug-2008 Martin Mares <[email protected]>

Let filters accept vendor and device 0xffff.

Thanks to Sebastian Herbszt for a bug report.


Revision tags: v3.0.0
# b9ca9147 22-Aug-2005 Martin Mares <[email protected]>

Fix parsing of domain filters

git-archimport-id: [email protected]/pciutils--main--2.2--patch-69


# 84c8d1bb 27-Dec-2003 Martin Mares <[email protected]>

Preliminary support for PCI domains

git-archimport-id: [email protected]/pciutils--main--2.2--patch-34


# 4284af58 27-Dec-2003 Martin Mares <[email protected]>

Removed "Linux" from the package name

git-archimport-id: [email protected]/pciutils--main--2.2--patch-32


# a832f6f1 26-Dec-2003 Martin Mares <[email protected]>

Fixed UNUSED

Replaced obsolete syntax of __attribute__((unused)) in the middle of
parameter declarations (which is no longer supported by GCC 3.1) by the
current syntax (attribute at the end). Thank

Fixed UNUSED

Replaced obsolete syntax of __attribute__((unused)) in the middle of
parameter declarations (which is no longer supported by GCC 3.1) by the
current syntax (attribute at the end). Thanks to [email protected]
for reporting this problem.
git-archimport-id: [email protected]/pciutils--main--2.2--patch-4

show more ...


# a85769a8 26-Dec-2003 Martin Mares <[email protected]>

Removed $Id$

Removed CVS $Id$ tags from all files.
git-archimport-id: [email protected]/pciutils--main--2.2--patch-3


# a27a33dd 30-Mar-2002 Martin Mares <[email protected]>

Changed all my email addresses to [email protected].


# cba7c00f 24-Mar-2002 Martin Mares <[email protected]>

(pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and function 7.


# 727ce158 22-Jan-1999 Martin Mares <[email protected]>

Rewrote the PCI Utilities. All PCI configuration space access has been
moved to a library which supports multiple access mechanisms: the current
/proc/bus/pci one, direct port access (needed for debu

Rewrote the PCI Utilities. All PCI configuration space access has been
moved to a library which supports multiple access mechanisms: the current
/proc/bus/pci one, direct port access (needed for debugging of kernel
PCI code and as a nice side-effect this makes pciutils work with 2.0
kernels, although only for root) and reading of configuration dumps.

This has been released as version 1.99.2-alpha. For detailed description
of changes, see the ChangeLog.

Can anybody test it on non-PC architectures, please? (Especially if you
have any 64-bit card.)

show more ...