1*2ee7d45aSMartin Mares2017-02-15 Martin Mares <[email protected]> 2*2ee7d45aSMartin Mares 3*2ee7d45aSMartin Mares * Released as 3.5.3. 4*2ee7d45aSMartin Mares 5*2ee7d45aSMartin Mares * When lspci looks for Linux kernel modules, it uses the default 6*2ee7d45aSMartin Mares path to module directory provided by libkmod. Previously, 7*2ee7d45aSMartin Mares it tried to construct the path explicitly, which need not 8*2ee7d45aSMartin Mares work on all systems. 9*2ee7d45aSMartin Mares 10*2ee7d45aSMartin Mares * Improved formatting of memory and I/O ranges behind a bridge. 11*2ee7d45aSMartin Mares 12*2ee7d45aSMartin Mares * PCIe link capabilities now display GEN4 speed (16GT/s). 13*2ee7d45aSMartin Mares 14*2ee7d45aSMartin Mares * PCIe device capabilities now show bits related to atomic operations. 15*2ee7d45aSMartin Mares Thanks to Satanand Burla for a patch. 16*2ee7d45aSMartin Mares 17*2ee7d45aSMartin Mares * As usually, updated pci.ids to the current snapshot of the database. 18*2ee7d45aSMartin Mares 194a190235SMartin Mares2016-10-03 Martin Mares <[email protected]> 204a190235SMartin Mares 214a190235SMartin Mares * Released as 3.5.2. 224a190235SMartin Mares 234a190235SMartin Mares * The L1 power management capability is now decoded more 244a190235SMartin Mares thoroughly. Thanks to Rajat Jain for the patch. 254a190235SMartin Mares 264a190235SMartin Mares * The table of configuration registers used by setpci 274a190235SMartin Mares had a bug in the definition of SUBSYSTEM_VENDOR_ID. 284a190235SMartin Mares 292f8b8f9fSMartin Mares2016-05-22 Martin Mares <[email protected]> 302f8b8f9fSMartin Mares 312f8b8f9fSMartin Mares * Released as 3.5.1. 322f8b8f9fSMartin Mares 332f8b8f9fSMartin Mares * Fixed symbol versioning of pci_init(). 342f8b8f9fSMartin Mares 35ab6ed5fdSMartin Mares2016-05-19 Martin Mares <[email protected]> 36ab6ed5fdSMartin Mares 37ab6ed5fdSMartin Mares * Released as 3.5.0. 38ab6ed5fdSMartin Mares 39ab6ed5fdSMartin Mares * New capabilities decoded: Downstream Port Containment, 40ab6ed5fdSMartin Mares Precision Time Measurement. Thanks to Keith Busch and 41ab6ed5fdSMartin Mares Jonathan Yong. 42ab6ed5fdSMartin Mares 43ab6ed5fdSMartin Mares * Domain numbers extended to 31 bits. This will be used by the 44ab6ed5fdSMartin Mares Linux kernel on some machines in near future. 45ab6ed5fdSMartin Mares 46ab6ed5fdSMartin Mares * Enhanced allocation regions are now decoded on Linux. 47ab6ed5fdSMartin Mares 48ab6ed5fdSMartin Mares * The NetBSD back-end supports PCIe extended configuration space. 49ab6ed5fdSMartin Mares 50ab6ed5fdSMartin Mares * Updated pci.ids to the current snapshot of the database. 51ab6ed5fdSMartin Mares 5237c9315cSMartin Mares2016-01-03 Martin Mares <[email protected]> 5337c9315cSMartin Mares 5437c9315cSMartin Mares * Released as 3.4.1. 5537c9315cSMartin Mares 5637c9315cSMartin Mares * New capabilities decoded: Process Address Space, Page Request 5737c9315cSMartin Mares Interface, Enhanced Allocation. Thanks to David Daney and 5837c9315cSMartin Mares David Woodhouse. 5937c9315cSMartin Mares 6037c9315cSMartin Mares * DevCap SlotPowerLimit is now decoded for all components with 6137c9315cSMartin Mares upstream ports. 6237c9315cSMartin Mares 6337c9315cSMartin Mares * Database mirror at SourceForge moved to GitHub. 6437c9315cSMartin Mares 6537c9315cSMartin Mares * Updated pci.ids to the current snapshot of the database. 6637c9315cSMartin Mares 67508c53ebSMartin Mares2015-09-14 Martin Mares <[email protected]> 68508c53ebSMartin Mares 69508c53ebSMartin Mares * Released as 3.4.0. 70508c53ebSMartin Mares 71508c53ebSMartin Mares * On Linux, we report NUMA nodes of devices. 72508c53ebSMartin Mares 73508c53ebSMartin Mares * The sysfs back-end does not die on read errors 74508c53ebSMartin Mares of optional attributes. Instead, a warning is produced. 75508c53ebSMartin Mares 76508c53ebSMartin Mares * Fixed several minor bugs. 77508c53ebSMartin Mares 78508c53ebSMartin Mares * Updated pci.ids to the current snapshot of the database. 79508c53ebSMartin Mares 80949f4469SMartin Mares2015-04-09 Martin Mares <[email protected]> 81949f4469SMartin Mares 82949f4469SMartin Mares * Released as 3.3.1. 83949f4469SMartin Mares 84949f4469SMartin Mares * Removed hacks for backward compatibility with Linux libc5, 85949f4469SMartin Mares which were breaking newer non-glibc Linux systems. Thanks 86949f4469SMartin Mares to Felix Janda. 87949f4469SMartin Mares 88949f4469SMartin Mares * Display VirtIO vendor-specific capability. Patch by Gerd 89949f4469SMartin Mares Hoffmann. 90949f4469SMartin Mares 91949f4469SMartin Mares * Fixed memory leak in name cache. 92949f4469SMartin Mares 933bc4dd2cSMartin Mares * Updated pci.ids to the current snapshot of the database. 943bc4dd2cSMartin Mares 95f14d4d87SMartin Mares2014-11-10 Martin Mares <[email protected]> 96f14d4d87SMartin Mares 971481a1caSMartin Mares * Released as 3.3.0. 981481a1caSMartin Mares (celebrating a one-year anniversary of the previous version :)) 9928617b24SMartin Mares 10028617b24SMartin Mares * Device names exported by BIOS are displayed on Linux. 10128617b24SMartin Mares 10228617b24SMartin Mares * On Linux systems, HWDB is used to look up device names 10328617b24SMartin Mares when our ID database gives no match. (More precisely, 10428617b24SMartin Mares HWDB is consulted after local pci.ids, but before using 10528617b24SMartin Mares network to query online pci.ids.) Thanks to Tom Gundersen 10628617b24SMartin Mares for the initial patch. 10728617b24SMartin Mares 10828617b24SMartin Mares * Added experimental back-end for OS X / Darwin. Thanks to 10928617b24SMartin Mares Richard Yao for providing it. 11028617b24SMartin Mares 111afb881ccSMartin Mares * Filters now support matching by device class. Original 112afb881ccSMartin Mares patch by Matthew Wilcox, wrappers for ABI compatibility 113afb881ccSMartin Mares by me. 114afb881ccSMartin Mares 11528617b24SMartin Mares * Interrupt Pin and Interrupt Line registers are displayed 11628617b24SMartin Mares for bridge devices, too. 11728617b24SMartin Mares 11828617b24SMartin Mares * Several portability bugs have been fixed. 11928617b24SMartin Mares 12028617b24SMartin Mares * Several typos have been fixed. Also, use of questionable 12128617b24SMartin Mares constructs in man pages has been reduced. 12228617b24SMartin Mares 12328617b24SMartin Mares * PCIe link capabilities now include the ASPMOptComp bit. 12428617b24SMartin Mares 12528617b24SMartin Mares * The "CRS Software Visibility" bit is now decoded properly. 12628617b24SMartin Mares 12728617b24SMartin Mares * Updated pci.ids to the current snapshot of the database. 12828617b24SMartin Mares 129dc49926aSMartin Mares2013-11-10 Martin Mares <[email protected]> 130dc49926aSMartin Mares 131dc49926aSMartin Mares * Released as 3.2.1. 132dc49926aSMartin Mares 133dc49926aSMartin Mares * CardBus bridge capabilities are displayed. 134dc49926aSMartin Mares 135dc49926aSMartin Mares * PCIe L1 PM substates are decoded. 136dc49926aSMartin Mares 137dc49926aSMartin Mares * Various bugs were fixed in decoding of PCIe capabilities. 138dc49926aSMartin Mares 139dc49926aSMartin Mares * The sysfs back-end does not spit out unnecessary warnings when 140dc49926aSMartin Mares empty slots report only a partial device address. This actually 141dc49926aSMartin Mares happens on IBM pSeries. 142dc49926aSMartin Mares 143dc49926aSMartin Mares * Updated pci.ids to the today's snapshot of the database. 144dc49926aSMartin Mares 1456a4909eeSMartin Mares2013-04-19 Martin Mares <[email protected]> 1466a4909eeSMartin Mares 1476a4909eeSMartin Mares * Released as 3.2.0. 1486a4909eeSMartin Mares 1496a4909eeSMartin Mares * On newer Linux systems, we use libkmod to look up kernel modules 15069a77b5cSMartin Mares (modules.pcimap no longer exists). To facilitate this, libpci 1516a4909eeSMartin Mares is able to look up module aliases in sysfs. 1526a4909eeSMartin Mares 1536a4909eeSMartin Mares * Various minor bug fixes. 1546a4909eeSMartin Mares 1556a4909eeSMartin Mares * Updated pci.ids to the today's snapshot of the database. 1566a4909eeSMartin Mares 15727c0f3acSMartin Mares2012-06-25 Martin Mares <[email protected]> 15827c0f3acSMartin Mares 15927c0f3acSMartin Mares * Released as 3.1.10. 16027c0f3acSMartin Mares 16127c0f3acSMartin Mares * Decoding of LTR/OBFF in PCIe capabilities. 16227c0f3acSMartin Mares 16327c0f3acSMartin Mares * Various minor bug fixes. 16427c0f3acSMartin Mares 16527c0f3acSMartin Mares * Updated pci.ids to the today's snapshot of the database. 16627c0f3acSMartin Mares 16768e5ff17SMartin Mares2012-01-14 Martin Mares <[email protected]> 16868e5ff17SMartin Mares 16968e5ff17SMartin Mares * Released as 3.1.9. 17068e5ff17SMartin Mares 17168e5ff17SMartin Mares * Updated README. 17268e5ff17SMartin Mares 1736a4909eeSMartin Mares * Wherever we mention the PCI ID database, we now refer to 17468e5ff17SMartin Mares http://pci-ids.ucw.cz/ and the sf.net site is mentioned only 17568e5ff17SMartin Mares as a mirror. This includes update-pciids. 17668e5ff17SMartin Mares 17768e5ff17SMartin Mares * Decode PCIe Gen 3 speeds and link status fields. 17868e5ff17SMartin Mares 17968e5ff17SMartin Mares * Various minor bug fixes. 18068e5ff17SMartin Mares 18168e5ff17SMartin Mares * Updated pci.ids to the today's snapshot of the database. 18268e5ff17SMartin Mares 183a70dab15SMartin Mares2011-10-02 Martin Mares <[email protected]> 184a70dab15SMartin Mares 185a70dab15SMartin Mares * Released as 3.1.8. 186a70dab15SMartin Mares 187a70dab15SMartin Mares * More capabilities: Transaction Processing Hints, Latency Tolerance 188a70dab15SMartin Mares Reporting. Thanks to Jesse Barnes. 189a70dab15SMartin Mares 190a70dab15SMartin Mares * Added BeOS and Haiku ports. Contributed by Francois Revol. 191a70dab15SMartin Mares 192a70dab15SMartin Mares * pciutils.pc now uses Libs.private properly. 193a70dab15SMartin Mares 194a70dab15SMartin Mares * When we format a name and it does not fit in the buffer, we truncate 195a70dab15SMartin Mares it instead of returning "buffer too small" instead. This works on all 196a70dab15SMartin Mares platforms with sane (i.e., C99-compatible) snprintf(). 197a70dab15SMartin Mares 198a70dab15SMartin Mares * Various minor bug fixes. 199a70dab15SMartin Mares 200a70dab15SMartin Mares * Updated pci.ids to the today's snapshot of the database. 201a70dab15SMartin Mares 2026bc2bc1cSMartin Mares2010-01-31 Martin Mares <[email protected]> 2036bc2bc1cSMartin Mares 2046bc2bc1cSMartin Mares * Released as 3.1.7. 2056bc2bc1cSMartin Mares 2066bc2bc1cSMartin Mares * Minor improvements and bug fixes in decoding of the Virtual Channel 2076bc2bc1cSMartin Mares capability. 2086bc2bc1cSMartin Mares 209e3a052daSMartin Mares2010-01-24 Martin Mares <[email protected]> 210e3a052daSMartin Mares 211e3a052daSMartin Mares * Released as 3.1.6. 212e3a052daSMartin Mares 213e3a052daSMartin Mares * More capabilities decoded: Virtual Channel (except arbitration 214e3a052daSMartin Mares tables), Root Complex Link, Vendor-Specific (header only), SATA HBA. 215e3a052daSMartin Mares 216e3a052daSMartin Mares * All extended capabilities have their version displayed (-vv or more). 217e3a052daSMartin Mares 2189978b6fdSMartin Mares2010-01-19 Martin Mares <[email protected]> 2199978b6fdSMartin Mares 2209978b6fdSMartin Mares * Released as 3.1.5. 2219978b6fdSMartin Mares 2229978b6fdSMartin Mares * Updated pci.ids to the today's snapshot of the database. 2239978b6fdSMartin Mares 2249978b6fdSMartin Mares * When scanning extended capabilities, properly mask the lowest 2 bits, 2259978b6fdSMartin Mares which are currently reserved. This avoids unaligned access errors on 2269978b6fdSMartin Mares broken hardware (see tests/broken-ecaps). 2279978b6fdSMartin Mares 2289978b6fdSMartin Mares * Large bar sizes are displayed in human-readable format (with units). 2299978b6fdSMartin Mares Thanks to Matthew Wilcox. 2309978b6fdSMartin Mares 2319978b6fdSMartin Mares * Physical slot information is displayed correctly for multi-function cards. 2329978b6fdSMartin Mares Fixed by Matthew Wilcox. 2339978b6fdSMartin Mares 2349978b6fdSMartin Mares * Fixed a couple of typos everywhere. 2359978b6fdSMartin Mares 2369978b6fdSMartin Mares * Library: Fixed bugs in freeing of capabilities. 2379978b6fdSMartin Mares 2389978b6fdSMartin Mares * Windows back-end compiles again. 2399978b6fdSMartin Mares 240c67775bcSMartin Mares2009-08-14 Martin Mares <[email protected]> 241c67775bcSMartin Mares 242ebb9bc54SMartin Mares * Released as 3.1.4. 243ebb9bc54SMartin Mares (sorry that I have missed 22/7 and released it later :-)) 244c67775bcSMartin Mares 245c67775bcSMartin Mares * Updated pci.ids to the today's snapshot of the database. 246c67775bcSMartin Mares 247c67775bcSMartin Mares * Fixed memory and file descriptor leak in the dump back-end. 248c67775bcSMartin Mares 249c67775bcSMartin Mares * The SR-IOV capability decoder now prints the VF BAR's. 250c67775bcSMartin Mares Patch by Chris Wright, cleaned up by me. 251c67775bcSMartin Mares 252c67775bcSMartin Mares * On request of certain company's lawyers, we now include a copy 253c67775bcSMartin Mares of the GPL with our package. It seems that the pciutils are getting 254c67775bcSMartin Mares mature if the most important bug of the month was this one ;-) 255c67775bcSMartin Mares 25610df48cbSMartin Mares2009-07-04 Martin Mares <[email protected]> 25710df48cbSMartin Mares 25810df48cbSMartin Mares * Released as 3.1.3. 25910df48cbSMartin Mares 26010df48cbSMartin Mares * Updated pci.ids to the current snapshot of the database. 26110df48cbSMartin Mares 26210df48cbSMartin Mares * The VPD parser now reports unknown and vendor-defined items 26310df48cbSMartin Mares properly. It also stops on any item in unknown format, avoiding long 26410df48cbSMartin Mares output on bogus VPD data. Thanks to Ben Hutchings and Matthew Wilcox. 26510df48cbSMartin Mares 26610df48cbSMartin Mares * The MSI-X table size now matches the spec. Thanks to Michael S. 26710df48cbSMartin Mares Tsirkin. 26810df48cbSMartin Mares 26910df48cbSMartin Mares * The Power Management capability now includes the soft reset bit. 27010df48cbSMartin Mares Thanks to Yu Zhao. 27110df48cbSMartin Mares 27210df48cbSMartin Mares * Decoding of the Advanced Features capability has been added. 27310df48cbSMartin Mares Thanks to Yu Zhao. 27410df48cbSMartin Mares 27510df48cbSMartin Mares * The whole package compiles on GNU/kFreeBSD again. 27610df48cbSMartin Mares 27710df48cbSMartin Mares The following patches have been contributed by Matthew Wilcox: 27810df48cbSMartin Mares 27910df48cbSMartin Mares * The procfs back-end is able to cope with /proc/bus/pci 28010df48cbSMartin Mares containing names with domains, which occur on sparc64 and 28110df48cbSMartin Mares possibly other architectures due to a kernel bug. 28210df48cbSMartin Mares 28310df48cbSMartin Mares * The sysfs back-end no longer complains when a slot address 28410df48cbSMartin Mares is missing, which happens with old versions of Linux fakephp. 28510df48cbSMartin Mares 28610df48cbSMartin Mares * The Device Serial Number capability is printed in the right 28710df48cbSMartin Mares byte order. 28810df48cbSMartin Mares 28910df48cbSMartin Mares * The MSI and MSI-X capabilities are printed in a prettier way. 29010df48cbSMartin Mares 29110df48cbSMartin Mares * The tree output mode (`lspci -t') shows domain numbers only 29210df48cbSMartin Mares at the root, which makes the output more compact. 29310df48cbSMartin Mares 29410df48cbSMartin Mares * Updated documentation on the bus mapping mode (`lspci -M'). 29510df48cbSMartin Mares 29634683007SMartin Mares2009-02-01 Martin Mares <[email protected]> 29734683007SMartin Mares 29834683007SMartin Mares * Released as 3.1.2. 29934683007SMartin Mares 30034683007SMartin Mares * Fixed another silly bug in the command-line parser of setpci. 30134683007SMartin Mares 302f6523e28SMartin Mares2009-01-30 Martin Mares <[email protected]> 303f6523e28SMartin Mares 304f6523e28SMartin Mares * Released as 3.1.1. 305f6523e28SMartin Mares 306f6523e28SMartin Mares * Updated pci.ids to the current snapshot of the database. 307f6523e28SMartin Mares 308f6523e28SMartin Mares * The configure script now sets LC_ALL to avoid being fooled by 309f6523e28SMartin Mares locale-dependent behavior of `tr'. 310f6523e28SMartin Mares 311f6523e28SMartin Mares * The command-line parser of setpci did sometimes segfault on invalid 312f6523e28SMartin Mares input. Thanks to Andreas Wiese for a fix. 313f6523e28SMartin Mares 314db557900SMartin Mares2009-01-18 Martin Mares <[email protected]> 315db557900SMartin Mares 316db557900SMartin Mares * Released as 3.1.0. 317db557900SMartin Mares 318af358b08SMartin Mares * Updated pci.ids to the current snapshot of the database. 319af358b08SMartin Mares 320db557900SMartin Mares * The Cygwin backend now works on Windows Vista. Thanks to Jonathan 321db557900SMartin Mares Kotta. 322db557900SMartin Mares 323db557900SMartin Mares * Fixed a bug in decoding of the SR-IOV capability. Patch by Yu Zhao. 324db557900SMartin Mares 325db557900SMartin Mares * Details of some PCIe capabilities are displayed only with -vv. 326db557900SMartin Mares 327db557900SMartin Mares * When a BAR is reported by the OS, but not by the device (i.e., 328db557900SMartin Mares it is marked as [virtual] in lspci), the [disabled] flag is 329db557900SMartin Mares suppressed, because it does not make sense in such cases. 330db557900SMartin Mares Patch by Yu Zhao. 331db557900SMartin Mares 3322b31207aSMartin Mares2008-12-13 Martin Mares <[email protected]> 3332b31207aSMartin Mares 3342b31207aSMartin Mares * The source code of lspci has been split to multiple files, hopefully 3352b31207aSMartin Mares making it easier to maintain. 3362b31207aSMartin Mares 3372b31207aSMartin Mares * The library and lspci now know about physical slot names. So far, 3382b31207aSMartin Mares they are provided by the sysfs back-end only. Thanks go to Alex Chiang. 3392b31207aSMartin Mares 3402b31207aSMartin Mares * When a device has the VPD (Vital Product Data) capability and the 3412b31207aSMartin Mares VPD data are supplied by the OS, they are decoded and printed in the 3422b31207aSMartin Mares verbose mode. This currently works only on Linux with the sysfs 3432b31207aSMartin Mares back-end. Thanks to Ben Hutchings of Solarflare for the patch. 3442b31207aSMartin Mares 3452b31207aSMartin Mares * `setpci --version' now works properly. 3462b31207aSMartin Mares 3474d4325f8SMartin Mares * `setpci --dumpregs' prints a table of all known names of 3482b31207aSMartin Mares registers and capabilities. This replaces the table of registers 3492b31207aSMartin Mares in the setpci man page. 3502b31207aSMartin Mares 3512b31207aSMartin Mares * The dry-run mode of setpci gives better feedback. 3522b31207aSMartin Mares 3532b31207aSMartin Mares * The setpci utility is now able to address registers stored in PCI 3542b31207aSMartin Mares capabilities (actually it allows a more general form of relative 3552b31207aSMartin Mares addressing). 3562b31207aSMartin Mares 3572b31207aSMartin Mares * The library has gained functions for working with PCI capabilities. 3582b31207aSMartin Mares 3592b31207aSMartin Mares * Address Translation Services capability is now decoded. Patch by 3602b31207aSMartin Mares Yu Zhao. 3612b31207aSMartin Mares 362b282435dSMartin Mares2008-11-09 Martin Mares <[email protected]> 363b282435dSMartin Mares 364b282435dSMartin Mares * Released as 3.0.3. 365b282435dSMartin Mares 366b282435dSMartin Mares * `lspci -k' now displays the subsystem ID, too. This makes `-k' 367b282435dSMartin Mares show everything needed to identify the device and the available 368b282435dSMartin Mares drivers, which was called for by many users. 369b282435dSMartin Mares 370b282435dSMartin Mares * Fixed spelling of MSI. Patch by Matthew Wilcox. 371b282435dSMartin Mares 372b282435dSMartin Mares * Better support for cross-compilation. Thanks to Alon Bar-Lev 373b282435dSMartin Mares for the patch. 374b282435dSMartin Mares 375b282435dSMartin Mares * Fixed printing of the AER capability. Patch by Max Asbock. 376b282435dSMartin Mares 377b282435dSMartin Mares * HT 1.02 capabilities are decoded as HT 1.03. Suggested by 378b282435dSMartin Mares Carl-Daniel Hailfinger. 379b282435dSMartin Mares 380b282435dSMartin Mares * Fixed Cygwin build. Thanks to Steve Elliott for reporting the bug. 381b282435dSMartin Mares 382b282435dSMartin Mares * Updated pci.ids to the current snapshot of the database. 383b282435dSMartin Mares 384daf2ef4eSMartin Mares2008-09-19 Martin Mares <[email protected]> 385daf2ef4eSMartin Mares 386daf2ef4eSMartin Mares * Released as 3.0.2. 387daf2ef4eSMartin Mares 388daf2ef4eSMartin Mares * Fixed a minor bug in the configure script, which caused warnings 389daf2ef4eSMartin Mares about redefinition of symbols during compilation. 390daf2ef4eSMartin Mares 39138254178SMartin Mares2008-09-11 Martin Mares <[email protected]> 39238254178SMartin Mares 39338254178SMartin Mares * Released as 3.0.1. 39438254178SMartin Mares 39538254178SMartin Mares * Updated pci.ids to the most recent snapshot. 39638254178SMartin Mares 39738254178SMartin Mares * Added a Cygwin port. Patch by Christopher Voltz, ported to the 39838254178SMartin Mares current tree by Martin Mares. 39938254178SMartin Mares 40038254178SMartin Mares * Worked around compatibility problems with various default settings 40138254178SMartin Mares of wget (we have to set --no-timestamping explicitly). Thanks to Ville 40238254178SMartin Mares Skytta for pointing that out. 40338254178SMartin Mares 40438254178SMartin Mares * Fixed printing of MSI capabilities. Thanks to Matthew Wilcox for 40538254178SMartin Mares a patch. 40638254178SMartin Mares 40738254178SMartin Mares * Added decoding of several PCI-X capabilities: device/link/slot 2, 40838254178SMartin Mares Advanced Error Reporting, Access Control Services, Alternative Routing-ID, 40938254178SMartin Mares Single Root I/O Virtualization. Thanks to Yu Zhao for patches. 41038254178SMartin Mares 41138254178SMartin Mares * Fixed bug in filters which caused them to refuse vendor/device ID 0xffff. 41238254178SMartin Mares 41338254178SMartin Mares * README: The linux-pci mailing list has moved to [email protected]. 41438254178SMartin Mares 41538254178SMartin Mares * Fixed several build problems: builds without PCI_USE_DNS on Linux 41638254178SMartin Mares and with PCI_USE_DNS on Solaris and *BSD. Static library mode also 41738254178SMartin Mares compiles again on old versions of GCC. 41838254178SMartin Mares 419cec9f7e7SMartin Mares2008-04-10 Martin Mares <[email protected]> 420cec9f7e7SMartin Mares 421cec9f7e7SMartin Mares * Released as 3.0.0. 422cec9f7e7SMartin Mares 423cec9f7e7SMartin Mares * Updated API and ABI version. 424cec9f7e7SMartin Mares 425cd2f6a34SMartin Mares2008-02-20 Martin Mares <[email protected]> 426cd2f6a34SMartin Mares 427cd2f6a34SMartin Mares * Released as 2.99.1-alpha2. 428cd2f6a34SMartin Mares 429cd2f6a34SMartin Mares * Changed the default domain for the DNS resolver. 430cd2f6a34SMartin Mares 431165a50cbSMartin Mares2008-02-18 Martin Mares <[email protected]> 432165a50cbSMartin Mares 433165a50cbSMartin Mares * Released as 2.99.1-alpha1. 434623234ecSMartin Mares 435a1fca487SMartin Mares * The makefile system has been reworked. All configuration settings 436a1fca487SMartin Mares are now passed to the configure script in environment variables, 437a1fca487SMartin Mares allowing for easy tweaking in the top-level Makefile. All control 438a1fca487SMartin Mares knobs are now described in the README. 439a1fca487SMartin Mares 440a1fca487SMartin Mares * The libpci can be built as a shared library with properly restricted 441a1fca487SMartin Mares symbol exports. Use `make SHARED=yes' to enable that or `make SHARED=local' 442a1fca487SMartin Mares for a local testing build (with hardwired paths to the library, so that 443a1fca487SMartin Mares it does not need installation). 444a1fca487SMartin Mares 445a1fca487SMartin Mares * The example program has been moved from lib/example.c to the top-level 446a1fca487SMartin Mares directory, because it should be built exactly as the other utilities 447a1fca487SMartin Mares are. It has been also improved slightly to educate better. 448a1fca487SMartin Mares 449623234ecSMartin Mares * The i386-ports method is enabled on Linux/x86_64 as well. 450623234ecSMartin Mares 451ae27e293SMartin Mares2008-02-13 Martin Mares <[email protected]> 452ae27e293SMartin Mares 453ae27e293SMartin Mares * Released as 2.2.10-net2. 454ae27e293SMartin Mares 455ae27e293SMartin Mares * Support for resolving of PCI ID's using DNS together with a local 456ae27e293SMartin Mares cache of resolved entries has been added. See the `-q' and `-Q' options 457ae27e293SMartin Mares of lspci. 458ae27e293SMartin Mares 459ae27e293SMartin Mares * The library now has a generic system of settable parameters, which 460ae27e293SMartin Mares also include settings of the DNS resolver and cache. An `-O' option 461ae27e293SMartin Mares has been added to lspci and setpci to allow setting of these options. 462ae27e293SMartin Mares 463ae27e293SMartin Mares * Configuration of the access methods are now specified by the new 464ae27e293SMartin Mares parameter system, replacing the pci_access->method_params array. 465ae27e293SMartin Mares 466ae27e293SMartin Mares * Access methods now also have sensible names and help texts and it 467ae27e293SMartin Mares is possible to look up method ID by a name. 468ae27e293SMartin Mares 469ae27e293SMartin Mares * An `-A' switch has been added to both lspci and setpci, allowing to 470ae27e293SMartin Mares select an arbitrary access method. The `-P' switch (configure proc 471ae27e293SMartin Mares backend) has been removed as it is no longer needed and I do not know 472ae27e293SMartin Mares any its user. 473ae27e293SMartin Mares 474ae27e293SMartin Mares * Several source files have been split for better maintainability 475ae27e293SMartin Mares (most notably the resolving of ID's). 476ae27e293SMartin Mares 477ae27e293SMartin Mares * Man pages and help texts have been updated. A new man page `pcilib(7)' 478ae27e293SMartin Mares has been added and description of library options has been moved there. 479ae27e293SMartin Mares 480ae27e293SMartin Mares * When an unknown device ID is encountered, we print `Device <id>' 481ae27e293SMartin Mares instead of `Unknown device <id>'. It uses less space and it also 482ae27e293SMartin Mares should reduce the number of inexperienced users complaining that 483ae27e293SMartin Mares the device is not supported by the OS. To lookup up OS drivers, 484ae27e293SMartin Mares use the `-k' option. 485ae27e293SMartin Mares 486ae27e293SMartin Mares * PCI_LIB_VERSION has been bumped to 0x020299. 487ae27e293SMartin Mares 488ae27e293SMartin Mares * Makefile: stripping of the binaries during installation can be 489ae27e293SMartin Mares overridden by the STRIP variable. 490ae27e293SMartin Mares 491ae27e293SMartin Mares * lib/types.h: We use the integer types from <stdint.h> if the 492ae27e293SMartin Mares compiler claims C99 support. 493ae27e293SMartin Mares 4940fc3bd18SMartin Mares2008-02-11 Martin Mares <[email protected]> 4950fc3bd18SMartin Mares 4962466b14bSMartin Mares * Released as 2.2.10. 4972466b14bSMartin Mares 4986add52f5SMartin Mares * lspci.c, setpci.c: Cleaned up the list of options. 4996add52f5SMartin Mares 5000fc3bd18SMartin Mares * lib/names.c: Fix displaying of errors reported by zlib. 5010fc3bd18SMartin Mares Previously, the buffer containing the error message had 5020fc3bd18SMartin Mares been deallocated by gzclose() before the message was printed. 5030fc3bd18SMartin Mares 504d26b5378SMartin Mares2008-01-07 Martin Mares <[email protected]> 505d26b5378SMartin Mares 506d26b5378SMartin Mares * update-pciids.sh: Added quiet mode (-q). Clean up uncompressed 507d26b5378SMartin Mares files left by previous versions of the pciutils. Patch by Mike 508d26b5378SMartin Mares Frysinger. 509d26b5378SMartin Mares 510d26b5378SMartin Mares * update-pciids.man: Mention the -q switch. 511d26b5378SMartin Mares 512dc01dd60SMartin Mares2007-11-29 Martin Mares <[email protected]> 513dc01dd60SMartin Mares 514dc01dd60SMartin Mares * lib/dump.c: Squashed compiler warnings about code with 515dc01dd60SMartin Mares no effect (there really were surplus *'s). 516dc01dd60SMartin Mares 51711339c0dSMartin Mares2007-11-06 Martin Mares <[email protected]> 51811339c0dSMartin Mares 51913463566SMartin Mares * Released as 2.2.9. 52013463566SMartin Mares 52111339c0dSMartin Mares * lspci.c: Added a new switch `-k' which requests printing 52211339c0dSMartin Mares of information on kernel drivers attached to each device 52311339c0dSMartin Mares and on kernel modules reporting the ability to handle the 52411339c0dSMartin Mares device. So far, this is supported only on Linux with the 52511339c0dSMartin Mares sysfs back-end, so it is implemented internally in the lspci 52611339c0dSMartin Mares instead of the libpci. Thanks to Anicka <[email protected]> 52711339c0dSMartin Mares for help. 52811339c0dSMartin Mares 5293de798bdSMartin Mares2007-10-19 Martin Mares <[email protected]> 5303de798bdSMartin Mares 5316cdb9d93SMartin Mares * Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS. 5326cdb9d93SMartin Mares Also added an explicit pattern rule for linking to make sure 5336cdb9d93SMartin Mares that LDLIBS is used on all platforms. Thanks to Dan Nicholson 5346cdb9d93SMartin Mares for the suggestion. 5356cdb9d93SMartin Mares 5366cdb9d93SMartin Mares2007-10-19 Martin Mares <[email protected]> 5376cdb9d93SMartin Mares 538a404b115SMartin Mares * Released as 2.2.8. 539a404b115SMartin Mares 5403de798bdSMartin Mares * pci.ids: Revised class codes to match Conventional PCI 3.0 specs. 5413de798bdSMartin Mares Added a couple of new ones, renumbered `ADMA continuous operation' 5423de798bdSMartin Mares prog-if to 0x30 (even the old SATA Class Code ECN doesn't mention 5433de798bdSMartin Mares 0x40) and renumbered the satellite communication controllers. 5443de798bdSMartin Mares 5452d2c4810SMartin Mares * lib/header.h: Include `PCI hot-plug' and `Secure device' 546f7c76ec5SMartin Mares capabilities from PCI 3.0 specs. Also added `SATA HBA' and 547f7c76ec5SMartin Mares `Advanced features' caps from various ECN's. 5482d2c4810SMartin Mares 549fa2273caSMartin Mares * lspci.c: All known capabilities have at least their name displayed 550fa2273caSMartin Mares now. When we are unable to decode them completely, we signalize it 551fa2273caSMartin Mares with a `<?>' mark. 552fa2273caSMartin Mares 553fa2273caSMartin Mares * lspci.man: Document `<?>' and also mention that extended config 554fa2273caSMartin Mares space is currently available only with the linux_sysfs back-end. 555fa2273caSMartin Mares 55631c9bb28SMartin Mares * lspci.c: Decode the Debug port capability (per EHCI 0.96 spec). 55731c9bb28SMartin Mares 558a387042eSMartin Mares * lspci.c: Big code cleanup: re-arranged functions in the code, 559a387042eSMartin Mares renamed everything related to capabilities to cap_* and 560a387042eSMartin Mares all options except verbose to opt_*. 561a387042eSMartin Mares 5629c79fcc4SMartin Mares2007-10-14 Martin Mares <[email protected]> 5639c79fcc4SMartin Mares 5649c79fcc4SMartin Mares * lib/[fno]bsd-*: Removed extraneous braces. 5659c79fcc4SMartin Mares 566d5b4cd14SMartin Mares2007-10-12 Martin Mares <[email protected]> 567d5b4cd14SMartin Mares 568d5b4cd14SMartin Mares * Capability loop detection introduced 2.2.7 did not work 569d5b4cd14SMartin Mares properly with extended capabilities. Fixed. 570d5b4cd14SMartin Mares 571594de878SMartin Mares2007-10-05 Martin Mares <[email protected]> 572594de878SMartin Mares 5738a23eadcSMartin Mares * Released as 2.2.7. 5748a23eadcSMartin Mares 575594de878SMartin Mares * lspci.c (show_caps, show_ext_caps): Detect and report loops in 576594de878SMartin Mares capability lists. 577594de878SMartin Mares 5788a23eadcSMartin Mares * lspci.c, lib/header.h: Finished decoding of the PCI Express 5798a23eadcSMartin Mares capability. The extended capabilities remain undecoded for now, 5808a23eadcSMartin Mares but at least the list of them has been updated to reflect the 5818a23eadcSMartin Mares current PCI Express 2.0 spec. 5828a23eadcSMartin Mares 5838a23eadcSMartin Mares * lspci.c, lib/header.h: Decode new bits of traditional registers 5848a23eadcSMartin Mares as defined by PCIE / PCI-X. This includes discard timers in the bridge 5858a23eadcSMartin Mares control register and INTx enable/status in device control/status 5868a23eadcSMartin Mares registers. 5878a23eadcSMartin Mares 5888a23eadcSMartin Mares * lib/fbsd-device.c: Support domains on new FreeBSD's. Contributed 5898a23eadcSMartin Mares by Marius Strobl. 5908a23eadcSMartin Mares 59199091df9SMartin Mares2007-09-12 Hasso Tepper <[email protected]> 59299091df9SMartin Mares 59399091df9SMartin Mares * Extended the fbsd-device backend to run on Dragonfly BSD. 59499091df9SMartin Mares 59599091df9SMartin Mares * lspci.c: alloca() is declared in <stdlib.h> on BSD's, not <alloca.h>. 59699091df9SMartin Mares 59709156b3bSMartin Mares2007-09-03 Martin Mares <[email protected]> 59809156b3bSMartin Mares 59909156b3bSMartin Mares * Resurrected the Windows port, including cross-compilation by MinGW. 60009156b3bSMartin Mares Patch by Samuel Bronson <[email protected]>. 60109156b3bSMartin Mares 602325a3c50SMartin Mares2007-08-31 Martin Mares <[email protected]> 603325a3c50SMartin Mares 604325a3c50SMartin Mares * Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to allow 605325a3c50SMartin Mares cross-compilation. 606325a3c50SMartin Mares 607a2322147SMartin Mares2007-08-27 Martin Mares <[email protected]> 608a2322147SMartin Mares 609a2322147SMartin Mares * lib/names.c (pci_open): When calling gzopen(), use "rb" file mode 610a2322147SMartin Mares instead of "r". This is needed on DOS systems, where this function 611a2322147SMartin Mares somewhat illogically uses the binary flag for the compressed file 612a2322147SMartin Mares instead of the decompressed stream inside, where binariness really 613a2322147SMartin Mares matters. 614a2322147SMartin Mares 6154f2c5b94SMartin Mares2007-08-14 Martin Mares <[email protected]> 6164f2c5b94SMartin Mares 6174f2c5b94SMartin Mares * lspci.c (show_ht): Added decoding of Hypertransport MSI mapping capability, 6184f2c5b94SMartin Mares based on a patch by Jason Gunthorpe. 6194f2c5b94SMartin Mares 6204f2c5b94SMartin Mares * tests/cap-MSI-mapping: Added a test case. I plan to add test cases 6214f2c5b94SMartin Mares (which are dumps of config space) for all new features. 6224f2c5b94SMartin Mares 6230d7f5331SMartin Mares2007-06-20 Martin Mares <[email protected]> 6240d7f5331SMartin Mares 6257cebe481SMartin Mares * Released as 2.2.6. 6267cebe481SMartin Mares 6270d7f5331SMartin Mares * Makefile: Added an "install-lib" target. Thanks to Dan Nicholson 6280d7f5331SMartin Mares for a patch. 6290d7f5331SMartin Mares 6307cebe481SMartin Mares * Makefile, lib/Makefile: Generate and install pkg-config file 6317cebe481SMartin Mares for libpci. Again by Dan Nicholson. 6327cebe481SMartin Mares 6330d7f5331SMartin Mares2007-06-20 Thomas Schwinge <[email protected]> 6340d7f5331SMartin Mares 6350d7f5331SMartin Mares * lib/i386-io-hurd.h: Rewritten for new Hurd kernels. 6360d7f5331SMartin Mares 6376e4a45edSMartin Mares2007-05-04 Martin Mares <[email protected]> 6386e4a45edSMartin Mares 63955c89179SMartin Mares * Released as 2.2.5. 64055c89179SMartin Mares 6416e4a45edSMartin Mares * pci.ids: Updated to the current snapshot of the database. 6426e4a45edSMartin Mares 643d0b07542SMartin Mares2007-02-14 Martin Mares <[email protected]> 644d0b07542SMartin Mares 645d0b07542SMartin Mares * lspci.c (show_express): Added PCI/PCI-X to PCI-Express Bridge type. 646d0b07542SMartin Mares Patch by Mark Glines. 647d0b07542SMartin Mares 6483df35926SMartin Mares2007-02-09 Martin Mares <[email protected]> 6493df35926SMartin Mares 6503df35926SMartin Mares * pci.ids: Updated to the current snapshot of the database. 6513df35926SMartin Mares 652e49ed044SMartin Mares2007-02-06 Martin Mares <[email protected]> 653e49ed044SMartin Mares 6541ac3a99dSMartin Mares * Replaced bzero() by memset() everywhere, it's better to lose a tiny 6551ac3a99dSMartin Mares bit of readability than maintain hacks to make it work on various systems. 6561ac3a99dSMartin Mares 657b0eb18ccSMartin Mares * lib/configure: tr on Solaris is a bit weird and it requires `[A-Z]' 658b0eb18ccSMartin Mares instead of `A-Z'. Fortunately, the extra brackets don't hurt otherwise. 659b0eb18ccSMartin Mares 660e49ed044SMartin Mares * lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise 661e49ed044SMartin Mares integer types. 662e49ed044SMartin Mares 6639de2768cSMartin Mares2007-02-04 Martin Mares <[email protected]> 6649de2768cSMartin Mares 6659de2768cSMartin Mares * lspci.c: alloca() needs <alloca.h>. 6669de2768cSMartin Mares 667d19394dbSMartin Mares2006-09-17 Martin Mares <[email protected]> 668d19394dbSMartin Mares 669d19394dbSMartin Mares * lib/dump.c: Fixed a couple of bugs in the dump backend which caused 670d19394dbSMartin Mares devices with domains or with extended config space to be read incorrectly. 671d19394dbSMartin Mares Also, dumps with partial lines are allowed now. 672d19394dbSMartin Mares 673934e7e36SMartin Mares2006-09-10 Martin Mares <[email protected]> 674934e7e36SMartin Mares 675f09856deSMartin Mares * pci.ids: Updated to the current database snapshot. 676f09856deSMartin Mares 677934e7e36SMartin Mares * lspci.c (scan_device): If an error occurs when reading the standard config 678934e7e36SMartin Mares header of a device, report it and ignore the device and return with exit 679934e7e36SMartin Mares code 2 at the end. 680934e7e36SMartin Mares 681b2055313SMartin Mares2006-09-09 Martin Mares <[email protected]> 682b2055313SMartin Mares 683fb260653SMartin Mares * Released as 2.2.4. 684fb260653SMartin Mares 6851865e2ddSMartin Mares * maint/release: Remind the maintainer about the current PCI_LIB_VERSION. 6861865e2ddSMartin Mares 687028dffb2SMartin Mares * lib/pci.h: Updated PCI_LIB_VERSION. 688028dffb2SMartin Mares 68913081e57SMartin Mares * lspci.c (show_machine): In the `-m' mode, do proper shell escaping 69013081e57SMartin Mares if the fields printed contain quotes or backslashes. 69113081e57SMartin Mares 6923fd6b4d2SMartin Mares * lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse 6933fd6b4d2SMartin Mares of the `Device' tag for two different purposes. 6943fd6b4d2SMartin Mares 695840d09aeSMartin Mares * Makefile: Moved all system-dependent decisions to lib/configure, 696840d09aeSMartin Mares since config.mk is included in the top-level Makefile anyway. 697840d09aeSMartin Mares 6982100f710SMartin Mares * lib/configure: When configuring for Linux, ignore the kernel version 6992100f710SMartin Mares and always build all access methods. 7002100f710SMartin Mares 7013e9c7a18SMartin Mares * Makefile (CFLAGS): Removed -Winline, it's not needed and triggers 7023e9c7a18SMartin Mares at many non-interesting places with gcc 3.4. 7033e9c7a18SMartin Mares 70494db5c82SMartin Mares * Whitespace cleanup of all source files. 70594db5c82SMartin Mares 706cc062b4aSMartin Mares * The pci.ids file can be stored compressed if zlib is available. 707cc062b4aSMartin Mares Added transparent decompression to lib/names.c, modified update-pciids.sh 708cc062b4aSMartin Mares to keep the file compressed if applicable, updated Makefiles. 709cc062b4aSMartin Mares Based on a patch by Matthew Wilcox, but all the bugs are mine. 710cc062b4aSMartin Mares 711f4ddb8d3SMartin Mares * Makefile, README: Allow installation to be done to a different directory 712f4ddb8d3SMartin Mares from the one we will eventually be placed in by setting DESTDIR. 713f4ddb8d3SMartin Mares Patch by Matthew Wilcox. 714f4ddb8d3SMartin Mares 71516e37012SMartin Mares * Added .gitignore files. 71616e37012SMartin Mares 717c7f5314dSMartin Mares * Makefile (clean): Clean *.orig, too. 718c7f5314dSMartin Mares 719afebde01SMartin Mares * Cleaned up usage of `char' and `byte'. 720afebde01SMartin Mares 721fd54ccebSMartin Mares * lib/header.h: PCI_CLASS_DOCKING_OTHER should be 0x0a80, not 0x0a01. 722fd54ccebSMartin Mares 723b2055313SMartin Mares * lib/header.h: Added PCI_CLASS_xxx constants for all classes currently 724b2055313SMartin Mares defined in the pci.ids file. 725b2055313SMartin Mares 7264254d153SMartin Mares2006-08-01 Martin Mares <[email protected]> 7274254d153SMartin Mares 7284254d153SMartin Mares * lib/i386-io-hurd.h: Fixed a silly typo. 7294254d153SMartin Mares 7301c5cc9b5SMartin Mares2006-07-30 Martin Mares <[email protected]> 7311c5cc9b5SMartin Mares 73238a9e3c3SMartin Mares * lib/Makefile: Added a missing rule for obsd-device.o. 73338a9e3c3SMartin Mares 734c7ddfa3eSMartin Mares * lspci.c, lib/header.h: Added support for MSI per-vector masking. 735c7ddfa3eSMartin Mares Contributed by Petr Vandrovec. 736c7ddfa3eSMartin Mares 737248a04f8SMartin Mares * lspci.c, lib/header.h: Added support for the `bridge subsystem ID' 738248a04f8SMartin Mares capability. Contributed by Petr Vandrovec. 739248a04f8SMartin Mares 740f29dcc87SMartin Mares * lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable 741f29dcc87SMartin Mares memory windows. Fix by Petr Vandrovec. 742f29dcc87SMartin Mares 7438eab3bffSMartin Mares * maint/release.pm: Exclude .git directory from releases. 7448eab3bffSMartin Mares 745d305d704SMartin Mares * lib/i386-ports.c, lib/i386-io-*: Report failures during port access 746d305d704SMartin Mares initialization by a->warn() instead of calling printf() or perror() 747d305d704SMartin Mares directly. 748d305d704SMartin Mares 7499007a292SMartin Mares * lib/i386-ports.c, lib/i386-io-*: Moved the logic which keeps track of 7509007a292SMartin Mares the port access state to generic code. 7519007a292SMartin Mares 752bd20d5b5SMartin Mares * lib/i386-io-hurd.h: Ask the kernel for I/O port access appropriately. 753bd20d5b5SMartin Mares Contributed by Thomas Schwinge and Samuel Thibault. 754bd20d5b5SMartin Mares 75573750606SMartin Mares * lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module. 75673750606SMartin Mares 757d71daa45SMartin Mares * lib/header.h: Whitespace cleanups. 758d71daa45SMartin Mares 7591c5cc9b5SMartin Mares * lib/i386-io-windows.h: Fixed indentation and spelling. 7601c5cc9b5SMartin Mares 7611c5cc9b5SMartin Mares * README.Windows: Mention that WinIO.dll is needed and where to get it. 7621c5cc9b5SMartin Mares 763c2b144efSMartin Mares2006-06-27 Martin Mares <[email protected]> 764c2b144efSMartin Mares 76514d4f989SMartin Mares * lib/Makefile, Makefile: Added rules for building and cleaning the example. 76614d4f989SMartin Mares 76714d4f989SMartin Mares * lib/example.c: Show how to use PCI_FILL_CLASS and used another register 76814d4f989SMartin Mares for demonstrating the config space accesses. The example is still very 76914d4f989SMartin Mares incomplete, though. 77014d4f989SMartin Mares 771c2b144efSMartin Mares * lib/pci.h, lib/generic.c: Added PCI_FILL_CLASS. 772c2b144efSMartin Mares 773c2b144efSMartin Mares * lib/sysfs.c: Fetch device ID and class from sysfs, because they can 774c2b144efSMartin Mares be modified by kernel fixups. 775c2b144efSMartin Mares 776c2b144efSMartin Mares * lspci.c: Use PCI_FILL_CLASS. Thanks to Matthew Willcox for the patch. 777c2b144efSMartin Mares 778bc2eed2dSMartin Mares2006-06-03 Martin Mares <[email protected]> 779bc2eed2dSMartin Mares 780bc2eed2dSMartin Mares * lspci.c: Introduced the -nn switch. Thanks to David N. Welton 781bc2eed2dSMartin Mares for the idea. 782bc2eed2dSMartin Mares 783bc2eed2dSMartin Mares * lib/names.c (pci_lookup_name): Introduced PCI_LOOKUP_MIXED and 784bc2eed2dSMartin Mares cleaned up the name selection code. 785bc2eed2dSMartin Mares 786c72eeddeSMartin Mares * lib/names.c (pci_lookup_name): If PCI_LOOKUP_NO_NUMBERS is given, 787c72eeddeSMartin Mares pci_access->numeric_ids is ignored. 788c72eeddeSMartin Mares 789c72eeddeSMartin Mares * lib/names.c (pci_lookup_name): When class is identified and 790c72eeddeSMartin Mares subclass isn't, display class name and subclass number. 791c72eeddeSMartin Mares 7922f294d4bSMartin Mares2006-05-31 Martin Mares <[email protected]> 7932f294d4bSMartin Mares 7942f294d4bSMartin Mares * setpci.c (main): Don't crash when an invalid width is specified. 7952f294d4bSMartin Mares 79681afa98cSMartin Mares * lspci.c, setpci.c, common.c: die() now uses the right program 79781afa98cSMartin Mares name when printing an error message. 79881afa98cSMartin Mares 7990ac282f2SMartin Mares2006-05-19 Martin Mares <[email protected]> 8000ac282f2SMartin Mares 8010ac282f2SMartin Mares * README: Mention the public GIT tree. 8020ac282f2SMartin Mares 8030ac282f2SMartin Mares * README: Updated the list of ports. 8040ac282f2SMartin Mares 805d1058e9dSMartin Mares2006-05-10 Martin Mares <[email protected]> 806d1058e9dSMartin Mares 807d1058e9dSMartin Mares * lib/configure, lib/fbsd-device.c: Added support for GNU/kFreeBSD. 808d1058e9dSMartin Mares Thanks to Petr Salinger for the patch. 809d1058e9dSMartin Mares 810abf8d505SMartin Mares2006-05-05 Martin Mares <[email protected]> 811abf8d505SMartin Mares 8122ae2d1aeSMartin Mares * Released as 2.2.3. 8132ae2d1aeSMartin Mares 8142ae2d1aeSMartin Mares * lspci.c (scan_device): The -D switch didn't work as intended 8152ae2d1aeSMartin Mares in -m mode. 8162ae2d1aeSMartin Mares 8172ae2d1aeSMartin Mares2006-05-05 Martin Mares <[email protected]> 8182ae2d1aeSMartin Mares 8191d5cf727SMartin Mares * Released as 2.2.2. 8201d5cf727SMartin Mares 8218a830168SMartin Mares * pci.ids: Updated to the current database snapshot. 8228a830168SMartin Mares 823b6359063SMartin Mares * lib/obsd-device.c (and other files in lib/*): Added OpenBSD 824b6359063SMartin Mares interface by Matthieu Herrb <[email protected]>, based on 825b6359063SMartin Mares the existing FreeBSD interface. 826b6359063SMartin Mares 827abf8d505SMartin Mares * Moved pciutils to a GIT repository, which now contains merged 828abf8d505SMartin Mares history from both CVS and Arch. Good bye, TLA! 829abf8d505SMartin Mares 8306ac70402SMartin Mares2006-03-21 Martin Mares <[email protected]> 8316ac70402SMartin Mares 8322a124daeSMartin Mares * lspci.c (show_slot_name): Avoid the previous changes in default 8332a124daeSMartin Mares display of domain name when in machine-readable mode. However, `-D' 8342a124daeSMartin Mares forces domain display even there. 8352a124daeSMartin Mares 8366ac70402SMartin Mares * lspci.man: Added a warning on -m being the only format, which is 8376ac70402SMartin Mares guaranteed to be stable between lspci versions. 8386ac70402SMartin Mares 8391bbdea17SMartin Mares2006-03-13 Martin Mares <[email protected]> 8401bbdea17SMartin Mares 841af61eb25SMartin Mares * lspci.man: Documented the -D switch. 842af61eb25SMartin Mares 843af61eb25SMartin Mares * lspci.c (show_slot_name, scan_device): If there are multiple PCI 844af61eb25SMartin Mares domains or if the `-D' switch is used, show the domain number for 845af61eb25SMartin Mares all devices. 846af61eb25SMartin Mares 8477a61b93cSMartin Mares * lspci.c (show_verbose): Report cache line size in bytes. 8487a61b93cSMartin Mares 8491bbdea17SMartin Mares * update-pciids.sh: Use curl if available. Patch by Matthew Wilcox. 8501bbdea17SMartin Mares 8510e78ef8aSMartin Mares2006-01-04 Martin Mares <[email protected]> 8520e78ef8aSMartin Mares 8530e78ef8aSMartin Mares * lspci.c (show_express_link): Fixed decoding of link status register. 8540e78ef8aSMartin Mares Thanks to Roland Dreier for his report. 8550e78ef8aSMartin Mares 856e6859953SMartin Mares2005-12-12 Martin Mares <[email protected]> 857e6859953SMartin Mares 858e6859953SMartin Mares * lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow 859e6859953SMartin Mares at least read-only access. Patch by Pavel Celeda <[email protected]>. 860e6859953SMartin Mares 861e6859953SMartin Mares * Makefile: Corrected library path on NetBSD. 862e6859953SMartin Mares 863a99c0d69SMartin Mares2005-11-26 Martin Mares <[email protected]> 864a99c0d69SMartin Mares 865e4af70c6SMartin Mares * Released as 2.2.1. 866e4af70c6SMartin Mares 867a99c0d69SMartin Mares * lspci.c (show_machine): Subsystem vendors were printed incorrectly 868a99c0d69SMartin Mares in machine-readable modes. Thanks to Pavel Celeda for a bug report. 869a99c0d69SMartin Mares 870f23fd3fcSMartin Mares2005-10-11 Martin Mares <[email protected]> 871f23fd3fcSMartin Mares 872f23fd3fcSMartin Mares * lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it. 873f23fd3fcSMartin Mares 87415296723SMartin Mares2005-09-21 Martin Mares <[email protected]> 87515296723SMartin Mares 87615296723SMartin Mares * Released as 2.2.0. 87715296723SMartin Mares 87840b6d93fSMartin Mares * pci.ids: Updated copyright header. 87940b6d93fSMartin Mares 88015296723SMartin Mares * lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported 88115296723SMartin Mares 64-bit addresses, they are now always supported. 88215296723SMartin Mares 88315296723SMartin Mares * lspci.c (show_bases): Corrected printing of 64-bit addresses 88415296723SMartin Mares in bus-centric mode. 88515296723SMartin Mares 88615296723SMartin Mares * lib/configure: Enable 64-bit addresses on all Linux systems. 88715296723SMartin Mares 88815296723SMartin Mares * lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they 88915296723SMartin Mares are shorter. 89015296723SMartin Mares 891224707baSMartin Mares2005-09-11 Martin Mares <[email protected]> 892224707baSMartin Mares 893224707baSMartin Mares * Released as 2.1.99-test11. 894224707baSMartin Mares 895224707baSMartin Mares * lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls. 896224707baSMartin Mares 897aeaca5d3SMartin Mares2005-09-10 Martin Mares <[email protected]> 898aeaca5d3SMartin Mares 899224707baSMartin Mares * Released as 2.1.99-test10. 900224707baSMartin Mares 90163e6f2e0SMartin Mares * pci.ids: Synchronized with the current database snapshot. 90263e6f2e0SMartin Mares 903043ebdeeSMartin Mares * update-pciids.sh: Changed the default URL for downloading pci.ids 904043ebdeeSMartin Mares to http://pciids.sourceforge.net/v2.2/pci.ids. 905043ebdeeSMartin Mares 906043ebdeeSMartin Mares * lib/pci.h (PCI_LIB_VERSION): Added version identifier. 907043ebdeeSMartin Mares 908aeaca5d3SMartin Mares * lib/names.c: Rewritten the name database module almost from scratch. 909aeaca5d3SMartin Mares Everything is much cleaner and there are hopefully no more memory leaks; 910aeaca5d3SMartin Mares pci_lookup_name() now uses varargs in a backward compatible fashion. 911aeaca5d3SMartin Mares Introduced PCI_LOOKUP_NO_NUMBERS. 912aeaca5d3SMartin Mares 913aeaca5d3SMartin Mares The new code supports subsystem entries not tied to a specific device. 914aeaca5d3SMartin Mares I had to extend the format of pci.ids in order to support it, so I have 915aeaca5d3SMartin Mares extended the idea of the "C" (class) blocks and introduced "S" blocks 916aeaca5d3SMartin Mares for subsystems. To avoid doing more incompatible changes in the future, 917aeaca5d3SMartin Mares the parser skips unknown single-letter blocks without reporting errors. 918aeaca5d3SMartin Mares 919121c76c9SMartin Mares2005-08-23 Martin Mares <[email protected]> 920121c76c9SMartin Mares 92154e13765SMartin Mares * Released as 2.1.99-test9. 92254e13765SMartin Mares 92354e13765SMartin Mares * Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent 92454e13765SMartin Mares gcc versions when optimizing anyway. 92554e13765SMartin Mares 92654e13765SMartin Mares * Made the path to pci.ids customizable and independent on the SHAREDIR. 92754e13765SMartin Mares Just override IDSDIR in the top-level Makefile. 92854e13765SMartin Mares 92954e13765SMartin Mares * pci.ids: Synchronized with the current database snapshot. 93054e13765SMartin Mares 93184d437d6SMartin Mares * lspci.man, setpci.man: Improved the man pages. Documented all access 93284d437d6SMartin Mares methods and which operations are privileged. 93384d437d6SMartin Mares 93484d437d6SMartin Mares * lspci.c: Another rewrite of config register caching, now also including 93584d437d6SMartin Mares lots of internal checks. It should be now perfectly able to cope with 93684d437d6SMartin Mares portions of the configuration space being inaccessible, for example 93784d437d6SMartin Mares due to insufficient access rights. 93884d437d6SMartin Mares 9393b8bf739SMartin Mares * lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X 9403b8bf739SMartin Mares capabilities. Includes partial support for PCI-X 2.0 (probably incomplete 9413b8bf739SMartin Mares as I haven't seen the spec). 9423b8bf739SMartin Mares 9433b8bf739SMartin Mares * lspci.c: Quell warnings about unused parameters. 9443b8bf739SMartin Mares 94584d437d6SMartin Mares * lspci.c: Removed C++ comments. 94684d437d6SMartin Mares 9473b8bf739SMartin Mares * lib/header.h: Merged definitions of extended capabilities and some new 9483b8bf739SMartin Mares PCI-X capability bits from linux-2.6.11/include/pci.h. 9493b8bf739SMartin Mares 9503b8bf739SMartin Mares * lspci.c (show_caps): Try to scan extended capabilities only if the 9513b8bf739SMartin Mares device has either PCI-X or PCI Express capability in its normal capability 9523b8bf739SMartin Mares list. 9533b8bf739SMartin Mares 954f7821e53SMartin Mares * lib/dump.c (dump_init): Reading of dumps works again. The dump reader 955f7821e53SMartin Mares now also remembers how much data it has read and refuses attempts to 956f7821e53SMartin Mares access more than that. 957ea4e5f5dSMartin Mares 95846ea554dSMartin Mares * setpci.man, lspci.c, README: prefer spelling "buses" over "busses". 95946ea554dSMartin Mares 9608afaab22SMartin Mares * lspci.c: If alloca() is not available, use xmalloc(), not malloc(). 9618afaab22SMartin Mares 962121c76c9SMartin Mares * lib/configure: Added x86_64 on Linux. 963121c76c9SMartin Mares 964c1c2c30eSMartin Mares2005-08-22 Martin Mares <[email protected]> 965c1c2c30eSMartin Mares 966b9ca9147SMartin Mares * lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters. 967b9ca9147SMartin Mares Thanks to Matthew Wilcox for bug report. 968b9ca9147SMartin Mares 969c1c2c30eSMartin Mares * lspci.c: Corrected spelling of "Hz" (it was "hz" at several places). 970b9ca9147SMartin Mares Thanks to Krzysztof Oledzki for pointing that out. 971c1c2c30eSMartin Mares 97226542a0bSMartin Mares2004-08-19 Martin Mares <[email protected]> 97326542a0bSMartin Mares 97426542a0bSMartin Mares * pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism, 97526542a0bSMartin Mares because pciutils by default install to /usr/sbin. Update. 97626542a0bSMartin Mares 9776aa54f1bSMartin Mares2004-08-13 Martin Mares <[email protected]> 9786aa54f1bSMartin Mares 979aabb0a92SMartin Mares * Released as 2.1.99-test8. 980aabb0a92SMartin Mares 981f31412d1SMartin Mares * lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are 982f31412d1SMartin Mares no longer exported to the outside world. 983f31412d1SMartin Mares 984ee7d8384SMartin Mares * README.Windows: Updated. 985ee7d8384SMartin Mares 986ee7d8384SMartin Mares * maint/release: Substitute version number in win32/config.h. 987ee7d8384SMartin Mares 988ee7d8384SMartin Mares * win32/config.h: Added. 989ee7d8384SMartin Mares 990ee7d8384SMartin Mares * lib/sysdep.h (bzero, strcasecmp): are macros on Windows. 991ee7d8384SMartin Mares 992ee7d8384SMartin Mares * compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU 993ee7d8384SMartin Mares C library for use on systems where the default libraries lack 994ee7d8384SMartin Mares proper getopt. Currently used by the Windows port. 995ee7d8384SMartin Mares 996ee7d8384SMartin Mares * lib/sysdep.h, lib/types.h: Updates of the Windows port from 997ee7d8384SMartin Mares Alexander Stock. 998ee7d8384SMartin Mares 999489233b4SMartin Mares * lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define 1000489233b4SMartin Mares its own u8, u16, u32, byte and word types and uses what the user 1001489233b4SMartin Mares has supplied instead. With this change, all namespace clashes should 1002489233b4SMartin Mares be gone. 1003489233b4SMartin Mares 1004489233b4SMartin Mares * Makefile, lib/Makefile: Updated dependencies. 1005489233b4SMartin Mares 1006489233b4SMartin Mares * pciutils.h: Include lib/sysdep.h and move NONRET et al. there. 1007489233b4SMartin Mares 1008489233b4SMartin Mares * lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because 1009489233b4SMartin Mares it is included unconditionally in lib/types.h. 1010489233b4SMartin Mares 1011489233b4SMartin Mares * Moved system-dependent stuff from lib/internal.h to lib/sysdep.h, 1012489233b4SMartin Mares which is also used by the utilities. Also moved type declarations 1013489233b4SMartin Mares from lib/pci.h to lib/types.h. 1014489233b4SMartin Mares 1015489233b4SMartin Mares * All files: Prepend a "PCI_" prefix in front of all configuration 1016489233b4SMartin Mares defines to avoid namespace clashes. CAVEAT: If there is any libpci 1017489233b4SMartin Mares application using the (undocumented) defines, it has to be updated. 1018489233b4SMartin Mares 1019489233b4SMartin Mares * lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing 1020489233b4SMartin Mares headers with the kernel a couple of years ago. 1021489233b4SMartin Mares 10229bb4b4eaSMartin Mares * lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6. 10239bb4b4eaSMartin Mares 10246aa54f1bSMartin Mares * lspci.c (show_rom): Use the same logic for printing disabled 10256aa54f1bSMartin Mares or unassigned ROM's as we do in show_bases() for the other BAR's. 10266aa54f1bSMartin Mares 10276aa54f1bSMartin Mares * lib/generic.c (pci_generic_fill_info): Better reaction to 10286aa54f1bSMartin Mares invalid 64-bit addresses. Also d->hdrtype should not include 10296aa54f1bSMartin Mares bit 7, which caused mysterious errors on multi-function devices. 10306aa54f1bSMartin Mares 10316aa54f1bSMartin Mares * lib/generic.c (pci_generic_fill_info): Fill in base addresses 10326aa54f1bSMartin Mares even if the regions are known to be disabled. It is the client's 10336aa54f1bSMartin Mares job to interpret them. (And it is not a trivial job if you want 10346aa54f1bSMartin Mares to do it correctly, since you need to check I/O and memory enables 10356aa54f1bSMartin Mares on all upstream bridges, too.) However, it could be interesting to 10366aa54f1bSMartin Mares introduce functions for interpreting the addresses and even for 10376aa54f1bSMartin Mares mapping the regions and doing I/O on them. 10386aa54f1bSMartin Mares 103980e6c636SMartin Mares2004-07-30 Martin Mares <[email protected]> 104080e6c636SMartin Mares 104180e6c636SMartin Mares * lspci.c: HyperTransport improvements from Maciej. 104280e6c636SMartin Mares 1043d6324891SMartin Mares2004-07-11 Martin Mares <[email protected]> 1044d6324891SMartin Mares 1045d6324891SMartin Mares * lib/sysfs.c (sysfs_get_resources): Arguments now correspond 1046d6324891SMartin Mares to the format string. [Patch by Bill Nottingham] 1047d6324891SMartin Mares 1048ec25b52dSMartin Mares2004-07-05 Martin Mares <[email protected]> 1049ec25b52dSMartin Mares 1050362be683SMartin Mares * Released as 2.1.99-test7. 1051362be683SMartin Mares 1052ec25b52dSMartin Mares * lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but 1053ec25b52dSMartin Mares ended up with rewriting the fetching mechanism to be fully dynamic, 1054ec25b52dSMartin Mares but avoid reading config space registers not explicitly requested. 1055ec25b52dSMartin Mares 1056ec25b52dSMartin Mares2004-06-29 Matthew Wilcox <[email protected]> 1057ec25b52dSMartin Mares 1058ec25b52dSMartin Mares * lspci.c: More work on PCI Express dumping. 1059ec25b52dSMartin Mares 1060ec25b52dSMartin Mares * lib/header.h: Updated PCI Express capability definitions. 1061ec25b52dSMartin Mares 1062ec25b52dSMartin Mares * lib/proc.c (proc_read): Removed bogus warning. 1063ec25b52dSMartin Mares 1064ec25b52dSMartin Mares * common.c (xrealloc): Introduced. 1065ec25b52dSMartin Mares 1066ec25b52dSMartin Mares * lspci.man: Added -xxxx. 1067ec25b52dSMartin Mares 106809817437SMartin Mares2004-06-27 Martin Mares <[email protected]> 106909817437SMartin Mares 1070d1fa27ebSMartin Mares * Released as 2.1.99-test6. 1071d1fa27ebSMartin Mares 10724d67aa89SMartin Mares * lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap. 10734d67aa89SMartin Mares Patch by Roland Dreier <[email protected]>, cleaned up by me. 10744d67aa89SMartin Mares 10754d67aa89SMartin Mares * lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch() 10764d67aa89SMartin Mares failures. 10774d67aa89SMartin Mares 10784d67aa89SMartin Mares * lib/header.h: Added PCI Express extended capabilities. Again by Matthew. 10794d67aa89SMartin Mares 10804d67aa89SMartin Mares * lspci.c (show_express): Added dumping of PCI Express cap. 10814d67aa89SMartin Mares Patch by Matthew Wilcox. 10824d67aa89SMartin Mares 10834d67aa89SMartin Mares * lib/header.h: Added a list of PCI 3.0 capabilities and also details 10844d67aa89SMartin Mares on PCI Express caps. Patch by Matthew Wilcox <[email protected]>. 10854d67aa89SMartin Mares 108609817437SMartin Mares * lspci.c (check_root): Gone. No explicit checks for root are needed, 108709817437SMartin Mares report correct errors reported by the libpci instead. 108809817437SMartin Mares 108909817437SMartin Mares * lspci.c: Added dumping of the extended config space on "-xxxx". 109009817437SMartin Mares Better caching of config registers. 109109817437SMartin Mares 109209817437SMartin Mares * setpci.c (main): Allow access to whole 4096 bytes of the config space. 109309817437SMartin Mares 109409817437SMartin Mares * lib/sysfs.c, lib/proc.c: Don't print error messages on short reads, 109509817437SMartin Mares just return the appropriate error code. 109609817437SMartin Mares 109709817437SMartin Mares * lib: Added support for extended (4096-byte) configuration space, 109809817437SMartin Mares currently implemented only in Linux proc and sysfs access methods 109909817437SMartin Mares and of course in the dump reader. 110009817437SMartin Mares 11010d656226SMartin Mares2004-05-29 Martin Mares <[email protected]> 11020d656226SMartin Mares 1103c0eece92SMartin Mares * Released as 2.1.99-test5. 1104c0eece92SMartin Mares 1105a2413560SMartin Mares * lib/pci.h: Windows don't have the standard u_int* types. 1106a2413560SMartin Mares 1107a2413560SMartin Mares * lib/internal.h: <sys/param.h> required on Windows for endianity 1108a2413560SMartin Mares macros. 1109a2413560SMartin Mares 1110a2413560SMartin Mares * lib/i386-ports.c: Connected i386-io-windows.h. 1111a2413560SMartin Mares 1112a2413560SMartin Mares * lspci.c (check_root): geteuid() is not available on Windows. 1113a2413560SMartin Mares 1114a2413560SMartin Mares * lib/i386-io-windows.h: Added Windows port contributed by Alexander 1115a2413560SMartin Mares Stock <[email protected]>. 1116a2413560SMartin Mares 1117a2413560SMartin Mares * lib/configure: Hopefully fixed SunOS port broken by various 1118a2413560SMartin Mares changes to the configure script. 1119a2413560SMartin Mares 11200d656226SMartin Mares * Makefile, lib/configure: Cross-compilation support, patch by Maciej. 11210d656226SMartin Mares 1122138c0385SMartin Mares2004-05-28 Martin Mares <[email protected]> 1123138c0385SMartin Mares 11249f490382SMartin Mares * Released as 2.1.99-test4. 11259f490382SMartin Mares 1126cce2caacSMartin Mares * lspci.c (show_verbose): Header type 1 is probably legal for all 1127cce2caacSMartin Mares types of bridges, not only for PCI-to-PCI bridges. 1128cce2caacSMartin Mares 1129b569ef09SMartin Mares * lspci.c (format_agp_rate): Write "x16", not "x@". 1130b569ef09SMartin Mares (show_agp): rate[] could overflow. 1131b569ef09SMartin Mares Bugs reported by Jakub Bogusz <[email protected]>. 1132b569ef09SMartin Mares 1133bfc4fe7aSMartin Mares * lspci.c (show_ht_*): Show HyperTransport capability with all its 1134bfc4fe7aSMartin Mares details. Once again code by Maciej simplified (i.e., possibly broken) 1135bfc4fe7aSMartin Mares by me. 1136bfc4fe7aSMartin Mares 1137bfc4fe7aSMartin Mares * lib/header.h: Added declarations of HyperTransport capability. 1138bfc4fe7aSMartin Mares Again thanks to Maciej. 1139bfc4fe7aSMartin Mares 1140138c0385SMartin Mares * lspci.c: Decode all bits of the secondary status word in type 1 headers. 1141138c0385SMartin Mares Thanks to Maciej W. Rozycki <[email protected]> for the patch. 1142138c0385SMartin Mares 11438fc75dbcSMartin Mares2003-12-27 Martin Mares <[email protected]> 11448fc75dbcSMartin Mares 114581abd2a7SMartin Mares * Released as 2.1.99-test3. 114681abd2a7SMartin Mares 11471f7c91ccSMartin Mares * lspci.man, setpci.man: Document domains and correct spelling. 11481f7c91ccSMartin Mares 11491f7c91ccSMartin Mares * lib/dump.c (dump_init): Added ability to read domain numbers. 11501f7c91ccSMartin Mares 115184c8d1bbSMartin Mares * lspci.c: Devices in domains different from 0 have their slot number 11521f7c91ccSMartin Mares printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains 11531f7c91ccSMartin Mares as well. 115484c8d1bbSMartin Mares 115584c8d1bbSMartin Mares * lib/filter.c: Slot filters understand domains. 115684c8d1bbSMartin Mares 115784c8d1bbSMartin Mares * lib/generic.c: Mention the domain in slot numbers in all error messages. 115884c8d1bbSMartin Mares 115984c8d1bbSMartin Mares * lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong. 116084c8d1bbSMartin Mares 116184c8d1bbSMartin Mares * lib/access.c (pci_get_dev): Added support for domains. 116284c8d1bbSMartin Mares 116384c8d1bbSMartin Mares * lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config 116484c8d1bbSMartin Mares registers (or to be precise, leave it for the generic parts of the pcilib 116584c8d1bbSMartin Mares to do so) instead of reading them from the sysfs. It's faster this way. 116684c8d1bbSMartin Mares 116784c8d1bbSMartin Mares * lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal 116884c8d1bbSMartin Mares variable. Better read it from the config registers (it's cached anyway). 116984c8d1bbSMartin Mares 117084c8d1bbSMartin Mares * lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype. 117184c8d1bbSMartin Mares lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it. 117284c8d1bbSMartin Mares Saves lots of unnecessary file accesses. 117384c8d1bbSMartin Mares 117411f7b31bSMartin Mares * lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter 117511f7b31bSMartin Mares is not supported by all C libraries. 117611f7b31bSMartin Mares 117711f7b31bSMartin Mares * Makefile: Always enter the lib directory (remember that we don't have 117811f7b31bSMartin Mares full dependecies for the library in the top-level Makefile; hmmm, another 117911f7b31bSMartin Mares thing to rewrite some day). 118011f7b31bSMartin Mares 118111f7b31bSMartin Mares * lib/sysfs.c: Added Linux sysfs access method based on the patch 118211f7b31bSMartin Mares written by Matthew Wilcox <[email protected]>. 118311f7b31bSMartin Mares 118411f7b31bSMartin Mares * lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc". 118511f7b31bSMartin Mares 118611f7b31bSMartin Mares * lib/pread.h: The hacks to support pread on various versions 118711f7b31bSMartin Mares of Linux libc moved there. 118811f7b31bSMartin Mares 118911f7b31bSMartin Mares * lib/proc.c (proc_setup): The return value of snprintf() varies 119011f7b31bSMartin Mares between glibc versions, so we need to check both for a negative 119111f7b31bSMartin Mares values and for too large values. 119211f7b31bSMartin Mares 11934284af58SMartin Mares * Removed last few references to the "Linux PCI Utilities", the 11944284af58SMartin Mares package is pretty cross-platform now :) 11954284af58SMartin Mares 11964284af58SMartin Mares2003-12-27 Martin Mares <[email protected]> 11974284af58SMartin Mares 1198ab12277eSMartin Mares * Released as 2.1.99-test2. 1199ab12277eSMartin Mares 1200ab12277eSMartin Mares * README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the 1201ab12277eSMartin Mares release scripts insert the current version. "make release" is gone. 1202ab12277eSMartin Mares 1203ab12277eSMartin Mares * maint/release, maint/release.pm: Added a new system of scripts for 1204ab12277eSMartin Mares making releases including inter-version diffs etc. 1205ab12277eSMartin Mares 1206ab12277eSMartin Mares * Makefile: Cleaned up. 1207ab12277eSMartin Mares 1208ab12277eSMartin Mares * lib/fbsd-device.c: I patched another copy of this file by mistake, 1209ab12277eSMartin Mares this time the version checks should be right. 1210ab12277eSMartin Mares 1211ab12277eSMartin Mares2003-12-27 Martin Mares <[email protected]> 1212ab12277eSMartin Mares 12136d722cd6SMartin Mares * Released as 2.1.99-test1. 12146d722cd6SMartin Mares 1215dd33246aSMartin Mares * pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h: 1216dd33246aSMartin Mares Remove shadows of the syscall access method which was never 1217dd33246aSMartin Mares implemented. 1218dd33246aSMartin Mares 121980b3121aSMartin Mares * update-pciids.sh: Try to preserve permissions of the old file 122080b3121aSMartin Mares if chmod supports --reference. Should close Debian Bug #223740. 122180b3121aSMartin Mares 12226aea909aSMartin Mares * lib/proc.c (proc_setup): Increased path name length limit to 1024. 12236aea909aSMartin Mares Thanks for Redhat and Mandrake for inspiration. 12246aea909aSMartin Mares 12256aea909aSMartin Mares * lib/configure: Recognize ppc and ppc64, both have 64-bit addresses. 12266aea909aSMartin Mares Grabbed from Redhat (Fedora) patches. 12276aea909aSMartin Mares 12286aea909aSMartin Mares2003-12-27 Martin Mares <[email protected]> 12296aea909aSMartin Mares 1230f701ff47SMartin Mares Merged bug fixes from Debian patches: 1231f701ff47SMartin Mares 1232f701ff47SMartin Mares * lspci.c (show_verbose): "Cache Line Size" should be capitalized. 1233f701ff47SMartin Mares 1234f701ff47SMartin Mares * lspci.c (show_pcix_nobridge): Added a missing newline. 1235f701ff47SMartin Mares 12362240db8cSMartin Mares * lib/proc.c (proc_scan): When reading the header type, don't 12372240db8cSMartin Mares forget to clear the topmost bit indicating that the device has 1238f701ff47SMartin Mares multiple functions. 12392240db8cSMartin Mares 12402240db8cSMartin Mares2003-12-27 Martin Mares <[email protected]> 12412240db8cSMartin Mares 124245902995SMartin Mares Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]> 124345902995SMartin Mares for the patches: 124445902995SMartin Mares 124545902995SMartin Mares * lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined. 124645902995SMartin Mares * lib/fbsd-device.c: Select the right set of system includes according 124745902995SMartin Mares to __FreeBSD_version. 124845902995SMartin Mares 124945902995SMartin Mares2003-12-27 Martin Mares <[email protected]> 125045902995SMartin Mares 12518fc75dbcSMartin Mares Merged support for Solaris on i386 by Bill Moore <[email protected]> 12528fc75dbcSMartin Mares and cleaned up: 12538fc75dbcSMartin Mares 12548fc75dbcSMartin Mares * lib/configure: Recognize SunOS. 12558fc75dbcSMartin Mares * lib/internal.h: Learn how to recognize byte order on SunOS. 12568fc75dbcSMartin Mares * lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c. 12578fc75dbcSMartin Mares * lib/i386-io-linux.h: Linux specific part. 12588fc75dbcSMartin Mares * lib/i386-io-hurd.h: GNU/Hurd specific part. 12598fc75dbcSMartin Mares * lib/i386-io-sunos.h: SunOS specific part. 12608fc75dbcSMartin Mares 12619739916eSMartin Mares2003-12-26 Martin Mares <[email protected]> 12629739916eSMartin Mares 12639739916eSMartin Mares * lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly. 12649739916eSMartin Mares 12659739916eSMartin Mares * lib/pci.h: Types declared in <sys/types.h> should be usable on all 12669739916eSMartin Mares platforms we currently support, so kill the forest of #ifdef's and 12679739916eSMartin Mares use them in all cases. 12689739916eSMartin Mares 12699739916eSMartin Mares * lib/pci.h: Use ULONG_MASK to decide whether we should use long 12709739916eSMartin Mares or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS. 12719739916eSMartin Mares Define format strings for addresses, port numbers and IRQ numbers 12729739916eSMartin Mares directly in pci.h. 12739739916eSMartin Mares 12749739916eSMartin Mares * lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses. 12759739916eSMartin Mares 127680459c65SMartin Mares2003-12-26 Marco Gerards <[email protected]> 127780459c65SMartin Mares 127880459c65SMartin Mares Added support for the GNU Hurd (cleaned up by Martin Mares): 127980459c65SMartin Mares 128080459c65SMartin Mares * lib/configure [GNU]: Use the i386 ports for configuration access. 128180459c65SMartin Mares * lib/i386-ports.c: Don't call iopl() on the Hurd. 128280459c65SMartin Mares * lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining 128380459c65SMartin Mares u8 to u32. 128480459c65SMartin Mares 1285a85769a8SMartin Mares2003-12-26 Martin Mares <[email protected]> 1286a85769a8SMartin Mares 12877dacd9c8SMartin Mares * lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call 12887dacd9c8SMartin Mares config_fetch() to ensure that the registers have been read. Thanks to 12897dacd9c8SMartin Mares Bill Wood <[email protected]> for the patch. 12907dacd9c8SMartin Mares 12917dacd9c8SMartin Mares * lspci.c: Ensure that failure of config_fetch() is handled correctly 12927dacd9c8SMartin Mares at all places. 12937dacd9c8SMartin Mares 12944063c31cSMartin Mares * lspci.man: There was one more explicit reference to /usr/share/pci.ids. 12954063c31cSMartin Mares Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>. 12964063c31cSMartin Mares 12973fe8a38dSMartin Mares * setpci.c (main): Better error messages. 12983fe8a38dSMartin Mares 12995f5b1a7bSMartin Mares * setpci.c (ex_op): The demo mode should disable only writing, not reading. 13005f5b1a7bSMartin Mares 13015f5b1a7bSMartin Mares * setpci.man: The documentation was inconsistent on what should -D do. 13025f5b1a7bSMartin Mares Document the new behaviour. 1303b251f40bSMartin Mares 130491e37a49SMartin Mares * pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating 130591e37a49SMartin Mares the GCC specific __attribute__((noreturn)) and killed the hack with 130691e37a49SMartin Mares redefining __attribute__ on non-GCC compilers. 130791e37a49SMartin Mares 13084afd29d3SMartin Mares * Makefile: Added missing dependencies. Parallel builds work now. 13094afd29d3SMartin Mares Problem reported by Andreas Haumer <[email protected]>, but I chose 13104afd29d3SMartin Mares a different fix. 13114afd29d3SMartin Mares 1312b0f1a03bSMartin Mares * Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell 1313b0f1a03bSMartin Mares command every time $(MANDIR) is referenced. 1314b0f1a03bSMartin Mares 1315b7fd8e19SMartin Mares * lspci.c (main): The error message for `lspci -s' incorrectly mentioned 1316b7fd8e19SMartin Mares a `-f' switch. Reported by Steve Finney <[email protected]>. 1317b7fd8e19SMartin Mares 131805bb10a2SMartin Mares * lib/generic.c: Removed memory leak in pci_generic_bus_scan(). 131905bb10a2SMartin Mares Reported by Gary Parnes <[email protected]>. 132005bb10a2SMartin Mares 1321a832f6f1SMartin Mares * Replaced obsolete syntax of __attribute__((unused)) in the middle of 1322a832f6f1SMartin Mares parameter declarations (which is no longer supported by GCC 3.1) by the 1323a832f6f1SMartin Mares current syntax (attribute at the end). Thanks to [email protected] 1324a832f6f1SMartin Mares for reporting this problem. 1325a832f6f1SMartin Mares 1326a85769a8SMartin Mares * Removed CVS $Id$ tags from all files. 1327a85769a8SMartin Mares 1328a85769a8SMartin Mares * Makefile: Added some more warnings. 1329a85769a8SMartin Mares 1330b7351143SMartin Mares * setpci.c: Cleaned up mask/value code. 1331b7351143SMartin Mares 1332b7351143SMartin Mares2003-12-08 Thayne Harbaugh <[email protected]> 1333b7351143SMartin Mares 1334b7351143SMartin Mares * setpci.c: Individual bits to be set can be specified as <value>:<mask>. 1335b7351143SMartin Mares 13362a5d5cf9SMartin Mares2003-11-29 Martin Mares <[email protected]> 13372a5d5cf9SMartin Mares 13382a5d5cf9SMartin Mares * Imported the pciutils sources to my Arch repository. Good-bye, CVS. 13392a5d5cf9SMartin Mares 1340d772ef15SMartin Mares2003-01-04 Martin Mares <[email protected]> 1341d772ef15SMartin Mares 13421b95f396SMartin Mares * Released as 2.1.11. 13431b95f396SMartin Mares 1344c83293ebSMartin Mares * Makefile: Changed configuration of installation directories -- 1345c83293ebSMartin Mares all paths are now set at the top of the Makefile instead of being 1346c83293ebSMartin Mares scattered between the installation rules. The default installation 1347c83293ebSMartin Mares now goes always to /usr/local regardless of the OS as most distributions 1348c83293ebSMartin Mares already contain some version of pciutils and we don't want custom 1349c83293ebSMartin Mares installations to interfere with the default ones. 1350c83293ebSMartin Mares 1351c83293ebSMartin Mares * Makefile: Removed a couple of ancient install hacks: we no longer 1352c83293ebSMartin Mares try to avoid overwriting a newer pci.ids file (users are now expected 1353c83293ebSMartin Mares to use update-ids) and we don't try to remove /etc/pci.ids (a long time 1354c83293ebSMartin Mares has passed since the last version which used it). 1355c83293ebSMartin Mares 1356e2875dcdSMartin Mares * Makefile: Paths to pci.ids in man pages automatically get the right path. 1357e2875dcdSMartin Mares 13581b95f396SMartin Mares * Added the update-ids utility. 13590138a2a7SMartin Mares 1360d772ef15SMartin Mares * lib: Removed partially implemented "syscall" access method which will 1361d772ef15SMartin Mares probably never be needed. 1362d772ef15SMartin Mares 1363eb620239SMartin Mares2002-12-27 Martin Mares <[email protected]> 1364eb620239SMartin Mares 1365130090bdSMartin Mares * lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe. 1366130090bdSMartin Mares 1367eb620239SMartin Mares * lib/generic.c (pci_generic_scan_bus): Added work-around for devices with 1368eb620239SMartin Mares discontiguous numbering of functions. This is already present in the Linux 1369eb620239SMartin Mares kernel for several years, but I forgot to update pciutils as well. 1370eb620239SMartin Mares 1371848b4347SMartin Mares2002-12-26 Martin Mares <[email protected]> 1372848b4347SMartin Mares 1373579b19ffSMartin Mares * lib/header.h, lspci.c: Dump AGP3 flags and speeds. 1374579b19ffSMartin Mares 1375579b19ffSMartin Mares * lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header, 1376579b19ffSMartin Mares there is no reason to prefer the kernel version. 1377579b19ffSMartin Mares 1378579b19ffSMartin Mares * lib/proc.c (proc_scan): Don't forget to initialize hdrtype. 1379579b19ffSMartin Mares 1380848b4347SMartin Mares * Added preliminary version of NetBSD support by Quentin Garnier 1381848b4347SMartin Mares <[email protected]>. 1382848b4347SMartin Mares 1383f0952474SMartin Mares2002-04-06 Martin Mares <[email protected]> 1384f0952474SMartin Mares 1385f0952474SMartin Mares * lspci.c: Mention "-xxx" in the help. 1386f0952474SMartin Mares 1387d2f666f1SMartin Mares2002-03-30 Martin Mares <[email protected]> 1388d2f666f1SMartin Mares 13899bd44bb0SMartin Mares * Released as 2.1.10. 13909bd44bb0SMartin Mares 1391a33d0eb7SMartin Mares * Removed pci.ids from the CVS as they are now maintained separately. 1392a33d0eb7SMartin Mares They are still included in the tarball, but if you are building pciutils 1393a33d0eb7SMartin Mares from CVS sources or you want to get a newer ID file than the one distributed, 1394a33d0eb7SMartin Mares just use "make update-ids" to download the most recent snapshot from 1395a33d0eb7SMartin Mares pciids.sf.net. 1396a33d0eb7SMartin Mares 1397a33d0eb7SMartin Mares * Makefile, README: Updated accordingly. 1398a33d0eb7SMartin Mares 1399a33d0eb7SMartin Mares * Makefile: Added a couple of maintenance targets. 1400a33d0eb7SMartin Mares 1401a33d0eb7SMartin Mares * maint/*: Maintainer's utilities now reside here (present only in CVS, 1402a33d0eb7SMartin Mares not in the tarball). 1403a33d0eb7SMartin Mares 1404d2f666f1SMartin Mares * lib/names.c (parse_name_list): End-of-line comments are no longer 1405d2f666f1SMartin Mares supported. Hashes are now perfectly valid in all names and they start 1406d2f666f1SMartin Mares a comment only at the start of the line. 1407d2f666f1SMartin Mares 1408ee551b73SMartin Mares2002-03-26 Martin Mares <[email protected]> 1409ee551b73SMartin Mares 141007159913SMartin Mares * README: Rewritten. 141107159913SMartin Mares 1412ee551b73SMartin Mares * Makefile: When the currently installed pci.ids file is newer than 1413ee551b73SMartin Mares the version to be installed, don't overwrite it. Suggested by 1414ee551b73SMartin Mares Jean Delvare <[email protected]>. 1415ee551b73SMartin Mares 1416bc7b1d62SMartin Mares2002-03-24 Martin Mares <[email protected]> 1417bc7b1d62SMartin Mares 14185f5e6f64SMartin Mares * lspci.c (show_pcix_bridge): Added PCI-X capability display. 14195f5e6f64SMartin Mares Contributed by Jeff Garzik <[email protected]>. 14205f5e6f64SMartin Mares 14215f5e6f64SMartin Mares * lib/header.h: Added PCI-X stuff. Again by Jeff. 14225f5e6f64SMartin Mares 14235f5e6f64SMartin Mares * Makefile (CFLAGS): -Werror is gone. 14245f5e6f64SMartin Mares 1425a1052f16SMartin Mares * lspci.c (format_agp_rate): Fixed AGP rate reporting. 1426a1052f16SMartin Mares 1427bc7b1d62SMartin Mares * lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and 1428bc7b1d62SMartin Mares function 7. 1429bc7b1d62SMartin Mares 1430bc7b1d62SMartin Mares * lib/names.c (pci_lookup_name): When printing unknown subsystem vendor 1431bc7b1d62SMartin Mares or device hexadecimally, don't confuse it with chip vendor/device ID. 1432bc7b1d62SMartin Mares First reported by Marc Boucher <[email protected]>. 1433bc7b1d62SMartin Mares 1434f793990cSMartin Mares2001-11-04 Martin Mares <[email protected]> 1435f793990cSMartin Mares 1436ee551b73SMartin Mares * Released as 2.1.9. 1437ee551b73SMartin Mares 1438f793990cSMartin Mares * pci.ids: Synced with the PCI ID Repository at SourceForge 1439f793990cSMartin Mares (http://pciids.sourceforge.net/). 1440f793990cSMartin Mares 14411d174e56SMartin Mares2000-08-25 Martin Mares <[email protected]> 14421d174e56SMartin Mares 14431d174e56SMartin Mares * pci.ids: Updated ID's, synced with kernel 2.4.0-test7. 14441d174e56SMartin Mares 144565b4327eSMartin Mares2000-06-13 Martin Mares <[email protected]> 144665b4327eSMartin Mares 144765b4327eSMartin Mares * Makefile (uninstall): Fixed. 144865b4327eSMartin Mares 144965b4327eSMartin Mares * pci.ids: ID updates. 145065b4327eSMartin Mares 14514a219d5fSMartin Mares2000-05-20 Martin Mares <[email protected]> 14524a219d5fSMartin Mares 14534a219d5fSMartin Mares * Released as 2.1.8. 14544a219d5fSMartin Mares 14554a219d5fSMartin Mares * pci.ids: ID updates. 14564a219d5fSMartin Mares 14574a219d5fSMartin Mares * lspci.c (show_verbose): Min/max latency is now printed in nanoseconds. 14584a219d5fSMartin Mares 14594a219d5fSMartin Mares2000-05-04 Martin Mares <[email protected]> 14604a219d5fSMartin Mares 14614a219d5fSMartin Mares * lspci.c (show_verbose): If the header type doesn't match device 14624a219d5fSMartin Mares class, just print a warning and still use the header type, assuming 14634a219d5fSMartin Mares bogus class info. 14644a219d5fSMartin Mares 146510c90662SMartin Mares2000-05-01 Martin Mares <[email protected]> 146610c90662SMartin Mares 146772b9b690SMartin Mares * lspci.c (show_pm): Updated according to PCI PM specs 1.1. 146872b9b690SMartin Mares 146910c90662SMartin Mares * pci.ids: Updated Contemporary Control ARCnet card entries. 147010c90662SMartin Mares 147110c90662SMartin Mares * pci.ids: Synchronized class list with latest PCI SIG documents. 147210c90662SMartin Mares 1473a239ade6SMartin Mares2000-04-29 Martin Mares <[email protected]> 1474a239ade6SMartin Mares 1475a239ade6SMartin Mares * lib/names.c (pci_lookup_name): Fixed the cheat. 1476a239ade6SMartin Mares 1477a239ade6SMartin Mares * lib/internal.h: Moved UNUSED/inline hacks above all other declarations. 1478a239ade6SMartin Mares 1479a239ade6SMartin Mares * pci.ids: Various ID updates. 1480a239ade6SMartin Mares 14812c83b860SMartin Mares2000-04-21 Martin Mares <[email protected]> 14822c83b860SMartin Mares 14832c83b860SMartin Mares * Released as 2.1.7. 14842c83b860SMartin Mares 14852c83b860SMartin Mares * pciutils.spec: Added German description. 14862c83b860SMartin Mares 14872c83b860SMartin Mares * lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's 14882c83b860SMartin Mares are the same as device ID and just output subsystem name according to 14892c83b860SMartin Mares device name. 14902c83b860SMartin Mares 14912c83b860SMartin Mares * lib/proc.c: Use UNUSED instead of __attribute__((unused)). 14922c83b860SMartin Mares 14932c83b860SMartin Mares * lib/pci.h: Added the correct typedefs for AIX. 14942c83b860SMartin Mares 14952c83b860SMartin Mares * lib/generic.c (pci_generic_scan_bus): Export. 14962c83b860SMartin Mares 14972c83b860SMartin Mares * lib/configure: Detect AIX. Use "echo '...\c'" instead of 14982c83b860SMartin Mares "echo -n" if the shell isn't bash. 14992c83b860SMartin Mares 15002c83b860SMartin Mares * lspci.c: Avoid using alloca() if not compiled by GCC. 15012c83b860SMartin Mares (insert_dev): Avoid returning a void value. 15022c83b860SMartin Mares 15032c83b860SMartin Mares * Makefile: Choose which install utility to use according to 15042c83b860SMartin Mares OS type. Also use `-o' instead of `-or' in find arguments. 15052c83b860SMartin Mares Part of the AIX port. 15062c83b860SMartin Mares 15072c83b860SMartin Mares * lib/aix-device.c: Added AIX low-level interface. Contributed 15082c83b860SMartin Mares by Dave Johnson <[email protected]>, thanks a lot! 15092c83b860SMartin Mares 15102c83b860SMartin Mares * pci.ids: Few new ID's. 15112c83b860SMartin Mares 15122c83b860SMartin Mares * pciutils.h, lib/internal.h: Redefine __attribute__ and inline 15132c83b860SMartin Mares when not compiled by GCC. 15142c83b860SMartin Mares 1515c1a828daSMartin Mares2000-04-17 Martin Mares <[email protected]> 1516c1a828daSMartin Mares 1517c1a828daSMartin Mares * Released as 2.1.6. 1518c1a828daSMartin Mares 1519c1a828daSMartin Mares * pci.ids: Added a large batch of ID's contributed by Gunther 1520c1a828daSMartin Mares Mayer <[email protected]> and synced the 1521c1a828daSMartin Mares list with the 2.3.99pre6 kernel. 1522c1a828daSMartin Mares 1523e91dd3abSMartin MaresThu Mar 9 13:11:39 2000 Martin Mares <[email protected]> 1524e91dd3abSMartin Mares 1525a80b79a9SMartin Mares * lib/example.c: Added a simple example of how to use 1526a80b79a9SMartin Mares the library. 1527a80b79a9SMartin Mares 152889984232SMartin Mares * lspci.man, setpci.man: Revealed --version. Well spotted 152989984232SMartin Mares by Adam Sulmicki. 153089984232SMartin Mares 1531e91dd3abSMartin Mares * pci.ids: Added lots of new ID's and synced with 2.3.50. 1532e91dd3abSMartin Mares 153378d9c5e2SMartin MaresTue Feb 15 00:16:21 2000 Martin Mares <[email protected]> 153478d9c5e2SMartin Mares 153578d9c5e2SMartin Mares * Released as 2.1.5. 153678d9c5e2SMartin Mares 153778d9c5e2SMartin Mares * pciutils.spec: Updated spec file from Andreas Jaeger. Now using 153878d9c5e2SMartin Mares %{_mandir} to find the right location to install manual pages to. 153978d9c5e2SMartin Mares 154078d9c5e2SMartin Mares * pci.ids: New ID's. 154178d9c5e2SMartin Mares 154278d9c5e2SMartin Mares * setpci.c (main): Don't crash when `-s' or `-d' is given with 154378d9c5e2SMartin Mares no argument. 154478d9c5e2SMartin Mares 1545f8141ae2SMartin MaresMon Jan 24 20:04:11 2000 Andreas Jaeger <[email protected]> 1546f8141ae2SMartin Mares 1547f8141ae2SMartin Mares * lib/i386-ports.c: Include <asm/io.h> only on systems without 1548f8141ae2SMartin Mares glibc. 1549f8141ae2SMartin Mares 1550f8141ae2SMartin MaresMon Jan 24 11:24:43 2000 Martin Mares <[email protected]> 1551f8141ae2SMartin Mares 1552f8141ae2SMartin Mares * Makefile: Modified to work with the Linux FHS brain-damaged idea 1553f8141ae2SMartin Mares of putting man pages to /usr/share/man. Now we choose either /usr/man 1554f8141ae2SMartin Mares or /usr/share/man depending on which one exists. 1555f8141ae2SMartin Mares 155659e76e8bSMartin MaresSun Jan 23 10:52:34 2000 Martin Mares <[email protected]> 155759e76e8bSMartin Mares 155859e76e8bSMartin Mares * pci.ids: Synced with Linux 2.3.40. 155959e76e8bSMartin Mares 156059e76e8bSMartin Mares * Released as version 2.1.4. 156159e76e8bSMartin Mares 15622dfd48cdSMartin MaresThu Jan 20 11:08:32 2000 Martin Mares <[email protected]> 15632dfd48cdSMartin Mares 15642715403fSMartin Mares * lspci.c (scan_device): Fixed bug in reading of cardbus extensions. 15652715403fSMartin Mares 156681077814SMartin Mares * lib/proc.c: pread/pwrite fixed again, this time on libc5 :( 156781077814SMartin Mares 156881077814SMartin Mares * lspci.c (format_agp_rate): Better formatting of AGP rates. 156981077814SMartin Mares 157081077814SMartin Mares * pci.ids: New ID's. 157181077814SMartin Mares 15722dfd48cdSMartin Mares * lib/configure: Added configuration for ia64 (the same as for Alpha). 15732dfd48cdSMartin Mares Patch from Stephane Eranian <[email protected]>. 15742dfd48cdSMartin Mares 15755a258860SMartin MaresThu Jan 13 23:01:52 2000 Martin Mares <[email protected]> 15765a258860SMartin Mares 15775a258860SMartin Mares * Released as version 2.1.3. 15785a258860SMartin Mares 15795a258860SMartin Mares * pci.ids: New ID's. 15805a258860SMartin Mares 15815a258860SMartin Mares * lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli. 15825a258860SMartin Mares 15835a258860SMartin Mares * lib/access.c: Corrected order of access methods -- it's wonderful how 15845a258860SMartin Mares long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff. 15855a258860SMartin Mares 15860c047bbeSMartin MaresSat Dec 11 23:34:48 1999 Martin Mares <[email protected]> 15870c047bbeSMartin Mares 15880c047bbeSMartin Mares * Released as version 2.1.2. 15890c047bbeSMartin Mares 15900c047bbeSMartin Mares * lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's. 15910c047bbeSMartin Mares 159233bc28a5SMartin MaresSat Dec 4 13:11:03 1999 Martin Mares <[email protected]> 159333bc28a5SMartin Mares 159439231205SMartin Mares * Released as version 2.1.1. 159539231205SMartin Mares 159633bc28a5SMartin Mares * pci.ids: Several new ID's. 159733bc28a5SMartin Mares 159833bc28a5SMartin Mares * setpci.c (exec_op): Don't forget to increment address after writing 159933bc28a5SMartin Mares single value, so that `30.b=12,34,56,78' works as expected. Reported 160033bc28a5SMartin Mares by Petr Soucek <[email protected]>. 160133bc28a5SMartin Mares 16028d047897SMartin MaresWed Nov 3 10:24:38 1999 Martin Mares <[email protected]> 16038d047897SMartin Mares 16048d047897SMartin Mares * lspci.c (show_terse): If prog-if is zero, but it's present in the 16058d047897SMartin Mares ID list, show it. 16068d047897SMartin Mares 16076afc6538SMartin MaresSat Oct 30 11:06:35 1999 Martin Mares <[email protected]> 16086afc6538SMartin Mares 16096afc6538SMartin Mares * Released as version 2.1. 16106afc6538SMartin Mares 16116afc6538SMartin Mares * pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in 16126afc6538SMartin Mares lots of contributed entries. 16136afc6538SMartin Mares 16148f756113SMartin MaresThu Oct 14 10:40:12 1999 Dave Jones <[email protected]> 16158f756113SMartin Mares 16168f756113SMartin Mares * pci.ids: Added lots of subsystem definitions. 16178f756113SMartin Mares 1618d4798a32SMartin MaresSat Oct 9 14:32:28 1999 Martin Mares <[email protected]> 1619d4798a32SMartin Mares 1620d4798a32SMartin Mares * setpci.man: Better example. 1621d4798a32SMartin Mares 1622d4798a32SMartin Mares * lspci.c: Resolve prog-if names. 1623d4798a32SMartin Mares 1624d4798a32SMartin Mares * lib/names.c: Adapted to new pci.ids syntax. 1625d4798a32SMartin Mares 1626d4798a32SMartin Mares * pci.ids: Reorganized the pci.ids file. Subsystems are listed 1627d4798a32SMartin Mares under devices, classes can optionally contain prog-if information. 1628d4798a32SMartin Mares New ID's, as usually. 1629d4798a32SMartin Mares 1630e306e911SMartin MaresWed Sep 22 09:45:24 1999 Martin Mares <[email protected]> 1631e306e911SMartin Mares 1632e306e911SMartin Mares * pci.ids: New ID's. As usually. 1633e306e911SMartin Mares 1634e306e911SMartin Mares * lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows 1635e306e911SMartin Mares unless we're vvvery verbose. 1636e306e911SMartin Mares 1637e306e911SMartin MaresMon Sep 20 11:22:54 1999 Martin Mares <[email protected]> 1638e306e911SMartin Mares 1639e306e911SMartin Mares * lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line. 1640e306e911SMartin Mares 1641e64a576cSMartin MaresTue Sep 14 09:31:01 1999 Martin Mares <[email protected]> 1642e64a576cSMartin Mares 1643e64a576cSMartin Mares * pci.ids: New ID's. Again. 1644e64a576cSMartin Mares 1645c36c0862SMartin MaresThu Aug 5 17:45:42 1999 Martin Mares <[email protected]> 1646c36c0862SMartin Mares 1647c36c0862SMartin Mares * lspci.c (show_size): Don't show size if it's zero (usually 1648c36c0862SMartin Mares due to bus-centric mode being enabled). 1649c36c0862SMartin Mares 16501ca42433SMartin MaresTue Jul 20 13:25:09 1999 Martin Mares <[email protected]> 16511ca42433SMartin Mares 1652168b4f46SMartin Mares * lib/pci.h: Types are OS dependent. 1653168b4f46SMartin Mares 1654168b4f46SMartin Mares * lib/internal.h: Byte order hacks are OS dependent. 1655168b4f46SMartin Mares 1656168b4f46SMartin Mares * lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS. 1657168b4f46SMartin Mares 1658168b4f46SMartin Mares * lib/Makefile, lib/access.c: Added fbsd-device target. 1659168b4f46SMartin Mares 1660168b4f46SMartin Mares * pci.ids: Added an entry for PLX 9080 bridges with subsystem ID 1661168b4f46SMartin Mares incorrectly set to device ID. 1662168b4f46SMartin Mares 1663168b4f46SMartin Mares * README: Added a note that we support FreeBSD. 1664168b4f46SMartin Mares 1665168b4f46SMartin Mares * Makefile (PREFIX, ROOT): Set it depending on the OS. 1666168b4f46SMartin Mares (%.8): Grrr, BSD date is not able to convert date formats the same way 1667168b4f46SMartin Mares as GNU date does. Use sed instead. 1668168b4f46SMartin Mares (install): Use `-c' when calling install. 1669168b4f46SMartin Mares 1670168b4f46SMartin Mares * lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed 1671168b4f46SMartin Mares by Jari Kirma <[email protected]>. 1672168b4f46SMartin Mares 1673bc6346dfSMartin Mares * lib/proc.c: Rewrote the pread/pwrite things once again. Use pread 1674bc6346dfSMartin Mares and pwrite only when we are certain it's safe (i.e., glibc 2.1 1675bc6346dfSMartin Mares on all architectures or any libc on a i386 where we really know 1676bc6346dfSMartin Mares how to use syscalls directly). In all other cases, emulate it 1677bc6346dfSMartin Mares with lseek/read/write. 1678bc6346dfSMartin Mares 16791ca42433SMartin Mares * pci.ids: Some more IDs. 16801ca42433SMartin Mares 16811ca42433SMartin MaresMon Jul 19 14:10:36 1999 Martin Mares <[email protected]> 16821ca42433SMartin Mares 16831ca42433SMartin Mares * pci.ids: Added IDs of parallel port controller cards as sent 16841ca42433SMartin Mares by Tim Waugh <[email protected]>. 16851ca42433SMartin Mares 1686e95c8373SMartin MaresWed Jul 7 00:55:48 1999 Martin Mares <[email protected]> 1687e95c8373SMartin Mares 1688e95c8373SMartin Mares * lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS. 1689e95c8373SMartin Mares 1690e95c8373SMartin Mares * lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and 1691e95c8373SMartin Mares HAVE_LONG_ADDRESS. 1692e95c8373SMartin Mares 1693e95c8373SMartin Mares * lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses 1694e95c8373SMartin Mares are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS 1695e95c8373SMartin Mares to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS 1696e95c8373SMartin Mares and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS 1697e95c8373SMartin Mares on Alpha. 1698e95c8373SMartin Mares 1699e95c8373SMartin Mares * lspci.c (show_msi): Added dumping of the MSI capability. 1700e95c8373SMartin Mares (show_slotid): The same for SlotID capability. 1701e95c8373SMartin Mares (show_caps): Seperated capability dumping, because it should 1702e95c8373SMartin Mares be used for both htype0 and htype1. Even PCI 2.2 doesn't mention 1703e95c8373SMartin Mares layout of htype2, so I'm a bit unsure about it wrt capabilities 1704e95c8373SMartin Mares -- they at least have to live somewhere else since address 0x34 1705e95c8373SMartin Mares is already defined differently in htype2. 1706e95c8373SMartin Mares 1707e95c8373SMartin Mares * lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2). 1708e95c8373SMartin Mares (PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto. 1709e95c8373SMartin Mares (PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2. 1710e95c8373SMartin Mares 1711e95c8373SMartin Mares * lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers 1712e95c8373SMartin Mares (required by the PCI 2.2 specs). 1713e95c8373SMartin Mares 1714e95c8373SMartin MaresMon Jul 5 12:45:19 1999 Martin Mares <[email protected]> 1715e95c8373SMartin Mares 1716e95c8373SMartin Mares * lspci.c (show_size): Added new function for dumping of region sizes. 1717e95c8373SMartin Mares (show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled 1718e95c8373SMartin Mares ROMs et cetera. 1719e95c8373SMartin Mares 1720e95c8373SMartin Mares * lib/pci.h (struct pci_dev): known_fields moved to the public part 1721e95c8373SMartin Mares of the structure. 1722e95c8373SMartin Mares 1723e95c8373SMartin Mares * Added support for region sizes. Needs support in the kernel, because 1724e95c8373SMartin Mares sizes have to be scanned before drivers initialize yourself. pci_fill_info() 1725e95c8373SMartin Mares now returns a bitmask of what fields were really read. 1726e95c8373SMartin Mares 172782ce97c9SMartin MaresMon Jun 28 18:37:51 1999 Dave Jones <[email protected]> 172882ce97c9SMartin Mares 172982ce97c9SMartin Mares * Makefile: 173082ce97c9SMartin Mares Added `uninstall' target - removes all traces of pciutils. 173182ce97c9SMartin Mares * pci.ids: 173282ce97c9SMartin Mares - Lots of cleanups in the ATI, S3, Adaptec vendors. 173382ce97c9SMartin Mares - Changed Compaq QVision 1280/p definitions, as it's not possible 173482ce97c9SMartin Mares to determine the revision from the device ID. 173582ce97c9SMartin Mares - Same for the Tseng ET4000. 173682ce97c9SMartin Mares The id's said I had a rev C, when it was actually a rev B. 173782ce97c9SMartin Mares - Removed some unnecessary strings 173882ce97c9SMartin Mares `PCI'. Unless it's an AGP card, it should be obvious that it's PCI. 173982ce97c9SMartin Mares `Ethernet card'. This should be determined from config space. 174082ce97c9SMartin Mares - Lots of other new vendors & devices 174182ce97c9SMartin Mares - Other additional small cleanups. 174282ce97c9SMartin Mares 17437bed2d83SMartin MaresMon Jun 21 22:11:10 1999 Martin Mares <[email protected]> 17447bed2d83SMartin Mares 17457bed2d83SMartin Mares * lib/names.c (pci_lookup_name): When device ID lookup 17467bed2d83SMartin Mares fails, return hexadecimal device ID instead of vendor ID. 17477bed2d83SMartin Mares Well spotted by Axel Bodemann <[email protected]>, 17487bed2d83SMartin Mares I've just extended the fix to subsystem ID's. 17497bed2d83SMartin Mares 17505ba3a475SMartin MaresThu Jun 17 19:48:21 1999 Martin Mares <[email protected]> 17515ba3a475SMartin Mares 17525ba3a475SMartin Mares * lspci.c (show_agp): Bug fix from Petr Vandrovec 17535ba3a475SMartin Mares <[email protected]>. The command register was displayed 17545ba3a475SMartin Mares incorrectly. 17555ba3a475SMartin Mares 17565ba3a475SMartin MaresWed Jun 2 22:42:44 1999 Martin Mares <[email protected]> 17575ba3a475SMartin Mares 17585ba3a475SMartin Mares * lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded 17595ba3a475SMartin Mares numbers if not supplied by the libc. 17605ba3a475SMartin Mares 176155c815b5SMartin MaresWed May 19 13:24:39 1999 Martin Mares <[email protected]> 176255c815b5SMartin Mares 176355c815b5SMartin Mares * Released the whole package as version 2.0. 176455c815b5SMartin Mares 176555c815b5SMartin MaresFri May 14 22:42:02 1999 Martin Mares <[email protected]> 176655c815b5SMartin Mares 176755c815b5SMartin Mares * pci.ids: Added several new ID's contributed by people 176855c815b5SMartin Mares on the linux-pci list. 176955c815b5SMartin Mares 1770dec16943SMartin MaresMon Apr 19 15:21:08 1999 Jakub Jelinek <[email protected]> 1771dec16943SMartin Mares 1772dec16943SMartin Mares * lspci.c: Display I/O addresses correctly on sparc64. 1773dec16943SMartin Mares * lib/header.h: Ditto. 1774dec16943SMartin Mares 1775dec16943SMartin Mares * lib/configure: On sparc set HAVE_64BIT* as well, we want 1776dec16943SMartin Mares a binary which works on both 32bit and 64bit SPARCs. 1777dec16943SMartin Mares 1778e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999 Martin Mares <[email protected]> 1779e33c9c7aSMartin Mares 1780e33c9c7aSMartin Mares * lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob 1781e33c9c7aSMartin Mares <[email protected]>. 1782e33c9c7aSMartin Mares 1783e33c9c7aSMartin Mares * pci.ids: A lot of updates from Adam J. Richter <[email protected]>. 1784e33c9c7aSMartin Mares 1785f3395cc5SMartin MaresSun Feb 28 22:26:21 1999 Martin Mares <[email protected]> 1786f3395cc5SMartin Mares 1787f3395cc5SMartin Mares * lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged 1788f3395cc5SMartin Mares as a multi-function device, because several single-function devices 1789f3395cc5SMartin Mares don't decode the function bits at all. 1790f3395cc5SMartin Mares 1791f3395cc5SMartin MaresSun Feb 14 23:48:22 1999 Martin Mares <[email protected]> 1792f3395cc5SMartin Mares 1793f3395cc5SMartin Mares * Makefile (install): Don't use "-o root -g root" for installation 1794f3395cc5SMartin Mares since it breaks on machines where programs are not installed by root. 1795f3395cc5SMartin Mares Reported by Richard Gooch <[email protected]> 1796f3395cc5SMartin Mares 1797f3395cc5SMartin MaresTue Feb 9 15:54:39 1999 Martin Mares <[email protected]> 1798f3395cc5SMartin Mares 1799f3395cc5SMartin Mares * lspci.c (show_bases): Use new address masking macros and pciaddr_t. 1800f3395cc5SMartin Mares 1801f3395cc5SMartin Mares * lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit 1802f3395cc5SMartin Mares or 64-bit depending on CPU. 1803f3395cc5SMartin Mares 1804f3395cc5SMartin Mares * lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks 1805f3395cc5SMartin Mares according to bus address width. 1806f3395cc5SMartin Mares 18071c31d620SMartin MaresThu Jan 28 20:54:16 1999 Martin Mares <[email protected]> 18081c31d620SMartin Mares 18091c31d620SMartin Mares * Released as 1.99.4. 18101c31d620SMartin Mares 18111c31d620SMartin Mares * lspci.c: Capability list parser now recognizes both AGP 18121c31d620SMartin Mares registers and PCI Power Management registers (the latter 18131c31d620SMartin Mares is mainly guesswork based on DEC/Intel 21153 bridge specs 18141c31d620SMartin Mares since I don't have the PCI Power Management document). 18151c31d620SMartin Mares 18161c31d620SMartin Mares * lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-' 18171c31d620SMartin Mares by FLAG macro. 18181c31d620SMartin Mares 18191c31d620SMartin Mares * lspci.c: Added bridge checks to bus mapping code. 18201c31d620SMartin Mares 18211812a795SMartin MaresWed Jan 27 14:59:16 1999 Martin Mares <[email protected]> 18221812a795SMartin Mares 18231812a795SMartin Mares * lspci.c: Implemented bus mapping mode (-M). 18241812a795SMartin Mares 18251812a795SMartin Mares * lspci.c (scan_devices): Split to scan_devices() and scan_device(). 18261812a795SMartin Mares (show): Split to show() and show_device(). 18271812a795SMartin Mares 18281812a795SMartin Mares * lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO, 18291812a795SMartin Mares set it to the real access method afterwards. 18301812a795SMartin Mares 18311812a795SMartin MaresMon Jan 25 23:46:13 1999 Martin Mares <[email protected]> 18321812a795SMartin Mares 18331812a795SMartin Mares * lib/generic.c (pci_generic_fill_info): If in buscentric mode, 18341812a795SMartin Mares don't check PCI_COMMAND for I/O and memory enables. 18351812a795SMartin Mares 1836f6c86928SMartin MaresMon Jan 25 21:28:49 1999 Martin Mares <[email protected]> 1837f6c86928SMartin Mares 1838f6c86928SMartin Mares * Makefile: Added target `release' which substitutes new version 1839f6c86928SMartin Mares number to .spec, .lsm and README. Also rewrote target `dist'. 1840f6c86928SMartin Mares 1841f6c86928SMartin Mares * Released as 1.99.3. 1842f6c86928SMartin Mares 1843b5137411SMartin MaresSun Jan 24 22:10:36 1999 Martin Mares <[email protected]> 1844b5137411SMartin Mares 1845d6b297d0SMartin Mares * lib/header.h: Until kernel adopts new layout of PCI 1846d6b297d0SMartin Mares includes (i.e., separate declaration of header structure, 1847d6b297d0SMartin Mares functions and device IDs), which is not going to happen 1848d6b297d0SMartin Mares before 2.3, we'll use our own definiton of the header. 1849d6b297d0SMartin Mares 1850b5137411SMartin Mares * lspci.c (show_verbose): Display `Cap' flag in device status. 1851b5137411SMartin Mares 1852b5137411SMartin Mares * lspci.c (show_htype0): Display capability lists whereever 1853b5137411SMartin Mares available. The only capability name we recognize now is `AGP'. 1854b5137411SMartin Mares Unfortunately, capabilities are stored in device-dependent 1855b5137411SMartin Mares portion of the configuration space and are thus available 1856b5137411SMartin Mares only to root unless you read a dump. 1857b5137411SMartin Mares 1858b5137411SMartin Mares * lspci.c (scan_devices): Use cache instead of buffering. 1859b5137411SMartin Mares 1860b5137411SMartin Mares * lib/buffer.c: Removed (obsoleted by the cache). 1861b5137411SMartin Mares 1862b5137411SMartin Mares * lib/access.c: Added general caching mechanism. 1863b5137411SMartin Mares 186481ce358dSMartin MaresSat Jan 23 21:30:54 1999 Martin Mares <[email protected]> 186581ce358dSMartin Mares 186681ce358dSMartin Mares * pci.ids: Added few devices. 186781ce358dSMartin Mares 1868727ce158SMartin MaresFri Jan 22 19:29:31 1999 Martin Mares <[email protected]> 1869727ce158SMartin Mares 1870727ce158SMartin Mares * Version string is now defined in top-level Makefile, exported 1871727ce158SMartin Mares to the configure script and also substituted to man pages. 1872727ce158SMartin Mares 1873727ce158SMartin Mares * lspci.c (show_bases): Rewrote displaying of 64-bit addresses. 1874727ce158SMartin Mares (show_verbose): Rewrote interrupt display logic. 1875727ce158SMartin Mares 1876727ce158SMartin Mares * lib/i386-ports.c: Include sys/io.h only on glibc systems. 1877727ce158SMartin Mares 1878727ce158SMartin Mares * lib/configure: Rewrote detection of Linux versions. Now it 1879727ce158SMartin Mares works on 2.0 kernels (only with direct/dump access, of course). 1880727ce158SMartin Mares 1881727ce158SMartin Mares * lib/internal.h: New bytesex macros using <asm/byteorder.h> 1882727ce158SMartin Mares whenever available. 1883727ce158SMartin Mares 1884727ce158SMartin Mares * lib/proc.c (proc_read, proc_write): Distinguish between short 1885727ce158SMartin Mares read/write and real errors. 1886727ce158SMartin Mares 1887727ce158SMartin Mares * lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since 1888727ce158SMartin Mares libpci respects buscentric mode automatically. 1889727ce158SMartin Mares 1890727ce158SMartin Mares * lspci.c (show_hex_dump): For CardBus bridges, print out 128 1891727ce158SMartin Mares bytes of header (the whole standard part). 1892727ce158SMartin Mares 1893727ce158SMartin Mares * common.c: pcilib options are now all uppercase. Also moved 1894727ce158SMartin Mares PCI access debugging option here. 1895727ce158SMartin Mares 1896727ce158SMartin Mares * Released as 1.99.2. 1897727ce158SMartin Mares 1898727ce158SMartin MaresWed Jan 20 22:50:35 1999 Martin Mares <[email protected]> 1899727ce158SMartin Mares 1900727ce158SMartin Mares * Wrote configure script and rewrote Makefiles. 1901727ce158SMartin Mares 1902727ce158SMartin Mares * Removed few unused variables. 1903727ce158SMartin Mares 1904727ce158SMartin MaresWed Jan 20 12:21:56 1999 Martin Mares <[email protected]> 1905727ce158SMartin Mares 1906727ce158SMartin Mares * common.c: Moved several functions used in both setpci and lspci 1907727ce158SMartin Mares here. This includes parsing of libpci-related options. 1908727ce158SMartin Mares 1909727ce158SMartin Mares * More library tweaks. 1910727ce158SMartin Mares 1911727ce158SMartin Mares * filter.c, names.c: Moved to library. 1912727ce158SMartin Mares 1913727ce158SMartin Mares * setpci: Rewritten to use the library. 1914727ce158SMartin Mares 1915727ce158SMartin Mares * Released as 1.99.1. 1916727ce158SMartin Mares 1917727ce158SMartin MaresTue Jan 19 23:00:12 1999 Martin Mares <[email protected]> 1918727ce158SMartin Mares 1919727ce158SMartin Mares * lspci.c (scan_devices): For cardbus bridges, read first 128 1920727ce158SMartin Mares bytes of config space to get full standard header. 1921727ce158SMartin Mares 1922727ce158SMartin Mares * Makefile (CFLAGS): Removed "-Wno-unused". 1923727ce158SMartin Mares 1924727ce158SMartin Mares * Started the "New Generation" branch and introduced the 1925727ce158SMartin Mares PCI library. 1926727ce158SMartin Mares 1927727ce158SMartin Mares * lspci: Rewritten to use the library. 1928727ce158SMartin Mares 19296ece6bc6SMartin MaresTue Jan 19 22:24:08 1999 Martin Mares <[email protected]> 19306ece6bc6SMartin Mares 19316ece6bc6SMartin Mares * Released as version 1.10. 19326ece6bc6SMartin Mares 19336ece6bc6SMartin MaresMon Jan 18 08:51:17 1999 Martin Mares <[email protected]> 19346ece6bc6SMartin Mares 19356ece6bc6SMartin Mares * lspci.8, setpci.8: Miscellaneous fixes as suggested by 19366ece6bc6SMartin Mares Dag Wieers <[email protected]>. 19376ece6bc6SMartin Mares 19381212dd6dSMartin MaresSun Nov 29 20:05:56 1998 Martin Mares <[email protected]> 19391212dd6dSMartin Mares 19401212dd6dSMartin Mares * pciutils.spec (Name): Update from Krzysztof G. Baranowski. 19411212dd6dSMartin Mares 1942d38471fdSMartin MaresSun Nov 22 10:49:56 1998 Martin Mares <[email protected]> 1943d38471fdSMartin Mares 1944d38471fdSMartin Mares * Makefile, pciutils.h: Moved pci.ids to /usr/share. 1945d38471fdSMartin Mares 1946d38471fdSMartin Mares * Released as version 1.09. 1947d38471fdSMartin Mares 1948371f605bSMartin MaresWed Nov 18 15:47:05 1998 Martin Mares <[email protected]> 1949371f605bSMartin Mares 1950371f605bSMartin Mares * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind 1951371f605bSMartin Mares bridge. Thanks to Petr Vandrovec <[email protected]> for bug report. 1952371f605bSMartin Mares 195310be47abSMartin MaresFri Oct 23 18:59:19 1998 Martin Mares <[email protected]> 195410be47abSMartin Mares 195510be47abSMartin Mares * setpci.c: Don't include <syscall-list.h> with glibc >= 2.1. 195610be47abSMartin Mares 1957472bd340SMartin MaresMon Oct 19 21:53:30 1998 Martin Mares <[email protected]> 1958472bd340SMartin Mares 1959472bd340SMartin Mares * Released as version 1.08. 1960472bd340SMartin Mares 1961472bd340SMartin Mares * setpci.c: glibc 2.1.x already defines pread() and pwrite(). 1962472bd340SMartin Mares 1963472bd340SMartin Mares * lspci.8: Changed warning about lspci -xxx. 1964472bd340SMartin Mares 1965472bd340SMartin Mares * lspci.c: Require "-xxx" for full configuration space dump, so that 1966472bd340SMartin Mares it's impossible to crash the machine by single typo. 1967472bd340SMartin Mares 1968472bd340SMartin Mares * specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>). 1969472bd340SMartin Mares 1970072c77e5SMartin MaresWed Sep 9 12:03:24 1998 Martin Mares <[email protected]> 1971072c77e5SMartin Mares 1972072c77e5SMartin Mares * lspci.c (show_bases): Better displaying of unassigned and 1973072c77e5SMartin Mares disabled bases. Thanks to Gabriel Paubert <[email protected]> 1974072c77e5SMartin Mares for an idea. 1975072c77e5SMartin Mares 1976b7554856SMartin MaresWed Sep 2 10:58:01 1998 Martin Mares <[email protected]> 1977b7554856SMartin Mares 1978b7554856SMartin Mares * setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC. 1979b7554856SMartin Mares (thanks to Geert Uytterhoeven for finding this out) 1980b7554856SMartin Mares 1981ce503b7fSMartin MaresFri Jul 17 10:43:30 1998 Martin Mares <[email protected]> 1982ce503b7fSMartin Mares 1983ce503b7fSMartin Mares * lspci.c (show_verbose): Print subsystem ID using the new resolver. 1984ce503b7fSMartin Mares (show_machine): Print subsystem ID. 1985ce503b7fSMartin Mares 1986ce503b7fSMartin Mares * names.c: New name resolution engine supporting subsystem IDs. 1987ce503b7fSMartin Mares 1988ce503b7fSMartin Mares * Released as version 1.07. 1989ce503b7fSMartin Mares 199096e4f295SMartin MaresWed Jul 15 15:37:21 1998 Martin Mares <[email protected]> 199196e4f295SMartin Mares 199296e4f295SMartin Mares * lspci.c (show_htype2 etc.): Displaying of CardBus headers. 199396e4f295SMartin Mares (show_bases): Honor the `cnt' argument. 199496e4f295SMartin Mares (grow_tree): Parse CardBus headers in tree mode as well. 199596e4f295SMartin Mares 199696e4f295SMartin Mares * pci.h: Updated CardBus header field description. I still don't 199796e4f295SMartin Mares have the CardBus standard available, but OZ6832 specs contain 199896e4f295SMartin Mares full description of all header fields supported by the chip. 199996e4f295SMartin Mares 20006ae3650aSMartin MaresTue Jun 9 22:53:59 1998 Martin Mares <[email protected]> 20016ae3650aSMartin Mares 2002304f9a0bSMartin Mares * Released as 1.06. 2003304f9a0bSMartin Mares 20046ae3650aSMartin Mares * names.c (parse_name_list): Killed an unused variable. 20056ae3650aSMartin Mares 20066ae3650aSMartin Mares * setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1 20076ae3650aSMartin Mares if they are not defined by glibc (needed for glibc built on older 20086ae3650aSMartin Mares kernels). Ugly. 20096ae3650aSMartin Mares 20106ae3650aSMartin Mares * setpci.c (exec_op): Fixed error messages. Thanks, Steve! 20116ae3650aSMartin Mares 20124b88a6b8SMartin MaresMon Jun 8 10:59:22 1998 Martin Mares <[email protected]> 20134b88a6b8SMartin Mares 20144b88a6b8SMartin Mares * Released as 1.05. 20154b88a6b8SMartin Mares 20164b88a6b8SMartin Mares * setpci.c: Problems with pread()/pwrite() with glibc on Alpha 20174b88a6b8SMartin Mares should be gone. Again thanks to Steve for bug report. 20184b88a6b8SMartin Mares 20194b88a6b8SMartin Mares * filter.c (filter_parse_slot): Fixed ":x" type filters. 20204b88a6b8SMartin Mares 20214b88a6b8SMartin Mares * pci.ids: Killed duplicate entry. Thanks to Stephen Williams 20224b88a6b8SMartin Mares <[email protected]> for reporting this. 20234b88a6b8SMartin Mares 20244b88a6b8SMartin MaresSun Jun 7 19:27:51 1998 Martin Mares <[email protected]> 20254b88a6b8SMartin Mares 20264b88a6b8SMartin Mares * lspci.c (main), setpci.c (main): Implemented "--version". 20274b88a6b8SMartin Mares 20284b88a6b8SMartin Mares * Released as 1.04. 20294b88a6b8SMartin Mares 20304b88a6b8SMartin Mares * pciutils.h (PCIUTILS_VERSION): Added version string. 20314b88a6b8SMartin Mares 20324b88a6b8SMartin Mares * filter.c, names.c: Extraneous #include <linux/pci.h> removed. 20334b88a6b8SMartin Mares Thanks to Geert Uytterhoeven <[email protected]> 20344b88a6b8SMartin Mares for bug report. 20354b88a6b8SMartin Mares 20369b306998SMartin MaresThu May 28 14:45:58 1998 Martin Mares <[email protected]> 20379b306998SMartin Mares 20389b306998SMartin Mares * pci.ids: More updates from Jens Maurer. 20399b306998SMartin Mares 2040b372672fSMartin MaresWed Apr 22 10:00:39 1998 Martin Mares <[email protected]> 2041b372672fSMartin Mares 2042b372672fSMartin Mares * pci.ids: Updates from Jens Maurer. 2043b372672fSMartin Mares 2044b2c9b373SMartin MaresSun Apr 19 11:14:25 1998 Martin Mares <[email protected]> 2045b2c9b373SMartin Mares 2046b372672fSMartin Mares * Released as 1.03. 2047b372672fSMartin Mares 2048b2c9b373SMartin Mares * setpci.8: Written. 2049b2c9b373SMartin Mares 2050b2c9b373SMartin Mares * setpci.c: Finished. 2051b2c9b373SMartin Mares 2052b2c9b373SMartin Mares * lspci.c: Now able to fetch expansion ROM base from kernel device list 2053b2c9b373SMartin Mares and print it if not in buscentric mode. 2054b2c9b373SMartin Mares 2055e4842ff3SMartin MaresTue Mar 31 23:11:57 1998 Martin Mares <[email protected]> 2056e4842ff3SMartin Mares 2057e4842ff3SMartin Mares * setpci.c: Added. 2058e4842ff3SMartin Mares 2059e4842ff3SMartin MaresSun Mar 22 15:39:08 1998 Martin Mares <[email protected]> 2060e4842ff3SMartin Mares 2061e4842ff3SMartin Mares * lspci.8: Updated the documentation. 2062e4842ff3SMartin Mares 2063e4842ff3SMartin Mares * lspci.c: Modified to use the new filtering mechanism (options -f and -d). 2064e4842ff3SMartin Mares 2065e4842ff3SMartin Mares * filter.c: Introduced new generic device filter. 2066e4842ff3SMartin Mares 2067008407bdSMartin MaresThu Mar 19 17:03:48 1998 Martin Mares <[email protected]> 2068008407bdSMartin Mares 2069008407bdSMartin Mares * lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying 2070008407bdSMartin Mares of PCI-to-PCI bridges in the tree format. 2071008407bdSMartin Mares 20720a33d0ecSMartin MaresSun Feb 15 10:12:25 1998 Martin Mares <[email protected]> 20730a33d0ecSMartin Mares 20740a33d0ecSMartin Mares * lspci.c (show_machine): Added non-verbose mode of machine-readable 20750a33d0ecSMartin Mares dump. 20760a33d0ecSMartin Mares 20770a33d0ecSMartin Mares * pci.ids: Updates from Jens Maurer. 20780a33d0ecSMartin Mares 20790a33d0ecSMartin Mares * Released as version 1.02. 20800a33d0ecSMartin Mares 20810a33d0ecSMartin MaresThu Feb 12 16:53:28 1998 Martin Mares <[email protected]> 20820a33d0ecSMartin Mares 20830a33d0ecSMartin Mares * lspci.c: Added a "-m" switch for dumping machine-readable 20840a33d0ecSMartin Mares configuration data (requested by Bjoern Kriews <[email protected]>). 20850a33d0ecSMartin Mares 2086fb38eee8SMartin MaresMon Feb 9 13:17:43 1998 Martin Mares <[email protected]> 2087fb38eee8SMartin Mares 2088fb38eee8SMartin Mares * Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h> 2089fb38eee8SMartin Mares if available. This should avoid all problems with official kernel 2090fb38eee8SMartin Mares not synchronized to newer PCI code in CVS -- standard distribution 2091fb38eee8SMartin Mares of pciutils now contains pci.h from current CVS kernel, pciutils 2092fb38eee8SMartin Mares in CVS contain no pci.h and use the correct kernel include. 2093fb38eee8SMartin Mares 2094fb38eee8SMartin Mares * Makefile: Fixed installation path for man pages. 2095fb38eee8SMartin Mares 20962f48f637SMartin MaresSat Feb 7 15:15:46 1998 Martin Mares <[email protected]> 20972f48f637SMartin Mares 20982f48f637SMartin Mares * README: Updated. 20992f48f637SMartin Mares 21002f48f637SMartin Mares * lspci.8: Created a man page. 21012f48f637SMartin Mares 21022f48f637SMartin Mares * Releasing as version 1.0. 21032f48f637SMartin Mares 21042f48f637SMartin MaresTue Feb 3 20:56:00 1998 Martin Mares <[email protected]> 21052f48f637SMartin Mares 21062f48f637SMartin Mares * Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx 21072f48f637SMartin Mares to all the C sources. This should eliminate problems with 32-bit compilers 21082f48f637SMartin Mares on sparc64. 21092f48f637SMartin Mares 21102f48f637SMartin Mares * lspci.c (show_verbose): Recognize CardBus bridge header type. 21112f48f637SMartin Mares (show_htype2): Stub routine. 21122f48f637SMartin Mares (scan_config): Write sensible error message if the kernel denies reading of 21132f48f637SMartin Mares upper part of the PCI config space. 2114