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

14 years agoIt's 2010 now
Martin Mares [Tue, 19 Jan 2010 09:36:12 +0000 (10:36 +0100)] 
It's 2010 now

14 years agoUpdated pci.ids to the current snapshot
Martin Mares [Tue, 19 Jan 2010 09:19:43 +0000 (10:19 +0100)] 
Updated pci.ids to the current snapshot

14 years agoAdded a test case for broken extended capabilities
Martin Mares [Tue, 19 Jan 2010 09:03:59 +0000 (10:03 +0100)] 
Added a test case for broken extended capabilities

See also Bug #57772 in Mandriva Bugzilla.

14 years agoAvoid unaligned accesses to extended capabilities.
Martin Mares [Sat, 16 Jan 2010 11:10:09 +0000 (12:10 +0100)] 
Avoid unaligned accesses to extended capabilities.

The PCIe spec tells that all capabilities must be DWORD aligned and the bottom
2 bits of all capability pointers are reserved for future use and must be
ignored when read.

Should fix Mandriva bug #56772.

14 years agoShorten BAR size suffixes
Martin Mares [Sun, 22 Nov 2009 17:18:31 +0000 (18:18 +0100)] 
Shorten BAR size suffixes

`[size=2MiB]' looks too ugly and too long. Replaced by `[size=2M]'.

14 years agoImprove large BAR display
Matthew Wilcox [Fri, 20 Nov 2009 21:30:50 +0000 (14:30 -0700)] 
Improve large BAR display

lspci currently displays anything larger than 2GB as a raw number.
I have a device with a larger BAR and wanted to see that reported as
a multiple of a GB.

I took the opportunity to rewrite this routine to make it easier to add
higher powers in the future.  It's also slightly shorter, which is nice.
I also changed it to use the binary prefixes, much as I dislike them
personally.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
14 years agoFixed a typo in setpci man page.
Martin Mares [Tue, 29 Sep 2009 16:17:15 +0000 (18:17 +0200)] 
Fixed a typo in setpci man page.

(Patch from Debian package.)

14 years agoFixed freeing of capabilities.
Martin Mares [Tue, 29 Sep 2009 16:14:23 +0000 (18:14 +0200)] 
Fixed freeing of capabilities.

The previous version was outright silly.

14 years agoUpdate win32/config.mk
Martin Mares [Wed, 16 Sep 2009 08:15:43 +0000 (10:15 +0200)] 
Update win32/config.mk

14 years agoDo not include <pwd.h> et al. unless PCI_USE_DNS
Martin Mares [Wed, 16 Sep 2009 08:11:58 +0000 (10:11 +0200)] 
Do not include <pwd.h> et al. unless PCI_USE_DNS

Solves compilation problems on Windows.

14 years agoMerge branch 'master' of git+ssh://git.ucw.cz/home/mj/GIT/pciutils
Martin Mares [Fri, 21 Aug 2009 09:55:36 +0000 (11:55 +0200)] 
Merge branch 'master' of git+ssh://git.ucw.cz/home/mj/GIT/pciutils

14 years agoFix spelling of surprise
Ed Swierk [Thu, 20 Aug 2009 22:35:46 +0000 (15:35 -0700)] 
Fix spelling of surprise

It's surprise, not surpise or suprise.

Signed-off-by: Ed Swierk <eswierk@aristanetworks.com>
14 years agoMake Physical Slot work for multifunction cards
Matthew Wilcox [Fri, 14 Aug 2009 12:55:09 +0000 (14:55 +0200)] 
Make Physical Slot work for multifunction cards

I have some multifunction cards in a machine which supports physical
slots.  Currently, lspci only displays the Physical Slot for the last
function in the slot.  I believe it should display it for all of them.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
14 years agoMended the ChangeLog, so that it is parseable by maint/release v3.1.4
Martin Mares [Fri, 14 Aug 2009 12:41:14 +0000 (14:41 +0200)] 
Mended the ChangeLog, so that it is parseable by maint/release

14 years agoReleased as 3.1.4.
Martin Mares [Fri, 14 Aug 2009 12:33:52 +0000 (14:33 +0200)] 
Released as 3.1.4.

14 years agoUpdated to the today's snapshot.
Martin Mares [Fri, 14 Aug 2009 12:33:19 +0000 (14:33 +0200)] 
Updated to the today's snapshot.

14 years agoAdded a copy of the GPL. Oh, those lawyers...
Martin Mares [Fri, 14 Aug 2009 12:16:57 +0000 (14:16 +0200)] 
Added a copy of the GPL. Oh, those lawyers...

14 years agoFixed FILE leak in the dump back-end
Martin Mares [Mon, 10 Aug 2009 14:33:15 +0000 (16:33 +0200)] 
Fixed FILE leak in the dump back-end

