]> git.ipfire.org Git - thirdparty/pciutils.git/log
thirdparty/pciutils.git
9 years agoFixing up release 3.3.1 to contain new pci.ids v3.3.1
Martin Mares [Thu, 9 Apr 2015 14:42:40 +0000 (16:42 +0200)] 
Fixing up release 3.3.1 to contain new pci.ids

9 years agoUpdate pci.ids to today's snapshot
Martin Mares [Thu, 9 Apr 2015 14:42:12 +0000 (16:42 +0200)] 
Update pci.ids to today's snapshot

9 years agoReleased as 3.3.1.
Martin Mares [Thu, 9 Apr 2015 14:36:55 +0000 (16:36 +0200)] 
Released as 3.3.1.

9 years agopread.h: Remove support for libc5
Felix Janda [Sun, 29 Mar 2015 08:59:32 +0000 (09:59 +0100)] 
pread.h: Remove support for libc5

The support code for libc5 breaks building on linux i386 with
other libcs that don't define __GLIBC__.

9 years agoMaint: Make sure that there are no Vim swap files in the tarball
Martin Mares [Thu, 22 Jan 2015 21:47:16 +0000 (22:47 +0100)] 
Maint: Make sure that there are no Vim swap files in the tarball

9 years agoFixed memory allocation bug in name cache path code
Martin Mares [Thu, 22 Jan 2015 21:44:49 +0000 (22:44 +0100)] 
Fixed memory allocation bug in name cache path code

9 years agoImproved listing of vendor-specific information
Martin Mares [Thu, 22 Jan 2015 21:42:33 +0000 (22:42 +0100)] 
Improved listing of vendor-specific information

9 years agoAdded test case for virtio
Martin Mares [Thu, 22 Jan 2015 21:31:24 +0000 (22:31 +0100)] 
Added test case for virtio

9 years agoAdd virtio vendor capability support
Gerd Hoffmann [Wed, 21 Jan 2015 15:35:04 +0000 (16:35 +0100)] 
Add virtio vendor capability support

virtio uses vendor-specific capabilities to specify the location of
the virtio register ranges.  The specification can be found here:

http://docs.oasis-open.org/virtio/virtio/v1.0/cs01/virtio-v1.0-cs01.html#x1-690004

This patch adds support for decoding these capabilities to lspci.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
9 years agoFix small memory leak in names-cache
Martin Mares [Fri, 12 Dec 2014 17:18:35 +0000 (18:18 +0100)] 
Fix small memory leak in names-cache

Signed-off-by: Tomáš Chvátal <tchvatal@suse.cz>
---
 lib/names-cache.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/names-cache.c b/lib/names-cache.c
index 90a6454..c97ea30 100644
--- a/lib/names-cache.c
+++ b/lib/names-cache.c
@@ -39,7 +39,8 @@ static char *get_cache_name(struct pci_access *a)
   buf = pci_malloc(a, strlen(pw->pw_dir) + strlen(name+1) + 1);
   sprintf(buf, "%s%s", pw->pw_dir, name+1);
   pci_set_param_internal(a, "net.cache_name", buf, 0);
-  return buf;
+  pci_mfree(buf);
+  return pci_get_param(a, "net.cache_name");
 }

 int
--
2.1.3

9 years agoMaintenance scripts now upload to kernel.org automatically
Martin Mares [Mon, 10 Nov 2014 14:01:01 +0000 (15:01 +0100)] 
Maintenance scripts now upload to kernel.org automatically

9 years agoChangeLog: Fix formatting so that it is parseable by maint/release v3.3.0
Martin Mares [Mon, 10 Nov 2014 13:46:15 +0000 (14:46 +0100)] 
ChangeLog: Fix formatting so that it is parseable by maint/release

9 years agoUpdated PCI_LIB_VERSION
Martin Mares [Mon, 10 Nov 2014 13:40:50 +0000 (14:40 +0100)] 
Updated PCI_LIB_VERSION

