1*b72f3827SMartin Mares2017-11-17 Martin Mares <[email protected]> 2*b72f3827SMartin Mares 3*b72f3827SMartin Mares * Released as 3.5.6. 4*b72f3827SMartin Mares 5*b72f3827SMartin Mares * Improvements of the FreeBSD back-end: read-only access for non-root, 6*b72f3827SMartin Mares support DragonFly BSD, support extended config space. 7*b72f3827SMartin Mares 8*b72f3827SMartin Mares * MN VPD keyword is decoded correctly. 9*b72f3827SMartin Mares 10*b72f3827SMartin Mares * As usually, updated pci.ids to the current snapshot of the database. 11*b72f3827SMartin Mares 12dfd15a80SMartin Mares2017-07-05 Martin Mares <[email protected]> 13dfd15a80SMartin Mares 14dfd15a80SMartin Mares * Released as 3.5.5. 15dfd15a80SMartin Mares 16dfd15a80SMartin Mares * Better decoding of AER capability. 17dfd15a80SMartin Mares 18dfd15a80SMartin Mares * "Slot Implemented" flag is decoded for PCI/PCI-X to PCIe bridges. 19dfd15a80SMartin Mares 20dfd15a80SMartin Mares * Minor fixes of decoding other capabilities. 21dfd15a80SMartin Mares 22dfd15a80SMartin Mares * As usually, updated pci.ids to the current snapshot of the database. 23dfd15a80SMartin Mares 249f9e373bSMartin Mares2017-02-25 Martin Mares <[email protected]> 259f9e373bSMartin Mares 269f9e373bSMartin Mares * Released as 3.5.4. 279f9e373bSMartin Mares 289f9e373bSMartin Mares * Previous version broke compilation on systems, for which lib/types.h 299f9e373bSMartin Mares did not provide a 64-bit integer type. It is provided everywhere now. 309f9e373bSMartin Mares 312ee7d45aSMartin Mares2017-02-15 Martin Mares <[email protected]> 322ee7d45aSMartin Mares 332ee7d45aSMartin Mares * Released as 3.5.3. 342ee7d45aSMartin Mares 352ee7d45aSMartin Mares * When lspci looks for Linux kernel modules, it uses the default 362ee7d45aSMartin Mares path to module directory provided by libkmod. Previously, 372ee7d45aSMartin Mares it tried to construct the path explicitly, which need not 382ee7d45aSMartin Mares work on all systems. 392ee7d45aSMartin Mares 402ee7d45aSMartin Mares * Improved formatting of memory and I/O ranges behind a bridge. 412ee7d45aSMartin Mares 422ee7d45aSMartin Mares * PCIe link capabilities now display GEN4 speed (16GT/s). 432ee7d45aSMartin Mares 442ee7d45aSMartin Mares * PCIe device capabilities now show bits related to atomic operations. 452ee7d45aSMartin Mares Thanks to Satanand Burla for a patch. 462ee7d45aSMartin Mares 472ee7d45aSMartin Mares * As usually, updated pci.ids to the current snapshot of the database. 482ee7d45aSMartin Mares 494a190235SMartin Mares2016-10-03 Martin Mares <[email protected]> 504a190235SMartin Mares 514a190235SMartin Mares * Released as 3.5.2. 524a190235SMartin Mares 534a190235SMartin Mares * The L1 power management capability is now decoded more 544a190235SMartin Mares thoroughly. Thanks to Rajat Jain for the patch. 554a190235SMartin Mares 564a190235SMartin Mares * The table of configuration registers used by setpci 574a190235SMartin Mares had a bug in the definition of SUBSYSTEM_VENDOR_ID. 584a190235SMartin Mares 592f8b8f9fSMartin Mares2016-05-22 Martin Mares <[email protected]> 602f8b8f9fSMartin Mares 612f8b8f9fSMartin Mares * Released as 3.5.1. 622f8b8f9fSMartin Mares 632f8b8f9fSMartin Mares * Fixed symbol versioning of pci_init(). 642f8b8f9fSMartin Mares 65ab6ed5fdSMartin Mares2016-05-19 Martin Mares <[email protected]> 66ab6ed5fdSMartin Mares 67ab6ed5fdSMartin Mares * Released as 3.5.0. 68ab6ed5fdSMartin Mares 69ab6ed5fdSMartin Mares * New capabilities decoded: Downstream Port Containment, 70ab6ed5fdSMartin Mares Precision Time Measurement. Thanks to Keith Busch and 71ab6ed5fdSMartin Mares Jonathan Yong. 72ab6ed5fdSMartin Mares 73ab6ed5fdSMartin Mares * Domain numbers extended to 31 bits. This will be used by the 74ab6ed5fdSMartin Mares Linux kernel on some machines in near future. 75ab6ed5fdSMartin Mares 76ab6ed5fdSMartin Mares * Enhanced allocation regions are now decoded on Linux. 77ab6ed5fdSMartin Mares 78ab6ed5fdSMartin Mares * The NetBSD back-end supports PCIe extended configuration space. 79ab6ed5fdSMartin Mares 80ab6ed5fdSMartin Mares * Updated pci.ids to the current snapshot of the database. 81ab6ed5fdSMartin Mares 8237c9315cSMartin Mares2016-01-03 Martin Mares <[email protected]> 8337c9315cSMartin Mares 8437c9315cSMartin Mares * Released as 3.4.1. 8537c9315cSMartin Mares 8637c9315cSMartin Mares * New capabilities decoded: Process Address Space, Page Request 8737c9315cSMartin Mares Interface, Enhanced Allocation. Thanks to David Daney and 8837c9315cSMartin Mares David Woodhouse. 8937c9315cSMartin Mares 9037c9315cSMartin Mares * DevCap SlotPowerLimit is now decoded for all components with 9137c9315cSMartin Mares upstream ports. 9237c9315cSMartin Mares 9337c9315cSMartin Mares * Database mirror at SourceForge moved to GitHub. 9437c9315cSMartin Mares 9537c9315cSMartin Mares * Updated pci.ids to the current snapshot of the database. 9637c9315cSMartin Mares 97508c53ebSMartin Mares2015-09-14 Martin Mares <[email protected]> 98508c53ebSMartin Mares 99508c53ebSMartin Mares * Released as 3.4.0. 100508c53ebSMartin Mares 101508c53ebSMartin Mares * On Linux, we report NUMA nodes of devices. 102508c53ebSMartin Mares 103508c53ebSMartin Mares * The sysfs back-end does not die on read errors 104508c53ebSMartin Mares of optional attributes. Instead, a warning is produced. 105508c53ebSMartin Mares 106508c53ebSMartin Mares * Fixed several minor bugs. 107508c53ebSMartin Mares 108508c53ebSMartin Mares * Updated pci.ids to the current snapshot of the database. 109508c53ebSMartin Mares 110949f4469SMartin Mares2015-04-09 Martin Mares <[email protected]> 111949f4469SMartin Mares 112949f4469SMartin Mares * Released as 3.3.1. 113949f4469SMartin Mares 114949f4469SMartin Mares * Removed hacks for backward compatibility with Linux libc5, 115949f4469SMartin Mares which were breaking newer non-glibc Linux systems. Thanks 116949f4469SMartin Mares to Felix Janda. 117949f4469SMartin Mares 118949f4469SMartin Mares * Display VirtIO vendor-specific capability. Patch by Gerd 119949f4469SMartin Mares Hoffmann. 120949f4469SMartin Mares 121949f4469SMartin Mares * Fixed memory leak in name cache. 122949f4469SMartin Mares 1233bc4dd2cSMartin Mares * Updated pci.ids to the current snapshot of the database. 1243bc4dd2cSMartin Mares 125f14d4d87SMartin Mares2014-11-10 Martin Mares <[email protected]> 126f14d4d87SMartin Mares 1271481a1caSMartin Mares * Released as 3.3.0. 1281481a1caSMartin Mares (celebrating a one-year anniversary of the previous version :)) 12928617b24SMartin Mares 13028617b24SMartin Mares * Device names exported by BIOS are displayed on Linux. 13128617b24SMartin Mares 13228617b24SMartin Mares * On Linux systems, HWDB is used to look up device names 13328617b24SMartin Mares when our ID database gives no match. (More precisely, 13428617b24SMartin Mares HWDB is consulted after local pci.ids, but before using 13528617b24SMartin Mares network to query online pci.ids.) Thanks to Tom Gundersen 13628617b24SMartin Mares for the initial patch. 13728617b24SMartin Mares 13828617b24SMartin Mares * Added experimental back-end for OS X / Darwin. Thanks to 13928617b24SMartin Mares Richard Yao for providing it. 14028617b24SMartin Mares 141afb881ccSMartin Mares * Filters now support matching by device class. Original 142afb881ccSMartin Mares patch by Matthew Wilcox, wrappers for ABI compatibility 143afb881ccSMartin Mares by me. 144afb881ccSMartin Mares 14528617b24SMartin Mares * Interrupt Pin and Interrupt Line registers are displayed 14628617b24SMartin Mares for bridge devices, too. 14728617b24SMartin Mares 14828617b24SMartin Mares * Several portability bugs have been fixed. 14928617b24SMartin Mares 15028617b24SMartin Mares * Several typos have been fixed. Also, use of questionable 15128617b24SMartin Mares constructs in man pages has been reduced. 15228617b24SMartin Mares 15328617b24SMartin Mares * PCIe link capabilities now include the ASPMOptComp bit. 15428617b24SMartin Mares 15528617b24SMartin Mares * The "CRS Software Visibility" bit is now decoded properly. 15628617b24SMartin Mares 15728617b24SMartin Mares * Updated pci.ids to the current snapshot of the database. 15828617b24SMartin Mares 159dc49926aSMartin Mares2013-11-10 Martin Mares <[email protected]> 160dc49926aSMartin Mares 161dc49926aSMartin Mares * Released as 3.2.1. 162dc49926aSMartin Mares 163dc49926aSMartin Mares * CardBus bridge capabilities are displayed. 164dc49926aSMartin Mares 165dc49926aSMartin Mares * PCIe L1 PM substates are decoded. 166dc49926aSMartin Mares 167dc49926aSMartin Mares * Various bugs were fixed in decoding of PCIe capabilities. 168dc49926aSMartin Mares 169dc49926aSMartin Mares * The sysfs back-end does not spit out unnecessary warnings when 170dc49926aSMartin Mares empty slots report only a partial device address. This actually 171dc49926aSMartin Mares happens on IBM pSeries. 172dc49926aSMartin Mares 173dc49926aSMartin Mares * Updated pci.ids to the today's snapshot of the database. 174dc49926aSMartin Mares 1756a4909eeSMartin Mares2013-04-19 Martin Mares <[email protected]> 1766a4909eeSMartin Mares 1776a4909eeSMartin Mares * Released as 3.2.0. 1786a4909eeSMartin Mares 1796a4909eeSMartin Mares * On newer Linux systems, we use libkmod to look up kernel modules 18069a77b5cSMartin Mares (modules.pcimap no longer exists). To facilitate this, libpci 1816a4909eeSMartin Mares is able to look up module aliases in sysfs. 1826a4909eeSMartin Mares 1836a4909eeSMartin Mares * Various minor bug fixes. 1846a4909eeSMartin Mares 1856a4909eeSMartin Mares * Updated pci.ids to the today's snapshot of the database. 1866a4909eeSMartin Mares 18727c0f3acSMartin Mares2012-06-25 Martin Mares <[email protected]> 18827c0f3acSMartin Mares 18927c0f3acSMartin Mares * Released as 3.1.10. 19027c0f3acSMartin Mares 19127c0f3acSMartin Mares * Decoding of LTR/OBFF in PCIe capabilities. 19227c0f3acSMartin Mares 19327c0f3acSMartin Mares * Various minor bug fixes. 19427c0f3acSMartin Mares 19527c0f3acSMartin Mares * Updated pci.ids to the today's snapshot of the database. 19627c0f3acSMartin Mares 19768e5ff17SMartin Mares2012-01-14 Martin Mares <[email protected]> 19868e5ff17SMartin Mares 19968e5ff17SMartin Mares * Released as 3.1.9. 20068e5ff17SMartin Mares 20168e5ff17SMartin Mares * Updated README. 20268e5ff17SMartin Mares 2036a4909eeSMartin Mares * Wherever we mention the PCI ID database, we now refer to 20468e5ff17SMartin Mares http://pci-ids.ucw.cz/ and the sf.net site is mentioned only 20568e5ff17SMartin Mares as a mirror. This includes update-pciids. 20668e5ff17SMartin Mares 20768e5ff17SMartin Mares * Decode PCIe Gen 3 speeds and link status fields. 20868e5ff17SMartin Mares 20968e5ff17SMartin Mares * Various minor bug fixes. 21068e5ff17SMartin Mares 21168e5ff17SMartin Mares * Updated pci.ids to the today's snapshot of the database. 21268e5ff17SMartin Mares 213a70dab15SMartin Mares2011-10-02 Martin Mares <[email protected]> 214a70dab15SMartin Mares 215a70dab15SMartin Mares * Released as 3.1.8. 216a70dab15SMartin Mares 217a70dab15SMartin Mares * More capabilities: Transaction Processing Hints, Latency Tolerance 218a70dab15SMartin Mares Reporting. Thanks to Jesse Barnes. 219a70dab15SMartin Mares 220a70dab15SMartin Mares * Added BeOS and Haiku ports. Contributed by Francois Revol. 221a70dab15SMartin Mares 222a70dab15SMartin Mares * pciutils.pc now uses Libs.private properly. 223a70dab15SMartin Mares 224a70dab15SMartin Mares * When we format a name and it does not fit in the buffer, we truncate 225a70dab15SMartin Mares it instead of returning "buffer too small" instead. This works on all 226a70dab15SMartin Mares platforms with sane (i.e., C99-compatible) snprintf(). 227a70dab15SMartin Mares 228a70dab15SMartin Mares * Various minor bug fixes. 229a70dab15SMartin Mares 230a70dab15SMartin Mares * Updated pci.ids to the today's snapshot of the database. 231a70dab15SMartin Mares 2326bc2bc1cSMartin Mares2010-01-31 Martin Mares <[email protected]> 2336bc2bc1cSMartin Mares 2346bc2bc1cSMartin Mares * Released as 3.1.7. 2356bc2bc1cSMartin Mares 2366bc2bc1cSMartin Mares * Minor improvements and bug fixes in decoding of the Virtual Channel 2376bc2bc1cSMartin Mares capability. 2386bc2bc1cSMartin Mares 239e3a052daSMartin Mares2010-01-24 Martin Mares <[email protected]> 240e3a052daSMartin Mares 241e3a052daSMartin Mares * Released as 3.1.6. 242e3a052daSMartin Mares 243e3a052daSMartin Mares * More capabilities decoded: Virtual Channel (except arbitration 244e3a052daSMartin Mares tables), Root Complex Link, Vendor-Specific (header only), SATA HBA. 245e3a052daSMartin Mares 246e3a052daSMartin Mares * All extended capabilities have their version displayed (-vv or more). 247e3a052daSMartin Mares 2489978b6fdSMartin Mares2010-01-19 Martin Mares <[email protected]> 2499978b6fdSMartin Mares 2509978b6fdSMartin Mares * Released as 3.1.5. 2519978b6fdSMartin Mares 2529978b6fdSMartin Mares * Updated pci.ids to the today's snapshot of the database. 2539978b6fdSMartin Mares 2549978b6fdSMartin Mares * When scanning extended capabilities, properly mask the lowest 2 bits, 2559978b6fdSMartin Mares which are currently reserved. This avoids unaligned access errors on 2569978b6fdSMartin Mares broken hardware (see tests/broken-ecaps). 2579978b6fdSMartin Mares 2589978b6fdSMartin Mares * Large bar sizes are displayed in human-readable format (with units). 2599978b6fdSMartin Mares Thanks to Matthew Wilcox. 2609978b6fdSMartin Mares 2619978b6fdSMartin Mares * Physical slot information is displayed correctly for multi-function cards. 2629978b6fdSMartin Mares Fixed by Matthew Wilcox. 2639978b6fdSMartin Mares 2649978b6fdSMartin Mares * Fixed a couple of typos everywhere. 2659978b6fdSMartin Mares 2669978b6fdSMartin Mares * Library: Fixed bugs in freeing of capabilities. 2679978b6fdSMartin Mares 2689978b6fdSMartin Mares * Windows back-end compiles again. 2699978b6fdSMartin Mares 270c67775bcSMartin Mares2009-08-14 Martin Mares <[email protected]> 271c67775bcSMartin Mares 272ebb9bc54SMartin Mares * Released as 3.1.4. 273ebb9bc54SMartin Mares (sorry that I have missed 22/7 and released it later :-)) 274c67775bcSMartin Mares 275c67775bcSMartin Mares * Updated pci.ids to the today's snapshot of the database. 276c67775bcSMartin Mares 277c67775bcSMartin Mares * Fixed memory and file descriptor leak in the dump back-end. 278c67775bcSMartin Mares 279c67775bcSMartin Mares * The SR-IOV capability decoder now prints the VF BAR's. 280c67775bcSMartin Mares Patch by Chris Wright, cleaned up by me. 281c67775bcSMartin Mares 282c67775bcSMartin Mares * On request of certain company's lawyers, we now include a copy 283c67775bcSMartin Mares of the GPL with our package. It seems that the pciutils are getting 284c67775bcSMartin Mares mature if the most important bug of the month was this one ;-) 285c67775bcSMartin Mares 28610df48cbSMartin Mares2009-07-04 Martin Mares <[email protected]> 28710df48cbSMartin Mares 28810df48cbSMartin Mares * Released as 3.1.3. 28910df48cbSMartin Mares 29010df48cbSMartin Mares * Updated pci.ids to the current snapshot of the database. 29110df48cbSMartin Mares 29210df48cbSMartin Mares * The VPD parser now reports unknown and vendor-defined items 29310df48cbSMartin Mares properly. It also stops on any item in unknown format, avoiding long 29410df48cbSMartin Mares output on bogus VPD data. Thanks to Ben Hutchings and Matthew Wilcox. 29510df48cbSMartin Mares 29610df48cbSMartin Mares * The MSI-X table size now matches the spec. Thanks to Michael S. 29710df48cbSMartin Mares Tsirkin. 29810df48cbSMartin Mares 29910df48cbSMartin Mares * The Power Management capability now includes the soft reset bit. 30010df48cbSMartin Mares Thanks to Yu Zhao. 30110df48cbSMartin Mares 30210df48cbSMartin Mares * Decoding of the Advanced Features capability has been added. 30310df48cbSMartin Mares Thanks to Yu Zhao. 30410df48cbSMartin Mares 30510df48cbSMartin Mares * The whole package compiles on GNU/kFreeBSD again. 30610df48cbSMartin Mares 30710df48cbSMartin Mares The following patches have been contributed by Matthew Wilcox: 30810df48cbSMartin Mares 30910df48cbSMartin Mares * The procfs back-end is able to cope with /proc/bus/pci 31010df48cbSMartin Mares containing names with domains, which occur on sparc64 and 31110df48cbSMartin Mares possibly other architectures due to a kernel bug. 31210df48cbSMartin Mares 31310df48cbSMartin Mares * The sysfs back-end no longer complains when a slot address 31410df48cbSMartin Mares is missing, which happens with old versions of Linux fakephp. 31510df48cbSMartin Mares 31610df48cbSMartin Mares * The Device Serial Number capability is printed in the right 31710df48cbSMartin Mares byte order. 31810df48cbSMartin Mares 31910df48cbSMartin Mares * The MSI and MSI-X capabilities are printed in a prettier way. 32010df48cbSMartin Mares 32110df48cbSMartin Mares * The tree output mode (`lspci -t') shows domain numbers only 32210df48cbSMartin Mares at the root, which makes the output more compact. 32310df48cbSMartin Mares 32410df48cbSMartin Mares * Updated documentation on the bus mapping mode (`lspci -M'). 32510df48cbSMartin Mares 32634683007SMartin Mares2009-02-01 Martin Mares <[email protected]> 32734683007SMartin Mares 32834683007SMartin Mares * Released as 3.1.2. 32934683007SMartin Mares 33034683007SMartin Mares * Fixed another silly bug in the command-line parser of setpci. 33134683007SMartin Mares 332f6523e28SMartin Mares2009-01-30 Martin Mares <[email protected]> 333f6523e28SMartin Mares 334f6523e28SMartin Mares * Released as 3.1.1. 335f6523e28SMartin Mares 336f6523e28SMartin Mares * Updated pci.ids to the current snapshot of the database. 337f6523e28SMartin Mares 338f6523e28SMartin Mares * The configure script now sets LC_ALL to avoid being fooled by 339f6523e28SMartin Mares locale-dependent behavior of `tr'. 340f6523e28SMartin Mares 341f6523e28SMartin Mares * The command-line parser of setpci did sometimes segfault on invalid 342f6523e28SMartin Mares input. Thanks to Andreas Wiese for a fix. 343f6523e28SMartin Mares 344db557900SMartin Mares2009-01-18 Martin Mares <[email protected]> 345db557900SMartin Mares 346db557900SMartin Mares * Released as 3.1.0. 347db557900SMartin Mares 348af358b08SMartin Mares * Updated pci.ids to the current snapshot of the database. 349af358b08SMartin Mares 350db557900SMartin Mares * The Cygwin backend now works on Windows Vista. Thanks to Jonathan 351db557900SMartin Mares Kotta. 352db557900SMartin Mares 353db557900SMartin Mares * Fixed a bug in decoding of the SR-IOV capability. Patch by Yu Zhao. 354db557900SMartin Mares 355db557900SMartin Mares * Details of some PCIe capabilities are displayed only with -vv. 356db557900SMartin Mares 357db557900SMartin Mares * When a BAR is reported by the OS, but not by the device (i.e., 358db557900SMartin Mares it is marked as [virtual] in lspci), the [disabled] flag is 359db557900SMartin Mares suppressed, because it does not make sense in such cases. 360db557900SMartin Mares Patch by Yu Zhao. 361db557900SMartin Mares 3622b31207aSMartin Mares2008-12-13 Martin Mares <[email protected]> 3632b31207aSMartin Mares 3642b31207aSMartin Mares * The source code of lspci has been split to multiple files, hopefully 3652b31207aSMartin Mares making it easier to maintain. 3662b31207aSMartin Mares 3672b31207aSMartin Mares * The library and lspci now know about physical slot names. So far, 3682b31207aSMartin Mares they are provided by the sysfs back-end only. Thanks go to Alex Chiang. 3692b31207aSMartin Mares 3702b31207aSMartin Mares * When a device has the VPD (Vital Product Data) capability and the 3712b31207aSMartin Mares VPD data are supplied by the OS, they are decoded and printed in the 3722b31207aSMartin Mares verbose mode. This currently works only on Linux with the sysfs 3732b31207aSMartin Mares back-end. Thanks to Ben Hutchings of Solarflare for the patch. 3742b31207aSMartin Mares 3752b31207aSMartin Mares * `setpci --version' now works properly. 3762b31207aSMartin Mares 3774d4325f8SMartin Mares * `setpci --dumpregs' prints a table of all known names of 3782b31207aSMartin Mares registers and capabilities. This replaces the table of registers 3792b31207aSMartin Mares in the setpci man page. 3802b31207aSMartin Mares 3812b31207aSMartin Mares * The dry-run mode of setpci gives better feedback. 3822b31207aSMartin Mares 3832b31207aSMartin Mares * The setpci utility is now able to address registers stored in PCI 3842b31207aSMartin Mares capabilities (actually it allows a more general form of relative 3852b31207aSMartin Mares addressing). 3862b31207aSMartin Mares 3872b31207aSMartin Mares * The library has gained functions for working with PCI capabilities. 3882b31207aSMartin Mares 3892b31207aSMartin Mares * Address Translation Services capability is now decoded. Patch by 3902b31207aSMartin Mares Yu Zhao. 3912b31207aSMartin Mares 392b282435dSMartin Mares2008-11-09 Martin Mares <[email protected]> 393b282435dSMartin Mares 394b282435dSMartin Mares * Released as 3.0.3. 395b282435dSMartin Mares 396b282435dSMartin Mares * `lspci -k' now displays the subsystem ID, too. This makes `-k' 397b282435dSMartin Mares show everything needed to identify the device and the available 398b282435dSMartin Mares drivers, which was called for by many users. 399b282435dSMartin Mares 400b282435dSMartin Mares * Fixed spelling of MSI. Patch by Matthew Wilcox. 401b282435dSMartin Mares 402b282435dSMartin Mares * Better support for cross-compilation. Thanks to Alon Bar-Lev 403b282435dSMartin Mares for the patch. 404b282435dSMartin Mares 405b282435dSMartin Mares * Fixed printing of the AER capability. Patch by Max Asbock. 406b282435dSMartin Mares 407b282435dSMartin Mares * HT 1.02 capabilities are decoded as HT 1.03. Suggested by 408b282435dSMartin Mares Carl-Daniel Hailfinger. 409b282435dSMartin Mares 410b282435dSMartin Mares * Fixed Cygwin build. Thanks to Steve Elliott for reporting the bug. 411b282435dSMartin Mares 412b282435dSMartin Mares * Updated pci.ids to the current snapshot of the database. 413b282435dSMartin Mares 414daf2ef4eSMartin Mares2008-09-19 Martin Mares <[email protected]> 415daf2ef4eSMartin Mares 416daf2ef4eSMartin Mares * Released as 3.0.2. 417daf2ef4eSMartin Mares 418daf2ef4eSMartin Mares * Fixed a minor bug in the configure script, which caused warnings 419daf2ef4eSMartin Mares about redefinition of symbols during compilation. 420daf2ef4eSMartin Mares 42138254178SMartin Mares2008-09-11 Martin Mares <[email protected]> 42238254178SMartin Mares 42338254178SMartin Mares * Released as 3.0.1. 42438254178SMartin Mares 42538254178SMartin Mares * Updated pci.ids to the most recent snapshot. 42638254178SMartin Mares 42738254178SMartin Mares * Added a Cygwin port. Patch by Christopher Voltz, ported to the 42838254178SMartin Mares current tree by Martin Mares. 42938254178SMartin Mares 43038254178SMartin Mares * Worked around compatibility problems with various default settings 43138254178SMartin Mares of wget (we have to set --no-timestamping explicitly). Thanks to Ville 43238254178SMartin Mares Skytta for pointing that out. 43338254178SMartin Mares 43438254178SMartin Mares * Fixed printing of MSI capabilities. Thanks to Matthew Wilcox for 43538254178SMartin Mares a patch. 43638254178SMartin Mares 43738254178SMartin Mares * Added decoding of several PCI-X capabilities: device/link/slot 2, 43838254178SMartin Mares Advanced Error Reporting, Access Control Services, Alternative Routing-ID, 43938254178SMartin Mares Single Root I/O Virtualization. Thanks to Yu Zhao for patches. 44038254178SMartin Mares 44138254178SMartin Mares * Fixed bug in filters which caused them to refuse vendor/device ID 0xffff. 44238254178SMartin Mares 44338254178SMartin Mares * README: The linux-pci mailing list has moved to [email protected]. 44438254178SMartin Mares 44538254178SMartin Mares * Fixed several build problems: builds without PCI_USE_DNS on Linux 44638254178SMartin Mares and with PCI_USE_DNS on Solaris and *BSD. Static library mode also 44738254178SMartin Mares compiles again on old versions of GCC. 44838254178SMartin Mares 449cec9f7e7SMartin Mares2008-04-10 Martin Mares <[email protected]> 450cec9f7e7SMartin Mares 451cec9f7e7SMartin Mares * Released as 3.0.0. 452cec9f7e7SMartin Mares 453cec9f7e7SMartin Mares * Updated API and ABI version. 454cec9f7e7SMartin Mares 455cd2f6a34SMartin Mares2008-02-20 Martin Mares <[email protected]> 456cd2f6a34SMartin Mares 457cd2f6a34SMartin Mares * Released as 2.99.1-alpha2. 458cd2f6a34SMartin Mares 459cd2f6a34SMartin Mares * Changed the default domain for the DNS resolver. 460cd2f6a34SMartin Mares 461165a50cbSMartin Mares2008-02-18 Martin Mares <[email protected]> 462165a50cbSMartin Mares 463165a50cbSMartin Mares * Released as 2.99.1-alpha1. 464623234ecSMartin Mares 465a1fca487SMartin Mares * The makefile system has been reworked. All configuration settings 466a1fca487SMartin Mares are now passed to the configure script in environment variables, 467a1fca487SMartin Mares allowing for easy tweaking in the top-level Makefile. All control 468a1fca487SMartin Mares knobs are now described in the README. 469a1fca487SMartin Mares 470a1fca487SMartin Mares * The libpci can be built as a shared library with properly restricted 471a1fca487SMartin Mares symbol exports. Use `make SHARED=yes' to enable that or `make SHARED=local' 472a1fca487SMartin Mares for a local testing build (with hardwired paths to the library, so that 473a1fca487SMartin Mares it does not need installation). 474a1fca487SMartin Mares 475a1fca487SMartin Mares * The example program has been moved from lib/example.c to the top-level 476a1fca487SMartin Mares directory, because it should be built exactly as the other utilities 477a1fca487SMartin Mares are. It has been also improved slightly to educate better. 478a1fca487SMartin Mares 479623234ecSMartin Mares * The i386-ports method is enabled on Linux/x86_64 as well. 480623234ecSMartin Mares 481ae27e293SMartin Mares2008-02-13 Martin Mares <[email protected]> 482ae27e293SMartin Mares 483ae27e293SMartin Mares * Released as 2.2.10-net2. 484ae27e293SMartin Mares 485ae27e293SMartin Mares * Support for resolving of PCI ID's using DNS together with a local 486ae27e293SMartin Mares cache of resolved entries has been added. See the `-q' and `-Q' options 487ae27e293SMartin Mares of lspci. 488ae27e293SMartin Mares 489ae27e293SMartin Mares * The library now has a generic system of settable parameters, which 490ae27e293SMartin Mares also include settings of the DNS resolver and cache. An `-O' option 491ae27e293SMartin Mares has been added to lspci and setpci to allow setting of these options. 492ae27e293SMartin Mares 493ae27e293SMartin Mares * Configuration of the access methods are now specified by the new 494ae27e293SMartin Mares parameter system, replacing the pci_access->method_params array. 495ae27e293SMartin Mares 496ae27e293SMartin Mares * Access methods now also have sensible names and help texts and it 497ae27e293SMartin Mares is possible to look up method ID by a name. 498ae27e293SMartin Mares 499ae27e293SMartin Mares * An `-A' switch has been added to both lspci and setpci, allowing to 500ae27e293SMartin Mares select an arbitrary access method. The `-P' switch (configure proc 501ae27e293SMartin Mares backend) has been removed as it is no longer needed and I do not know 502ae27e293SMartin Mares any its user. 503ae27e293SMartin Mares 504ae27e293SMartin Mares * Several source files have been split for better maintainability 505ae27e293SMartin Mares (most notably the resolving of ID's). 506ae27e293SMartin Mares 507ae27e293SMartin Mares * Man pages and help texts have been updated. A new man page `pcilib(7)' 508ae27e293SMartin Mares has been added and description of library options has been moved there. 509ae27e293SMartin Mares 510ae27e293SMartin Mares * When an unknown device ID is encountered, we print `Device <id>' 511ae27e293SMartin Mares instead of `Unknown device <id>'. It uses less space and it also 512ae27e293SMartin Mares should reduce the number of inexperienced users complaining that 513ae27e293SMartin Mares the device is not supported by the OS. To lookup up OS drivers, 514ae27e293SMartin Mares use the `-k' option. 515ae27e293SMartin Mares 516ae27e293SMartin Mares * PCI_LIB_VERSION has been bumped to 0x020299. 517ae27e293SMartin Mares 518ae27e293SMartin Mares * Makefile: stripping of the binaries during installation can be 519ae27e293SMartin Mares overridden by the STRIP variable. 520ae27e293SMartin Mares 521ae27e293SMartin Mares * lib/types.h: We use the integer types from <stdint.h> if the 522ae27e293SMartin Mares compiler claims C99 support. 523ae27e293SMartin Mares 5240fc3bd18SMartin Mares2008-02-11 Martin Mares <[email protected]> 5250fc3bd18SMartin Mares 5262466b14bSMartin Mares * Released as 2.2.10. 5272466b14bSMartin Mares 5286add52f5SMartin Mares * lspci.c, setpci.c: Cleaned up the list of options. 5296add52f5SMartin Mares 5300fc3bd18SMartin Mares * lib/names.c: Fix displaying of errors reported by zlib. 5310fc3bd18SMartin Mares Previously, the buffer containing the error message had 5320fc3bd18SMartin Mares been deallocated by gzclose() before the message was printed. 5330fc3bd18SMartin Mares 534d26b5378SMartin Mares2008-01-07 Martin Mares <[email protected]> 535d26b5378SMartin Mares 536d26b5378SMartin Mares * update-pciids.sh: Added quiet mode (-q). Clean up uncompressed 537d26b5378SMartin Mares files left by previous versions of the pciutils. Patch by Mike 538d26b5378SMartin Mares Frysinger. 539d26b5378SMartin Mares 540d26b5378SMartin Mares * update-pciids.man: Mention the -q switch. 541d26b5378SMartin Mares 542dc01dd60SMartin Mares2007-11-29 Martin Mares <[email protected]> 543dc01dd60SMartin Mares 544dc01dd60SMartin Mares * lib/dump.c: Squashed compiler warnings about code with 545dc01dd60SMartin Mares no effect (there really were surplus *'s). 546dc01dd60SMartin Mares 54711339c0dSMartin Mares2007-11-06 Martin Mares <[email protected]> 54811339c0dSMartin Mares 54913463566SMartin Mares * Released as 2.2.9. 55013463566SMartin Mares 55111339c0dSMartin Mares * lspci.c: Added a new switch `-k' which requests printing 55211339c0dSMartin Mares of information on kernel drivers attached to each device 55311339c0dSMartin Mares and on kernel modules reporting the ability to handle the 55411339c0dSMartin Mares device. So far, this is supported only on Linux with the 55511339c0dSMartin Mares sysfs back-end, so it is implemented internally in the lspci 55611339c0dSMartin Mares instead of the libpci. Thanks to Anicka <[email protected]> 55711339c0dSMartin Mares for help. 55811339c0dSMartin Mares 5593de798bdSMartin Mares2007-10-19 Martin Mares <[email protected]> 5603de798bdSMartin Mares 5616cdb9d93SMartin Mares * Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS. 5626cdb9d93SMartin Mares Also added an explicit pattern rule for linking to make sure 5636cdb9d93SMartin Mares that LDLIBS is used on all platforms. Thanks to Dan Nicholson 5646cdb9d93SMartin Mares for the suggestion. 5656cdb9d93SMartin Mares 5666cdb9d93SMartin Mares2007-10-19 Martin Mares <[email protected]> 5676cdb9d93SMartin Mares 568a404b115SMartin Mares * Released as 2.2.8. 569a404b115SMartin Mares 5703de798bdSMartin Mares * pci.ids: Revised class codes to match Conventional PCI 3.0 specs. 5713de798bdSMartin Mares Added a couple of new ones, renumbered `ADMA continuous operation' 5723de798bdSMartin Mares prog-if to 0x30 (even the old SATA Class Code ECN doesn't mention 5733de798bdSMartin Mares 0x40) and renumbered the satellite communication controllers. 5743de798bdSMartin Mares 5752d2c4810SMartin Mares * lib/header.h: Include `PCI hot-plug' and `Secure device' 576f7c76ec5SMartin Mares capabilities from PCI 3.0 specs. Also added `SATA HBA' and 577f7c76ec5SMartin Mares `Advanced features' caps from various ECN's. 5782d2c4810SMartin Mares 579fa2273caSMartin Mares * lspci.c: All known capabilities have at least their name displayed 580fa2273caSMartin Mares now. When we are unable to decode them completely, we signalize it 581fa2273caSMartin Mares with a `<?>' mark. 582fa2273caSMartin Mares 583fa2273caSMartin Mares * lspci.man: Document `<?>' and also mention that extended config 584fa2273caSMartin Mares space is currently available only with the linux_sysfs back-end. 585fa2273caSMartin Mares 58631c9bb28SMartin Mares * lspci.c: Decode the Debug port capability (per EHCI 0.96 spec). 58731c9bb28SMartin Mares 588a387042eSMartin Mares * lspci.c: Big code cleanup: re-arranged functions in the code, 589a387042eSMartin Mares renamed everything related to capabilities to cap_* and 590a387042eSMartin Mares all options except verbose to opt_*. 591a387042eSMartin Mares 5929c79fcc4SMartin Mares2007-10-14 Martin Mares <[email protected]> 5939c79fcc4SMartin Mares 5949c79fcc4SMartin Mares * lib/[fno]bsd-*: Removed extraneous braces. 5959c79fcc4SMartin Mares 596d5b4cd14SMartin Mares2007-10-12 Martin Mares <[email protected]> 597d5b4cd14SMartin Mares 598d5b4cd14SMartin Mares * Capability loop detection introduced 2.2.7 did not work 599d5b4cd14SMartin Mares properly with extended capabilities. Fixed. 600d5b4cd14SMartin Mares 601594de878SMartin Mares2007-10-05 Martin Mares <[email protected]> 602594de878SMartin Mares 6038a23eadcSMartin Mares * Released as 2.2.7. 6048a23eadcSMartin Mares 605594de878SMartin Mares * lspci.c (show_caps, show_ext_caps): Detect and report loops in 606594de878SMartin Mares capability lists. 607594de878SMartin Mares 6088a23eadcSMartin Mares * lspci.c, lib/header.h: Finished decoding of the PCI Express 6098a23eadcSMartin Mares capability. The extended capabilities remain undecoded for now, 6108a23eadcSMartin Mares but at least the list of them has been updated to reflect the 6118a23eadcSMartin Mares current PCI Express 2.0 spec. 6128a23eadcSMartin Mares 6138a23eadcSMartin Mares * lspci.c, lib/header.h: Decode new bits of traditional registers 6148a23eadcSMartin Mares as defined by PCIE / PCI-X. This includes discard timers in the bridge 6158a23eadcSMartin Mares control register and INTx enable/status in device control/status 6168a23eadcSMartin Mares registers. 6178a23eadcSMartin Mares 6188a23eadcSMartin Mares * lib/fbsd-device.c: Support domains on new FreeBSD's. Contributed 6198a23eadcSMartin Mares by Marius Strobl. 6208a23eadcSMartin Mares 62199091df9SMartin Mares2007-09-12 Hasso Tepper <[email protected]> 62299091df9SMartin Mares 62399091df9SMartin Mares * Extended the fbsd-device backend to run on Dragonfly BSD. 62499091df9SMartin Mares 62599091df9SMartin Mares * lspci.c: alloca() is declared in <stdlib.h> on BSD's, not <alloca.h>. 62699091df9SMartin Mares 62709156b3bSMartin Mares2007-09-03 Martin Mares <[email protected]> 62809156b3bSMartin Mares 62909156b3bSMartin Mares * Resurrected the Windows port, including cross-compilation by MinGW. 63009156b3bSMartin Mares Patch by Samuel Bronson <[email protected]>. 63109156b3bSMartin Mares 632325a3c50SMartin Mares2007-08-31 Martin Mares <[email protected]> 633325a3c50SMartin Mares 634325a3c50SMartin Mares * Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to allow 635325a3c50SMartin Mares cross-compilation. 636325a3c50SMartin Mares 637a2322147SMartin Mares2007-08-27 Martin Mares <[email protected]> 638a2322147SMartin Mares 639a2322147SMartin Mares * lib/names.c (pci_open): When calling gzopen(), use "rb" file mode 640a2322147SMartin Mares instead of "r". This is needed on DOS systems, where this function 641a2322147SMartin Mares somewhat illogically uses the binary flag for the compressed file 642a2322147SMartin Mares instead of the decompressed stream inside, where binariness really 643a2322147SMartin Mares matters. 644a2322147SMartin Mares 6454f2c5b94SMartin Mares2007-08-14 Martin Mares <[email protected]> 6464f2c5b94SMartin Mares 6474f2c5b94SMartin Mares * lspci.c (show_ht): Added decoding of Hypertransport MSI mapping capability, 6484f2c5b94SMartin Mares based on a patch by Jason Gunthorpe. 6494f2c5b94SMartin Mares 6504f2c5b94SMartin Mares * tests/cap-MSI-mapping: Added a test case. I plan to add test cases 6514f2c5b94SMartin Mares (which are dumps of config space) for all new features. 6524f2c5b94SMartin Mares 6530d7f5331SMartin Mares2007-06-20 Martin Mares <[email protected]> 6540d7f5331SMartin Mares 6557cebe481SMartin Mares * Released as 2.2.6. 6567cebe481SMartin Mares 6570d7f5331SMartin Mares * Makefile: Added an "install-lib" target. Thanks to Dan Nicholson 6580d7f5331SMartin Mares for a patch. 6590d7f5331SMartin Mares 6607cebe481SMartin Mares * Makefile, lib/Makefile: Generate and install pkg-config file 6617cebe481SMartin Mares for libpci. Again by Dan Nicholson. 6627cebe481SMartin Mares 6630d7f5331SMartin Mares2007-06-20 Thomas Schwinge <[email protected]> 6640d7f5331SMartin Mares 6650d7f5331SMartin Mares * lib/i386-io-hurd.h: Rewritten for new Hurd kernels. 6660d7f5331SMartin Mares 6676e4a45edSMartin Mares2007-05-04 Martin Mares <[email protected]> 6686e4a45edSMartin Mares 66955c89179SMartin Mares * Released as 2.2.5. 67055c89179SMartin Mares 6716e4a45edSMartin Mares * pci.ids: Updated to the current snapshot of the database. 6726e4a45edSMartin Mares 673d0b07542SMartin Mares2007-02-14 Martin Mares <[email protected]> 674d0b07542SMartin Mares 675d0b07542SMartin Mares * lspci.c (show_express): Added PCI/PCI-X to PCI-Express Bridge type. 676d0b07542SMartin Mares Patch by Mark Glines. 677d0b07542SMartin Mares 6783df35926SMartin Mares2007-02-09 Martin Mares <[email protected]> 6793df35926SMartin Mares 6803df35926SMartin Mares * pci.ids: Updated to the current snapshot of the database. 6813df35926SMartin Mares 682e49ed044SMartin Mares2007-02-06 Martin Mares <[email protected]> 683e49ed044SMartin Mares 6841ac3a99dSMartin Mares * Replaced bzero() by memset() everywhere, it's better to lose a tiny 6851ac3a99dSMartin Mares bit of readability than maintain hacks to make it work on various systems. 6861ac3a99dSMartin Mares 687b0eb18ccSMartin Mares * lib/configure: tr on Solaris is a bit weird and it requires `[A-Z]' 688b0eb18ccSMartin Mares instead of `A-Z'. Fortunately, the extra brackets don't hurt otherwise. 689b0eb18ccSMartin Mares 690e49ed044SMartin Mares * lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise 691e49ed044SMartin Mares integer types. 692e49ed044SMartin Mares 6939de2768cSMartin Mares2007-02-04 Martin Mares <[email protected]> 6949de2768cSMartin Mares 6959de2768cSMartin Mares * lspci.c: alloca() needs <alloca.h>. 6969de2768cSMartin Mares 697d19394dbSMartin Mares2006-09-17 Martin Mares <[email protected]> 698d19394dbSMartin Mares 699d19394dbSMartin Mares * lib/dump.c: Fixed a couple of bugs in the dump backend which caused 700d19394dbSMartin Mares devices with domains or with extended config space to be read incorrectly. 701d19394dbSMartin Mares Also, dumps with partial lines are allowed now. 702d19394dbSMartin Mares 703934e7e36SMartin Mares2006-09-10 Martin Mares <[email protected]> 704934e7e36SMartin Mares 705f09856deSMartin Mares * pci.ids: Updated to the current database snapshot. 706f09856deSMartin Mares 707934e7e36SMartin Mares * lspci.c (scan_device): If an error occurs when reading the standard config 708934e7e36SMartin Mares header of a device, report it and ignore the device and return with exit 709934e7e36SMartin Mares code 2 at the end. 710934e7e36SMartin Mares 711b2055313SMartin Mares2006-09-09 Martin Mares <[email protected]> 712b2055313SMartin Mares 713fb260653SMartin Mares * Released as 2.2.4. 714fb260653SMartin Mares 7151865e2ddSMartin Mares * maint/release: Remind the maintainer about the current PCI_LIB_VERSION. 7161865e2ddSMartin Mares 717028dffb2SMartin Mares * lib/pci.h: Updated PCI_LIB_VERSION. 718028dffb2SMartin Mares 71913081e57SMartin Mares * lspci.c (show_machine): In the `-m' mode, do proper shell escaping 72013081e57SMartin Mares if the fields printed contain quotes or backslashes. 72113081e57SMartin Mares 7223fd6b4d2SMartin Mares * lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse 7233fd6b4d2SMartin Mares of the `Device' tag for two different purposes. 7243fd6b4d2SMartin Mares 725840d09aeSMartin Mares * Makefile: Moved all system-dependent decisions to lib/configure, 726840d09aeSMartin Mares since config.mk is included in the top-level Makefile anyway. 727840d09aeSMartin Mares 7282100f710SMartin Mares * lib/configure: When configuring for Linux, ignore the kernel version 7292100f710SMartin Mares and always build all access methods. 7302100f710SMartin Mares 7313e9c7a18SMartin Mares * Makefile (CFLAGS): Removed -Winline, it's not needed and triggers 7323e9c7a18SMartin Mares at many non-interesting places with gcc 3.4. 7333e9c7a18SMartin Mares 73494db5c82SMartin Mares * Whitespace cleanup of all source files. 73594db5c82SMartin Mares 736cc062b4aSMartin Mares * The pci.ids file can be stored compressed if zlib is available. 737cc062b4aSMartin Mares Added transparent decompression to lib/names.c, modified update-pciids.sh 738cc062b4aSMartin Mares to keep the file compressed if applicable, updated Makefiles. 739cc062b4aSMartin Mares Based on a patch by Matthew Wilcox, but all the bugs are mine. 740cc062b4aSMartin Mares 741f4ddb8d3SMartin Mares * Makefile, README: Allow installation to be done to a different directory 742f4ddb8d3SMartin Mares from the one we will eventually be placed in by setting DESTDIR. 743f4ddb8d3SMartin Mares Patch by Matthew Wilcox. 744f4ddb8d3SMartin Mares 74516e37012SMartin Mares * Added .gitignore files. 74616e37012SMartin Mares 747c7f5314dSMartin Mares * Makefile (clean): Clean *.orig, too. 748c7f5314dSMartin Mares 749afebde01SMartin Mares * Cleaned up usage of `char' and `byte'. 750afebde01SMartin Mares 751fd54ccebSMartin Mares * lib/header.h: PCI_CLASS_DOCKING_OTHER should be 0x0a80, not 0x0a01. 752fd54ccebSMartin Mares 753b2055313SMartin Mares * lib/header.h: Added PCI_CLASS_xxx constants for all classes currently 754b2055313SMartin Mares defined in the pci.ids file. 755b2055313SMartin Mares 7564254d153SMartin Mares2006-08-01 Martin Mares <[email protected]> 7574254d153SMartin Mares 7584254d153SMartin Mares * lib/i386-io-hurd.h: Fixed a silly typo. 7594254d153SMartin Mares 7601c5cc9b5SMartin Mares2006-07-30 Martin Mares <[email protected]> 7611c5cc9b5SMartin Mares 76238a9e3c3SMartin Mares * lib/Makefile: Added a missing rule for obsd-device.o. 76338a9e3c3SMartin Mares 764c7ddfa3eSMartin Mares * lspci.c, lib/header.h: Added support for MSI per-vector masking. 765c7ddfa3eSMartin Mares Contributed by Petr Vandrovec. 766c7ddfa3eSMartin Mares 767248a04f8SMartin Mares * lspci.c, lib/header.h: Added support for the `bridge subsystem ID' 768248a04f8SMartin Mares capability. Contributed by Petr Vandrovec. 769248a04f8SMartin Mares 770f29dcc87SMartin Mares * lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable 771f29dcc87SMartin Mares memory windows. Fix by Petr Vandrovec. 772f29dcc87SMartin Mares 7738eab3bffSMartin Mares * maint/release.pm: Exclude .git directory from releases. 7748eab3bffSMartin Mares 775d305d704SMartin Mares * lib/i386-ports.c, lib/i386-io-*: Report failures during port access 776d305d704SMartin Mares initialization by a->warn() instead of calling printf() or perror() 777d305d704SMartin Mares directly. 778d305d704SMartin Mares 7799007a292SMartin Mares * lib/i386-ports.c, lib/i386-io-*: Moved the logic which keeps track of 7809007a292SMartin Mares the port access state to generic code. 7819007a292SMartin Mares 782bd20d5b5SMartin Mares * lib/i386-io-hurd.h: Ask the kernel for I/O port access appropriately. 783bd20d5b5SMartin Mares Contributed by Thomas Schwinge and Samuel Thibault. 784bd20d5b5SMartin Mares 78573750606SMartin Mares * lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module. 78673750606SMartin Mares 787d71daa45SMartin Mares * lib/header.h: Whitespace cleanups. 788d71daa45SMartin Mares 7891c5cc9b5SMartin Mares * lib/i386-io-windows.h: Fixed indentation and spelling. 7901c5cc9b5SMartin Mares 7911c5cc9b5SMartin Mares * README.Windows: Mention that WinIO.dll is needed and where to get it. 7921c5cc9b5SMartin Mares 793c2b144efSMartin Mares2006-06-27 Martin Mares <[email protected]> 794c2b144efSMartin Mares 79514d4f989SMartin Mares * lib/Makefile, Makefile: Added rules for building and cleaning the example. 79614d4f989SMartin Mares 79714d4f989SMartin Mares * lib/example.c: Show how to use PCI_FILL_CLASS and used another register 79814d4f989SMartin Mares for demonstrating the config space accesses. The example is still very 79914d4f989SMartin Mares incomplete, though. 80014d4f989SMartin Mares 801c2b144efSMartin Mares * lib/pci.h, lib/generic.c: Added PCI_FILL_CLASS. 802c2b144efSMartin Mares 803c2b144efSMartin Mares * lib/sysfs.c: Fetch device ID and class from sysfs, because they can 804c2b144efSMartin Mares be modified by kernel fixups. 805c2b144efSMartin Mares 806c2b144efSMartin Mares * lspci.c: Use PCI_FILL_CLASS. Thanks to Matthew Willcox for the patch. 807c2b144efSMartin Mares 808bc2eed2dSMartin Mares2006-06-03 Martin Mares <[email protected]> 809bc2eed2dSMartin Mares 810bc2eed2dSMartin Mares * lspci.c: Introduced the -nn switch. Thanks to David N. Welton 811bc2eed2dSMartin Mares for the idea. 812bc2eed2dSMartin Mares 813bc2eed2dSMartin Mares * lib/names.c (pci_lookup_name): Introduced PCI_LOOKUP_MIXED and 814bc2eed2dSMartin Mares cleaned up the name selection code. 815bc2eed2dSMartin Mares 816c72eeddeSMartin Mares * lib/names.c (pci_lookup_name): If PCI_LOOKUP_NO_NUMBERS is given, 817c72eeddeSMartin Mares pci_access->numeric_ids is ignored. 818c72eeddeSMartin Mares 819c72eeddeSMartin Mares * lib/names.c (pci_lookup_name): When class is identified and 820c72eeddeSMartin Mares subclass isn't, display class name and subclass number. 821c72eeddeSMartin Mares 8222f294d4bSMartin Mares2006-05-31 Martin Mares <[email protected]> 8232f294d4bSMartin Mares 8242f294d4bSMartin Mares * setpci.c (main): Don't crash when an invalid width is specified. 8252f294d4bSMartin Mares 82681afa98cSMartin Mares * lspci.c, setpci.c, common.c: die() now uses the right program 82781afa98cSMartin Mares name when printing an error message. 82881afa98cSMartin Mares 8290ac282f2SMartin Mares2006-05-19 Martin Mares <[email protected]> 8300ac282f2SMartin Mares 8310ac282f2SMartin Mares * README: Mention the public GIT tree. 8320ac282f2SMartin Mares 8330ac282f2SMartin Mares * README: Updated the list of ports. 8340ac282f2SMartin Mares 835d1058e9dSMartin Mares2006-05-10 Martin Mares <[email protected]> 836d1058e9dSMartin Mares 837d1058e9dSMartin Mares * lib/configure, lib/fbsd-device.c: Added support for GNU/kFreeBSD. 838d1058e9dSMartin Mares Thanks to Petr Salinger for the patch. 839d1058e9dSMartin Mares 840abf8d505SMartin Mares2006-05-05 Martin Mares <[email protected]> 841abf8d505SMartin Mares 8422ae2d1aeSMartin Mares * Released as 2.2.3. 8432ae2d1aeSMartin Mares 8442ae2d1aeSMartin Mares * lspci.c (scan_device): The -D switch didn't work as intended 8452ae2d1aeSMartin Mares in -m mode. 8462ae2d1aeSMartin Mares 8472ae2d1aeSMartin Mares2006-05-05 Martin Mares <[email protected]> 8482ae2d1aeSMartin Mares 8491d5cf727SMartin Mares * Released as 2.2.2. 8501d5cf727SMartin Mares 8518a830168SMartin Mares * pci.ids: Updated to the current database snapshot. 8528a830168SMartin Mares 853b6359063SMartin Mares * lib/obsd-device.c (and other files in lib/*): Added OpenBSD 854b6359063SMartin Mares interface by Matthieu Herrb <[email protected]>, based on 855b6359063SMartin Mares the existing FreeBSD interface. 856b6359063SMartin Mares 857abf8d505SMartin Mares * Moved pciutils to a GIT repository, which now contains merged 858abf8d505SMartin Mares history from both CVS and Arch. Good bye, TLA! 859abf8d505SMartin Mares 8606ac70402SMartin Mares2006-03-21 Martin Mares <[email protected]> 8616ac70402SMartin Mares 8622a124daeSMartin Mares * lspci.c (show_slot_name): Avoid the previous changes in default 8632a124daeSMartin Mares display of domain name when in machine-readable mode. However, `-D' 8642a124daeSMartin Mares forces domain display even there. 8652a124daeSMartin Mares 8666ac70402SMartin Mares * lspci.man: Added a warning on -m being the only format, which is 8676ac70402SMartin Mares guaranteed to be stable between lspci versions. 8686ac70402SMartin Mares 8691bbdea17SMartin Mares2006-03-13 Martin Mares <[email protected]> 8701bbdea17SMartin Mares 871af61eb25SMartin Mares * lspci.man: Documented the -D switch. 872af61eb25SMartin Mares 873af61eb25SMartin Mares * lspci.c (show_slot_name, scan_device): If there are multiple PCI 874af61eb25SMartin Mares domains or if the `-D' switch is used, show the domain number for 875af61eb25SMartin Mares all devices. 876af61eb25SMartin Mares 8777a61b93cSMartin Mares * lspci.c (show_verbose): Report cache line size in bytes. 8787a61b93cSMartin Mares 8791bbdea17SMartin Mares * update-pciids.sh: Use curl if available. Patch by Matthew Wilcox. 8801bbdea17SMartin Mares 8810e78ef8aSMartin Mares2006-01-04 Martin Mares <[email protected]> 8820e78ef8aSMartin Mares 8830e78ef8aSMartin Mares * lspci.c (show_express_link): Fixed decoding of link status register. 8840e78ef8aSMartin Mares Thanks to Roland Dreier for his report. 8850e78ef8aSMartin Mares 886e6859953SMartin Mares2005-12-12 Martin Mares <[email protected]> 887e6859953SMartin Mares 888e6859953SMartin Mares * lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow 889e6859953SMartin Mares at least read-only access. Patch by Pavel Celeda <[email protected]>. 890e6859953SMartin Mares 891e6859953SMartin Mares * Makefile: Corrected library path on NetBSD. 892e6859953SMartin Mares 893a99c0d69SMartin Mares2005-11-26 Martin Mares <[email protected]> 894a99c0d69SMartin Mares 895e4af70c6SMartin Mares * Released as 2.2.1. 896e4af70c6SMartin Mares 897a99c0d69SMartin Mares * lspci.c (show_machine): Subsystem vendors were printed incorrectly 898a99c0d69SMartin Mares in machine-readable modes. Thanks to Pavel Celeda for a bug report. 899a99c0d69SMartin Mares 900f23fd3fcSMartin Mares2005-10-11 Martin Mares <[email protected]> 901f23fd3fcSMartin Mares 902f23fd3fcSMartin Mares * lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it. 903f23fd3fcSMartin Mares 90415296723SMartin Mares2005-09-21 Martin Mares <[email protected]> 90515296723SMartin Mares 90615296723SMartin Mares * Released as 2.2.0. 90715296723SMartin Mares 90840b6d93fSMartin Mares * pci.ids: Updated copyright header. 90940b6d93fSMartin Mares 91015296723SMartin Mares * lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported 91115296723SMartin Mares 64-bit addresses, they are now always supported. 91215296723SMartin Mares 91315296723SMartin Mares * lspci.c (show_bases): Corrected printing of 64-bit addresses 91415296723SMartin Mares in bus-centric mode. 91515296723SMartin Mares 91615296723SMartin Mares * lib/configure: Enable 64-bit addresses on all Linux systems. 91715296723SMartin Mares 91815296723SMartin Mares * lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they 91915296723SMartin Mares are shorter. 92015296723SMartin Mares 921224707baSMartin Mares2005-09-11 Martin Mares <[email protected]> 922224707baSMartin Mares 923224707baSMartin Mares * Released as 2.1.99-test11. 924224707baSMartin Mares 925224707baSMartin Mares * lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls. 926224707baSMartin Mares 927aeaca5d3SMartin Mares2005-09-10 Martin Mares <[email protected]> 928aeaca5d3SMartin Mares 929224707baSMartin Mares * Released as 2.1.99-test10. 930224707baSMartin Mares 93163e6f2e0SMartin Mares * pci.ids: Synchronized with the current database snapshot. 93263e6f2e0SMartin Mares 933043ebdeeSMartin Mares * update-pciids.sh: Changed the default URL for downloading pci.ids 934043ebdeeSMartin Mares to http://pciids.sourceforge.net/v2.2/pci.ids. 935043ebdeeSMartin Mares 936043ebdeeSMartin Mares * lib/pci.h (PCI_LIB_VERSION): Added version identifier. 937043ebdeeSMartin Mares 938aeaca5d3SMartin Mares * lib/names.c: Rewritten the name database module almost from scratch. 939aeaca5d3SMartin Mares Everything is much cleaner and there are hopefully no more memory leaks; 940aeaca5d3SMartin Mares pci_lookup_name() now uses varargs in a backward compatible fashion. 941aeaca5d3SMartin Mares Introduced PCI_LOOKUP_NO_NUMBERS. 942aeaca5d3SMartin Mares 943aeaca5d3SMartin Mares The new code supports subsystem entries not tied to a specific device. 944aeaca5d3SMartin Mares I had to extend the format of pci.ids in order to support it, so I have 945aeaca5d3SMartin Mares extended the idea of the "C" (class) blocks and introduced "S" blocks 946aeaca5d3SMartin Mares for subsystems. To avoid doing more incompatible changes in the future, 947aeaca5d3SMartin Mares the parser skips unknown single-letter blocks without reporting errors. 948aeaca5d3SMartin Mares 949121c76c9SMartin Mares2005-08-23 Martin Mares <[email protected]> 950121c76c9SMartin Mares 95154e13765SMartin Mares * Released as 2.1.99-test9. 95254e13765SMartin Mares 95354e13765SMartin Mares * Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent 95454e13765SMartin Mares gcc versions when optimizing anyway. 95554e13765SMartin Mares 95654e13765SMartin Mares * Made the path to pci.ids customizable and independent on the SHAREDIR. 95754e13765SMartin Mares Just override IDSDIR in the top-level Makefile. 95854e13765SMartin Mares 95954e13765SMartin Mares * pci.ids: Synchronized with the current database snapshot. 96054e13765SMartin Mares 96184d437d6SMartin Mares * lspci.man, setpci.man: Improved the man pages. Documented all access 96284d437d6SMartin Mares methods and which operations are privileged. 96384d437d6SMartin Mares 96484d437d6SMartin Mares * lspci.c: Another rewrite of config register caching, now also including 96584d437d6SMartin Mares lots of internal checks. It should be now perfectly able to cope with 96684d437d6SMartin Mares portions of the configuration space being inaccessible, for example 96784d437d6SMartin Mares due to insufficient access rights. 96884d437d6SMartin Mares 9693b8bf739SMartin Mares * lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X 9703b8bf739SMartin Mares capabilities. Includes partial support for PCI-X 2.0 (probably incomplete 9713b8bf739SMartin Mares as I haven't seen the spec). 9723b8bf739SMartin Mares 9733b8bf739SMartin Mares * lspci.c: Quell warnings about unused parameters. 9743b8bf739SMartin Mares 97584d437d6SMartin Mares * lspci.c: Removed C++ comments. 97684d437d6SMartin Mares 9773b8bf739SMartin Mares * lib/header.h: Merged definitions of extended capabilities and some new 9783b8bf739SMartin Mares PCI-X capability bits from linux-2.6.11/include/pci.h. 9793b8bf739SMartin Mares 9803b8bf739SMartin Mares * lspci.c (show_caps): Try to scan extended capabilities only if the 9813b8bf739SMartin Mares device has either PCI-X or PCI Express capability in its normal capability 9823b8bf739SMartin Mares list. 9833b8bf739SMartin Mares 984f7821e53SMartin Mares * lib/dump.c (dump_init): Reading of dumps works again. The dump reader 985f7821e53SMartin Mares now also remembers how much data it has read and refuses attempts to 986f7821e53SMartin Mares access more than that. 987ea4e5f5dSMartin Mares 98846ea554dSMartin Mares * setpci.man, lspci.c, README: prefer spelling "buses" over "busses". 98946ea554dSMartin Mares 9908afaab22SMartin Mares * lspci.c: If alloca() is not available, use xmalloc(), not malloc(). 9918afaab22SMartin Mares 992121c76c9SMartin Mares * lib/configure: Added x86_64 on Linux. 993121c76c9SMartin Mares 994c1c2c30eSMartin Mares2005-08-22 Martin Mares <[email protected]> 995c1c2c30eSMartin Mares 996b9ca9147SMartin Mares * lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters. 997b9ca9147SMartin Mares Thanks to Matthew Wilcox for bug report. 998b9ca9147SMartin Mares 999c1c2c30eSMartin Mares * lspci.c: Corrected spelling of "Hz" (it was "hz" at several places). 1000b9ca9147SMartin Mares Thanks to Krzysztof Oledzki for pointing that out. 1001c1c2c30eSMartin Mares 100226542a0bSMartin Mares2004-08-19 Martin Mares <[email protected]> 100326542a0bSMartin Mares 100426542a0bSMartin Mares * pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism, 100526542a0bSMartin Mares because pciutils by default install to /usr/sbin. Update. 100626542a0bSMartin Mares 10076aa54f1bSMartin Mares2004-08-13 Martin Mares <[email protected]> 10086aa54f1bSMartin Mares 1009aabb0a92SMartin Mares * Released as 2.1.99-test8. 1010aabb0a92SMartin Mares 1011f31412d1SMartin Mares * lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are 1012f31412d1SMartin Mares no longer exported to the outside world. 1013f31412d1SMartin Mares 1014ee7d8384SMartin Mares * README.Windows: Updated. 1015ee7d8384SMartin Mares 1016ee7d8384SMartin Mares * maint/release: Substitute version number in win32/config.h. 1017ee7d8384SMartin Mares 1018ee7d8384SMartin Mares * win32/config.h: Added. 1019ee7d8384SMartin Mares 1020ee7d8384SMartin Mares * lib/sysdep.h (bzero, strcasecmp): are macros on Windows. 1021ee7d8384SMartin Mares 1022ee7d8384SMartin Mares * compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU 1023ee7d8384SMartin Mares C library for use on systems where the default libraries lack 1024ee7d8384SMartin Mares proper getopt. Currently used by the Windows port. 1025ee7d8384SMartin Mares 1026ee7d8384SMartin Mares * lib/sysdep.h, lib/types.h: Updates of the Windows port from 1027ee7d8384SMartin Mares Alexander Stock. 1028ee7d8384SMartin Mares 1029489233b4SMartin Mares * lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define 1030489233b4SMartin Mares its own u8, u16, u32, byte and word types and uses what the user 1031489233b4SMartin Mares has supplied instead. With this change, all namespace clashes should 1032489233b4SMartin Mares be gone. 1033489233b4SMartin Mares 1034489233b4SMartin Mares * Makefile, lib/Makefile: Updated dependencies. 1035489233b4SMartin Mares 1036489233b4SMartin Mares * pciutils.h: Include lib/sysdep.h and move NONRET et al. there. 1037489233b4SMartin Mares 1038489233b4SMartin Mares * lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because 1039489233b4SMartin Mares it is included unconditionally in lib/types.h. 1040489233b4SMartin Mares 1041489233b4SMartin Mares * Moved system-dependent stuff from lib/internal.h to lib/sysdep.h, 1042489233b4SMartin Mares which is also used by the utilities. Also moved type declarations 1043489233b4SMartin Mares from lib/pci.h to lib/types.h. 1044489233b4SMartin Mares 1045489233b4SMartin Mares * All files: Prepend a "PCI_" prefix in front of all configuration 1046489233b4SMartin Mares defines to avoid namespace clashes. CAVEAT: If there is any libpci 1047489233b4SMartin Mares application using the (undocumented) defines, it has to be updated. 1048489233b4SMartin Mares 1049489233b4SMartin Mares * lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing 1050489233b4SMartin Mares headers with the kernel a couple of years ago. 1051489233b4SMartin Mares 10529bb4b4eaSMartin Mares * lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6. 10539bb4b4eaSMartin Mares 10546aa54f1bSMartin Mares * lspci.c (show_rom): Use the same logic for printing disabled 10556aa54f1bSMartin Mares or unassigned ROM's as we do in show_bases() for the other BAR's. 10566aa54f1bSMartin Mares 10576aa54f1bSMartin Mares * lib/generic.c (pci_generic_fill_info): Better reaction to 10586aa54f1bSMartin Mares invalid 64-bit addresses. Also d->hdrtype should not include 10596aa54f1bSMartin Mares bit 7, which caused mysterious errors on multi-function devices. 10606aa54f1bSMartin Mares 10616aa54f1bSMartin Mares * lib/generic.c (pci_generic_fill_info): Fill in base addresses 10626aa54f1bSMartin Mares even if the regions are known to be disabled. It is the client's 10636aa54f1bSMartin Mares job to interpret them. (And it is not a trivial job if you want 10646aa54f1bSMartin Mares to do it correctly, since you need to check I/O and memory enables 10656aa54f1bSMartin Mares on all upstream bridges, too.) However, it could be interesting to 10666aa54f1bSMartin Mares introduce functions for interpreting the addresses and even for 10676aa54f1bSMartin Mares mapping the regions and doing I/O on them. 10686aa54f1bSMartin Mares 106980e6c636SMartin Mares2004-07-30 Martin Mares <[email protected]> 107080e6c636SMartin Mares 107180e6c636SMartin Mares * lspci.c: HyperTransport improvements from Maciej. 107280e6c636SMartin Mares 1073d6324891SMartin Mares2004-07-11 Martin Mares <[email protected]> 1074d6324891SMartin Mares 1075d6324891SMartin Mares * lib/sysfs.c (sysfs_get_resources): Arguments now correspond 1076d6324891SMartin Mares to the format string. [Patch by Bill Nottingham] 1077d6324891SMartin Mares 1078ec25b52dSMartin Mares2004-07-05 Martin Mares <[email protected]> 1079ec25b52dSMartin Mares 1080362be683SMartin Mares * Released as 2.1.99-test7. 1081362be683SMartin Mares 1082ec25b52dSMartin Mares * lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but 1083ec25b52dSMartin Mares ended up with rewriting the fetching mechanism to be fully dynamic, 1084ec25b52dSMartin Mares but avoid reading config space registers not explicitly requested. 1085ec25b52dSMartin Mares 1086ec25b52dSMartin Mares2004-06-29 Matthew Wilcox <[email protected]> 1087ec25b52dSMartin Mares 1088ec25b52dSMartin Mares * lspci.c: More work on PCI Express dumping. 1089ec25b52dSMartin Mares 1090ec25b52dSMartin Mares * lib/header.h: Updated PCI Express capability definitions. 1091ec25b52dSMartin Mares 1092ec25b52dSMartin Mares * lib/proc.c (proc_read): Removed bogus warning. 1093ec25b52dSMartin Mares 1094ec25b52dSMartin Mares * common.c (xrealloc): Introduced. 1095ec25b52dSMartin Mares 1096ec25b52dSMartin Mares * lspci.man: Added -xxxx. 1097ec25b52dSMartin Mares 109809817437SMartin Mares2004-06-27 Martin Mares <[email protected]> 109909817437SMartin Mares 1100d1fa27ebSMartin Mares * Released as 2.1.99-test6. 1101d1fa27ebSMartin Mares 11024d67aa89SMartin Mares * lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap. 11034d67aa89SMartin Mares Patch by Roland Dreier <[email protected]>, cleaned up by me. 11044d67aa89SMartin Mares 11054d67aa89SMartin Mares * lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch() 11064d67aa89SMartin Mares failures. 11074d67aa89SMartin Mares 11084d67aa89SMartin Mares * lib/header.h: Added PCI Express extended capabilities. Again by Matthew. 11094d67aa89SMartin Mares 11104d67aa89SMartin Mares * lspci.c (show_express): Added dumping of PCI Express cap. 11114d67aa89SMartin Mares Patch by Matthew Wilcox. 11124d67aa89SMartin Mares 11134d67aa89SMartin Mares * lib/header.h: Added a list of PCI 3.0 capabilities and also details 11144d67aa89SMartin Mares on PCI Express caps. Patch by Matthew Wilcox <[email protected]>. 11154d67aa89SMartin Mares 111609817437SMartin Mares * lspci.c (check_root): Gone. No explicit checks for root are needed, 111709817437SMartin Mares report correct errors reported by the libpci instead. 111809817437SMartin Mares 111909817437SMartin Mares * lspci.c: Added dumping of the extended config space on "-xxxx". 112009817437SMartin Mares Better caching of config registers. 112109817437SMartin Mares 112209817437SMartin Mares * setpci.c (main): Allow access to whole 4096 bytes of the config space. 112309817437SMartin Mares 112409817437SMartin Mares * lib/sysfs.c, lib/proc.c: Don't print error messages on short reads, 112509817437SMartin Mares just return the appropriate error code. 112609817437SMartin Mares 112709817437SMartin Mares * lib: Added support for extended (4096-byte) configuration space, 112809817437SMartin Mares currently implemented only in Linux proc and sysfs access methods 112909817437SMartin Mares and of course in the dump reader. 113009817437SMartin Mares 11310d656226SMartin Mares2004-05-29 Martin Mares <[email protected]> 11320d656226SMartin Mares 1133c0eece92SMartin Mares * Released as 2.1.99-test5. 1134c0eece92SMartin Mares 1135a2413560SMartin Mares * lib/pci.h: Windows don't have the standard u_int* types. 1136a2413560SMartin Mares 1137a2413560SMartin Mares * lib/internal.h: <sys/param.h> required on Windows for endianity 1138a2413560SMartin Mares macros. 1139a2413560SMartin Mares 1140a2413560SMartin Mares * lib/i386-ports.c: Connected i386-io-windows.h. 1141a2413560SMartin Mares 1142a2413560SMartin Mares * lspci.c (check_root): geteuid() is not available on Windows. 1143a2413560SMartin Mares 1144a2413560SMartin Mares * lib/i386-io-windows.h: Added Windows port contributed by Alexander 1145a2413560SMartin Mares Stock <[email protected]>. 1146a2413560SMartin Mares 1147a2413560SMartin Mares * lib/configure: Hopefully fixed SunOS port broken by various 1148a2413560SMartin Mares changes to the configure script. 1149a2413560SMartin Mares 11500d656226SMartin Mares * Makefile, lib/configure: Cross-compilation support, patch by Maciej. 11510d656226SMartin Mares 1152138c0385SMartin Mares2004-05-28 Martin Mares <[email protected]> 1153138c0385SMartin Mares 11549f490382SMartin Mares * Released as 2.1.99-test4. 11559f490382SMartin Mares 1156cce2caacSMartin Mares * lspci.c (show_verbose): Header type 1 is probably legal for all 1157cce2caacSMartin Mares types of bridges, not only for PCI-to-PCI bridges. 1158cce2caacSMartin Mares 1159b569ef09SMartin Mares * lspci.c (format_agp_rate): Write "x16", not "x@". 1160b569ef09SMartin Mares (show_agp): rate[] could overflow. 1161b569ef09SMartin Mares Bugs reported by Jakub Bogusz <[email protected]>. 1162b569ef09SMartin Mares 1163bfc4fe7aSMartin Mares * lspci.c (show_ht_*): Show HyperTransport capability with all its 1164bfc4fe7aSMartin Mares details. Once again code by Maciej simplified (i.e., possibly broken) 1165bfc4fe7aSMartin Mares by me. 1166bfc4fe7aSMartin Mares 1167bfc4fe7aSMartin Mares * lib/header.h: Added declarations of HyperTransport capability. 1168bfc4fe7aSMartin Mares Again thanks to Maciej. 1169bfc4fe7aSMartin Mares 1170138c0385SMartin Mares * lspci.c: Decode all bits of the secondary status word in type 1 headers. 1171138c0385SMartin Mares Thanks to Maciej W. Rozycki <[email protected]> for the patch. 1172138c0385SMartin Mares 11738fc75dbcSMartin Mares2003-12-27 Martin Mares <[email protected]> 11748fc75dbcSMartin Mares 117581abd2a7SMartin Mares * Released as 2.1.99-test3. 117681abd2a7SMartin Mares 11771f7c91ccSMartin Mares * lspci.man, setpci.man: Document domains and correct spelling. 11781f7c91ccSMartin Mares 11791f7c91ccSMartin Mares * lib/dump.c (dump_init): Added ability to read domain numbers. 11801f7c91ccSMartin Mares 118184c8d1bbSMartin Mares * lspci.c: Devices in domains different from 0 have their slot number 11821f7c91ccSMartin Mares printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains 11831f7c91ccSMartin Mares as well. 118484c8d1bbSMartin Mares 118584c8d1bbSMartin Mares * lib/filter.c: Slot filters understand domains. 118684c8d1bbSMartin Mares 118784c8d1bbSMartin Mares * lib/generic.c: Mention the domain in slot numbers in all error messages. 118884c8d1bbSMartin Mares 118984c8d1bbSMartin Mares * lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong. 119084c8d1bbSMartin Mares 119184c8d1bbSMartin Mares * lib/access.c (pci_get_dev): Added support for domains. 119284c8d1bbSMartin Mares 119384c8d1bbSMartin Mares * lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config 119484c8d1bbSMartin Mares registers (or to be precise, leave it for the generic parts of the pcilib 119584c8d1bbSMartin Mares to do so) instead of reading them from the sysfs. It's faster this way. 119684c8d1bbSMartin Mares 119784c8d1bbSMartin Mares * lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal 119884c8d1bbSMartin Mares variable. Better read it from the config registers (it's cached anyway). 119984c8d1bbSMartin Mares 120084c8d1bbSMartin Mares * lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype. 120184c8d1bbSMartin Mares lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it. 120284c8d1bbSMartin Mares Saves lots of unnecessary file accesses. 120384c8d1bbSMartin Mares 120411f7b31bSMartin Mares * lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter 120511f7b31bSMartin Mares is not supported by all C libraries. 120611f7b31bSMartin Mares 120711f7b31bSMartin Mares * Makefile: Always enter the lib directory (remember that we don't have 120811f7b31bSMartin Mares full dependecies for the library in the top-level Makefile; hmmm, another 120911f7b31bSMartin Mares thing to rewrite some day). 121011f7b31bSMartin Mares 121111f7b31bSMartin Mares * lib/sysfs.c: Added Linux sysfs access method based on the patch 121211f7b31bSMartin Mares written by Matthew Wilcox <[email protected]>. 121311f7b31bSMartin Mares 121411f7b31bSMartin Mares * lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc". 121511f7b31bSMartin Mares 121611f7b31bSMartin Mares * lib/pread.h: The hacks to support pread on various versions 121711f7b31bSMartin Mares of Linux libc moved there. 121811f7b31bSMartin Mares 121911f7b31bSMartin Mares * lib/proc.c (proc_setup): The return value of snprintf() varies 122011f7b31bSMartin Mares between glibc versions, so we need to check both for a negative 122111f7b31bSMartin Mares values and for too large values. 122211f7b31bSMartin Mares 12234284af58SMartin Mares * Removed last few references to the "Linux PCI Utilities", the 12244284af58SMartin Mares package is pretty cross-platform now :) 12254284af58SMartin Mares 12264284af58SMartin Mares2003-12-27 Martin Mares <[email protected]> 12274284af58SMartin Mares 1228ab12277eSMartin Mares * Released as 2.1.99-test2. 1229ab12277eSMartin Mares 1230ab12277eSMartin Mares * README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the 1231ab12277eSMartin Mares release scripts insert the current version. "make release" is gone. 1232ab12277eSMartin Mares 1233ab12277eSMartin Mares * maint/release, maint/release.pm: Added a new system of scripts for 1234ab12277eSMartin Mares making releases including inter-version diffs etc. 1235ab12277eSMartin Mares 1236ab12277eSMartin Mares * Makefile: Cleaned up. 1237ab12277eSMartin Mares 1238ab12277eSMartin Mares * lib/fbsd-device.c: I patched another copy of this file by mistake, 1239ab12277eSMartin Mares this time the version checks should be right. 1240ab12277eSMartin Mares 1241ab12277eSMartin Mares2003-12-27 Martin Mares <[email protected]> 1242ab12277eSMartin Mares 12436d722cd6SMartin Mares * Released as 2.1.99-test1. 12446d722cd6SMartin Mares 1245dd33246aSMartin Mares * pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h: 1246dd33246aSMartin Mares Remove shadows of the syscall access method which was never 1247dd33246aSMartin Mares implemented. 1248dd33246aSMartin Mares 124980b3121aSMartin Mares * update-pciids.sh: Try to preserve permissions of the old file 125080b3121aSMartin Mares if chmod supports --reference. Should close Debian Bug #223740. 125180b3121aSMartin Mares 12526aea909aSMartin Mares * lib/proc.c (proc_setup): Increased path name length limit to 1024. 12536aea909aSMartin Mares Thanks for Redhat and Mandrake for inspiration. 12546aea909aSMartin Mares 12556aea909aSMartin Mares * lib/configure: Recognize ppc and ppc64, both have 64-bit addresses. 12566aea909aSMartin Mares Grabbed from Redhat (Fedora) patches. 12576aea909aSMartin Mares 12586aea909aSMartin Mares2003-12-27 Martin Mares <[email protected]> 12596aea909aSMartin Mares 1260f701ff47SMartin Mares Merged bug fixes from Debian patches: 1261f701ff47SMartin Mares 1262f701ff47SMartin Mares * lspci.c (show_verbose): "Cache Line Size" should be capitalized. 1263f701ff47SMartin Mares 1264f701ff47SMartin Mares * lspci.c (show_pcix_nobridge): Added a missing newline. 1265f701ff47SMartin Mares 12662240db8cSMartin Mares * lib/proc.c (proc_scan): When reading the header type, don't 12672240db8cSMartin Mares forget to clear the topmost bit indicating that the device has 1268f701ff47SMartin Mares multiple functions. 12692240db8cSMartin Mares 12702240db8cSMartin Mares2003-12-27 Martin Mares <[email protected]> 12712240db8cSMartin Mares 127245902995SMartin Mares Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]> 127345902995SMartin Mares for the patches: 127445902995SMartin Mares 127545902995SMartin Mares * lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined. 127645902995SMartin Mares * lib/fbsd-device.c: Select the right set of system includes according 127745902995SMartin Mares to __FreeBSD_version. 127845902995SMartin Mares 127945902995SMartin Mares2003-12-27 Martin Mares <[email protected]> 128045902995SMartin Mares 12818fc75dbcSMartin Mares Merged support for Solaris on i386 by Bill Moore <[email protected]> 12828fc75dbcSMartin Mares and cleaned up: 12838fc75dbcSMartin Mares 12848fc75dbcSMartin Mares * lib/configure: Recognize SunOS. 12858fc75dbcSMartin Mares * lib/internal.h: Learn how to recognize byte order on SunOS. 12868fc75dbcSMartin Mares * lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c. 12878fc75dbcSMartin Mares * lib/i386-io-linux.h: Linux specific part. 12888fc75dbcSMartin Mares * lib/i386-io-hurd.h: GNU/Hurd specific part. 12898fc75dbcSMartin Mares * lib/i386-io-sunos.h: SunOS specific part. 12908fc75dbcSMartin Mares 12919739916eSMartin Mares2003-12-26 Martin Mares <[email protected]> 12929739916eSMartin Mares 12939739916eSMartin Mares * lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly. 12949739916eSMartin Mares 12959739916eSMartin Mares * lib/pci.h: Types declared in <sys/types.h> should be usable on all 12969739916eSMartin Mares platforms we currently support, so kill the forest of #ifdef's and 12979739916eSMartin Mares use them in all cases. 12989739916eSMartin Mares 12999739916eSMartin Mares * lib/pci.h: Use ULONG_MASK to decide whether we should use long 13009739916eSMartin Mares or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS. 13019739916eSMartin Mares Define format strings for addresses, port numbers and IRQ numbers 13029739916eSMartin Mares directly in pci.h. 13039739916eSMartin Mares 13049739916eSMartin Mares * lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses. 13059739916eSMartin Mares 130680459c65SMartin Mares2003-12-26 Marco Gerards <[email protected]> 130780459c65SMartin Mares 130880459c65SMartin Mares Added support for the GNU Hurd (cleaned up by Martin Mares): 130980459c65SMartin Mares 131080459c65SMartin Mares * lib/configure [GNU]: Use the i386 ports for configuration access. 131180459c65SMartin Mares * lib/i386-ports.c: Don't call iopl() on the Hurd. 131280459c65SMartin Mares * lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining 131380459c65SMartin Mares u8 to u32. 131480459c65SMartin Mares 1315a85769a8SMartin Mares2003-12-26 Martin Mares <[email protected]> 1316a85769a8SMartin Mares 13177dacd9c8SMartin Mares * lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call 13187dacd9c8SMartin Mares config_fetch() to ensure that the registers have been read. Thanks to 13197dacd9c8SMartin Mares Bill Wood <[email protected]> for the patch. 13207dacd9c8SMartin Mares 13217dacd9c8SMartin Mares * lspci.c: Ensure that failure of config_fetch() is handled correctly 13227dacd9c8SMartin Mares at all places. 13237dacd9c8SMartin Mares 13244063c31cSMartin Mares * lspci.man: There was one more explicit reference to /usr/share/pci.ids. 13254063c31cSMartin Mares Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>. 13264063c31cSMartin Mares 13273fe8a38dSMartin Mares * setpci.c (main): Better error messages. 13283fe8a38dSMartin Mares 13295f5b1a7bSMartin Mares * setpci.c (ex_op): The demo mode should disable only writing, not reading. 13305f5b1a7bSMartin Mares 13315f5b1a7bSMartin Mares * setpci.man: The documentation was inconsistent on what should -D do. 13325f5b1a7bSMartin Mares Document the new behaviour. 1333b251f40bSMartin Mares 133491e37a49SMartin Mares * pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating 133591e37a49SMartin Mares the GCC specific __attribute__((noreturn)) and killed the hack with 133691e37a49SMartin Mares redefining __attribute__ on non-GCC compilers. 133791e37a49SMartin Mares 13384afd29d3SMartin Mares * Makefile: Added missing dependencies. Parallel builds work now. 13394afd29d3SMartin Mares Problem reported by Andreas Haumer <[email protected]>, but I chose 13404afd29d3SMartin Mares a different fix. 13414afd29d3SMartin Mares 1342b0f1a03bSMartin Mares * Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell 1343b0f1a03bSMartin Mares command every time $(MANDIR) is referenced. 1344b0f1a03bSMartin Mares 1345b7fd8e19SMartin Mares * lspci.c (main): The error message for `lspci -s' incorrectly mentioned 1346b7fd8e19SMartin Mares a `-f' switch. Reported by Steve Finney <[email protected]>. 1347b7fd8e19SMartin Mares 134805bb10a2SMartin Mares * lib/generic.c: Removed memory leak in pci_generic_bus_scan(). 134905bb10a2SMartin Mares Reported by Gary Parnes <[email protected]>. 135005bb10a2SMartin Mares 1351a832f6f1SMartin Mares * Replaced obsolete syntax of __attribute__((unused)) in the middle of 1352a832f6f1SMartin Mares parameter declarations (which is no longer supported by GCC 3.1) by the 1353a832f6f1SMartin Mares current syntax (attribute at the end). Thanks to [email protected] 1354a832f6f1SMartin Mares for reporting this problem. 1355a832f6f1SMartin Mares 1356a85769a8SMartin Mares * Removed CVS $Id$ tags from all files. 1357a85769a8SMartin Mares 1358a85769a8SMartin Mares * Makefile: Added some more warnings. 1359a85769a8SMartin Mares 1360b7351143SMartin Mares * setpci.c: Cleaned up mask/value code. 1361b7351143SMartin Mares 1362b7351143SMartin Mares2003-12-08 Thayne Harbaugh <[email protected]> 1363b7351143SMartin Mares 1364b7351143SMartin Mares * setpci.c: Individual bits to be set can be specified as <value>:<mask>. 1365b7351143SMartin Mares 13662a5d5cf9SMartin Mares2003-11-29 Martin Mares <[email protected]> 13672a5d5cf9SMartin Mares 13682a5d5cf9SMartin Mares * Imported the pciutils sources to my Arch repository. Good-bye, CVS. 13692a5d5cf9SMartin Mares 1370d772ef15SMartin Mares2003-01-04 Martin Mares <[email protected]> 1371d772ef15SMartin Mares 13721b95f396SMartin Mares * Released as 2.1.11. 13731b95f396SMartin Mares 1374c83293ebSMartin Mares * Makefile: Changed configuration of installation directories -- 1375c83293ebSMartin Mares all paths are now set at the top of the Makefile instead of being 1376c83293ebSMartin Mares scattered between the installation rules. The default installation 1377c83293ebSMartin Mares now goes always to /usr/local regardless of the OS as most distributions 1378c83293ebSMartin Mares already contain some version of pciutils and we don't want custom 1379c83293ebSMartin Mares installations to interfere with the default ones. 1380c83293ebSMartin Mares 1381c83293ebSMartin Mares * Makefile: Removed a couple of ancient install hacks: we no longer 1382c83293ebSMartin Mares try to avoid overwriting a newer pci.ids file (users are now expected 1383c83293ebSMartin Mares to use update-ids) and we don't try to remove /etc/pci.ids (a long time 1384c83293ebSMartin Mares has passed since the last version which used it). 1385c83293ebSMartin Mares 1386e2875dcdSMartin Mares * Makefile: Paths to pci.ids in man pages automatically get the right path. 1387e2875dcdSMartin Mares 13881b95f396SMartin Mares * Added the update-ids utility. 13890138a2a7SMartin Mares 1390d772ef15SMartin Mares * lib: Removed partially implemented "syscall" access method which will 1391d772ef15SMartin Mares probably never be needed. 1392d772ef15SMartin Mares 1393eb620239SMartin Mares2002-12-27 Martin Mares <[email protected]> 1394eb620239SMartin Mares 1395130090bdSMartin Mares * lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe. 1396130090bdSMartin Mares 1397eb620239SMartin Mares * lib/generic.c (pci_generic_scan_bus): Added work-around for devices with 1398eb620239SMartin Mares discontiguous numbering of functions. This is already present in the Linux 1399eb620239SMartin Mares kernel for several years, but I forgot to update pciutils as well. 1400eb620239SMartin Mares 1401848b4347SMartin Mares2002-12-26 Martin Mares <[email protected]> 1402848b4347SMartin Mares 1403579b19ffSMartin Mares * lib/header.h, lspci.c: Dump AGP3 flags and speeds. 1404579b19ffSMartin Mares 1405579b19ffSMartin Mares * lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header, 1406579b19ffSMartin Mares there is no reason to prefer the kernel version. 1407579b19ffSMartin Mares 1408579b19ffSMartin Mares * lib/proc.c (proc_scan): Don't forget to initialize hdrtype. 1409579b19ffSMartin Mares 1410848b4347SMartin Mares * Added preliminary version of NetBSD support by Quentin Garnier 1411848b4347SMartin Mares <[email protected]>. 1412848b4347SMartin Mares 1413f0952474SMartin Mares2002-04-06 Martin Mares <[email protected]> 1414f0952474SMartin Mares 1415f0952474SMartin Mares * lspci.c: Mention "-xxx" in the help. 1416f0952474SMartin Mares 1417d2f666f1SMartin Mares2002-03-30 Martin Mares <[email protected]> 1418d2f666f1SMartin Mares 14199bd44bb0SMartin Mares * Released as 2.1.10. 14209bd44bb0SMartin Mares 1421a33d0eb7SMartin Mares * Removed pci.ids from the CVS as they are now maintained separately. 1422a33d0eb7SMartin Mares They are still included in the tarball, but if you are building pciutils 1423a33d0eb7SMartin Mares from CVS sources or you want to get a newer ID file than the one distributed, 1424a33d0eb7SMartin Mares just use "make update-ids" to download the most recent snapshot from 1425a33d0eb7SMartin Mares pciids.sf.net. 1426a33d0eb7SMartin Mares 1427a33d0eb7SMartin Mares * Makefile, README: Updated accordingly. 1428a33d0eb7SMartin Mares 1429a33d0eb7SMartin Mares * Makefile: Added a couple of maintenance targets. 1430a33d0eb7SMartin Mares 1431a33d0eb7SMartin Mares * maint/*: Maintainer's utilities now reside here (present only in CVS, 1432a33d0eb7SMartin Mares not in the tarball). 1433a33d0eb7SMartin Mares 1434d2f666f1SMartin Mares * lib/names.c (parse_name_list): End-of-line comments are no longer 1435d2f666f1SMartin Mares supported. Hashes are now perfectly valid in all names and they start 1436d2f666f1SMartin Mares a comment only at the start of the line. 1437d2f666f1SMartin Mares 1438ee551b73SMartin Mares2002-03-26 Martin Mares <[email protected]> 1439ee551b73SMartin Mares 144007159913SMartin Mares * README: Rewritten. 144107159913SMartin Mares 1442ee551b73SMartin Mares * Makefile: When the currently installed pci.ids file is newer than 1443ee551b73SMartin Mares the version to be installed, don't overwrite it. Suggested by 1444ee551b73SMartin Mares Jean Delvare <[email protected]>. 1445ee551b73SMartin Mares 1446bc7b1d62SMartin Mares2002-03-24 Martin Mares <[email protected]> 1447bc7b1d62SMartin Mares 14485f5e6f64SMartin Mares * lspci.c (show_pcix_bridge): Added PCI-X capability display. 14495f5e6f64SMartin Mares Contributed by Jeff Garzik <[email protected]>. 14505f5e6f64SMartin Mares 14515f5e6f64SMartin Mares * lib/header.h: Added PCI-X stuff. Again by Jeff. 14525f5e6f64SMartin Mares 14535f5e6f64SMartin Mares * Makefile (CFLAGS): -Werror is gone. 14545f5e6f64SMartin Mares 1455a1052f16SMartin Mares * lspci.c (format_agp_rate): Fixed AGP rate reporting. 1456a1052f16SMartin Mares 1457bc7b1d62SMartin Mares * lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and 1458bc7b1d62SMartin Mares function 7. 1459bc7b1d62SMartin Mares 1460bc7b1d62SMartin Mares * lib/names.c (pci_lookup_name): When printing unknown subsystem vendor 1461bc7b1d62SMartin Mares or device hexadecimally, don't confuse it with chip vendor/device ID. 1462bc7b1d62SMartin Mares First reported by Marc Boucher <[email protected]>. 1463bc7b1d62SMartin Mares 1464f793990cSMartin Mares2001-11-04 Martin Mares <[email protected]> 1465f793990cSMartin Mares 1466ee551b73SMartin Mares * Released as 2.1.9. 1467ee551b73SMartin Mares 1468f793990cSMartin Mares * pci.ids: Synced with the PCI ID Repository at SourceForge 1469f793990cSMartin Mares (http://pciids.sourceforge.net/). 1470f793990cSMartin Mares 14711d174e56SMartin Mares2000-08-25 Martin Mares <[email protected]> 14721d174e56SMartin Mares 14731d174e56SMartin Mares * pci.ids: Updated ID's, synced with kernel 2.4.0-test7. 14741d174e56SMartin Mares 147565b4327eSMartin Mares2000-06-13 Martin Mares <[email protected]> 147665b4327eSMartin Mares 147765b4327eSMartin Mares * Makefile (uninstall): Fixed. 147865b4327eSMartin Mares 147965b4327eSMartin Mares * pci.ids: ID updates. 148065b4327eSMartin Mares 14814a219d5fSMartin Mares2000-05-20 Martin Mares <[email protected]> 14824a219d5fSMartin Mares 14834a219d5fSMartin Mares * Released as 2.1.8. 14844a219d5fSMartin Mares 14854a219d5fSMartin Mares * pci.ids: ID updates. 14864a219d5fSMartin Mares 14874a219d5fSMartin Mares * lspci.c (show_verbose): Min/max latency is now printed in nanoseconds. 14884a219d5fSMartin Mares 14894a219d5fSMartin Mares2000-05-04 Martin Mares <[email protected]> 14904a219d5fSMartin Mares 14914a219d5fSMartin Mares * lspci.c (show_verbose): If the header type doesn't match device 14924a219d5fSMartin Mares class, just print a warning and still use the header type, assuming 14934a219d5fSMartin Mares bogus class info. 14944a219d5fSMartin Mares 149510c90662SMartin Mares2000-05-01 Martin Mares <[email protected]> 149610c90662SMartin Mares 149772b9b690SMartin Mares * lspci.c (show_pm): Updated according to PCI PM specs 1.1. 149872b9b690SMartin Mares 149910c90662SMartin Mares * pci.ids: Updated Contemporary Control ARCnet card entries. 150010c90662SMartin Mares 150110c90662SMartin Mares * pci.ids: Synchronized class list with latest PCI SIG documents. 150210c90662SMartin Mares 1503a239ade6SMartin Mares2000-04-29 Martin Mares <[email protected]> 1504a239ade6SMartin Mares 1505a239ade6SMartin Mares * lib/names.c (pci_lookup_name): Fixed the cheat. 1506a239ade6SMartin Mares 1507a239ade6SMartin Mares * lib/internal.h: Moved UNUSED/inline hacks above all other declarations. 1508a239ade6SMartin Mares 1509a239ade6SMartin Mares * pci.ids: Various ID updates. 1510a239ade6SMartin Mares 15112c83b860SMartin Mares2000-04-21 Martin Mares <[email protected]> 15122c83b860SMartin Mares 15132c83b860SMartin Mares * Released as 2.1.7. 15142c83b860SMartin Mares 15152c83b860SMartin Mares * pciutils.spec: Added German description. 15162c83b860SMartin Mares 15172c83b860SMartin Mares * lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's 15182c83b860SMartin Mares are the same as device ID and just output subsystem name according to 15192c83b860SMartin Mares device name. 15202c83b860SMartin Mares 15212c83b860SMartin Mares * lib/proc.c: Use UNUSED instead of __attribute__((unused)). 15222c83b860SMartin Mares 15232c83b860SMartin Mares * lib/pci.h: Added the correct typedefs for AIX. 15242c83b860SMartin Mares 15252c83b860SMartin Mares * lib/generic.c (pci_generic_scan_bus): Export. 15262c83b860SMartin Mares 15272c83b860SMartin Mares * lib/configure: Detect AIX. Use "echo '...\c'" instead of 15282c83b860SMartin Mares "echo -n" if the shell isn't bash. 15292c83b860SMartin Mares 15302c83b860SMartin Mares * lspci.c: Avoid using alloca() if not compiled by GCC. 15312c83b860SMartin Mares (insert_dev): Avoid returning a void value. 15322c83b860SMartin Mares 15332c83b860SMartin Mares * Makefile: Choose which install utility to use according to 15342c83b860SMartin Mares OS type. Also use `-o' instead of `-or' in find arguments. 15352c83b860SMartin Mares Part of the AIX port. 15362c83b860SMartin Mares 15372c83b860SMartin Mares * lib/aix-device.c: Added AIX low-level interface. Contributed 15382c83b860SMartin Mares by Dave Johnson <[email protected]>, thanks a lot! 15392c83b860SMartin Mares 15402c83b860SMartin Mares * pci.ids: Few new ID's. 15412c83b860SMartin Mares 15422c83b860SMartin Mares * pciutils.h, lib/internal.h: Redefine __attribute__ and inline 15432c83b860SMartin Mares when not compiled by GCC. 15442c83b860SMartin Mares 1545c1a828daSMartin Mares2000-04-17 Martin Mares <[email protected]> 1546c1a828daSMartin Mares 1547c1a828daSMartin Mares * Released as 2.1.6. 1548c1a828daSMartin Mares 1549c1a828daSMartin Mares * pci.ids: Added a large batch of ID's contributed by Gunther 1550c1a828daSMartin Mares Mayer <[email protected]> and synced the 1551c1a828daSMartin Mares list with the 2.3.99pre6 kernel. 1552c1a828daSMartin Mares 1553e91dd3abSMartin MaresThu Mar 9 13:11:39 2000 Martin Mares <[email protected]> 1554e91dd3abSMartin Mares 1555a80b79a9SMartin Mares * lib/example.c: Added a simple example of how to use 1556a80b79a9SMartin Mares the library. 1557a80b79a9SMartin Mares 155889984232SMartin Mares * lspci.man, setpci.man: Revealed --version. Well spotted 155989984232SMartin Mares by Adam Sulmicki. 156089984232SMartin Mares 1561e91dd3abSMartin Mares * pci.ids: Added lots of new ID's and synced with 2.3.50. 1562e91dd3abSMartin Mares 156378d9c5e2SMartin MaresTue Feb 15 00:16:21 2000 Martin Mares <[email protected]> 156478d9c5e2SMartin Mares 156578d9c5e2SMartin Mares * Released as 2.1.5. 156678d9c5e2SMartin Mares 156778d9c5e2SMartin Mares * pciutils.spec: Updated spec file from Andreas Jaeger. Now using 156878d9c5e2SMartin Mares %{_mandir} to find the right location to install manual pages to. 156978d9c5e2SMartin Mares 157078d9c5e2SMartin Mares * pci.ids: New ID's. 157178d9c5e2SMartin Mares 157278d9c5e2SMartin Mares * setpci.c (main): Don't crash when `-s' or `-d' is given with 157378d9c5e2SMartin Mares no argument. 157478d9c5e2SMartin Mares 1575f8141ae2SMartin MaresMon Jan 24 20:04:11 2000 Andreas Jaeger <[email protected]> 1576f8141ae2SMartin Mares 1577f8141ae2SMartin Mares * lib/i386-ports.c: Include <asm/io.h> only on systems without 1578f8141ae2SMartin Mares glibc. 1579f8141ae2SMartin Mares 1580f8141ae2SMartin MaresMon Jan 24 11:24:43 2000 Martin Mares <[email protected]> 1581f8141ae2SMartin Mares 1582f8141ae2SMartin Mares * Makefile: Modified to work with the Linux FHS brain-damaged idea 1583f8141ae2SMartin Mares of putting man pages to /usr/share/man. Now we choose either /usr/man 1584f8141ae2SMartin Mares or /usr/share/man depending on which one exists. 1585f8141ae2SMartin Mares 158659e76e8bSMartin MaresSun Jan 23 10:52:34 2000 Martin Mares <[email protected]> 158759e76e8bSMartin Mares 158859e76e8bSMartin Mares * pci.ids: Synced with Linux 2.3.40. 158959e76e8bSMartin Mares 159059e76e8bSMartin Mares * Released as version 2.1.4. 159159e76e8bSMartin Mares 15922dfd48cdSMartin MaresThu Jan 20 11:08:32 2000 Martin Mares <[email protected]> 15932dfd48cdSMartin Mares 15942715403fSMartin Mares * lspci.c (scan_device): Fixed bug in reading of cardbus extensions. 15952715403fSMartin Mares 159681077814SMartin Mares * lib/proc.c: pread/pwrite fixed again, this time on libc5 :( 159781077814SMartin Mares 159881077814SMartin Mares * lspci.c (format_agp_rate): Better formatting of AGP rates. 159981077814SMartin Mares 160081077814SMartin Mares * pci.ids: New ID's. 160181077814SMartin Mares 16022dfd48cdSMartin Mares * lib/configure: Added configuration for ia64 (the same as for Alpha). 16032dfd48cdSMartin Mares Patch from Stephane Eranian <[email protected]>. 16042dfd48cdSMartin Mares 16055a258860SMartin MaresThu Jan 13 23:01:52 2000 Martin Mares <[email protected]> 16065a258860SMartin Mares 16075a258860SMartin Mares * Released as version 2.1.3. 16085a258860SMartin Mares 16095a258860SMartin Mares * pci.ids: New ID's. 16105a258860SMartin Mares 16115a258860SMartin Mares * lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli. 16125a258860SMartin Mares 16135a258860SMartin Mares * lib/access.c: Corrected order of access methods -- it's wonderful how 16145a258860SMartin Mares long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff. 16155a258860SMartin Mares 16160c047bbeSMartin MaresSat Dec 11 23:34:48 1999 Martin Mares <[email protected]> 16170c047bbeSMartin Mares 16180c047bbeSMartin Mares * Released as version 2.1.2. 16190c047bbeSMartin Mares 16200c047bbeSMartin Mares * lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's. 16210c047bbeSMartin Mares 162233bc28a5SMartin MaresSat Dec 4 13:11:03 1999 Martin Mares <[email protected]> 162333bc28a5SMartin Mares 162439231205SMartin Mares * Released as version 2.1.1. 162539231205SMartin Mares 162633bc28a5SMartin Mares * pci.ids: Several new ID's. 162733bc28a5SMartin Mares 162833bc28a5SMartin Mares * setpci.c (exec_op): Don't forget to increment address after writing 162933bc28a5SMartin Mares single value, so that `30.b=12,34,56,78' works as expected. Reported 163033bc28a5SMartin Mares by Petr Soucek <[email protected]>. 163133bc28a5SMartin Mares 16328d047897SMartin MaresWed Nov 3 10:24:38 1999 Martin Mares <[email protected]> 16338d047897SMartin Mares 16348d047897SMartin Mares * lspci.c (show_terse): If prog-if is zero, but it's present in the 16358d047897SMartin Mares ID list, show it. 16368d047897SMartin Mares 16376afc6538SMartin MaresSat Oct 30 11:06:35 1999 Martin Mares <[email protected]> 16386afc6538SMartin Mares 16396afc6538SMartin Mares * Released as version 2.1. 16406afc6538SMartin Mares 16416afc6538SMartin Mares * pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in 16426afc6538SMartin Mares lots of contributed entries. 16436afc6538SMartin Mares 16448f756113SMartin MaresThu Oct 14 10:40:12 1999 Dave Jones <[email protected]> 16458f756113SMartin Mares 16468f756113SMartin Mares * pci.ids: Added lots of subsystem definitions. 16478f756113SMartin Mares 1648d4798a32SMartin MaresSat Oct 9 14:32:28 1999 Martin Mares <[email protected]> 1649d4798a32SMartin Mares 1650d4798a32SMartin Mares * setpci.man: Better example. 1651d4798a32SMartin Mares 1652d4798a32SMartin Mares * lspci.c: Resolve prog-if names. 1653d4798a32SMartin Mares 1654d4798a32SMartin Mares * lib/names.c: Adapted to new pci.ids syntax. 1655d4798a32SMartin Mares 1656d4798a32SMartin Mares * pci.ids: Reorganized the pci.ids file. Subsystems are listed 1657d4798a32SMartin Mares under devices, classes can optionally contain prog-if information. 1658d4798a32SMartin Mares New ID's, as usually. 1659d4798a32SMartin Mares 1660e306e911SMartin MaresWed Sep 22 09:45:24 1999 Martin Mares <[email protected]> 1661e306e911SMartin Mares 1662e306e911SMartin Mares * pci.ids: New ID's. As usually. 1663e306e911SMartin Mares 1664e306e911SMartin Mares * lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows 1665e306e911SMartin Mares unless we're vvvery verbose. 1666e306e911SMartin Mares 1667e306e911SMartin MaresMon Sep 20 11:22:54 1999 Martin Mares <[email protected]> 1668e306e911SMartin Mares 1669e306e911SMartin Mares * lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line. 1670e306e911SMartin Mares 1671e64a576cSMartin MaresTue Sep 14 09:31:01 1999 Martin Mares <[email protected]> 1672e64a576cSMartin Mares 1673e64a576cSMartin Mares * pci.ids: New ID's. Again. 1674e64a576cSMartin Mares 1675c36c0862SMartin MaresThu Aug 5 17:45:42 1999 Martin Mares <[email protected]> 1676c36c0862SMartin Mares 1677c36c0862SMartin Mares * lspci.c (show_size): Don't show size if it's zero (usually 1678c36c0862SMartin Mares due to bus-centric mode being enabled). 1679c36c0862SMartin Mares 16801ca42433SMartin MaresTue Jul 20 13:25:09 1999 Martin Mares <[email protected]> 16811ca42433SMartin Mares 1682168b4f46SMartin Mares * lib/pci.h: Types are OS dependent. 1683168b4f46SMartin Mares 1684168b4f46SMartin Mares * lib/internal.h: Byte order hacks are OS dependent. 1685168b4f46SMartin Mares 1686168b4f46SMartin Mares * lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS. 1687168b4f46SMartin Mares 1688168b4f46SMartin Mares * lib/Makefile, lib/access.c: Added fbsd-device target. 1689168b4f46SMartin Mares 1690168b4f46SMartin Mares * pci.ids: Added an entry for PLX 9080 bridges with subsystem ID 1691168b4f46SMartin Mares incorrectly set to device ID. 1692168b4f46SMartin Mares 1693168b4f46SMartin Mares * README: Added a note that we support FreeBSD. 1694168b4f46SMartin Mares 1695168b4f46SMartin Mares * Makefile (PREFIX, ROOT): Set it depending on the OS. 1696168b4f46SMartin Mares (%.8): Grrr, BSD date is not able to convert date formats the same way 1697168b4f46SMartin Mares as GNU date does. Use sed instead. 1698168b4f46SMartin Mares (install): Use `-c' when calling install. 1699168b4f46SMartin Mares 1700168b4f46SMartin Mares * lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed 1701168b4f46SMartin Mares by Jari Kirma <[email protected]>. 1702168b4f46SMartin Mares 1703bc6346dfSMartin Mares * lib/proc.c: Rewrote the pread/pwrite things once again. Use pread 1704bc6346dfSMartin Mares and pwrite only when we are certain it's safe (i.e., glibc 2.1 1705bc6346dfSMartin Mares on all architectures or any libc on a i386 where we really know 1706bc6346dfSMartin Mares how to use syscalls directly). In all other cases, emulate it 1707bc6346dfSMartin Mares with lseek/read/write. 1708bc6346dfSMartin Mares 17091ca42433SMartin Mares * pci.ids: Some more IDs. 17101ca42433SMartin Mares 17111ca42433SMartin MaresMon Jul 19 14:10:36 1999 Martin Mares <[email protected]> 17121ca42433SMartin Mares 17131ca42433SMartin Mares * pci.ids: Added IDs of parallel port controller cards as sent 17141ca42433SMartin Mares by Tim Waugh <[email protected]>. 17151ca42433SMartin Mares 1716e95c8373SMartin MaresWed Jul 7 00:55:48 1999 Martin Mares <[email protected]> 1717e95c8373SMartin Mares 1718e95c8373SMartin Mares * lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS. 1719e95c8373SMartin Mares 1720e95c8373SMartin Mares * lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and 1721e95c8373SMartin Mares HAVE_LONG_ADDRESS. 1722e95c8373SMartin Mares 1723e95c8373SMartin Mares * lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses 1724e95c8373SMartin Mares are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS 1725e95c8373SMartin Mares to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS 1726e95c8373SMartin Mares and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS 1727e95c8373SMartin Mares on Alpha. 1728e95c8373SMartin Mares 1729e95c8373SMartin Mares * lspci.c (show_msi): Added dumping of the MSI capability. 1730e95c8373SMartin Mares (show_slotid): The same for SlotID capability. 1731e95c8373SMartin Mares (show_caps): Seperated capability dumping, because it should 1732e95c8373SMartin Mares be used for both htype0 and htype1. Even PCI 2.2 doesn't mention 1733e95c8373SMartin Mares layout of htype2, so I'm a bit unsure about it wrt capabilities 1734e95c8373SMartin Mares -- they at least have to live somewhere else since address 0x34 1735e95c8373SMartin Mares is already defined differently in htype2. 1736e95c8373SMartin Mares 1737e95c8373SMartin Mares * lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2). 1738e95c8373SMartin Mares (PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto. 1739e95c8373SMartin Mares (PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2. 1740e95c8373SMartin Mares 1741e95c8373SMartin Mares * lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers 1742e95c8373SMartin Mares (required by the PCI 2.2 specs). 1743e95c8373SMartin Mares 1744e95c8373SMartin MaresMon Jul 5 12:45:19 1999 Martin Mares <[email protected]> 1745e95c8373SMartin Mares 1746e95c8373SMartin Mares * lspci.c (show_size): Added new function for dumping of region sizes. 1747e95c8373SMartin Mares (show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled 1748e95c8373SMartin Mares ROMs et cetera. 1749e95c8373SMartin Mares 1750e95c8373SMartin Mares * lib/pci.h (struct pci_dev): known_fields moved to the public part 1751e95c8373SMartin Mares of the structure. 1752e95c8373SMartin Mares 1753e95c8373SMartin Mares * Added support for region sizes. Needs support in the kernel, because 1754e95c8373SMartin Mares sizes have to be scanned before drivers initialize yourself. pci_fill_info() 1755e95c8373SMartin Mares now returns a bitmask of what fields were really read. 1756e95c8373SMartin Mares 175782ce97c9SMartin MaresMon Jun 28 18:37:51 1999 Dave Jones <[email protected]> 175882ce97c9SMartin Mares 175982ce97c9SMartin Mares * Makefile: 176082ce97c9SMartin Mares Added `uninstall' target - removes all traces of pciutils. 176182ce97c9SMartin Mares * pci.ids: 176282ce97c9SMartin Mares - Lots of cleanups in the ATI, S3, Adaptec vendors. 176382ce97c9SMartin Mares - Changed Compaq QVision 1280/p definitions, as it's not possible 176482ce97c9SMartin Mares to determine the revision from the device ID. 176582ce97c9SMartin Mares - Same for the Tseng ET4000. 176682ce97c9SMartin Mares The id's said I had a rev C, when it was actually a rev B. 176782ce97c9SMartin Mares - Removed some unnecessary strings 176882ce97c9SMartin Mares `PCI'. Unless it's an AGP card, it should be obvious that it's PCI. 176982ce97c9SMartin Mares `Ethernet card'. This should be determined from config space. 177082ce97c9SMartin Mares - Lots of other new vendors & devices 177182ce97c9SMartin Mares - Other additional small cleanups. 177282ce97c9SMartin Mares 17737bed2d83SMartin MaresMon Jun 21 22:11:10 1999 Martin Mares <[email protected]> 17747bed2d83SMartin Mares 17757bed2d83SMartin Mares * lib/names.c (pci_lookup_name): When device ID lookup 17767bed2d83SMartin Mares fails, return hexadecimal device ID instead of vendor ID. 17777bed2d83SMartin Mares Well spotted by Axel Bodemann <[email protected]>, 17787bed2d83SMartin Mares I've just extended the fix to subsystem ID's. 17797bed2d83SMartin Mares 17805ba3a475SMartin MaresThu Jun 17 19:48:21 1999 Martin Mares <[email protected]> 17815ba3a475SMartin Mares 17825ba3a475SMartin Mares * lspci.c (show_agp): Bug fix from Petr Vandrovec 17835ba3a475SMartin Mares <[email protected]>. The command register was displayed 17845ba3a475SMartin Mares incorrectly. 17855ba3a475SMartin Mares 17865ba3a475SMartin MaresWed Jun 2 22:42:44 1999 Martin Mares <[email protected]> 17875ba3a475SMartin Mares 17885ba3a475SMartin Mares * lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded 17895ba3a475SMartin Mares numbers if not supplied by the libc. 17905ba3a475SMartin Mares 179155c815b5SMartin MaresWed May 19 13:24:39 1999 Martin Mares <[email protected]> 179255c815b5SMartin Mares 179355c815b5SMartin Mares * Released the whole package as version 2.0. 179455c815b5SMartin Mares 179555c815b5SMartin MaresFri May 14 22:42:02 1999 Martin Mares <[email protected]> 179655c815b5SMartin Mares 179755c815b5SMartin Mares * pci.ids: Added several new ID's contributed by people 179855c815b5SMartin Mares on the linux-pci list. 179955c815b5SMartin Mares 1800dec16943SMartin MaresMon Apr 19 15:21:08 1999 Jakub Jelinek <[email protected]> 1801dec16943SMartin Mares 1802dec16943SMartin Mares * lspci.c: Display I/O addresses correctly on sparc64. 1803dec16943SMartin Mares * lib/header.h: Ditto. 1804dec16943SMartin Mares 1805dec16943SMartin Mares * lib/configure: On sparc set HAVE_64BIT* as well, we want 1806dec16943SMartin Mares a binary which works on both 32bit and 64bit SPARCs. 1807dec16943SMartin Mares 1808e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999 Martin Mares <[email protected]> 1809e33c9c7aSMartin Mares 1810e33c9c7aSMartin Mares * lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob 1811e33c9c7aSMartin Mares <[email protected]>. 1812e33c9c7aSMartin Mares 1813e33c9c7aSMartin Mares * pci.ids: A lot of updates from Adam J. Richter <[email protected]>. 1814e33c9c7aSMartin Mares 1815f3395cc5SMartin MaresSun Feb 28 22:26:21 1999 Martin Mares <[email protected]> 1816f3395cc5SMartin Mares 1817f3395cc5SMartin Mares * lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged 1818f3395cc5SMartin Mares as a multi-function device, because several single-function devices 1819f3395cc5SMartin Mares don't decode the function bits at all. 1820f3395cc5SMartin Mares 1821f3395cc5SMartin MaresSun Feb 14 23:48:22 1999 Martin Mares <[email protected]> 1822f3395cc5SMartin Mares 1823f3395cc5SMartin Mares * Makefile (install): Don't use "-o root -g root" for installation 1824f3395cc5SMartin Mares since it breaks on machines where programs are not installed by root. 1825f3395cc5SMartin Mares Reported by Richard Gooch <[email protected]> 1826f3395cc5SMartin Mares 1827f3395cc5SMartin MaresTue Feb 9 15:54:39 1999 Martin Mares <[email protected]> 1828f3395cc5SMartin Mares 1829f3395cc5SMartin Mares * lspci.c (show_bases): Use new address masking macros and pciaddr_t. 1830f3395cc5SMartin Mares 1831f3395cc5SMartin Mares * lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit 1832f3395cc5SMartin Mares or 64-bit depending on CPU. 1833f3395cc5SMartin Mares 1834f3395cc5SMartin Mares * lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks 1835f3395cc5SMartin Mares according to bus address width. 1836f3395cc5SMartin Mares 18371c31d620SMartin MaresThu Jan 28 20:54:16 1999 Martin Mares <[email protected]> 18381c31d620SMartin Mares 18391c31d620SMartin Mares * Released as 1.99.4. 18401c31d620SMartin Mares 18411c31d620SMartin Mares * lspci.c: Capability list parser now recognizes both AGP 18421c31d620SMartin Mares registers and PCI Power Management registers (the latter 18431c31d620SMartin Mares is mainly guesswork based on DEC/Intel 21153 bridge specs 18441c31d620SMartin Mares since I don't have the PCI Power Management document). 18451c31d620SMartin Mares 18461c31d620SMartin Mares * lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-' 18471c31d620SMartin Mares by FLAG macro. 18481c31d620SMartin Mares 18491c31d620SMartin Mares * lspci.c: Added bridge checks to bus mapping code. 18501c31d620SMartin Mares 18511812a795SMartin MaresWed Jan 27 14:59:16 1999 Martin Mares <[email protected]> 18521812a795SMartin Mares 18531812a795SMartin Mares * lspci.c: Implemented bus mapping mode (-M). 18541812a795SMartin Mares 18551812a795SMartin Mares * lspci.c (scan_devices): Split to scan_devices() and scan_device(). 18561812a795SMartin Mares (show): Split to show() and show_device(). 18571812a795SMartin Mares 18581812a795SMartin Mares * lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO, 18591812a795SMartin Mares set it to the real access method afterwards. 18601812a795SMartin Mares 18611812a795SMartin MaresMon Jan 25 23:46:13 1999 Martin Mares <[email protected]> 18621812a795SMartin Mares 18631812a795SMartin Mares * lib/generic.c (pci_generic_fill_info): If in buscentric mode, 18641812a795SMartin Mares don't check PCI_COMMAND for I/O and memory enables. 18651812a795SMartin Mares 1866f6c86928SMartin MaresMon Jan 25 21:28:49 1999 Martin Mares <[email protected]> 1867f6c86928SMartin Mares 1868f6c86928SMartin Mares * Makefile: Added target `release' which substitutes new version 1869f6c86928SMartin Mares number to .spec, .lsm and README. Also rewrote target `dist'. 1870f6c86928SMartin Mares 1871f6c86928SMartin Mares * Released as 1.99.3. 1872f6c86928SMartin Mares 1873b5137411SMartin MaresSun Jan 24 22:10:36 1999 Martin Mares <[email protected]> 1874b5137411SMartin Mares 1875d6b297d0SMartin Mares * lib/header.h: Until kernel adopts new layout of PCI 1876d6b297d0SMartin Mares includes (i.e., separate declaration of header structure, 1877d6b297d0SMartin Mares functions and device IDs), which is not going to happen 1878d6b297d0SMartin Mares before 2.3, we'll use our own definiton of the header. 1879d6b297d0SMartin Mares 1880b5137411SMartin Mares * lspci.c (show_verbose): Display `Cap' flag in device status. 1881b5137411SMartin Mares 1882b5137411SMartin Mares * lspci.c (show_htype0): Display capability lists whereever 1883b5137411SMartin Mares available. The only capability name we recognize now is `AGP'. 1884b5137411SMartin Mares Unfortunately, capabilities are stored in device-dependent 1885b5137411SMartin Mares portion of the configuration space and are thus available 1886b5137411SMartin Mares only to root unless you read a dump. 1887b5137411SMartin Mares 1888b5137411SMartin Mares * lspci.c (scan_devices): Use cache instead of buffering. 1889b5137411SMartin Mares 1890b5137411SMartin Mares * lib/buffer.c: Removed (obsoleted by the cache). 1891b5137411SMartin Mares 1892b5137411SMartin Mares * lib/access.c: Added general caching mechanism. 1893b5137411SMartin Mares 189481ce358dSMartin MaresSat Jan 23 21:30:54 1999 Martin Mares <[email protected]> 189581ce358dSMartin Mares 189681ce358dSMartin Mares * pci.ids: Added few devices. 189781ce358dSMartin Mares 1898727ce158SMartin MaresFri Jan 22 19:29:31 1999 Martin Mares <[email protected]> 1899727ce158SMartin Mares 1900727ce158SMartin Mares * Version string is now defined in top-level Makefile, exported 1901727ce158SMartin Mares to the configure script and also substituted to man pages. 1902727ce158SMartin Mares 1903727ce158SMartin Mares * lspci.c (show_bases): Rewrote displaying of 64-bit addresses. 1904727ce158SMartin Mares (show_verbose): Rewrote interrupt display logic. 1905727ce158SMartin Mares 1906727ce158SMartin Mares * lib/i386-ports.c: Include sys/io.h only on glibc systems. 1907727ce158SMartin Mares 1908727ce158SMartin Mares * lib/configure: Rewrote detection of Linux versions. Now it 1909727ce158SMartin Mares works on 2.0 kernels (only with direct/dump access, of course). 1910727ce158SMartin Mares 1911727ce158SMartin Mares * lib/internal.h: New bytesex macros using <asm/byteorder.h> 1912727ce158SMartin Mares whenever available. 1913727ce158SMartin Mares 1914727ce158SMartin Mares * lib/proc.c (proc_read, proc_write): Distinguish between short 1915727ce158SMartin Mares read/write and real errors. 1916727ce158SMartin Mares 1917727ce158SMartin Mares * lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since 1918727ce158SMartin Mares libpci respects buscentric mode automatically. 1919727ce158SMartin Mares 1920727ce158SMartin Mares * lspci.c (show_hex_dump): For CardBus bridges, print out 128 1921727ce158SMartin Mares bytes of header (the whole standard part). 1922727ce158SMartin Mares 1923727ce158SMartin Mares * common.c: pcilib options are now all uppercase. Also moved 1924727ce158SMartin Mares PCI access debugging option here. 1925727ce158SMartin Mares 1926727ce158SMartin Mares * Released as 1.99.2. 1927727ce158SMartin Mares 1928727ce158SMartin MaresWed Jan 20 22:50:35 1999 Martin Mares <[email protected]> 1929727ce158SMartin Mares 1930727ce158SMartin Mares * Wrote configure script and rewrote Makefiles. 1931727ce158SMartin Mares 1932727ce158SMartin Mares * Removed few unused variables. 1933727ce158SMartin Mares 1934727ce158SMartin MaresWed Jan 20 12:21:56 1999 Martin Mares <[email protected]> 1935727ce158SMartin Mares 1936727ce158SMartin Mares * common.c: Moved several functions used in both setpci and lspci 1937727ce158SMartin Mares here. This includes parsing of libpci-related options. 1938727ce158SMartin Mares 1939727ce158SMartin Mares * More library tweaks. 1940727ce158SMartin Mares 1941727ce158SMartin Mares * filter.c, names.c: Moved to library. 1942727ce158SMartin Mares 1943727ce158SMartin Mares * setpci: Rewritten to use the library. 1944727ce158SMartin Mares 1945727ce158SMartin Mares * Released as 1.99.1. 1946727ce158SMartin Mares 1947727ce158SMartin MaresTue Jan 19 23:00:12 1999 Martin Mares <[email protected]> 1948727ce158SMartin Mares 1949727ce158SMartin Mares * lspci.c (scan_devices): For cardbus bridges, read first 128 1950727ce158SMartin Mares bytes of config space to get full standard header. 1951727ce158SMartin Mares 1952727ce158SMartin Mares * Makefile (CFLAGS): Removed "-Wno-unused". 1953727ce158SMartin Mares 1954727ce158SMartin Mares * Started the "New Generation" branch and introduced the 1955727ce158SMartin Mares PCI library. 1956727ce158SMartin Mares 1957727ce158SMartin Mares * lspci: Rewritten to use the library. 1958727ce158SMartin Mares 19596ece6bc6SMartin MaresTue Jan 19 22:24:08 1999 Martin Mares <[email protected]> 19606ece6bc6SMartin Mares 19616ece6bc6SMartin Mares * Released as version 1.10. 19626ece6bc6SMartin Mares 19636ece6bc6SMartin MaresMon Jan 18 08:51:17 1999 Martin Mares <[email protected]> 19646ece6bc6SMartin Mares 19656ece6bc6SMartin Mares * lspci.8, setpci.8: Miscellaneous fixes as suggested by 19666ece6bc6SMartin Mares Dag Wieers <[email protected]>. 19676ece6bc6SMartin Mares 19681212dd6dSMartin MaresSun Nov 29 20:05:56 1998 Martin Mares <[email protected]> 19691212dd6dSMartin Mares 19701212dd6dSMartin Mares * pciutils.spec (Name): Update from Krzysztof G. Baranowski. 19711212dd6dSMartin Mares 1972d38471fdSMartin MaresSun Nov 22 10:49:56 1998 Martin Mares <[email protected]> 1973d38471fdSMartin Mares 1974d38471fdSMartin Mares * Makefile, pciutils.h: Moved pci.ids to /usr/share. 1975d38471fdSMartin Mares 1976d38471fdSMartin Mares * Released as version 1.09. 1977d38471fdSMartin Mares 1978371f605bSMartin MaresWed Nov 18 15:47:05 1998 Martin Mares <[email protected]> 1979371f605bSMartin Mares 1980371f605bSMartin Mares * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind 1981371f605bSMartin Mares bridge. Thanks to Petr Vandrovec <[email protected]> for bug report. 1982371f605bSMartin Mares 198310be47abSMartin MaresFri Oct 23 18:59:19 1998 Martin Mares <[email protected]> 198410be47abSMartin Mares 198510be47abSMartin Mares * setpci.c: Don't include <syscall-list.h> with glibc >= 2.1. 198610be47abSMartin Mares 1987472bd340SMartin MaresMon Oct 19 21:53:30 1998 Martin Mares <[email protected]> 1988472bd340SMartin Mares 1989472bd340SMartin Mares * Released as version 1.08. 1990472bd340SMartin Mares 1991472bd340SMartin Mares * setpci.c: glibc 2.1.x already defines pread() and pwrite(). 1992472bd340SMartin Mares 1993472bd340SMartin Mares * lspci.8: Changed warning about lspci -xxx. 1994472bd340SMartin Mares 1995472bd340SMartin Mares * lspci.c: Require "-xxx" for full configuration space dump, so that 1996472bd340SMartin Mares it's impossible to crash the machine by single typo. 1997472bd340SMartin Mares 1998472bd340SMartin Mares * specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>). 1999472bd340SMartin Mares 2000072c77e5SMartin MaresWed Sep 9 12:03:24 1998 Martin Mares <[email protected]> 2001072c77e5SMartin Mares 2002072c77e5SMartin Mares * lspci.c (show_bases): Better displaying of unassigned and 2003072c77e5SMartin Mares disabled bases. Thanks to Gabriel Paubert <[email protected]> 2004072c77e5SMartin Mares for an idea. 2005072c77e5SMartin Mares 2006b7554856SMartin MaresWed Sep 2 10:58:01 1998 Martin Mares <[email protected]> 2007b7554856SMartin Mares 2008b7554856SMartin Mares * setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC. 2009b7554856SMartin Mares (thanks to Geert Uytterhoeven for finding this out) 2010b7554856SMartin Mares 2011ce503b7fSMartin MaresFri Jul 17 10:43:30 1998 Martin Mares <[email protected]> 2012ce503b7fSMartin Mares 2013ce503b7fSMartin Mares * lspci.c (show_verbose): Print subsystem ID using the new resolver. 2014ce503b7fSMartin Mares (show_machine): Print subsystem ID. 2015ce503b7fSMartin Mares 2016ce503b7fSMartin Mares * names.c: New name resolution engine supporting subsystem IDs. 2017ce503b7fSMartin Mares 2018ce503b7fSMartin Mares * Released as version 1.07. 2019ce503b7fSMartin Mares 202096e4f295SMartin MaresWed Jul 15 15:37:21 1998 Martin Mares <[email protected]> 202196e4f295SMartin Mares 202296e4f295SMartin Mares * lspci.c (show_htype2 etc.): Displaying of CardBus headers. 202396e4f295SMartin Mares (show_bases): Honor the `cnt' argument. 202496e4f295SMartin Mares (grow_tree): Parse CardBus headers in tree mode as well. 202596e4f295SMartin Mares 202696e4f295SMartin Mares * pci.h: Updated CardBus header field description. I still don't 202796e4f295SMartin Mares have the CardBus standard available, but OZ6832 specs contain 202896e4f295SMartin Mares full description of all header fields supported by the chip. 202996e4f295SMartin Mares 20306ae3650aSMartin MaresTue Jun 9 22:53:59 1998 Martin Mares <[email protected]> 20316ae3650aSMartin Mares 2032304f9a0bSMartin Mares * Released as 1.06. 2033304f9a0bSMartin Mares 20346ae3650aSMartin Mares * names.c (parse_name_list): Killed an unused variable. 20356ae3650aSMartin Mares 20366ae3650aSMartin Mares * setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1 20376ae3650aSMartin Mares if they are not defined by glibc (needed for glibc built on older 20386ae3650aSMartin Mares kernels). Ugly. 20396ae3650aSMartin Mares 20406ae3650aSMartin Mares * setpci.c (exec_op): Fixed error messages. Thanks, Steve! 20416ae3650aSMartin Mares 20424b88a6b8SMartin MaresMon Jun 8 10:59:22 1998 Martin Mares <[email protected]> 20434b88a6b8SMartin Mares 20444b88a6b8SMartin Mares * Released as 1.05. 20454b88a6b8SMartin Mares 20464b88a6b8SMartin Mares * setpci.c: Problems with pread()/pwrite() with glibc on Alpha 20474b88a6b8SMartin Mares should be gone. Again thanks to Steve for bug report. 20484b88a6b8SMartin Mares 20494b88a6b8SMartin Mares * filter.c (filter_parse_slot): Fixed ":x" type filters. 20504b88a6b8SMartin Mares 20514b88a6b8SMartin Mares * pci.ids: Killed duplicate entry. Thanks to Stephen Williams 20524b88a6b8SMartin Mares <[email protected]> for reporting this. 20534b88a6b8SMartin Mares 20544b88a6b8SMartin MaresSun Jun 7 19:27:51 1998 Martin Mares <[email protected]> 20554b88a6b8SMartin Mares 20564b88a6b8SMartin Mares * lspci.c (main), setpci.c (main): Implemented "--version". 20574b88a6b8SMartin Mares 20584b88a6b8SMartin Mares * Released as 1.04. 20594b88a6b8SMartin Mares 20604b88a6b8SMartin Mares * pciutils.h (PCIUTILS_VERSION): Added version string. 20614b88a6b8SMartin Mares 20624b88a6b8SMartin Mares * filter.c, names.c: Extraneous #include <linux/pci.h> removed. 20634b88a6b8SMartin Mares Thanks to Geert Uytterhoeven <[email protected]> 20644b88a6b8SMartin Mares for bug report. 20654b88a6b8SMartin Mares 20669b306998SMartin MaresThu May 28 14:45:58 1998 Martin Mares <[email protected]> 20679b306998SMartin Mares 20689b306998SMartin Mares * pci.ids: More updates from Jens Maurer. 20699b306998SMartin Mares 2070b372672fSMartin MaresWed Apr 22 10:00:39 1998 Martin Mares <[email protected]> 2071b372672fSMartin Mares 2072b372672fSMartin Mares * pci.ids: Updates from Jens Maurer. 2073b372672fSMartin Mares 2074b2c9b373SMartin MaresSun Apr 19 11:14:25 1998 Martin Mares <[email protected]> 2075b2c9b373SMartin Mares 2076b372672fSMartin Mares * Released as 1.03. 2077b372672fSMartin Mares 2078b2c9b373SMartin Mares * setpci.8: Written. 2079b2c9b373SMartin Mares 2080b2c9b373SMartin Mares * setpci.c: Finished. 2081b2c9b373SMartin Mares 2082b2c9b373SMartin Mares * lspci.c: Now able to fetch expansion ROM base from kernel device list 2083b2c9b373SMartin Mares and print it if not in buscentric mode. 2084b2c9b373SMartin Mares 2085e4842ff3SMartin MaresTue Mar 31 23:11:57 1998 Martin Mares <[email protected]> 2086e4842ff3SMartin Mares 2087e4842ff3SMartin Mares * setpci.c: Added. 2088e4842ff3SMartin Mares 2089e4842ff3SMartin MaresSun Mar 22 15:39:08 1998 Martin Mares <[email protected]> 2090e4842ff3SMartin Mares 2091e4842ff3SMartin Mares * lspci.8: Updated the documentation. 2092e4842ff3SMartin Mares 2093e4842ff3SMartin Mares * lspci.c: Modified to use the new filtering mechanism (options -f and -d). 2094e4842ff3SMartin Mares 2095e4842ff3SMartin Mares * filter.c: Introduced new generic device filter. 2096e4842ff3SMartin Mares 2097008407bdSMartin MaresThu Mar 19 17:03:48 1998 Martin Mares <[email protected]> 2098008407bdSMartin Mares 2099008407bdSMartin Mares * lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying 2100008407bdSMartin Mares of PCI-to-PCI bridges in the tree format. 2101008407bdSMartin Mares 21020a33d0ecSMartin MaresSun Feb 15 10:12:25 1998 Martin Mares <[email protected]> 21030a33d0ecSMartin Mares 21040a33d0ecSMartin Mares * lspci.c (show_machine): Added non-verbose mode of machine-readable 21050a33d0ecSMartin Mares dump. 21060a33d0ecSMartin Mares 21070a33d0ecSMartin Mares * pci.ids: Updates from Jens Maurer. 21080a33d0ecSMartin Mares 21090a33d0ecSMartin Mares * Released as version 1.02. 21100a33d0ecSMartin Mares 21110a33d0ecSMartin MaresThu Feb 12 16:53:28 1998 Martin Mares <[email protected]> 21120a33d0ecSMartin Mares 21130a33d0ecSMartin Mares * lspci.c: Added a "-m" switch for dumping machine-readable 21140a33d0ecSMartin Mares configuration data (requested by Bjoern Kriews <[email protected]>). 21150a33d0ecSMartin Mares 2116fb38eee8SMartin MaresMon Feb 9 13:17:43 1998 Martin Mares <[email protected]> 2117fb38eee8SMartin Mares 2118fb38eee8SMartin Mares * Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h> 2119fb38eee8SMartin Mares if available. This should avoid all problems with official kernel 2120fb38eee8SMartin Mares not synchronized to newer PCI code in CVS -- standard distribution 2121fb38eee8SMartin Mares of pciutils now contains pci.h from current CVS kernel, pciutils 2122fb38eee8SMartin Mares in CVS contain no pci.h and use the correct kernel include. 2123fb38eee8SMartin Mares 2124fb38eee8SMartin Mares * Makefile: Fixed installation path for man pages. 2125fb38eee8SMartin Mares 21262f48f637SMartin MaresSat Feb 7 15:15:46 1998 Martin Mares <[email protected]> 21272f48f637SMartin Mares 21282f48f637SMartin Mares * README: Updated. 21292f48f637SMartin Mares 21302f48f637SMartin Mares * lspci.8: Created a man page. 21312f48f637SMartin Mares 21322f48f637SMartin Mares * Releasing as version 1.0. 21332f48f637SMartin Mares 21342f48f637SMartin MaresTue Feb 3 20:56:00 1998 Martin Mares <[email protected]> 21352f48f637SMartin Mares 21362f48f637SMartin Mares * Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx 21372f48f637SMartin Mares to all the C sources. This should eliminate problems with 32-bit compilers 21382f48f637SMartin Mares on sparc64. 21392f48f637SMartin Mares 21402f48f637SMartin Mares * lspci.c (show_verbose): Recognize CardBus bridge header type. 21412f48f637SMartin Mares (show_htype2): Stub routine. 21422f48f637SMartin Mares (scan_config): Write sensible error message if the kernel denies reading of 21432f48f637SMartin Mares upper part of the PCI config space. 2144