Closes https://bugzilla.novell.com/show_bug.cgi?id=529469

14 years agolspci: Let the SR-IOV code dump 64-bit addresses even with 32-bit pciaddr_t.
Martin Mares [Sun, 12 Jul 2009 20:48:14 +0000 (22:48 +0200)] 
lspci: Let the SR-IOV code dump 64-bit addresses even with 32-bit pciaddr_t.

14 years agolspci: Whitespace cleanup of the previous SR-IOV patch.
Martin Mares [Sun, 12 Jul 2009 20:41:01 +0000 (22:41 +0200)] 
lspci: Whitespace cleanup of the previous SR-IOV patch.

14 years agolspci: Show SR-IOV VF BARs
Chris Wright [Sat, 11 Jul 2009 00:55:26 +0000 (17:55 -0700)] 
lspci: Show SR-IOV VF BARs

When decoding the PCIe SR-IOV capability, cap_sriov() doesn't show the
VF BARs.  This patch shows basic information about the VF BARs (doesn't
include size, for example).

Signed-off-by: Chris Wright <chrisw@sous-sol.org>
14 years agoReleased as 3.1.3. v3.1.3
Martin Mares [Sat, 4 Jul 2009 16:10:03 +0000 (18:10 +0200)] 
Released as 3.1.3.

14 years agoUpdated pci.ids to the daily snapshot.
Martin Mares [Sat, 4 Jul 2009 16:09:27 +0000 (18:09 +0200)] 
Updated pci.ids to the daily snapshot.

14 years agolspci.man: Improved description of -M
Martin Mares [Sat, 4 Jul 2009 14:08:18 +0000 (16:08 +0200)] 
lspci.man: Improved description of -M

14 years agolspci: Warn against using -M with the sysfs back-end
Martin Mares [Sat, 4 Jul 2009 14:05:56 +0000 (16:05 +0200)] 
lspci: Warn against using -M with the sysfs back-end

14 years agoFixed compilation of GNU/kFreeBSD
Martin Mares [Sat, 4 Jul 2009 13:54:54 +0000 (15:54 +0200)] 
Fixed compilation of GNU/kFreeBSD

LIBRESOLV should be used on GNU/kFreeBSD.

Thanks to Petr Salinger for noticing that.

14 years agofile timestamp not needed in pci.ids.gz
Gilles Espinasse [Fri, 26 Jun 2009 09:37:47 +0000 (11:37 +0200)] 
file timestamp not needed in pci.ids.gz

File timestamp (and file name) have no use for pci.ids.gz
This allow to produce the exact same file even when compiled at different times.
That make paranoid happy.

Even gzip-1.2.4 from 1993 support -n option

Concerning the fact that -n did not include file name, that does not matter
unless the compressed file is moved under a different name and later -N option
 is used to open the file.

[chroot-i486] root:/$ gzip -9 /usr/share/pci.ids
[chroot-i486] root:/$ gzip -l /usr/share/pci.ids.gz
         compressed        uncompressed  ratio uncompressed_name
             161106              590309  72.7% /usr/share/pci.ids
[chroot-i486] root:/$ mv /usr/share/pci.ids.gz /usr/share/pci.foo.gz
[chroot-i486] root:/$ gzip -lN /usr/share/pci.foo.gz
         compressed        uncompressed  ratio uncompressed_name
             161106              590309  72.7% /usr/share/pci.ids
[chroot-i486] root:/$ gzip -dN /usr/share/pci.foo.gz
[chroot-i486] root:/$ ls -l /usr/share/pci.ids
-rw-r--r-- 1 root root 590309 Jun 26 07:59 /usr/share/pci.ids

[chroot-i486] root:/$ gzip -9n /usr/share/pci.ids
[chroot-i486] root:/$ mv /usr/share/pci.ids.gz /usr/share/pci.foo.gz
[chroot-i486] root:/$ gzip -lN /usr/share/pci.foo.gz
         compressed        uncompressed  ratio uncompressed_name
             161098              590309  72.7% /usr/share/pci.foo

Signed-off-by: Gilles Espinasse <g.esp@free.fr>
14 years agoAdded a test case for the PCI AF capability
Yu Zhao [Fri, 26 Jun 2009 02:45:36 +0000 (10:45 +0800)] 
Added a test case for the PCI AF capability

(an integrated USB controller on Intel DX58SO motherboard)

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
14 years agoMerge branch 'master' of git+ssh://git.ucw.cz/home/mj/GIT/pciutils
Martin Mares [Sat, 4 Jul 2009 13:44:23 +0000 (15:44 +0200)] 
Merge branch 'master' of git+ssh://git.ucw.cz/home/mj/GIT/pciutils

14 years agolspci: support PCI Advanced Features capability
Yu Zhao [Fri, 26 Jun 2009 02:45:35 +0000 (10:45 +0800)] 
lspci: support PCI Advanced Features capability