9 years agoReleased as 3.3.0.
Martin Mares [Mon, 10 Nov 2014 13:38:10 +0000 (14:38 +0100)] 
Released as 3.3.0.

9 years agoUpdated pci.ids to today's snapshot.
Martin Mares [Mon, 10 Nov 2014 13:34:12 +0000 (14:34 +0100)] 
Updated pci.ids to today's snapshot.

9 years agoChangeLog: Mention filtering by class
Martin Mares [Sun, 2 Nov 2014 11:14:56 +0000 (12:14 +0100)] 
ChangeLog: Mention filtering by class

9 years agoBackward ABI compatibility for new filters and pci_fill_info
Martin Mares [Sun, 2 Nov 2014 11:11:05 +0000 (12:11 +0100)] 
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.

9 years agolspci: Add ability to filter by class code
Matthew Wilcox [Tue, 30 Sep 2014 18:02:52 +0000 (14:02 -0400)] 
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 <matthew.r.wilcox@intel.com>
9 years agoUpdated ChangeLog
Martin Mares [Sun, 2 Nov 2014 10:35:29 +0000 (11:35 +0100)] 
Updated ChangeLog

9 years agoClean up man pages
Martin Mares [Sun, 2 Nov 2014 10:23:20 +0000 (11:23 +0100)] 
Clean up man pages

We do not call .IX as it's not defined in mandoc.
Ellipsis at the end of line is protected by \&.

Inspired by Debian patches for the following bugs:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674708
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=675087

9 years agoConfigure: HWDB is specific for Linux
Martin Mares [Sun, 2 Nov 2014 10:10:45 +0000 (11:10 +0100)] 
Configure: HWDB is specific for Linux

9 years agoChangeLog: Fixed a typo
Martin Mares [Sat, 1 Nov 2014 18:12:26 +0000 (19:12 +0100)] 
ChangeLog: Fixed a typo

9 years agoUpdated the READMEs
Martin Mares [Sat, 1 Nov 2014 18:11:11 +0000 (19:11 +0100)] 
Updated the READMEs

9 years agoRewritten support for UDEV's HWDB
Martin Mares [Sat, 1 Nov 2014 17:38:08 +0000 (18:38 +0100)] 
Rewritten support for UDEV's HWDB

HWDB is now handled in a way very similar to the DNS resolver.

The interface lives in a separate source file (lib/names-hwdb.c),
results of lookups are cached. Use of HWDB can be disabled either
by passing PCI_LOOKUP_NO_HWDB or by setting the hwdb.disabled
configuration parameter.

Also, there should be no more leaks of libudev's structures.

9 years agolibpci: pci_id_lookup - add udev/hwdb support
Tom Gundersen [Mon, 30 Dec 2013 18:59:53 +0000 (19:59 +0100)] 
libpci: pci_id_lookup - add udev/hwdb support

This lets you select hwdb support at compile time.

hwdb is an efficient hardware database shipped with recent versions of udev. It contains
among other sources pci.ids so querying hwdb rather than reading pci.ids directly should give
the same result.

Ideally Linux distros using udev could stop shipping pci.ids, but use hwdb as the only source
of this information, which this patch allows.

Cc: Martin Mares <mj@ucw.cz>
9 years agoUpdated pci.ids to today's snapshot
Martin Mares [Sat, 1 Nov 2014 16:33:05 +0000 (17:33 +0100)] 
Updated pci.ids to today's snapshot

9 years agoWork around problems with symbol versioning in globally optimizing GCC
Martin Mares [Sat, 1 Nov 2014 16:28:28 +0000 (17:28 +0100)] 
Work around problems with symbol versioning in globally optimizing GCC

9 years agoDevice labels must be requested via PCI_FILL_LABELS
Martin Mares [Sat, 1 Nov 2014 16:11:17 +0000 (17:11 +0100)] 
Device labels must be requested via PCI_FILL_LABELS

The previous implementation handled labels differently from all
other device properties, which was illogical.

