]> git.ipfire.org Git - thirdparty/pciutils.git/log
thirdparty/pciutils.git
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"

12 years agoTruncate names which are too long
Martin Mares [Sun, 2 Oct 2011 10:41:07 +0000 (12:41 +0200)] 
Truncate names which are too long

When any name turned out too long, we returned "<pci_lookup_name: buffer too small>",
which wasn't very useful. Instead of that, we truncate the name and
we add "..." at the end.

Please note that for simplicity, the truncation happens only on systems with proper
C99 snprintf(). Ancient systems where snprintf() returns a negative number and
promises nothing about the state of the buffer still use the error message.

12 years agosetpci.man: Clarify cases in which access width can be omitted
Martin Mares [Sun, 2 Oct 2011 10:27:19 +0000 (12:27 +0200)] 
setpci.man: Clarify cases in which access width can be omitted

12 years agopkg-config: Use Libs.private for libraries needed for static linking
Martin Mares [Sun, 2 Oct 2011 09:53:49 +0000 (11:53 +0200)] 
pkg-config: Use Libs.private for libraries needed for static linking

12 years agoUpdated pci.ids to the current snapshot
Martin Mares [Sun, 2 Oct 2011 09:07:33 +0000 (11:07 +0200)] 
Updated pci.ids to the current snapshot

13 years agoTPH and LTR capability reporting
Martin Mares [Wed, 18 May 2011 08:54:32 +0000 (10:54 +0200)] 
TPH and LTR capability reporting

Report information about transaction processing hints and latency
tolerance reporting capabilities, if present.

Patch by Jesse Barnes

13 years agoReleased 3.1.8-test1 to check the port changes
Martin Mares [Sat, 4 Dec 2010 20:34:52 +0000 (21:34 +0100)] 
Released 3.1.8-test1 to check the port changes

13 years agoBeOS and Haiku ports
François Revol [Tue, 30 Nov 2010 21:44:50 +0000 (21:44 +0000)] 
BeOS and Haiku ports

The BeOS port uses private syscalls exported by libroot.so to implement the intel access methods.
The Haiku port uses ioctls to the /dev/misc/poke device driver (use originally for debugging with
/bin/poke) to implement the intel access methods. BeOS has non-standard arch names, so we map them
to i386 and powerpc in the configure. Updated README and pcilib.man accordingly.

Signed-off-by: François Revol <revol@free.fr>
13 years agoAvoid unsupported printf format attribute when building with gcc2 (required for BeOS).
François Revol [Tue, 30 Nov 2010 21:19:06 +0000 (21:19 +0000)] 
Avoid unsupported printf format attribute when building with gcc2 (required for BeOS).

Signed-off-by: François Revol <revol@free.fr>
13 years agoMoved #include <unistd.h> to pciutils.h and avoid it on Windows
Martin Mares [Sat, 4 Dec 2010 17:49:05 +0000 (18:49 +0100)] 
Moved #include <unistd.h> to pciutils.h and avoid it on Windows

13 years agoBe ISO C89 compliant (still needed for MSVC)
Martin Mares [Sat, 4 Dec 2010 17:47:46 +0000 (18:47 +0100)] 
Be ISO C89 compliant (still needed for MSVC)

13 years agocompat/getopt.c: Fixed a typo in declaration of getopt_long()
Martin Mares [Sat, 4 Dec 2010 17:33:09 +0000 (18:33 +0100)] 
compat/getopt.c: Fixed a typo in declaration of getopt_long()

13 years agoupdate-pciids: Be more friendly to people who tweak the settings
Martin Mares [Sun, 24 Oct 2010 08:17:55 +0000 (10:17 +0200)] 
update-pciids: Be more friendly to people who tweak the settings

If somebody changes PCI_COMPRESSED_IDS to 0 manually, honor this
setting.

Suggested by Guido Trentalancia.