The capability is defined by
http://www.pcisig.com/specifications/conventional/pci_30/ECN_Conventional_Adv_Caps_27Jul06.pdf

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
14 years agolspci -t: Only show the domain at the root of the tree
Matthew Wilcox [Sat, 4 Jul 2009 13:42:06 +0000 (15:42 +0200)] 
lspci -t: Only show the domain at the root of the tree

Children always have the same domain as their parents, so it's redundant
information, and it makes the tree display too wide.

14 years agoImprove the VPD fix to warn the user that VPD decoding was aborted.
Martin Mares [Sat, 4 Jul 2009 13:33:31 +0000 (15:33 +0200)] 
Improve the VPD fix to warn the user that VPD decoding was aborted.

14 years agoStop early if the VPD is corrupt
Matthew Wilcox [Wed, 13 May 2009 21:44:46 +0000 (15:44 -0600)] 
Stop early if the VPD is corrupt

I have several cards which report more-or-less garbage in their VPD.
It can take an extraordinarily long time to read all their VPD and none
of it is of interest.  Instead, if we find an unknown resource type,
just stop trying to read any more.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
14 years agoImprove MSI and MSI-X display
Matthew Wilcox [Wed, 13 May 2009 21:43:53 +0000 (15:43 -0600)] 
Improve MSI and MSI-X display

There are several ways I think the MSI and MSI-X capabilities could be
reported better in lspci.

Enable is at the beginning of the MSI-X report, but the end of the
MSI report.  Because Enabled is perhaps the most important thing,
I moved it to the start.

The TabSize reported for MSI-X is perhaps a little obscure.  I feel
'Count' works better (and is then the same as MSI).  We can't readily
tell which of the MSI-X capabilities have been programmed, so we can't
report how many have been enabled.

Both capabilities report 'Mask'.  Unfortunately, in MSI, it indicates
whether the device supports per-vector masking, and in MSI-X it indicates
whether all the vectors are masked.  This patch changes both; MSI reports
'Maskable' and MSI-X reports 'Masked'.

All these changes combine to turn the report from this:

        Capabilities: [60] MSI: Mask+ 64bit+ Count=1/8 Enable-
        Capabilities: [78] MSI-X: Enable+ Mask- TabSize=8

to this:

        Capabilities: [60] MSI: Enable- Count=1/8 Maskable+ 64bit+
        Capabilities: [78] MSI-X: Enable+ Count=8 Masked-

which I find much less confusing when juxtaposed.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
14 years agoproc: Work around broken /proc/bus/pci/ on some architectures.
Martin Mares [Mon, 29 Jun 2009 17:55:24 +0000 (19:55 +0200)] 
proc: Work around broken /proc/bus/pci/ on some architectures.

Several architectures (e.g., sparc64) use domains in proc directory
names, which is inconsistent, because /proc/bus/pci/devices is still
unable to represent domains.

Work around it, so that the proc back-end works at least on single-domain
machines.

Suggested by Matthew Wilcox.

14 years agosysfs: Avoid warnings when the slot address is missing.
Matthew Wilcox [Mon, 29 Jun 2009 11:07:41 +0000 (05:07 -0600)] 
sysfs: Avoid warnings when the slot address is missing.

14 years agolspci: Print vendor-/system-specific VPD item ids correctly
Ben Hutchings [Mon, 29 Jun 2009 16:41:56 +0000 (17:41 +0100)] 
lspci: Print vendor-/system-specific VPD item ids correctly

Vendor- and system-specific VPD items are matched only by their first
character, so we cannot read the item id from the matching structure.
There is a similar issue with unknown VPD items, which is handled by
creating a matching structure dynamically.

We can handle both cases using the static matching structure and the
actual item id, so do that.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
15 years agoMake MSI-X table size match the spec
Michael S. Tsirkin [Sun, 3 May 2009 07:13:09 +0000 (10:13 +0300)] 
Make MSI-X table size match the spec

MSI-X table size is 11 bits, not 10. See also PCI_MSIX_FLAGS_QSIZE
in linux/pci_regs.h. Make PCI_MSIX_TABSIZE match that.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
15 years agoDocument that pci_dev->base_addr[] contains addresses with flags.
Martin Mares [Mon, 13 Apr 2009 18:39:03 +0000 (20:39 +0200)] 
Document that pci_dev->base_addr[] contains addresses with flags.

15 years agoCorrect Device Serial Number output
Matthew Wilcox [Fri, 27 Feb 2009 13:20:04 +0000 (06:20 -0700)] 
Correct Device Serial Number output

We are currently printing the Device Serial Number backwards.  Ben
Hutchings noticed that the DSN was an EUI-64 (derived from a MAC
address), but printed backwards.  Before:

        Capabilities: [140] Device Serial Number 97-62-84-ff-ff-3b-1f-00