9 years agoManual: Mention Darwin in the list of access methods
Martin Mares [Sat, 1 Nov 2014 15:59:19 +0000 (16:59 +0100)] 
Manual: Mention Darwin in the list of access methods

9 years agoDarwin: Yet more renaming
Martin Mares [Sat, 1 Nov 2014 15:56:51 +0000 (16:56 +0100)] 
Darwin: Yet more renaming

9 years agoDarwin: More renames
Martin Mares [Sat, 1 Nov 2014 15:56:22 +0000 (16:56 +0100)] 
Darwin: More renames

9 years agoDarwin: Renamed to darwin.c
Martin Mares [Sat, 1 Nov 2014 15:55:17 +0000 (16:55 +0100)] 
Darwin: Renamed to darwin.c

9 years agoDarwin: Re-indent to match the rest of libpci and update file header
Martin Mares [Sat, 1 Nov 2014 15:54:34 +0000 (16:54 +0100)] 
Darwin: Re-indent to match the rest of libpci and update file header

I hope that I got the attribution right.

9 years agoBetter work-around for missing symbol versioning on Darwin
Martin Mares [Sat, 1 Nov 2014 15:49:42 +0000 (16:49 +0100)] 
Better work-around for missing symbol versioning on Darwin

9 years agoFix building shared libraries on Darwin
Richard Yao [Mon, 20 Oct 2014 03:13:06 +0000 (23:13 -0400)] 
Fix building shared libraries on Darwin

The original patch by Apple did not support building shared libraries on
Darwin. This corrects that oversight. It also fixes a few other
miscellaneous issues like incorrect platform detection and the lack of
an entry in the README file.

Signed-off-by: Richard Yao <ryao@gentoo.org>
9 years agoFix whitespace errors
Martin Mares [Sat, 1 Nov 2014 15:39:32 +0000 (16:39 +0100)] 
Fix whitespace errors

9 years agoImport initial Darwin Support from Apple
Richard Yao [Mon, 20 Oct 2014 03:13:05 +0000 (23:13 -0400)] 
Import initial Darwin Support from Apple

Apple published a patch that adds Darwin support to pciutils. It is not
complete, but it does not appear to cause a build failure on other
platforms. For the sake of attribution purposes, it is being kept
separate from additional changes to make pciutils build properly on
Darwin.

https://www.opensource.apple.com/source/IOPCIFamily/IOPCIFamily-224.92.1/tools/pciutils3.2.0.patch.c

This patch differs slightly from Apple's original patch by omitting the
Makefile.rej that Apple had incorrectly included in the patch that it
placed on its server.

Signed-off-by: Richard Yao <ryao@gentoo.org>
9 years agoFix endianity detection on Solaris
Martin Mares [Sat, 1 Nov 2014 15:31:49 +0000 (16:31 +0100)] 
Fix endianity detection on Solaris

Patch by Philip Brown.

9 years agolspci: Correct Root Capabilities "CRS Software Visibility" bit
Bjorn Helgaas [Tue, 2 Sep 2014 04:03:46 +0000 (22:03 -0600)] 
lspci: Correct Root Capabilities "CRS Software Visibility" bit

lspci incorrectly tests bit 4, not bit 0, for "CRS Software Visibility" in
the Root Capabilities register, so it shows "RootCap: CRSVisible-" even for
devices that do support Software Visibility.

Use the correct definition for PCI_EXP_RTCAP_CRSVIS.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
9 years agolspci: Decode Interrupt Pin and Interrupt Line for PCI-PCI bridges
Bjorn Helgaas [Sat, 8 Mar 2014 00:26:17 +0000 (17:26 -0700)] 
lspci: Decode Interrupt Pin and Interrupt Line for PCI-PCI bridges

Bridges can implement interrupt pins, so decode this information.  See
PCI-to-PCI Bridge spec r1.2, sec 3.2.5.17.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
9 years agoClean up reading of device labels
Martin Mares [Sat, 1 Nov 2014 15:21:49 +0000 (16:21 +0100)] 
Clean up reading of device labels