14 years agoReleased 3.1.7. v3.1.7
Martin Mares [Sun, 31 Jan 2010 17:42:44 +0000 (18:42 +0100)] 
Released 3.1.7.

14 years agoMinor improvements to decoding of the VC cap
Martin Mares [Sun, 31 Jan 2010 17:40:18 +0000 (18:40 +0100)] 
Minor improvements to decoding of the VC cap

Position of the PAT and size of its entries are now fully decoded.

14 years agoAdded a test case for the VC capability with a port arbitration table
Martin Mares [Sun, 31 Jan 2010 17:24:31 +0000 (18:24 +0100)] 
Added a test case for the VC capability with a port arbitration table

Thanks to John Burr for the dump.

14 years agoImproved formatting of PCIe port/slot capabilities
Martin Mares [Thu, 28 Jan 2010 10:14:40 +0000 (11:14 +0100)] 
Improved formatting of PCIe port/slot capabilities

The power limit is now limited to 3 decimal places and it always
includes units (watts), Port# and Slot# are both printed in decimal.
(Previously, the behavior was inconsistent between ports and slots.)

14 years agoFixed out of bounds access in VC cap formatting
Martin Mares [Thu, 28 Jan 2010 10:09:38 +0000 (11:09 +0100)] 
Fixed out of bounds access in VC cap formatting

14 years agoReleased as 3.1.6. v3.1.6
Martin Mares [Sun, 24 Jan 2010 00:02:22 +0000 (01:02 +0100)] 
Released as 3.1.6.

14 years agoUpdated (c) years.
Martin Mares [Sun, 24 Jan 2010 00:02:15 +0000 (01:02 +0100)] 
Updated (c) years.

14 years agoAdded a note on the Power Budgeting cap
Martin Mares [Sat, 23 Jan 2010 21:51:11 +0000 (22:51 +0100)] 
Added a note on the Power Budgeting cap

14 years agoUpdated the list of missing capabilities in TODO
Martin Mares [Sat, 23 Jan 2010 21:43:49 +0000 (22:43 +0100)] 
Updated the list of missing capabilities in TODO

14 years agoDecoding of the SATA HBA capability
Martin Mares [Sat, 23 Jan 2010 21:39:53 +0000 (22:39 +0100)] 
Decoding of the SATA HBA capability

14 years agoDecoding of the Vendor-Specific Capabilities (both PCI and PCIe)
Martin Mares [Sat, 23 Jan 2010 21:31:08 +0000 (22:31 +0100)] 
Decoding of the Vendor-Specific Capabilities (both PCI and PCIe)

14 years agoCleaned up decoding of the Virtual Channel cap using the new macros
Martin Mares [Sat, 23 Jan 2010 21:09:30 +0000 (22:09 +0100)] 
Cleaned up decoding of the Virtual Channel cap using the new macros

14 years agoDecoding of the Root Complex Link capability
Martin Mares [Sat, 23 Jan 2010 21:06:39 +0000 (22:06 +0100)] 
Decoding of the Root Complex Link capability

14 years agoAdded helper macros BITS and TABLE
Martin Mares [Sat, 23 Jan 2010 21:06:19 +0000 (22:06 +0100)] 
Added helper macros BITS and TABLE

14 years agoAdded a test case for Virtual Channel and Root Complex Link caps
Martin Mares [Sat, 23 Jan 2010 20:36:36 +0000 (21:36 +0100)] 
Added a test case for Virtual Channel and Root Complex Link caps

14 years agoDecoding of the Virtual Channel capability
Martin Mares [Sat, 23 Jan 2010 20:30:00 +0000 (21:30 +0100)] 
Decoding of the Virtual Channel capability

Almost complete, only the arbitration tables are not printed
as I do not have any test data for them.

All extended capabilities are now printed with a version number
if verbosity is 2 or more.

14 years agoReleased as 3.1.5. v3.1.5
Martin Mares [Tue, 19 Jan 2010 09:36:48 +0000 (10:36 +0100)] 
Released as 3.1.5.