After:
        Capabilities: [140] Device Serial Number 00-1f-3b-ff-ff-84-62-97

The MAC address is:

wlan0     Link encap:Ethernet  HWaddr 00:1f:3b:84:62:97

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
15 years agoSupport PM No_Soft_Reset bit in lspci
Yu Zhao [Tue, 24 Feb 2009 09:29:40 +0000 (17:29 +0800)] 
Support PM No_Soft_Reset bit in lspci

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
15 years agoReleased as 3.1.2. v3.1.2
Martin Mares [Sun, 1 Feb 2009 16:49:32 +0000 (17:49 +0100)] 
Released as 3.1.2.

15 years agoOne more fix for the syntax error checks in setpci argument parser.
Martin Mares [Sun, 1 Feb 2009 14:52:19 +0000 (15:52 +0100)] 
One more fix for the syntax error checks in setpci argument parser.

15 years agoReleased as 3.1.1. v3.1.1
Martin Mares [Fri, 30 Jan 2009 13:25:28 +0000 (14:25 +0100)] 
Released as 3.1.1.

15 years agoUpdated pci.ids to the today's snapshot.
Martin Mares [Fri, 30 Jan 2009 13:19:07 +0000 (14:19 +0100)] 
Updated pci.ids to the today's snapshot.

15 years agoconfigure: Set LC_ALL globally.
Martin Mares [Fri, 30 Jan 2009 13:07:15 +0000 (14:07 +0100)] 
configure: Set LC_ALL globally.

Fixes problems with character ranges in calls to `tr' spotted in some
locales by Mike Frysinger.

15 years agosetpci: Fixed a typo in parsing of values, causing SIGSEGV on some bad inputs.
Martin Mares [Fri, 30 Jan 2009 13:05:13 +0000 (14:05 +0100)] 
setpci: Fixed a typo in parsing of values, causing SIGSEGV on some bad inputs.

Patch by Andreas Wiese.

15 years ago$(PCILIB): respect $(LDFLAGS) when linking
Mike Frysinger [Thu, 29 Jan 2009 18:50:31 +0000 (13:50 -0500)] 
$(PCILIB): respect $(LDFLAGS) when linking

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
15 years agoFixed a typo in the ChangeLog.
Martin Mares [Sun, 18 Jan 2009 22:18:17 +0000 (23:18 +0100)] 
Fixed a typo in the ChangeLog.

15 years agoReleased as 3.1.0. v3.1.0
Martin Mares [Sun, 18 Jan 2009 22:11:31 +0000 (23:11 +0100)] 
Released as 3.1.0.

15 years agoUpdated pci.ids to the snapshot of the day.
Martin Mares [Sun, 18 Jan 2009 22:10:56 +0000 (23:10 +0100)] 
Updated pci.ids to the snapshot of the day.

15 years agoUpdated ChangeLog.
Martin Mares [Sun, 18 Jan 2009 22:08:41 +0000 (23:08 +0100)] 
Updated ChangeLog.

15 years agoDisplay some PCIe extended capabilities only when verbose level >= 2
Yu Zhao [Sun, 4 Jan 2009 08:13:51 +0000 (16:13 +0800)] 
Display some PCIe extended capabilities only when verbose level >= 2

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
15 years agoDon't display 'disabled' for a virtual base address
Yu Zhao [Sun, 4 Jan 2009 08:10:39 +0000 (16:10 +0800)] 
Don't display 'disabled' for a virtual base address

Don't display 'disabled' for the virtual base address since the resource
is reported by the OS not the hardware, which means the IO/MEM enable bits
in the command register may be invalid.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
15 years agoRemove 64-bit BAR handling code for bus centric view
Yu Zhao [Sun, 4 Jan 2009 08:09:08 +0000 (16:09 +0800)] 
Remove 64-bit BAR handling code for bus centric view

Remove the redundant 64-bit BAR handling code, since it's already taken
care of by generic/proc/sysfs methods code.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
15 years agoFix inconsistent bus centric view between the sysfs and proc methods
Yu Zhao [Sun, 4 Jan 2009 08:03:45 +0000 (16:03 +0800)] 
Fix inconsistent bus centric view between the sysfs and proc methods

The vendor and device IDs may be different when using sysfs and proc
methods with bus centric view enabled. The sysfs method reads the IDs
from the configuration space rather than uses the values from sysfs
entries. But the proc method always uses values from the proc files.
This fix makes the proc method use the values from the configuration
space too for bus centric view.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
15 years agoFixed configure to work with Cygwin on Windows Vista.
Martin Mares [Fri, 16 Jan 2009 19:06:41 +0000 (20:06 +0100)] 
Fixed configure to work with Cygwin on Windows Vista.

Thanks to Jonathan Kotta.