9 years agolspci: Show device name as exported by BIOS (sysfs label attribute) (V2)
Thomas Renninger [Tue, 28 Jan 2014 07:51:02 +0000 (08:51 +0100)] 
lspci: Show device name as exported by BIOS (sysfs label attribute) (V2)

The Device name of a PCI or PCI Express device under OS may be exported via
ACPI _DSM function with function index 7.
This allows to connect a described PCI device in the platform documentation
or as labeled on the chassis with PCI devices shown via lspci.
The kernel already exports this string through sysfs under a PCI device through
the "label" sysfs attribute.

This patch reads the device name if available and shows it to the user.
Real world examples:
  Device Name: "USB HS EHCI Controller #2 #3"
  Device Name: "USB HS EHCI Controller #1"
  Device Name: "SATA Controller #1"
  Device Name: "Onboard LAN #1"
  Device Name: "Onboard LAN #2"
  Device Name: "Onboard Video (PILOT-3)"

Compare with PCI Firmware Spec v3.1 chapter 4.6.7 and
ACPI spec v5.0 chapter 9.14.1

The DeviceName is not shown by default, but starting from first verbose
parameter (-v).

V2: - Free label string if allocated
    - Enhance changelog

Signed-off-by: Thomas Renninger <trenn@suse.de>
CC: linux-pci@vger.kernel.org
9 years agoAvoid C99 constructions
François Revol [Wed, 18 Dec 2013 13:11:42 +0000 (14:11 +0100)] 
Avoid C99 constructions

This fixes building pciutils on Haiku.

Signed-off-by: François Revol <revol@free.fr>
9 years ago<asm/io.h> does not exist any more
Martin Mares [Sat, 1 Nov 2014 15:17:58 +0000 (16:17 +0100)] 
<asm/io.h> does not exist any more

Thanks to John Spencer for bringing this to attention.

9 years agoDo not forget to include <stdio.h>
Martin Mares [Sat, 1 Nov 2014 15:17:19 +0000 (16:17 +0100)] 
Do not forget to include <stdio.h>

Suggested by John Spencer.

10 years agolspci: Decode ASPMOptComp bit in LnkCap register
Martin Mares [Tue, 25 Feb 2014 10:37:28 +0000 (11:37 +0100)] 
lspci: Decode ASPMOptComp bit in LnkCap register

Patch by Robert Elliott from HP.

10 years agoFixed a typo in messages printed in map mode
Martin Mares [Tue, 10 Dec 2013 19:54:34 +0000 (20:54 +0100)] 
Fixed a typo in messages printed in map mode

10 years agomaint/tag-release: Use my kernel.org key to sign releases v3.2.1
Martin Mares [Sun, 10 Nov 2013 12:40:07 +0000 (13:40 +0100)] 
maint/tag-release: Use my kernel.org key to sign releases

10 years agoReleased as 3.2.1.
Martin Mares [Sun, 10 Nov 2013 12:22:17 +0000 (13:22 +0100)] 
Released as 3.2.1.

10 years agoUpdated pci.ids to today's snapshot
Martin Mares [Sun, 10 Nov 2013 12:17:26 +0000 (13:17 +0100)] 
Updated pci.ids to today's snapshot

10 years agosysfs: Do not warn on incomplete slot addresses
Martin Mares [Sun, 10 Nov 2013 11:39:19 +0000 (12:39 +0100)] 
sysfs: Do not warn on incomplete slot addresses

Based on a patch by Zheng Huai Cheng <zhenghch@linux.vnet.ibm.com>.

10 years agolspci: Drop PCIe LnkCtl "Retrain Link" decoding
Bjorn Helgaas [Mon, 9 Sep 2013 23:14:21 +0000 (17:14 -0600)] 
lspci: Drop PCIe LnkCtl "Retrain Link" decoding

Per PCIe spec r3.0, Table 7-16, the Retrain Link bit is writable but
always returns 0 when read, so decoding it gives no useful information.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
10 years agolspci: Decode PCIe LnkCtl "Read Completion Boundary" for PCIe-to-PCI bridges
Bjorn Helgaas [Mon, 9 Sep 2013 23:14:14 +0000 (17:14 -0600)] 
lspci: Decode PCIe LnkCtl "Read Completion Boundary" for PCIe-to-PCI bridges

The PCIe spec (r3.0, Table 7-16) says the Read Completion Boundary is valid
for Root Ports, Endpoints, and Bridges.  I only added decoding for PCIe-to-
PCI/PCI-X bridges because the RCB of a Bridge indicates the RCB of the
upstream Root Port, so I don't think it makes sense for PCI-to-PCIe
bridges.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
10 years agolspci: Clarify "PCIe-to-PCI/PCI-X" desc and Bridge Retry Config Enable
Bjorn Helgaas [Mon, 9 Sep 2013 23:14:07 +0000 (17:14 -0600)] 
lspci: Clarify "PCIe-to-PCI/PCI-X" desc and Bridge Retry Config Enable

The PCI_EXP_TYPE_PCI_BRIDGE type is a PCIe to PCI/PCI-X bridge, so be a bit
more complete in the comment and printed device type.  Also, per PCIe spec
r3.0, Table 7-14, the PCIe Device Control "Bridge Configuration Retry
Enable" bit only applies to PCIe-to-PCI/PCI-X bridges; it does not apply to
PCI-to-PCIe bridges.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
10 years agolspci: Decode PCIe DevCap/DevCtl FLReset only for Endpoints
Bjorn Helgaas [Mon, 9 Sep 2013 23:14:00 +0000 (17:14 -0600)] 
lspci: Decode PCIe DevCap/DevCtl FLReset only for Endpoints

The PCIe Device Capabilities and Control bits related to Function
Level Reset are valid only for Endpoints, so only decode them in
that case.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
10 years agolspci: Decode PCIe DevCap "Acceptable Latencies" only for Endpoints
Bjorn Helgaas [Mon, 9 Sep 2013 23:13:53 +0000 (17:13 -0600)] 
lspci: Decode PCIe DevCap "Acceptable Latencies" only for Endpoints

The PCIe Device Capabilities "Endpoint L0s Acceptable Latency" and
"Endpoint L1 Acceptable Latency" are defined only for Endpoint functions,
so don't display them unless this is an endpoint.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
10 years agolspci: Label PCIe LnkCap "L0s Exit Latency" as "L0s", not "L0"
Bjorn Helgaas [Mon, 9 Sep 2013 23:13:45 +0000 (17:13 -0600)] 
lspci: Label PCIe LnkCap "L0s Exit Latency" as "L0s", not "L0"

The PCIe Link Capabilities "L0s Exit Latency" is the latency to exit
L0s, not L0, so label it "L0s" instead of "L0".  This matches the
way we label the Device Capabilities "Endpoint L0s Acceptable Latency"
field as "Latency L0s".  This also adds "Exit" to the description to
help distinguish it from the "Acceptable Latency" fields in the
Device Capabilities register.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
10 years agolspci: Decode PCIe Link registers only for devices with links
Bjorn Helgaas [Wed, 28 Aug 2013 19:08:34 +0000 (13:08 -0600)] 
lspci: Decode PCIe Link registers only for devices with links

Root Complex Integrated Endpoints and Root Complex Event Collectors do not
have links and are not permitted to implement Link or Link 2 registers,
per PCIe spec r3.0, sec 1.3.2.3.  Decoding them is useless and misleading.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
10 years agolspci: Make output of L1 PM cap consistent with other caps
Martin Mares [Tue, 11 Jun 2013 07:49:23 +0000 (09:49 +0200)] 
lspci: Make output of L1 PM cap consistent with other caps

10 years agoAdded a test case for the L1 PM capability
Martin Mares [Tue, 11 Jun 2013 07:47:58 +0000 (09:47 +0200)] 
Added a test case for the L1 PM capability

Based on data contributed by David Box.

10 years agolspci: Add L1 PM Substate capability reporting
David Box [Tue, 11 Jun 2013 01:09:59 +0000 (18:09 -0700)] 
lspci: Add L1 PM Substate capability reporting

Expose available L1 substate capabilities that can enable lower power
consumption when a PCIe Link is idle.

Signed-off-by: David Box <david.e.box@linux.intel.com>
10 years agolspci: Fully decode ASPM support from Link Capabilities
Bjorn Helgaas [Fri, 17 May 2013 19:48:19 +0000 (13:48 -0600)] 
lspci: Fully decode ASPM support from Link Capabilities

The ASPM Support field in Link Capabilities is two bits, and all four
possible encodings are defined as of PCIe spec r3.0.  Previously, lspci
only decoded values 1, 2, and 3.  This adds 0, so lspci will show "ASPM
not supported" instead of "ASPM unknown".

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
11 years agolspci: Display CardBus bridge capabilities
Matthew Wilcox [Sat, 20 Apr 2013 13:45:32 +0000 (07:45 -0600)] 
lspci: Display CardBus bridge capabilities

CardBus bridges can have capabilities, but the CAP_PTR register is at a
different location.  This one has Power Management:

CardBus bridge: O2 Micro, Inc. OZ711SP1 Memory CardBus Controller (rev 01)
+       Capabilities: [a0] Power Management version 2

11 years agomaint/KORG-NOTES: Private maintainer's notes about kernel.org
Martin Mares [Fri, 19 Apr 2013 13:25:06 +0000 (15:25 +0200)] 
maint/KORG-NOTES: Private maintainer's notes about kernel.org

11 years agomaint/release: metalab.unc.edu does not accept submissions any longer
Martin Mares [Fri, 19 Apr 2013 13:21:48 +0000 (15:21 +0200)] 
maint/release: metalab.unc.edu does not accept submissions any longer

11 years agoReleased as 3.2.0. v3.2.0
Martin Mares [Fri, 19 Apr 2013 12:59:12 +0000 (14:59 +0200)] 
Released as 3.2.0.

11 years agoUpdated pci.ids to today's snapshot
Martin Mares [Fri, 19 Apr 2013 12:47:32 +0000 (14:47 +0200)] 
Updated pci.ids to today's snapshot

11 years agolspci: Better filtering of duplicate kernel module names
Martin Mares [Fri, 19 Apr 2013 11:33:52 +0000 (13:33 +0200)] 
lspci: Better filtering of duplicate kernel module names

It was implemented only for reading modules.pcimap, but it turned out
that it is necessary for libkmod, too, so we have switched to a common
implementation.

11 years agoMinor cleanup of the previous patch
Martin Mares [Mon, 1 Apr 2013 20:11:04 +0000 (22:11 +0200)] 
Minor cleanup of the previous patch

11 years agoinstall: split out pcilib install to a dedicated target
Kevin Pyle [Tue, 31 Jan 2012 15:50:43 +0000 (10:50 -0500)] 
install: split out pcilib install to a dedicated target

The "install" target manages one set of files, and the "install-pcilib"
target manages a different set.  They both install the pci library though
so if you try to run `make -j install install-pcilib`, things randomly
fail.  So split out the commonly installed files into a dedicated target.

11 years agolib/configure: match all freebsd os's
Marek Cruz [Tue, 31 Jan 2012 15:50:47 +0000 (10:50 -0500)] 
lib/configure: match all freebsd os's

When using targets like "i686-pc-freebsd7.1", the configure script fails
to match for the freebsd target because it only expects "freebsd".  Add
a glob to match all freebsd targets.

11 years agoSquash an unused variable warning
Martin Mares [Mon, 1 Apr 2013 19:25:51 +0000 (21:25 +0200)] 
Squash an unused variable warning

11 years agosetpci: ~0UL should be ~0U, no longs are involved anymore
Martin Mares [Mon, 1 Apr 2013 19:24:03 +0000 (21:24 +0200)] 
setpci: ~0UL should be ~0U, no longs are involved anymore

11 years agoConfigure: pkg-config can be overridden by $PKG_CONFIG
Martin Mares [Mon, 1 Apr 2013 19:23:44 +0000 (21:23 +0200)] 
Configure: pkg-config can be overridden by $PKG_CONFIG

11 years agoOn newer Linux systems, use libkmod to look up kernel modules
Martin Mares [Mon, 1 Apr 2013 13:44:12 +0000 (15:44 +0200)] 
On newer Linux systems, use libkmod to look up kernel modules

With modutils built upon libkmod, modules.pcimap does not exist
any longer.

11 years agoUse symbol versioning for our new member of struct pci_dev
Martin Mares [Mon, 1 Apr 2013 13:42:50 +0000 (15:42 +0200)] 
Use symbol versioning for our new member of struct pci_dev

11 years agoDetection of module aliases (Linux sysfs only)
Martin Mares [Mon, 1 Apr 2013 13:40:10 +0000 (15:40 +0200)] 
Detection of module aliases (Linux sysfs only)

This will be needed to support libkmod.

11 years agoFixed logic error in pci_open()
Martin Mares [Thu, 6 Dec 2012 16:05:15 +0000 (17:05 +0100)] 
Fixed logic error in pci_open()

Previously, pci_open() sometimes crashed with ID list names
shorter than 3 characters.

11 years agoReleased as 3.1.10. v3.1.10
Martin Mares [Mon, 25 Jun 2012 12:47:28 +0000 (14:47 +0200)] 
Released as 3.1.10.

11 years agoUpdated pci.ids to today's snapshot
Martin Mares [Mon, 25 Jun 2012 12:44:57 +0000 (14:44 +0200)] 
Updated pci.ids to today's snapshot

11 years agoDisplay whether LTR/OBFF are supported and enabled
Mika Westerberg [Fri, 8 Jun 2012 10:00:04 +0000 (13:00 +0300)] 
Display whether LTR/OBFF are supported and enabled

DEVCAP2 and DEVCTL2 capabilities contain information whether LTR and OBFF
are supported and enabled. Make sure this is displayed to user as well.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
11 years agoOnly decode defined fields of PCI Express Link Control 2
Ben Hutchings [Thu, 17 May 2012 14:14:16 +0000 (15:14 +0100)] 
Only decode defined fields of PCI Express Link Control 2

On a PCI Express multi-function device associated with an upstream
port, all bits of the Link Control 2 register are currently reserved
on functions > 0.

The Selectable De-emphasis field is reserved on all but downstream
ports.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
11 years agopciutils: correct VC status display
J.L. Burr [Sat, 5 May 2012 10:02:27 +0000 (06:02 -0400)] 
pciutils: correct VC status display

I think there is a bug displaying the virtual channel status bits
"NegoPending" and "InProgress".  The wrong offset is being used.

Signed-off-by: John L. Burr <jlburr@cadence.com>
11 years agoFix syntax error when PCI_COMPRESSED_IDS is empty.
Ville Skyttä [Sun, 20 May 2012 21:35:19 +0000 (00:35 +0300)] 
Fix syntax error when PCI_COMPRESSED_IDS is empty.

11 years agolspci: zero address in IO isn't always unassigned
Aaron Sierra [Fri, 25 May 2012 19:11:39 +0000 (14:11 -0500)] 
lspci: zero address in IO isn't always unassigned

Zero is a valid address in I/O space, so display it and it's associated
size when IO is enabled in the PCI command register.

From arch/powerpc/kernel/pci-common.c:

/* Here, we are a bit different than memory as typically IO space
 * starting at low addresses -is- valid. What we do instead [is] that
 * we consider as unassigned anything that doesn't have IO enabled
 * in the PCI command register, and that's it.
 */

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
12 years agoRelease scripts: Revived kernel.org Git repo
Martin Mares [Sat, 14 Jan 2012 14:45:27 +0000 (15:45 +0100)] 
Release scripts: Revived kernel.org Git repo

12 years agoReleased as 3.1.9. v3.1.9
Martin Mares [Sat, 14 Jan 2012 14:38:27 +0000 (15:38 +0100)] 
Released as 3.1.9.

12 years agopci.ids no longer mention sf.net, too
Martin Mares [Sat, 14 Jan 2012 14:35:45 +0000 (15:35 +0100)] 
pci.ids no longer mention sf.net, too

12 years agoUpdated pci.ids to the today's snapshot
Martin Mares [Sat, 14 Jan 2012 14:30:40 +0000 (15:30 +0100)] 
Updated pci.ids to the today's snapshot

12 years agoupdate-pciids: Download from pci-ids.ucw.cz
Martin Mares [Sat, 14 Jan 2012 14:29:43 +0000 (15:29 +0100)] 
update-pciids: Download from pci-ids.ucw.cz

12 years agoREADME: Miscellaneous updates
Martin Mares [Sat, 14 Jan 2012 14:26:19 +0000 (15:26 +0100)] 
README: Miscellaneous updates

  o  Added link to a new home page
  o  pci-ids.ucw.cz is now listed as the primary place,
     sf.net remains as a mirror

12 years agoCorrect the end of CardBus memory windows
Bjorn Helgaas [Wed, 11 Jan 2012 21:16:19 +0000 (14:16 -0700)] 
Correct the end of CardBus memory windows

The low twelve bits of memory base/limit are assumed to be all zeros
and all ones, respectively.  Therefore, a window with base == limit
is a valid 4K window, which we should display by default, and the
true end of the window is ...fff, not ...000.  For example,

    05:07.0 CardBus bridge: Texas Instruments PCIxx12 Cardbus Controller
    ...
-     Memory window 0: 88000000-8bfff000 (prefetchable)
+     Memory window 0: 88000000-8bffffff (prefetchable)

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
12 years agoFix check whether dump.name was given
Ville Skyttä [Fri, 11 Nov 2011 07:40:25 +0000 (09:40 +0200)] 
Fix check whether dump.name was given

12 years agoAdd PCIe Gen 3 speeds and link status fields
Martin Mares [Tue, 8 Nov 2011 18:23:10 +0000 (19:23 +0100)] 
Add PCIe Gen 3 speeds and link status fields

Patch by Adrian Huang.

12 years agoFixed a typo in a troff command
Martin Mares [Mon, 10 Oct 2011 20:52:34 +0000 (22:52 +0200)] 
Fixed a typo in a troff command

Reported by Ville Skyttä.

12 years agoRelease scripts: added a script for signed tagging of releases
Martin Mares [Sun, 2 Oct 2011 11:34:34 +0000 (13:34 +0200)] 
Release scripts: added a script for signed tagging of releases

12 years agoReleased as 3.1.8. v3.1.8
Martin Mares [Sun, 2 Oct 2011 11:31:45 +0000 (13:31 +0200)] 
Released as 3.1.8.

12 years agoRelease scripts: Skip kernel.org before it comes back up
Martin Mares [Sun, 2 Oct 2011 11:31:20 +0000 (13:31 +0200)] 
Release scripts: Skip kernel.org before it comes back up

12 years agoRelease scripts: sign the tarball using GPG
Martin Mares [Sun, 2 Oct 2011 11:30:49 +0000 (13:30 +0200)] 
Release scripts: sign the tarball using GPG

12 years agopci.ids: Fix capitalization of "USB controller"
Martin Mares [Sun, 2 Oct 2011 10:59:06 +0000 (12:59 +0200)] 
pci.ids: Fix capitalization of "USB controller"