1*e6859953SMartin Mares2005-12-12 Martin Mares <[email protected]> 2*e6859953SMartin Mares 3*e6859953SMartin Mares * lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow 4*e6859953SMartin Mares at least read-only access. Patch by Pavel Celeda <[email protected]>. 5*e6859953SMartin Mares 6*e6859953SMartin Mares * Makefile: Corrected library path on NetBSD. 7*e6859953SMartin Mares 8a99c0d69SMartin Mares2005-11-26 Martin Mares <[email protected]> 9a99c0d69SMartin Mares 10e4af70c6SMartin Mares * Released as 2.2.1. 11e4af70c6SMartin Mares 12a99c0d69SMartin Mares * lspci.c (show_machine): Subsystem vendors were printed incorrectly 13a99c0d69SMartin Mares in machine-readable modes. Thanks to Pavel Celeda for a bug report. 14a99c0d69SMartin Mares 15f23fd3fcSMartin Mares2005-10-11 Martin Mares <[email protected]> 16f23fd3fcSMartin Mares 17f23fd3fcSMartin Mares * lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it. 18f23fd3fcSMartin Mares 1915296723SMartin Mares2005-09-21 Martin Mares <[email protected]> 2015296723SMartin Mares 2115296723SMartin Mares * Released as 2.2.0. 2215296723SMartin Mares 2340b6d93fSMartin Mares * pci.ids: Updated copyright header. 2440b6d93fSMartin Mares 2515296723SMartin Mares * lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported 2615296723SMartin Mares 64-bit addresses, they are now always supported. 2715296723SMartin Mares 2815296723SMartin Mares * lspci.c (show_bases): Corrected printing of 64-bit addresses 2915296723SMartin Mares in bus-centric mode. 3015296723SMartin Mares 3115296723SMartin Mares * lib/configure: Enable 64-bit addresses on all Linux systems. 3215296723SMartin Mares 3315296723SMartin Mares * lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they 3415296723SMartin Mares are shorter. 3515296723SMartin Mares 36224707baSMartin Mares2005-09-11 Martin Mares <[email protected]> 37224707baSMartin Mares 38224707baSMartin Mares * Released as 2.1.99-test11. 39224707baSMartin Mares 40224707baSMartin Mares * lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls. 41224707baSMartin Mares 42aeaca5d3SMartin Mares2005-09-10 Martin Mares <[email protected]> 43aeaca5d3SMartin Mares 44224707baSMartin Mares * Released as 2.1.99-test10. 45224707baSMartin Mares 4663e6f2e0SMartin Mares * pci.ids: Synchronized with the current database snapshot. 4763e6f2e0SMartin Mares 48043ebdeeSMartin Mares * update-pciids.sh: Changed the default URL for downloading pci.ids 49043ebdeeSMartin Mares to http://pciids.sourceforge.net/v2.2/pci.ids. 50043ebdeeSMartin Mares 51043ebdeeSMartin Mares * lib/pci.h (PCI_LIB_VERSION): Added version identifier. 52043ebdeeSMartin Mares 53aeaca5d3SMartin Mares * lib/names.c: Rewritten the name database module almost from scratch. 54aeaca5d3SMartin Mares Everything is much cleaner and there are hopefully no more memory leaks; 55aeaca5d3SMartin Mares pci_lookup_name() now uses varargs in a backward compatible fashion. 56aeaca5d3SMartin Mares Introduced PCI_LOOKUP_NO_NUMBERS. 57aeaca5d3SMartin Mares 58aeaca5d3SMartin Mares The new code supports subsystem entries not tied to a specific device. 59aeaca5d3SMartin Mares I had to extend the format of pci.ids in order to support it, so I have 60aeaca5d3SMartin Mares extended the idea of the "C" (class) blocks and introduced "S" blocks 61aeaca5d3SMartin Mares for subsystems. To avoid doing more incompatible changes in the future, 62aeaca5d3SMartin Mares the parser skips unknown single-letter blocks without reporting errors. 63aeaca5d3SMartin Mares 64121c76c9SMartin Mares2005-08-23 Martin Mares <[email protected]> 65121c76c9SMartin Mares 6654e13765SMartin Mares * Released as 2.1.99-test9. 6754e13765SMartin Mares 6854e13765SMartin Mares * Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent 6954e13765SMartin Mares gcc versions when optimizing anyway. 7054e13765SMartin Mares 7154e13765SMartin Mares * Made the path to pci.ids customizable and independent on the SHAREDIR. 7254e13765SMartin Mares Just override IDSDIR in the top-level Makefile. 7354e13765SMartin Mares 7454e13765SMartin Mares * pci.ids: Synchronized with the current database snapshot. 7554e13765SMartin Mares 7684d437d6SMartin Mares * lspci.man, setpci.man: Improved the man pages. Documented all access 7784d437d6SMartin Mares methods and which operations are privileged. 7884d437d6SMartin Mares 7984d437d6SMartin Mares * lspci.c: Another rewrite of config register caching, now also including 8084d437d6SMartin Mares lots of internal checks. It should be now perfectly able to cope with 8184d437d6SMartin Mares portions of the configuration space being inaccessible, for example 8284d437d6SMartin Mares due to insufficient access rights. 8384d437d6SMartin Mares 843b8bf739SMartin Mares * lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X 853b8bf739SMartin Mares capabilities. Includes partial support for PCI-X 2.0 (probably incomplete 863b8bf739SMartin Mares as I haven't seen the spec). 873b8bf739SMartin Mares 883b8bf739SMartin Mares * lspci.c: Quell warnings about unused parameters. 893b8bf739SMartin Mares 9084d437d6SMartin Mares * lspci.c: Removed C++ comments. 9184d437d6SMartin Mares 923b8bf739SMartin Mares * lib/header.h: Merged definitions of extended capabilities and some new 933b8bf739SMartin Mares PCI-X capability bits from linux-2.6.11/include/pci.h. 943b8bf739SMartin Mares 953b8bf739SMartin Mares * lspci.c (show_caps): Try to scan extended capabilities only if the 963b8bf739SMartin Mares device has either PCI-X or PCI Express capability in its normal capability 973b8bf739SMartin Mares list. 983b8bf739SMartin Mares 99f7821e53SMartin Mares * lib/dump.c (dump_init): Reading of dumps works again. The dump reader 100f7821e53SMartin Mares now also remembers how much data it has read and refuses attempts to 101f7821e53SMartin Mares access more than that. 102ea4e5f5dSMartin Mares 10346ea554dSMartin Mares * setpci.man, lspci.c, README: prefer spelling "buses" over "busses". 10446ea554dSMartin Mares 1058afaab22SMartin Mares * lspci.c: If alloca() is not available, use xmalloc(), not malloc(). 1068afaab22SMartin Mares 107121c76c9SMartin Mares * lib/configure: Added x86_64 on Linux. 108121c76c9SMartin Mares 109c1c2c30eSMartin Mares2005-08-22 Martin Mares <[email protected]> 110c1c2c30eSMartin Mares 111b9ca9147SMartin Mares * lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters. 112b9ca9147SMartin Mares Thanks to Matthew Wilcox for bug report. 113b9ca9147SMartin Mares 114c1c2c30eSMartin Mares * lspci.c: Corrected spelling of "Hz" (it was "hz" at several places). 115b9ca9147SMartin Mares Thanks to Krzysztof Oledzki for pointing that out. 116c1c2c30eSMartin Mares 11726542a0bSMartin Mares2004-08-19 Martin Mares <[email protected]> 11826542a0bSMartin Mares 11926542a0bSMartin Mares * pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism, 12026542a0bSMartin Mares because pciutils by default install to /usr/sbin. Update. 12126542a0bSMartin Mares 1226aa54f1bSMartin Mares2004-08-13 Martin Mares <[email protected]> 1236aa54f1bSMartin Mares 124aabb0a92SMartin Mares * Released as 2.1.99-test8. 125aabb0a92SMartin Mares 126f31412d1SMartin Mares * lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are 127f31412d1SMartin Mares no longer exported to the outside world. 128f31412d1SMartin Mares 129ee7d8384SMartin Mares * README.Windows: Updated. 130ee7d8384SMartin Mares 131ee7d8384SMartin Mares * maint/release: Substitute version number in win32/config.h. 132ee7d8384SMartin Mares 133ee7d8384SMartin Mares * win32/config.h: Added. 134ee7d8384SMartin Mares 135ee7d8384SMartin Mares * lib/sysdep.h (bzero, strcasecmp): are macros on Windows. 136ee7d8384SMartin Mares 137ee7d8384SMartin Mares * compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU 138ee7d8384SMartin Mares C library for use on systems where the default libraries lack 139ee7d8384SMartin Mares proper getopt. Currently used by the Windows port. 140ee7d8384SMartin Mares 141ee7d8384SMartin Mares * lib/sysdep.h, lib/types.h: Updates of the Windows port from 142ee7d8384SMartin Mares Alexander Stock. 143ee7d8384SMartin Mares 144489233b4SMartin Mares * lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define 145489233b4SMartin Mares its own u8, u16, u32, byte and word types and uses what the user 146489233b4SMartin Mares has supplied instead. With this change, all namespace clashes should 147489233b4SMartin Mares be gone. 148489233b4SMartin Mares 149489233b4SMartin Mares * Makefile, lib/Makefile: Updated dependencies. 150489233b4SMartin Mares 151489233b4SMartin Mares * pciutils.h: Include lib/sysdep.h and move NONRET et al. there. 152489233b4SMartin Mares 153489233b4SMartin Mares * lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because 154489233b4SMartin Mares it is included unconditionally in lib/types.h. 155489233b4SMartin Mares 156489233b4SMartin Mares * Moved system-dependent stuff from lib/internal.h to lib/sysdep.h, 157489233b4SMartin Mares which is also used by the utilities. Also moved type declarations 158489233b4SMartin Mares from lib/pci.h to lib/types.h. 159489233b4SMartin Mares 160489233b4SMartin Mares * All files: Prepend a "PCI_" prefix in front of all configuration 161489233b4SMartin Mares defines to avoid namespace clashes. CAVEAT: If there is any libpci 162489233b4SMartin Mares application using the (undocumented) defines, it has to be updated. 163489233b4SMartin Mares 164489233b4SMartin Mares * lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing 165489233b4SMartin Mares headers with the kernel a couple of years ago. 166489233b4SMartin Mares 1679bb4b4eaSMartin Mares * lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6. 1689bb4b4eaSMartin Mares 1696aa54f1bSMartin Mares * lspci.c (show_rom): Use the same logic for printing disabled 1706aa54f1bSMartin Mares or unassigned ROM's as we do in show_bases() for the other BAR's. 1716aa54f1bSMartin Mares 1726aa54f1bSMartin Mares * lib/generic.c (pci_generic_fill_info): Better reaction to 1736aa54f1bSMartin Mares invalid 64-bit addresses. Also d->hdrtype should not include 1746aa54f1bSMartin Mares bit 7, which caused mysterious errors on multi-function devices. 1756aa54f1bSMartin Mares 1766aa54f1bSMartin Mares * lib/generic.c (pci_generic_fill_info): Fill in base addresses 1776aa54f1bSMartin Mares even if the regions are known to be disabled. It is the client's 1786aa54f1bSMartin Mares job to interpret them. (And it is not a trivial job if you want 1796aa54f1bSMartin Mares to do it correctly, since you need to check I/O and memory enables 1806aa54f1bSMartin Mares on all upstream bridges, too.) However, it could be interesting to 1816aa54f1bSMartin Mares introduce functions for interpreting the addresses and even for 1826aa54f1bSMartin Mares mapping the regions and doing I/O on them. 1836aa54f1bSMartin Mares 18480e6c636SMartin Mares2004-07-30 Martin Mares <[email protected]> 18580e6c636SMartin Mares 18680e6c636SMartin Mares * lspci.c: HyperTransport improvements from Maciej. 18780e6c636SMartin Mares 188d6324891SMartin Mares2004-07-11 Martin Mares <[email protected]> 189d6324891SMartin Mares 190d6324891SMartin Mares * lib/sysfs.c (sysfs_get_resources): Arguments now correspond 191d6324891SMartin Mares to the format string. [Patch by Bill Nottingham] 192d6324891SMartin Mares 193ec25b52dSMartin Mares2004-07-05 Martin Mares <[email protected]> 194ec25b52dSMartin Mares 195362be683SMartin Mares * Released as 2.1.99-test7. 196362be683SMartin Mares 197ec25b52dSMartin Mares * lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but 198ec25b52dSMartin Mares ended up with rewriting the fetching mechanism to be fully dynamic, 199ec25b52dSMartin Mares but avoid reading config space registers not explicitly requested. 200ec25b52dSMartin Mares 201ec25b52dSMartin Mares2004-06-29 Matthew Wilcox <[email protected]> 202ec25b52dSMartin Mares 203ec25b52dSMartin Mares * lspci.c: More work on PCI Express dumping. 204ec25b52dSMartin Mares 205ec25b52dSMartin Mares * lib/header.h: Updated PCI Express capability definitions. 206ec25b52dSMartin Mares 207ec25b52dSMartin Mares * lib/proc.c (proc_read): Removed bogus warning. 208ec25b52dSMartin Mares 209ec25b52dSMartin Mares * common.c (xrealloc): Introduced. 210ec25b52dSMartin Mares 211ec25b52dSMartin Mares * lspci.man: Added -xxxx. 212ec25b52dSMartin Mares 21309817437SMartin Mares2004-06-27 Martin Mares <[email protected]> 21409817437SMartin Mares 215d1fa27ebSMartin Mares * Released as 2.1.99-test6. 216d1fa27ebSMartin Mares 2174d67aa89SMartin Mares * lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap. 2184d67aa89SMartin Mares Patch by Roland Dreier <[email protected]>, cleaned up by me. 2194d67aa89SMartin Mares 2204d67aa89SMartin Mares * lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch() 2214d67aa89SMartin Mares failures. 2224d67aa89SMartin Mares 2234d67aa89SMartin Mares * lib/header.h: Added PCI Express extended capabilities. Again by Matthew. 2244d67aa89SMartin Mares 2254d67aa89SMartin Mares * lspci.c (show_express): Added dumping of PCI Express cap. 2264d67aa89SMartin Mares Patch by Matthew Wilcox. 2274d67aa89SMartin Mares 2284d67aa89SMartin Mares * lib/header.h: Added a list of PCI 3.0 capabilities and also details 2294d67aa89SMartin Mares on PCI Express caps. Patch by Matthew Wilcox <[email protected]>. 2304d67aa89SMartin Mares 23109817437SMartin Mares * lspci.c (check_root): Gone. No explicit checks for root are needed, 23209817437SMartin Mares report correct errors reported by the libpci instead. 23309817437SMartin Mares 23409817437SMartin Mares * lspci.c: Added dumping of the extended config space on "-xxxx". 23509817437SMartin Mares Better caching of config registers. 23609817437SMartin Mares 23709817437SMartin Mares * setpci.c (main): Allow access to whole 4096 bytes of the config space. 23809817437SMartin Mares 23909817437SMartin Mares * lib/sysfs.c, lib/proc.c: Don't print error messages on short reads, 24009817437SMartin Mares just return the appropriate error code. 24109817437SMartin Mares 24209817437SMartin Mares * lib: Added support for extended (4096-byte) configuration space, 24309817437SMartin Mares currently implemented only in Linux proc and sysfs access methods 24409817437SMartin Mares and of course in the dump reader. 24509817437SMartin Mares 2460d656226SMartin Mares2004-05-29 Martin Mares <[email protected]> 2470d656226SMartin Mares 248c0eece92SMartin Mares * Released as 2.1.99-test5. 249c0eece92SMartin Mares 250a2413560SMartin Mares * lib/pci.h: Windows don't have the standard u_int* types. 251a2413560SMartin Mares 252a2413560SMartin Mares * lib/internal.h: <sys/param.h> required on Windows for endianity 253a2413560SMartin Mares macros. 254a2413560SMartin Mares 255a2413560SMartin Mares * lib/i386-ports.c: Connected i386-io-windows.h. 256a2413560SMartin Mares 257a2413560SMartin Mares * lspci.c (check_root): geteuid() is not available on Windows. 258a2413560SMartin Mares 259a2413560SMartin Mares * lib/i386-io-windows.h: Added Windows port contributed by Alexander 260a2413560SMartin Mares Stock <[email protected]>. 261a2413560SMartin Mares 262a2413560SMartin Mares * lib/configure: Hopefully fixed SunOS port broken by various 263a2413560SMartin Mares changes to the configure script. 264a2413560SMartin Mares 2650d656226SMartin Mares * Makefile, lib/configure: Cross-compilation support, patch by Maciej. 2660d656226SMartin Mares 267138c0385SMartin Mares2004-05-28 Martin Mares <[email protected]> 268138c0385SMartin Mares 2699f490382SMartin Mares * Released as 2.1.99-test4. 2709f490382SMartin Mares 271cce2caacSMartin Mares * lspci.c (show_verbose): Header type 1 is probably legal for all 272cce2caacSMartin Mares types of bridges, not only for PCI-to-PCI bridges. 273cce2caacSMartin Mares 274b569ef09SMartin Mares * lspci.c (format_agp_rate): Write "x16", not "x@". 275b569ef09SMartin Mares (show_agp): rate[] could overflow. 276b569ef09SMartin Mares Bugs reported by Jakub Bogusz <[email protected]>. 277b569ef09SMartin Mares 278bfc4fe7aSMartin Mares * lspci.c (show_ht_*): Show HyperTransport capability with all its 279bfc4fe7aSMartin Mares details. Once again code by Maciej simplified (i.e., possibly broken) 280bfc4fe7aSMartin Mares by me. 281bfc4fe7aSMartin Mares 282bfc4fe7aSMartin Mares * lib/header.h: Added declarations of HyperTransport capability. 283bfc4fe7aSMartin Mares Again thanks to Maciej. 284bfc4fe7aSMartin Mares 285138c0385SMartin Mares * lspci.c: Decode all bits of the secondary status word in type 1 headers. 286138c0385SMartin Mares Thanks to Maciej W. Rozycki <[email protected]> for the patch. 287138c0385SMartin Mares 2888fc75dbcSMartin Mares2003-12-27 Martin Mares <[email protected]> 2898fc75dbcSMartin Mares 29081abd2a7SMartin Mares * Released as 2.1.99-test3. 29181abd2a7SMartin Mares 2921f7c91ccSMartin Mares * lspci.man, setpci.man: Document domains and correct spelling. 2931f7c91ccSMartin Mares 2941f7c91ccSMartin Mares * lib/dump.c (dump_init): Added ability to read domain numbers. 2951f7c91ccSMartin Mares 29684c8d1bbSMartin Mares * lspci.c: Devices in domains different from 0 have their slot number 2971f7c91ccSMartin Mares printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains 2981f7c91ccSMartin Mares as well. 29984c8d1bbSMartin Mares 30084c8d1bbSMartin Mares * lib/filter.c: Slot filters understand domains. 30184c8d1bbSMartin Mares 30284c8d1bbSMartin Mares * lib/generic.c: Mention the domain in slot numbers in all error messages. 30384c8d1bbSMartin Mares 30484c8d1bbSMartin Mares * lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong. 30584c8d1bbSMartin Mares 30684c8d1bbSMartin Mares * lib/access.c (pci_get_dev): Added support for domains. 30784c8d1bbSMartin Mares 30884c8d1bbSMartin Mares * lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config 30984c8d1bbSMartin Mares registers (or to be precise, leave it for the generic parts of the pcilib 31084c8d1bbSMartin Mares to do so) instead of reading them from the sysfs. It's faster this way. 31184c8d1bbSMartin Mares 31284c8d1bbSMartin Mares * lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal 31384c8d1bbSMartin Mares variable. Better read it from the config registers (it's cached anyway). 31484c8d1bbSMartin Mares 31584c8d1bbSMartin Mares * lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype. 31684c8d1bbSMartin Mares lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it. 31784c8d1bbSMartin Mares Saves lots of unnecessary file accesses. 31884c8d1bbSMartin Mares 31911f7b31bSMartin Mares * lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter 32011f7b31bSMartin Mares is not supported by all C libraries. 32111f7b31bSMartin Mares 32211f7b31bSMartin Mares * Makefile: Always enter the lib directory (remember that we don't have 32311f7b31bSMartin Mares full dependecies for the library in the top-level Makefile; hmmm, another 32411f7b31bSMartin Mares thing to rewrite some day). 32511f7b31bSMartin Mares 32611f7b31bSMartin Mares * lib/sysfs.c: Added Linux sysfs access method based on the patch 32711f7b31bSMartin Mares written by Matthew Wilcox <[email protected]>. 32811f7b31bSMartin Mares 32911f7b31bSMartin Mares * lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc". 33011f7b31bSMartin Mares 33111f7b31bSMartin Mares * lib/pread.h: The hacks to support pread on various versions 33211f7b31bSMartin Mares of Linux libc moved there. 33311f7b31bSMartin Mares 33411f7b31bSMartin Mares * lib/proc.c (proc_setup): The return value of snprintf() varies 33511f7b31bSMartin Mares between glibc versions, so we need to check both for a negative 33611f7b31bSMartin Mares values and for too large values. 33711f7b31bSMartin Mares 3384284af58SMartin Mares * Removed last few references to the "Linux PCI Utilities", the 3394284af58SMartin Mares package is pretty cross-platform now :) 3404284af58SMartin Mares 3414284af58SMartin Mares2003-12-27 Martin Mares <[email protected]> 3424284af58SMartin Mares 343ab12277eSMartin Mares * Released as 2.1.99-test2. 344ab12277eSMartin Mares 345ab12277eSMartin Mares * README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the 346ab12277eSMartin Mares release scripts insert the current version. "make release" is gone. 347ab12277eSMartin Mares 348ab12277eSMartin Mares * maint/release, maint/release.pm: Added a new system of scripts for 349ab12277eSMartin Mares making releases including inter-version diffs etc. 350ab12277eSMartin Mares 351ab12277eSMartin Mares * Makefile: Cleaned up. 352ab12277eSMartin Mares 353ab12277eSMartin Mares * lib/fbsd-device.c: I patched another copy of this file by mistake, 354ab12277eSMartin Mares this time the version checks should be right. 355ab12277eSMartin Mares 356ab12277eSMartin Mares2003-12-27 Martin Mares <[email protected]> 357ab12277eSMartin Mares 3586d722cd6SMartin Mares * Released as 2.1.99-test1. 3596d722cd6SMartin Mares 360dd33246aSMartin Mares * pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h: 361dd33246aSMartin Mares Remove shadows of the syscall access method which was never 362dd33246aSMartin Mares implemented. 363dd33246aSMartin Mares 36480b3121aSMartin Mares * update-pciids.sh: Try to preserve permissions of the old file 36580b3121aSMartin Mares if chmod supports --reference. Should close Debian Bug #223740. 36680b3121aSMartin Mares 3676aea909aSMartin Mares * lib/proc.c (proc_setup): Increased path name length limit to 1024. 3686aea909aSMartin Mares Thanks for Redhat and Mandrake for inspiration. 3696aea909aSMartin Mares 3706aea909aSMartin Mares * lib/configure: Recognize ppc and ppc64, both have 64-bit addresses. 3716aea909aSMartin Mares Grabbed from Redhat (Fedora) patches. 3726aea909aSMartin Mares 3736aea909aSMartin Mares2003-12-27 Martin Mares <[email protected]> 3746aea909aSMartin Mares 375f701ff47SMartin Mares Merged bug fixes from Debian patches: 376f701ff47SMartin Mares 377f701ff47SMartin Mares * lspci.c (show_verbose): "Cache Line Size" should be capitalized. 378f701ff47SMartin Mares 379f701ff47SMartin Mares * lspci.c (show_pcix_nobridge): Added a missing newline. 380f701ff47SMartin Mares 3812240db8cSMartin Mares * lib/proc.c (proc_scan): When reading the header type, don't 3822240db8cSMartin Mares forget to clear the topmost bit indicating that the device has 383f701ff47SMartin Mares multiple functions. 3842240db8cSMartin Mares 3852240db8cSMartin Mares2003-12-27 Martin Mares <[email protected]> 3862240db8cSMartin Mares 38745902995SMartin Mares Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]> 38845902995SMartin Mares for the patches: 38945902995SMartin Mares 39045902995SMartin Mares * lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined. 39145902995SMartin Mares * lib/fbsd-device.c: Select the right set of system includes according 39245902995SMartin Mares to __FreeBSD_version. 39345902995SMartin Mares 39445902995SMartin Mares2003-12-27 Martin Mares <[email protected]> 39545902995SMartin Mares 3968fc75dbcSMartin Mares Merged support for Solaris on i386 by Bill Moore <[email protected]> 3978fc75dbcSMartin Mares and cleaned up: 3988fc75dbcSMartin Mares 3998fc75dbcSMartin Mares * lib/configure: Recognize SunOS. 4008fc75dbcSMartin Mares * lib/internal.h: Learn how to recognize byte order on SunOS. 4018fc75dbcSMartin Mares * lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c. 4028fc75dbcSMartin Mares * lib/i386-io-linux.h: Linux specific part. 4038fc75dbcSMartin Mares * lib/i386-io-hurd.h: GNU/Hurd specific part. 4048fc75dbcSMartin Mares * lib/i386-io-sunos.h: SunOS specific part. 4058fc75dbcSMartin Mares 4069739916eSMartin Mares2003-12-26 Martin Mares <[email protected]> 4079739916eSMartin Mares 4089739916eSMartin Mares * lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly. 4099739916eSMartin Mares 4109739916eSMartin Mares * lib/pci.h: Types declared in <sys/types.h> should be usable on all 4119739916eSMartin Mares platforms we currently support, so kill the forest of #ifdef's and 4129739916eSMartin Mares use them in all cases. 4139739916eSMartin Mares 4149739916eSMartin Mares * lib/pci.h: Use ULONG_MASK to decide whether we should use long 4159739916eSMartin Mares or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS. 4169739916eSMartin Mares Define format strings for addresses, port numbers and IRQ numbers 4179739916eSMartin Mares directly in pci.h. 4189739916eSMartin Mares 4199739916eSMartin Mares * lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses. 4209739916eSMartin Mares 42180459c65SMartin Mares2003-12-26 Marco Gerards <[email protected]> 42280459c65SMartin Mares 42380459c65SMartin Mares Added support for the GNU Hurd (cleaned up by Martin Mares): 42480459c65SMartin Mares 42580459c65SMartin Mares * lib/configure [GNU]: Use the i386 ports for configuration access. 42680459c65SMartin Mares * lib/i386-ports.c: Don't call iopl() on the Hurd. 42780459c65SMartin Mares * lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining 42880459c65SMartin Mares u8 to u32. 42980459c65SMartin Mares 430a85769a8SMartin Mares2003-12-26 Martin Mares <[email protected]> 431a85769a8SMartin Mares 4327dacd9c8SMartin Mares * lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call 4337dacd9c8SMartin Mares config_fetch() to ensure that the registers have been read. Thanks to 4347dacd9c8SMartin Mares Bill Wood <[email protected]> for the patch. 4357dacd9c8SMartin Mares 4367dacd9c8SMartin Mares * lspci.c: Ensure that failure of config_fetch() is handled correctly 4377dacd9c8SMartin Mares at all places. 4387dacd9c8SMartin Mares 4394063c31cSMartin Mares * lspci.man: There was one more explicit reference to /usr/share/pci.ids. 4404063c31cSMartin Mares Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>. 4414063c31cSMartin Mares 4423fe8a38dSMartin Mares * setpci.c (main): Better error messages. 4433fe8a38dSMartin Mares 4445f5b1a7bSMartin Mares * setpci.c (ex_op): The demo mode should disable only writing, not reading. 4455f5b1a7bSMartin Mares 4465f5b1a7bSMartin Mares * setpci.man: The documentation was inconsistent on what should -D do. 4475f5b1a7bSMartin Mares Document the new behaviour. 448b251f40bSMartin Mares 44991e37a49SMartin Mares * pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating 45091e37a49SMartin Mares the GCC specific __attribute__((noreturn)) and killed the hack with 45191e37a49SMartin Mares redefining __attribute__ on non-GCC compilers. 45291e37a49SMartin Mares 4534afd29d3SMartin Mares * Makefile: Added missing dependencies. Parallel builds work now. 4544afd29d3SMartin Mares Problem reported by Andreas Haumer <[email protected]>, but I chose 4554afd29d3SMartin Mares a different fix. 4564afd29d3SMartin Mares 457b0f1a03bSMartin Mares * Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell 458b0f1a03bSMartin Mares command every time $(MANDIR) is referenced. 459b0f1a03bSMartin Mares 460b7fd8e19SMartin Mares * lspci.c (main): The error message for `lspci -s' incorrectly mentioned 461b7fd8e19SMartin Mares a `-f' switch. Reported by Steve Finney <[email protected]>. 462b7fd8e19SMartin Mares 46305bb10a2SMartin Mares * lib/generic.c: Removed memory leak in pci_generic_bus_scan(). 46405bb10a2SMartin Mares Reported by Gary Parnes <[email protected]>. 46505bb10a2SMartin Mares 466a832f6f1SMartin Mares * Replaced obsolete syntax of __attribute__((unused)) in the middle of 467a832f6f1SMartin Mares parameter declarations (which is no longer supported by GCC 3.1) by the 468a832f6f1SMartin Mares current syntax (attribute at the end). Thanks to [email protected] 469a832f6f1SMartin Mares for reporting this problem. 470a832f6f1SMartin Mares 471a85769a8SMartin Mares * Removed CVS $Id$ tags from all files. 472a85769a8SMartin Mares 473a85769a8SMartin Mares * Makefile: Added some more warnings. 474a85769a8SMartin Mares 475b7351143SMartin Mares * setpci.c: Cleaned up mask/value code. 476b7351143SMartin Mares 477b7351143SMartin Mares2003-12-08 Thayne Harbaugh <[email protected]> 478b7351143SMartin Mares 479b7351143SMartin Mares * setpci.c: Individual bits to be set can be specified as <value>:<mask>. 480b7351143SMartin Mares 4812a5d5cf9SMartin Mares2003-11-29 Martin Mares <[email protected]> 4822a5d5cf9SMartin Mares 4832a5d5cf9SMartin Mares * Imported the pciutils sources to my Arch repository. Good-bye, CVS. 4842a5d5cf9SMartin Mares 485d772ef15SMartin Mares2003-01-04 Martin Mares <[email protected]> 486d772ef15SMartin Mares 4871b95f396SMartin Mares * Released as 2.1.11. 4881b95f396SMartin Mares 489c83293ebSMartin Mares * Makefile: Changed configuration of installation directories -- 490c83293ebSMartin Mares all paths are now set at the top of the Makefile instead of being 491c83293ebSMartin Mares scattered between the installation rules. The default installation 492c83293ebSMartin Mares now goes always to /usr/local regardless of the OS as most distributions 493c83293ebSMartin Mares already contain some version of pciutils and we don't want custom 494c83293ebSMartin Mares installations to interfere with the default ones. 495c83293ebSMartin Mares 496c83293ebSMartin Mares * Makefile: Removed a couple of ancient install hacks: we no longer 497c83293ebSMartin Mares try to avoid overwriting a newer pci.ids file (users are now expected 498c83293ebSMartin Mares to use update-ids) and we don't try to remove /etc/pci.ids (a long time 499c83293ebSMartin Mares has passed since the last version which used it). 500c83293ebSMartin Mares 501e2875dcdSMartin Mares * Makefile: Paths to pci.ids in man pages automatically get the right path. 502e2875dcdSMartin Mares 5031b95f396SMartin Mares * Added the update-ids utility. 5040138a2a7SMartin Mares 505d772ef15SMartin Mares * lib: Removed partially implemented "syscall" access method which will 506d772ef15SMartin Mares probably never be needed. 507d772ef15SMartin Mares 508eb620239SMartin Mares2002-12-27 Martin Mares <[email protected]> 509eb620239SMartin Mares 510130090bdSMartin Mares * lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe. 511130090bdSMartin Mares 512eb620239SMartin Mares * lib/generic.c (pci_generic_scan_bus): Added work-around for devices with 513eb620239SMartin Mares discontiguous numbering of functions. This is already present in the Linux 514eb620239SMartin Mares kernel for several years, but I forgot to update pciutils as well. 515eb620239SMartin Mares 516848b4347SMartin Mares2002-12-26 Martin Mares <[email protected]> 517848b4347SMartin Mares 518579b19ffSMartin Mares * lib/header.h, lspci.c: Dump AGP3 flags and speeds. 519579b19ffSMartin Mares 520579b19ffSMartin Mares * lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header, 521579b19ffSMartin Mares there is no reason to prefer the kernel version. 522579b19ffSMartin Mares 523579b19ffSMartin Mares * lib/proc.c (proc_scan): Don't forget to initialize hdrtype. 524579b19ffSMartin Mares 525848b4347SMartin Mares * Added preliminary version of NetBSD support by Quentin Garnier 526848b4347SMartin Mares <[email protected]>. 527848b4347SMartin Mares 528f0952474SMartin Mares2002-04-06 Martin Mares <[email protected]> 529f0952474SMartin Mares 530f0952474SMartin Mares * lspci.c: Mention "-xxx" in the help. 531f0952474SMartin Mares 532d2f666f1SMartin Mares2002-03-30 Martin Mares <[email protected]> 533d2f666f1SMartin Mares 5349bd44bb0SMartin Mares * Released as 2.1.10. 5359bd44bb0SMartin Mares 536a33d0eb7SMartin Mares * Removed pci.ids from the CVS as they are now maintained separately. 537a33d0eb7SMartin Mares They are still included in the tarball, but if you are building pciutils 538a33d0eb7SMartin Mares from CVS sources or you want to get a newer ID file than the one distributed, 539a33d0eb7SMartin Mares just use "make update-ids" to download the most recent snapshot from 540a33d0eb7SMartin Mares pciids.sf.net. 541a33d0eb7SMartin Mares 542a33d0eb7SMartin Mares * Makefile, README: Updated accordingly. 543a33d0eb7SMartin Mares 544a33d0eb7SMartin Mares * Makefile: Added a couple of maintenance targets. 545a33d0eb7SMartin Mares 546a33d0eb7SMartin Mares * maint/*: Maintainer's utilities now reside here (present only in CVS, 547a33d0eb7SMartin Mares not in the tarball). 548a33d0eb7SMartin Mares 549d2f666f1SMartin Mares * lib/names.c (parse_name_list): End-of-line comments are no longer 550d2f666f1SMartin Mares supported. Hashes are now perfectly valid in all names and they start 551d2f666f1SMartin Mares a comment only at the start of the line. 552d2f666f1SMartin Mares 553ee551b73SMartin Mares2002-03-26 Martin Mares <[email protected]> 554ee551b73SMartin Mares 55507159913SMartin Mares * README: Rewritten. 55607159913SMartin Mares 557ee551b73SMartin Mares * Makefile: When the currently installed pci.ids file is newer than 558ee551b73SMartin Mares the version to be installed, don't overwrite it. Suggested by 559ee551b73SMartin Mares Jean Delvare <[email protected]>. 560ee551b73SMartin Mares 561bc7b1d62SMartin Mares2002-03-24 Martin Mares <[email protected]> 562bc7b1d62SMartin Mares 5635f5e6f64SMartin Mares * lspci.c (show_pcix_bridge): Added PCI-X capability display. 5645f5e6f64SMartin Mares Contributed by Jeff Garzik <[email protected]>. 5655f5e6f64SMartin Mares 5665f5e6f64SMartin Mares * lib/header.h: Added PCI-X stuff. Again by Jeff. 5675f5e6f64SMartin Mares 5685f5e6f64SMartin Mares * Makefile (CFLAGS): -Werror is gone. 5695f5e6f64SMartin Mares 570a1052f16SMartin Mares * lspci.c (format_agp_rate): Fixed AGP rate reporting. 571a1052f16SMartin Mares 572bc7b1d62SMartin Mares * lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and 573bc7b1d62SMartin Mares function 7. 574bc7b1d62SMartin Mares 575bc7b1d62SMartin Mares * lib/names.c (pci_lookup_name): When printing unknown subsystem vendor 576bc7b1d62SMartin Mares or device hexadecimally, don't confuse it with chip vendor/device ID. 577bc7b1d62SMartin Mares First reported by Marc Boucher <[email protected]>. 578bc7b1d62SMartin Mares 579f793990cSMartin Mares2001-11-04 Martin Mares <[email protected]> 580f793990cSMartin Mares 581ee551b73SMartin Mares * Released as 2.1.9. 582ee551b73SMartin Mares 583f793990cSMartin Mares * pci.ids: Synced with the PCI ID Repository at SourceForge 584f793990cSMartin Mares (http://pciids.sourceforge.net/). 585f793990cSMartin Mares 5861d174e56SMartin Mares2000-08-25 Martin Mares <[email protected]> 5871d174e56SMartin Mares 5881d174e56SMartin Mares * pci.ids: Updated ID's, synced with kernel 2.4.0-test7. 5891d174e56SMartin Mares 59065b4327eSMartin Mares2000-06-13 Martin Mares <[email protected]> 59165b4327eSMartin Mares 59265b4327eSMartin Mares * Makefile (uninstall): Fixed. 59365b4327eSMartin Mares 59465b4327eSMartin Mares * pci.ids: ID updates. 59565b4327eSMartin Mares 5964a219d5fSMartin Mares2000-05-20 Martin Mares <[email protected]> 5974a219d5fSMartin Mares 5984a219d5fSMartin Mares * Released as 2.1.8. 5994a219d5fSMartin Mares 6004a219d5fSMartin Mares * pci.ids: ID updates. 6014a219d5fSMartin Mares 6024a219d5fSMartin Mares * lspci.c (show_verbose): Min/max latency is now printed in nanoseconds. 6034a219d5fSMartin Mares 6044a219d5fSMartin Mares2000-05-04 Martin Mares <[email protected]> 6054a219d5fSMartin Mares 6064a219d5fSMartin Mares * lspci.c (show_verbose): If the header type doesn't match device 6074a219d5fSMartin Mares class, just print a warning and still use the header type, assuming 6084a219d5fSMartin Mares bogus class info. 6094a219d5fSMartin Mares 61010c90662SMartin Mares2000-05-01 Martin Mares <[email protected]> 61110c90662SMartin Mares 61272b9b690SMartin Mares * lspci.c (show_pm): Updated according to PCI PM specs 1.1. 61372b9b690SMartin Mares 61410c90662SMartin Mares * pci.ids: Updated Contemporary Control ARCnet card entries. 61510c90662SMartin Mares 61610c90662SMartin Mares * pci.ids: Synchronized class list with latest PCI SIG documents. 61710c90662SMartin Mares 618a239ade6SMartin Mares2000-04-29 Martin Mares <[email protected]> 619a239ade6SMartin Mares 620a239ade6SMartin Mares * lib/names.c (pci_lookup_name): Fixed the cheat. 621a239ade6SMartin Mares 622a239ade6SMartin Mares * lib/internal.h: Moved UNUSED/inline hacks above all other declarations. 623a239ade6SMartin Mares 624a239ade6SMartin Mares * pci.ids: Various ID updates. 625a239ade6SMartin Mares 6262c83b860SMartin Mares2000-04-21 Martin Mares <[email protected]> 6272c83b860SMartin Mares 6282c83b860SMartin Mares * Released as 2.1.7. 6292c83b860SMartin Mares 6302c83b860SMartin Mares * pciutils.spec: Added German description. 6312c83b860SMartin Mares 6322c83b860SMartin Mares * lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's 6332c83b860SMartin Mares are the same as device ID and just output subsystem name according to 6342c83b860SMartin Mares device name. 6352c83b860SMartin Mares 6362c83b860SMartin Mares * lib/proc.c: Use UNUSED instead of __attribute__((unused)). 6372c83b860SMartin Mares 6382c83b860SMartin Mares * lib/pci.h: Added the correct typedefs for AIX. 6392c83b860SMartin Mares 6402c83b860SMartin Mares * lib/generic.c (pci_generic_scan_bus): Export. 6412c83b860SMartin Mares 6422c83b860SMartin Mares * lib/configure: Detect AIX. Use "echo '...\c'" instead of 6432c83b860SMartin Mares "echo -n" if the shell isn't bash. 6442c83b860SMartin Mares 6452c83b860SMartin Mares * lspci.c: Avoid using alloca() if not compiled by GCC. 6462c83b860SMartin Mares (insert_dev): Avoid returning a void value. 6472c83b860SMartin Mares 6482c83b860SMartin Mares * Makefile: Choose which install utility to use according to 6492c83b860SMartin Mares OS type. Also use `-o' instead of `-or' in find arguments. 6502c83b860SMartin Mares Part of the AIX port. 6512c83b860SMartin Mares 6522c83b860SMartin Mares * lib/aix-device.c: Added AIX low-level interface. Contributed 6532c83b860SMartin Mares by Dave Johnson <[email protected]>, thanks a lot! 6542c83b860SMartin Mares 6552c83b860SMartin Mares * pci.ids: Few new ID's. 6562c83b860SMartin Mares 6572c83b860SMartin Mares * pciutils.h, lib/internal.h: Redefine __attribute__ and inline 6582c83b860SMartin Mares when not compiled by GCC. 6592c83b860SMartin Mares 660c1a828daSMartin Mares2000-04-17 Martin Mares <[email protected]> 661c1a828daSMartin Mares 662c1a828daSMartin Mares * Released as 2.1.6. 663c1a828daSMartin Mares 664c1a828daSMartin Mares * pci.ids: Added a large batch of ID's contributed by Gunther 665c1a828daSMartin Mares Mayer <[email protected]> and synced the 666c1a828daSMartin Mares list with the 2.3.99pre6 kernel. 667c1a828daSMartin Mares 668e91dd3abSMartin MaresThu Mar 9 13:11:39 2000 Martin Mares <[email protected]> 669e91dd3abSMartin Mares 670a80b79a9SMartin Mares * lib/example.c: Added a simple example of how to use 671a80b79a9SMartin Mares the library. 672a80b79a9SMartin Mares 67389984232SMartin Mares * lspci.man, setpci.man: Revealed --version. Well spotted 67489984232SMartin Mares by Adam Sulmicki. 67589984232SMartin Mares 676e91dd3abSMartin Mares * pci.ids: Added lots of new ID's and synced with 2.3.50. 677e91dd3abSMartin Mares 67878d9c5e2SMartin MaresTue Feb 15 00:16:21 2000 Martin Mares <[email protected]> 67978d9c5e2SMartin Mares 68078d9c5e2SMartin Mares * Released as 2.1.5. 68178d9c5e2SMartin Mares 68278d9c5e2SMartin Mares * pciutils.spec: Updated spec file from Andreas Jaeger. Now using 68378d9c5e2SMartin Mares %{_mandir} to find the right location to install manual pages to. 68478d9c5e2SMartin Mares 68578d9c5e2SMartin Mares * pci.ids: New ID's. 68678d9c5e2SMartin Mares 68778d9c5e2SMartin Mares * setpci.c (main): Don't crash when `-s' or `-d' is given with 68878d9c5e2SMartin Mares no argument. 68978d9c5e2SMartin Mares 690f8141ae2SMartin MaresMon Jan 24 20:04:11 2000 Andreas Jaeger <[email protected]> 691f8141ae2SMartin Mares 692f8141ae2SMartin Mares * lib/i386-ports.c: Include <asm/io.h> only on systems without 693f8141ae2SMartin Mares glibc. 694f8141ae2SMartin Mares 695f8141ae2SMartin MaresMon Jan 24 11:24:43 2000 Martin Mares <[email protected]> 696f8141ae2SMartin Mares 697f8141ae2SMartin Mares * Makefile: Modified to work with the Linux FHS brain-damaged idea 698f8141ae2SMartin Mares of putting man pages to /usr/share/man. Now we choose either /usr/man 699f8141ae2SMartin Mares or /usr/share/man depending on which one exists. 700f8141ae2SMartin Mares 70159e76e8bSMartin MaresSun Jan 23 10:52:34 2000 Martin Mares <[email protected]> 70259e76e8bSMartin Mares 70359e76e8bSMartin Mares * pci.ids: Synced with Linux 2.3.40. 70459e76e8bSMartin Mares 70559e76e8bSMartin Mares * Released as version 2.1.4. 70659e76e8bSMartin Mares 7072dfd48cdSMartin MaresThu Jan 20 11:08:32 2000 Martin Mares <[email protected]> 7082dfd48cdSMartin Mares 7092715403fSMartin Mares * lspci.c (scan_device): Fixed bug in reading of cardbus extensions. 7102715403fSMartin Mares 71181077814SMartin Mares * lib/proc.c: pread/pwrite fixed again, this time on libc5 :( 71281077814SMartin Mares 71381077814SMartin Mares * lspci.c (format_agp_rate): Better formatting of AGP rates. 71481077814SMartin Mares 71581077814SMartin Mares * pci.ids: New ID's. 71681077814SMartin Mares 7172dfd48cdSMartin Mares * lib/configure: Added configuration for ia64 (the same as for Alpha). 7182dfd48cdSMartin Mares Patch from Stephane Eranian <[email protected]>. 7192dfd48cdSMartin Mares 7205a258860SMartin MaresThu Jan 13 23:01:52 2000 Martin Mares <[email protected]> 7215a258860SMartin Mares 7225a258860SMartin Mares * Released as version 2.1.3. 7235a258860SMartin Mares 7245a258860SMartin Mares * pci.ids: New ID's. 7255a258860SMartin Mares 7265a258860SMartin Mares * lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli. 7275a258860SMartin Mares 7285a258860SMartin Mares * lib/access.c: Corrected order of access methods -- it's wonderful how 7295a258860SMartin Mares long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff. 7305a258860SMartin Mares 7310c047bbeSMartin MaresSat Dec 11 23:34:48 1999 Martin Mares <[email protected]> 7320c047bbeSMartin Mares 7330c047bbeSMartin Mares * Released as version 2.1.2. 7340c047bbeSMartin Mares 7350c047bbeSMartin Mares * lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's. 7360c047bbeSMartin Mares 73733bc28a5SMartin MaresSat Dec 4 13:11:03 1999 Martin Mares <[email protected]> 73833bc28a5SMartin Mares 73939231205SMartin Mares * Released as version 2.1.1. 74039231205SMartin Mares 74133bc28a5SMartin Mares * pci.ids: Several new ID's. 74233bc28a5SMartin Mares 74333bc28a5SMartin Mares * setpci.c (exec_op): Don't forget to increment address after writing 74433bc28a5SMartin Mares single value, so that `30.b=12,34,56,78' works as expected. Reported 74533bc28a5SMartin Mares by Petr Soucek <[email protected]>. 74633bc28a5SMartin Mares 7478d047897SMartin MaresWed Nov 3 10:24:38 1999 Martin Mares <[email protected]> 7488d047897SMartin Mares 7498d047897SMartin Mares * lspci.c (show_terse): If prog-if is zero, but it's present in the 7508d047897SMartin Mares ID list, show it. 7518d047897SMartin Mares 7526afc6538SMartin MaresSat Oct 30 11:06:35 1999 Martin Mares <[email protected]> 7536afc6538SMartin Mares 7546afc6538SMartin Mares * Released as version 2.1. 7556afc6538SMartin Mares 7566afc6538SMartin Mares * pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in 7576afc6538SMartin Mares lots of contributed entries. 7586afc6538SMartin Mares 7598f756113SMartin MaresThu Oct 14 10:40:12 1999 Dave Jones <[email protected]> 7608f756113SMartin Mares 7618f756113SMartin Mares * pci.ids: Added lots of subsystem definitions. 7628f756113SMartin Mares 763d4798a32SMartin MaresSat Oct 9 14:32:28 1999 Martin Mares <[email protected]> 764d4798a32SMartin Mares 765d4798a32SMartin Mares * setpci.man: Better example. 766d4798a32SMartin Mares 767d4798a32SMartin Mares * lspci.c: Resolve prog-if names. 768d4798a32SMartin Mares 769d4798a32SMartin Mares * lib/names.c: Adapted to new pci.ids syntax. 770d4798a32SMartin Mares 771d4798a32SMartin Mares * pci.ids: Reorganized the pci.ids file. Subsystems are listed 772d4798a32SMartin Mares under devices, classes can optionally contain prog-if information. 773d4798a32SMartin Mares New ID's, as usually. 774d4798a32SMartin Mares 775e306e911SMartin MaresWed Sep 22 09:45:24 1999 Martin Mares <[email protected]> 776e306e911SMartin Mares 777e306e911SMartin Mares * pci.ids: New ID's. As usually. 778e306e911SMartin Mares 779e306e911SMartin Mares * lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows 780e306e911SMartin Mares unless we're vvvery verbose. 781e306e911SMartin Mares 782e306e911SMartin MaresMon Sep 20 11:22:54 1999 Martin Mares <[email protected]> 783e306e911SMartin Mares 784e306e911SMartin Mares * lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line. 785e306e911SMartin Mares 786e64a576cSMartin MaresTue Sep 14 09:31:01 1999 Martin Mares <[email protected]> 787e64a576cSMartin Mares 788e64a576cSMartin Mares * pci.ids: New ID's. Again. 789e64a576cSMartin Mares 790c36c0862SMartin MaresThu Aug 5 17:45:42 1999 Martin Mares <[email protected]> 791c36c0862SMartin Mares 792c36c0862SMartin Mares * lspci.c (show_size): Don't show size if it's zero (usually 793c36c0862SMartin Mares due to bus-centric mode being enabled). 794c36c0862SMartin Mares 7951ca42433SMartin MaresTue Jul 20 13:25:09 1999 Martin Mares <[email protected]> 7961ca42433SMartin Mares 797168b4f46SMartin Mares * lib/pci.h: Types are OS dependent. 798168b4f46SMartin Mares 799168b4f46SMartin Mares * lib/internal.h: Byte order hacks are OS dependent. 800168b4f46SMartin Mares 801168b4f46SMartin Mares * lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS. 802168b4f46SMartin Mares 803168b4f46SMartin Mares * lib/Makefile, lib/access.c: Added fbsd-device target. 804168b4f46SMartin Mares 805168b4f46SMartin Mares * pci.ids: Added an entry for PLX 9080 bridges with subsystem ID 806168b4f46SMartin Mares incorrectly set to device ID. 807168b4f46SMartin Mares 808168b4f46SMartin Mares * README: Added a note that we support FreeBSD. 809168b4f46SMartin Mares 810168b4f46SMartin Mares * Makefile (PREFIX, ROOT): Set it depending on the OS. 811168b4f46SMartin Mares (%.8): Grrr, BSD date is not able to convert date formats the same way 812168b4f46SMartin Mares as GNU date does. Use sed instead. 813168b4f46SMartin Mares (install): Use `-c' when calling install. 814168b4f46SMartin Mares 815168b4f46SMartin Mares * lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed 816168b4f46SMartin Mares by Jari Kirma <[email protected]>. 817168b4f46SMartin Mares 818bc6346dfSMartin Mares * lib/proc.c: Rewrote the pread/pwrite things once again. Use pread 819bc6346dfSMartin Mares and pwrite only when we are certain it's safe (i.e., glibc 2.1 820bc6346dfSMartin Mares on all architectures or any libc on a i386 where we really know 821bc6346dfSMartin Mares how to use syscalls directly). In all other cases, emulate it 822bc6346dfSMartin Mares with lseek/read/write. 823bc6346dfSMartin Mares 8241ca42433SMartin Mares * pci.ids: Some more IDs. 8251ca42433SMartin Mares 8261ca42433SMartin MaresMon Jul 19 14:10:36 1999 Martin Mares <[email protected]> 8271ca42433SMartin Mares 8281ca42433SMartin Mares * pci.ids: Added IDs of parallel port controller cards as sent 8291ca42433SMartin Mares by Tim Waugh <[email protected]>. 8301ca42433SMartin Mares 831e95c8373SMartin MaresWed Jul 7 00:55:48 1999 Martin Mares <[email protected]> 832e95c8373SMartin Mares 833e95c8373SMartin Mares * lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS. 834e95c8373SMartin Mares 835e95c8373SMartin Mares * lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and 836e95c8373SMartin Mares HAVE_LONG_ADDRESS. 837e95c8373SMartin Mares 838e95c8373SMartin Mares * lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses 839e95c8373SMartin Mares are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS 840e95c8373SMartin Mares to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS 841e95c8373SMartin Mares and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS 842e95c8373SMartin Mares on Alpha. 843e95c8373SMartin Mares 844e95c8373SMartin Mares * lspci.c (show_msi): Added dumping of the MSI capability. 845e95c8373SMartin Mares (show_slotid): The same for SlotID capability. 846e95c8373SMartin Mares (show_caps): Seperated capability dumping, because it should 847e95c8373SMartin Mares be used for both htype0 and htype1. Even PCI 2.2 doesn't mention 848e95c8373SMartin Mares layout of htype2, so I'm a bit unsure about it wrt capabilities 849e95c8373SMartin Mares -- they at least have to live somewhere else since address 0x34 850e95c8373SMartin Mares is already defined differently in htype2. 851e95c8373SMartin Mares 852e95c8373SMartin Mares * lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2). 853e95c8373SMartin Mares (PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto. 854e95c8373SMartin Mares (PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2. 855e95c8373SMartin Mares 856e95c8373SMartin Mares * lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers 857e95c8373SMartin Mares (required by the PCI 2.2 specs). 858e95c8373SMartin Mares 859e95c8373SMartin MaresMon Jul 5 12:45:19 1999 Martin Mares <[email protected]> 860e95c8373SMartin Mares 861e95c8373SMartin Mares * lspci.c (show_size): Added new function for dumping of region sizes. 862e95c8373SMartin Mares (show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled 863e95c8373SMartin Mares ROMs et cetera. 864e95c8373SMartin Mares 865e95c8373SMartin Mares * lib/pci.h (struct pci_dev): known_fields moved to the public part 866e95c8373SMartin Mares of the structure. 867e95c8373SMartin Mares 868e95c8373SMartin Mares * Added support for region sizes. Needs support in the kernel, because 869e95c8373SMartin Mares sizes have to be scanned before drivers initialize yourself. pci_fill_info() 870e95c8373SMartin Mares now returns a bitmask of what fields were really read. 871e95c8373SMartin Mares 87282ce97c9SMartin MaresMon Jun 28 18:37:51 1999 Dave Jones <[email protected]> 87382ce97c9SMartin Mares 87482ce97c9SMartin Mares * Makefile: 87582ce97c9SMartin Mares Added `uninstall' target - removes all traces of pciutils. 87682ce97c9SMartin Mares * pci.ids: 87782ce97c9SMartin Mares - Lots of cleanups in the ATI, S3, Adaptec vendors. 87882ce97c9SMartin Mares - Changed Compaq QVision 1280/p definitions, as it's not possible 87982ce97c9SMartin Mares to determine the revision from the device ID. 88082ce97c9SMartin Mares - Same for the Tseng ET4000. 88182ce97c9SMartin Mares The id's said I had a rev C, when it was actually a rev B. 88282ce97c9SMartin Mares - Removed some unnecessary strings 88382ce97c9SMartin Mares `PCI'. Unless it's an AGP card, it should be obvious that it's PCI. 88482ce97c9SMartin Mares `Ethernet card'. This should be determined from config space. 88582ce97c9SMartin Mares - Lots of other new vendors & devices 88682ce97c9SMartin Mares - Other additional small cleanups. 88782ce97c9SMartin Mares 8887bed2d83SMartin MaresMon Jun 21 22:11:10 1999 Martin Mares <[email protected]> 8897bed2d83SMartin Mares 8907bed2d83SMartin Mares * lib/names.c (pci_lookup_name): When device ID lookup 8917bed2d83SMartin Mares fails, return hexadecimal device ID instead of vendor ID. 8927bed2d83SMartin Mares Well spotted by Axel Bodemann <[email protected]>, 8937bed2d83SMartin Mares I've just extended the fix to subsystem ID's. 8947bed2d83SMartin Mares 8955ba3a475SMartin MaresThu Jun 17 19:48:21 1999 Martin Mares <[email protected]> 8965ba3a475SMartin Mares 8975ba3a475SMartin Mares * lspci.c (show_agp): Bug fix from Petr Vandrovec 8985ba3a475SMartin Mares <[email protected]>. The command register was displayed 8995ba3a475SMartin Mares incorrectly. 9005ba3a475SMartin Mares 9015ba3a475SMartin MaresWed Jun 2 22:42:44 1999 Martin Mares <[email protected]> 9025ba3a475SMartin Mares 9035ba3a475SMartin Mares * lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded 9045ba3a475SMartin Mares numbers if not supplied by the libc. 9055ba3a475SMartin Mares 90655c815b5SMartin MaresWed May 19 13:24:39 1999 Martin Mares <[email protected]> 90755c815b5SMartin Mares 90855c815b5SMartin Mares * Released the whole package as version 2.0. 90955c815b5SMartin Mares 91055c815b5SMartin MaresFri May 14 22:42:02 1999 Martin Mares <[email protected]> 91155c815b5SMartin Mares 91255c815b5SMartin Mares * pci.ids: Added several new ID's contributed by people 91355c815b5SMartin Mares on the linux-pci list. 91455c815b5SMartin Mares 915dec16943SMartin MaresMon Apr 19 15:21:08 1999 Jakub Jelinek <[email protected]> 916dec16943SMartin Mares 917dec16943SMartin Mares * lspci.c: Display I/O addresses correctly on sparc64. 918dec16943SMartin Mares * lib/header.h: Ditto. 919dec16943SMartin Mares 920dec16943SMartin Mares * lib/configure: On sparc set HAVE_64BIT* as well, we want 921dec16943SMartin Mares a binary which works on both 32bit and 64bit SPARCs. 922dec16943SMartin Mares 923e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999 Martin Mares <[email protected]> 924e33c9c7aSMartin Mares 925e33c9c7aSMartin Mares * lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob 926e33c9c7aSMartin Mares <[email protected]>. 927e33c9c7aSMartin Mares 928e33c9c7aSMartin Mares * pci.ids: A lot of updates from Adam J. Richter <[email protected]>. 929e33c9c7aSMartin Mares 930f3395cc5SMartin MaresSun Feb 28 22:26:21 1999 Martin Mares <[email protected]> 931f3395cc5SMartin Mares 932f3395cc5SMartin Mares * lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged 933f3395cc5SMartin Mares as a multi-function device, because several single-function devices 934f3395cc5SMartin Mares don't decode the function bits at all. 935f3395cc5SMartin Mares 936f3395cc5SMartin MaresSun Feb 14 23:48:22 1999 Martin Mares <[email protected]> 937f3395cc5SMartin Mares 938f3395cc5SMartin Mares * Makefile (install): Don't use "-o root -g root" for installation 939f3395cc5SMartin Mares since it breaks on machines where programs are not installed by root. 940f3395cc5SMartin Mares Reported by Richard Gooch <[email protected]> 941f3395cc5SMartin Mares 942f3395cc5SMartin MaresTue Feb 9 15:54:39 1999 Martin Mares <[email protected]> 943f3395cc5SMartin Mares 944f3395cc5SMartin Mares * lspci.c (show_bases): Use new address masking macros and pciaddr_t. 945f3395cc5SMartin Mares 946f3395cc5SMartin Mares * lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit 947f3395cc5SMartin Mares or 64-bit depending on CPU. 948f3395cc5SMartin Mares 949f3395cc5SMartin Mares * lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks 950f3395cc5SMartin Mares according to bus address width. 951f3395cc5SMartin Mares 9521c31d620SMartin MaresThu Jan 28 20:54:16 1999 Martin Mares <[email protected]> 9531c31d620SMartin Mares 9541c31d620SMartin Mares * Released as 1.99.4. 9551c31d620SMartin Mares 9561c31d620SMartin Mares * lspci.c: Capability list parser now recognizes both AGP 9571c31d620SMartin Mares registers and PCI Power Management registers (the latter 9581c31d620SMartin Mares is mainly guesswork based on DEC/Intel 21153 bridge specs 9591c31d620SMartin Mares since I don't have the PCI Power Management document). 9601c31d620SMartin Mares 9611c31d620SMartin Mares * lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-' 9621c31d620SMartin Mares by FLAG macro. 9631c31d620SMartin Mares 9641c31d620SMartin Mares * lspci.c: Added bridge checks to bus mapping code. 9651c31d620SMartin Mares 9661812a795SMartin MaresWed Jan 27 14:59:16 1999 Martin Mares <[email protected]> 9671812a795SMartin Mares 9681812a795SMartin Mares * lspci.c: Implemented bus mapping mode (-M). 9691812a795SMartin Mares 9701812a795SMartin Mares * lspci.c (scan_devices): Split to scan_devices() and scan_device(). 9711812a795SMartin Mares (show): Split to show() and show_device(). 9721812a795SMartin Mares 9731812a795SMartin Mares * lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO, 9741812a795SMartin Mares set it to the real access method afterwards. 9751812a795SMartin Mares 9761812a795SMartin MaresMon Jan 25 23:46:13 1999 Martin Mares <[email protected]> 9771812a795SMartin Mares 9781812a795SMartin Mares * lib/generic.c (pci_generic_fill_info): If in buscentric mode, 9791812a795SMartin Mares don't check PCI_COMMAND for I/O and memory enables. 9801812a795SMartin Mares 981f6c86928SMartin MaresMon Jan 25 21:28:49 1999 Martin Mares <[email protected]> 982f6c86928SMartin Mares 983f6c86928SMartin Mares * Makefile: Added target `release' which substitutes new version 984f6c86928SMartin Mares number to .spec, .lsm and README. Also rewrote target `dist'. 985f6c86928SMartin Mares 986f6c86928SMartin Mares * Released as 1.99.3. 987f6c86928SMartin Mares 988b5137411SMartin MaresSun Jan 24 22:10:36 1999 Martin Mares <[email protected]> 989b5137411SMartin Mares 990d6b297d0SMartin Mares * lib/header.h: Until kernel adopts new layout of PCI 991d6b297d0SMartin Mares includes (i.e., separate declaration of header structure, 992d6b297d0SMartin Mares functions and device IDs), which is not going to happen 993d6b297d0SMartin Mares before 2.3, we'll use our own definiton of the header. 994d6b297d0SMartin Mares 995b5137411SMartin Mares * lspci.c (show_verbose): Display `Cap' flag in device status. 996b5137411SMartin Mares 997b5137411SMartin Mares * lspci.c (show_htype0): Display capability lists whereever 998b5137411SMartin Mares available. The only capability name we recognize now is `AGP'. 999b5137411SMartin Mares Unfortunately, capabilities are stored in device-dependent 1000b5137411SMartin Mares portion of the configuration space and are thus available 1001b5137411SMartin Mares only to root unless you read a dump. 1002b5137411SMartin Mares 1003b5137411SMartin Mares * lspci.c (scan_devices): Use cache instead of buffering. 1004b5137411SMartin Mares 1005b5137411SMartin Mares * lib/buffer.c: Removed (obsoleted by the cache). 1006b5137411SMartin Mares 1007b5137411SMartin Mares * lib/access.c: Added general caching mechanism. 1008b5137411SMartin Mares 100981ce358dSMartin MaresSat Jan 23 21:30:54 1999 Martin Mares <[email protected]> 101081ce358dSMartin Mares 101181ce358dSMartin Mares * pci.ids: Added few devices. 101281ce358dSMartin Mares 1013727ce158SMartin MaresFri Jan 22 19:29:31 1999 Martin Mares <[email protected]> 1014727ce158SMartin Mares 1015727ce158SMartin Mares * Version string is now defined in top-level Makefile, exported 1016727ce158SMartin Mares to the configure script and also substituted to man pages. 1017727ce158SMartin Mares 1018727ce158SMartin Mares * lspci.c (show_bases): Rewrote displaying of 64-bit addresses. 1019727ce158SMartin Mares (show_verbose): Rewrote interrupt display logic. 1020727ce158SMartin Mares 1021727ce158SMartin Mares * lib/i386-ports.c: Include sys/io.h only on glibc systems. 1022727ce158SMartin Mares 1023727ce158SMartin Mares * lib/configure: Rewrote detection of Linux versions. Now it 1024727ce158SMartin Mares works on 2.0 kernels (only with direct/dump access, of course). 1025727ce158SMartin Mares 1026727ce158SMartin Mares * lib/internal.h: New bytesex macros using <asm/byteorder.h> 1027727ce158SMartin Mares whenever available. 1028727ce158SMartin Mares 1029727ce158SMartin Mares * lib/proc.c (proc_read, proc_write): Distinguish between short 1030727ce158SMartin Mares read/write and real errors. 1031727ce158SMartin Mares 1032727ce158SMartin Mares * lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since 1033727ce158SMartin Mares libpci respects buscentric mode automatically. 1034727ce158SMartin Mares 1035727ce158SMartin Mares * lspci.c (show_hex_dump): For CardBus bridges, print out 128 1036727ce158SMartin Mares bytes of header (the whole standard part). 1037727ce158SMartin Mares 1038727ce158SMartin Mares * common.c: pcilib options are now all uppercase. Also moved 1039727ce158SMartin Mares PCI access debugging option here. 1040727ce158SMartin Mares 1041727ce158SMartin Mares * Released as 1.99.2. 1042727ce158SMartin Mares 1043727ce158SMartin MaresWed Jan 20 22:50:35 1999 Martin Mares <[email protected]> 1044727ce158SMartin Mares 1045727ce158SMartin Mares * Wrote configure script and rewrote Makefiles. 1046727ce158SMartin Mares 1047727ce158SMartin Mares * Removed few unused variables. 1048727ce158SMartin Mares 1049727ce158SMartin MaresWed Jan 20 12:21:56 1999 Martin Mares <[email protected]> 1050727ce158SMartin Mares 1051727ce158SMartin Mares * common.c: Moved several functions used in both setpci and lspci 1052727ce158SMartin Mares here. This includes parsing of libpci-related options. 1053727ce158SMartin Mares 1054727ce158SMartin Mares * More library tweaks. 1055727ce158SMartin Mares 1056727ce158SMartin Mares * filter.c, names.c: Moved to library. 1057727ce158SMartin Mares 1058727ce158SMartin Mares * setpci: Rewritten to use the library. 1059727ce158SMartin Mares 1060727ce158SMartin Mares * Released as 1.99.1. 1061727ce158SMartin Mares 1062727ce158SMartin MaresTue Jan 19 23:00:12 1999 Martin Mares <[email protected]> 1063727ce158SMartin Mares 1064727ce158SMartin Mares * lspci.c (scan_devices): For cardbus bridges, read first 128 1065727ce158SMartin Mares bytes of config space to get full standard header. 1066727ce158SMartin Mares 1067727ce158SMartin Mares * Makefile (CFLAGS): Removed "-Wno-unused". 1068727ce158SMartin Mares 1069727ce158SMartin Mares * Started the "New Generation" branch and introduced the 1070727ce158SMartin Mares PCI library. 1071727ce158SMartin Mares 1072727ce158SMartin Mares * lspci: Rewritten to use the library. 1073727ce158SMartin Mares 10746ece6bc6SMartin MaresTue Jan 19 22:24:08 1999 Martin Mares <[email protected]> 10756ece6bc6SMartin Mares 10766ece6bc6SMartin Mares * Released as version 1.10. 10776ece6bc6SMartin Mares 10786ece6bc6SMartin MaresMon Jan 18 08:51:17 1999 Martin Mares <[email protected]> 10796ece6bc6SMartin Mares 10806ece6bc6SMartin Mares * lspci.8, setpci.8: Miscellaneous fixes as suggested by 10816ece6bc6SMartin Mares Dag Wieers <[email protected]>. 10826ece6bc6SMartin Mares 10831212dd6dSMartin MaresSun Nov 29 20:05:56 1998 Martin Mares <[email protected]> 10841212dd6dSMartin Mares 10851212dd6dSMartin Mares * pciutils.spec (Name): Update from Krzysztof G. Baranowski. 10861212dd6dSMartin Mares 1087d38471fdSMartin MaresSun Nov 22 10:49:56 1998 Martin Mares <[email protected]> 1088d38471fdSMartin Mares 1089d38471fdSMartin Mares * Makefile, pciutils.h: Moved pci.ids to /usr/share. 1090d38471fdSMartin Mares 1091d38471fdSMartin Mares * Released as version 1.09. 1092d38471fdSMartin Mares 1093371f605bSMartin MaresWed Nov 18 15:47:05 1998 Martin Mares <[email protected]> 1094371f605bSMartin Mares 1095371f605bSMartin Mares * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind 1096371f605bSMartin Mares bridge. Thanks to Petr Vandrovec <[email protected]> for bug report. 1097371f605bSMartin Mares 109810be47abSMartin MaresFri Oct 23 18:59:19 1998 Martin Mares <[email protected]> 109910be47abSMartin Mares 110010be47abSMartin Mares * setpci.c: Don't include <syscall-list.h> with glibc >= 2.1. 110110be47abSMartin Mares 1102472bd340SMartin MaresMon Oct 19 21:53:30 1998 Martin Mares <[email protected]> 1103472bd340SMartin Mares 1104472bd340SMartin Mares * Released as version 1.08. 1105472bd340SMartin Mares 1106472bd340SMartin Mares * setpci.c: glibc 2.1.x already defines pread() and pwrite(). 1107472bd340SMartin Mares 1108472bd340SMartin Mares * lspci.8: Changed warning about lspci -xxx. 1109472bd340SMartin Mares 1110472bd340SMartin Mares * lspci.c: Require "-xxx" for full configuration space dump, so that 1111472bd340SMartin Mares it's impossible to crash the machine by single typo. 1112472bd340SMartin Mares 1113472bd340SMartin Mares * specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>). 1114472bd340SMartin Mares 1115072c77e5SMartin MaresWed Sep 9 12:03:24 1998 Martin Mares <[email protected]> 1116072c77e5SMartin Mares 1117072c77e5SMartin Mares * lspci.c (show_bases): Better displaying of unassigned and 1118072c77e5SMartin Mares disabled bases. Thanks to Gabriel Paubert <[email protected]> 1119072c77e5SMartin Mares for an idea. 1120072c77e5SMartin Mares 1121b7554856SMartin MaresWed Sep 2 10:58:01 1998 Martin Mares <[email protected]> 1122b7554856SMartin Mares 1123b7554856SMartin Mares * setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC. 1124b7554856SMartin Mares (thanks to Geert Uytterhoeven for finding this out) 1125b7554856SMartin Mares 1126ce503b7fSMartin MaresFri Jul 17 10:43:30 1998 Martin Mares <[email protected]> 1127ce503b7fSMartin Mares 1128ce503b7fSMartin Mares * lspci.c (show_verbose): Print subsystem ID using the new resolver. 1129ce503b7fSMartin Mares (show_machine): Print subsystem ID. 1130ce503b7fSMartin Mares 1131ce503b7fSMartin Mares * names.c: New name resolution engine supporting subsystem IDs. 1132ce503b7fSMartin Mares 1133ce503b7fSMartin Mares * Released as version 1.07. 1134ce503b7fSMartin Mares 113596e4f295SMartin MaresWed Jul 15 15:37:21 1998 Martin Mares <[email protected]> 113696e4f295SMartin Mares 113796e4f295SMartin Mares * lspci.c (show_htype2 etc.): Displaying of CardBus headers. 113896e4f295SMartin Mares (show_bases): Honor the `cnt' argument. 113996e4f295SMartin Mares (grow_tree): Parse CardBus headers in tree mode as well. 114096e4f295SMartin Mares 114196e4f295SMartin Mares * pci.h: Updated CardBus header field description. I still don't 114296e4f295SMartin Mares have the CardBus standard available, but OZ6832 specs contain 114396e4f295SMartin Mares full description of all header fields supported by the chip. 114496e4f295SMartin Mares 11456ae3650aSMartin MaresTue Jun 9 22:53:59 1998 Martin Mares <[email protected]> 11466ae3650aSMartin Mares 1147304f9a0bSMartin Mares * Released as 1.06. 1148304f9a0bSMartin Mares 11496ae3650aSMartin Mares * names.c (parse_name_list): Killed an unused variable. 11506ae3650aSMartin Mares 11516ae3650aSMartin Mares * setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1 11526ae3650aSMartin Mares if they are not defined by glibc (needed for glibc built on older 11536ae3650aSMartin Mares kernels). Ugly. 11546ae3650aSMartin Mares 11556ae3650aSMartin Mares * setpci.c (exec_op): Fixed error messages. Thanks, Steve! 11566ae3650aSMartin Mares 11574b88a6b8SMartin MaresMon Jun 8 10:59:22 1998 Martin Mares <[email protected]> 11584b88a6b8SMartin Mares 11594b88a6b8SMartin Mares * Released as 1.05. 11604b88a6b8SMartin Mares 11614b88a6b8SMartin Mares * setpci.c: Problems with pread()/pwrite() with glibc on Alpha 11624b88a6b8SMartin Mares should be gone. Again thanks to Steve for bug report. 11634b88a6b8SMartin Mares 11644b88a6b8SMartin Mares * filter.c (filter_parse_slot): Fixed ":x" type filters. 11654b88a6b8SMartin Mares 11664b88a6b8SMartin Mares * pci.ids: Killed duplicate entry. Thanks to Stephen Williams 11674b88a6b8SMartin Mares <[email protected]> for reporting this. 11684b88a6b8SMartin Mares 11694b88a6b8SMartin MaresSun Jun 7 19:27:51 1998 Martin Mares <[email protected]> 11704b88a6b8SMartin Mares 11714b88a6b8SMartin Mares * lspci.c (main), setpci.c (main): Implemented "--version". 11724b88a6b8SMartin Mares 11734b88a6b8SMartin Mares * Released as 1.04. 11744b88a6b8SMartin Mares 11754b88a6b8SMartin Mares * pciutils.h (PCIUTILS_VERSION): Added version string. 11764b88a6b8SMartin Mares 11774b88a6b8SMartin Mares * filter.c, names.c: Extraneous #include <linux/pci.h> removed. 11784b88a6b8SMartin Mares Thanks to Geert Uytterhoeven <[email protected]> 11794b88a6b8SMartin Mares for bug report. 11804b88a6b8SMartin Mares 11819b306998SMartin MaresThu May 28 14:45:58 1998 Martin Mares <[email protected]> 11829b306998SMartin Mares 11839b306998SMartin Mares * pci.ids: More updates from Jens Maurer. 11849b306998SMartin Mares 1185b372672fSMartin MaresWed Apr 22 10:00:39 1998 Martin Mares <[email protected]> 1186b372672fSMartin Mares 1187b372672fSMartin Mares * pci.ids: Updates from Jens Maurer. 1188b372672fSMartin Mares 1189b2c9b373SMartin MaresSun Apr 19 11:14:25 1998 Martin Mares <[email protected]> 1190b2c9b373SMartin Mares 1191b372672fSMartin Mares * Released as 1.03. 1192b372672fSMartin Mares 1193b2c9b373SMartin Mares * setpci.8: Written. 1194b2c9b373SMartin Mares 1195b2c9b373SMartin Mares * setpci.c: Finished. 1196b2c9b373SMartin Mares 1197b2c9b373SMartin Mares * lspci.c: Now able to fetch expansion ROM base from kernel device list 1198b2c9b373SMartin Mares and print it if not in buscentric mode. 1199b2c9b373SMartin Mares 1200e4842ff3SMartin MaresTue Mar 31 23:11:57 1998 Martin Mares <[email protected]> 1201e4842ff3SMartin Mares 1202e4842ff3SMartin Mares * setpci.c: Added. 1203e4842ff3SMartin Mares 1204e4842ff3SMartin MaresSun Mar 22 15:39:08 1998 Martin Mares <[email protected]> 1205e4842ff3SMartin Mares 1206e4842ff3SMartin Mares * lspci.8: Updated the documentation. 1207e4842ff3SMartin Mares 1208e4842ff3SMartin Mares * lspci.c: Modified to use the new filtering mechanism (options -f and -d). 1209e4842ff3SMartin Mares 1210e4842ff3SMartin Mares * filter.c: Introduced new generic device filter. 1211e4842ff3SMartin Mares 1212008407bdSMartin MaresThu Mar 19 17:03:48 1998 Martin Mares <[email protected]> 1213008407bdSMartin Mares 1214008407bdSMartin Mares * lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying 1215008407bdSMartin Mares of PCI-to-PCI bridges in the tree format. 1216008407bdSMartin Mares 12170a33d0ecSMartin MaresSun Feb 15 10:12:25 1998 Martin Mares <[email protected]> 12180a33d0ecSMartin Mares 12190a33d0ecSMartin Mares * lspci.c (show_machine): Added non-verbose mode of machine-readable 12200a33d0ecSMartin Mares dump. 12210a33d0ecSMartin Mares 12220a33d0ecSMartin Mares * pci.ids: Updates from Jens Maurer. 12230a33d0ecSMartin Mares 12240a33d0ecSMartin Mares * Released as version 1.02. 12250a33d0ecSMartin Mares 12260a33d0ecSMartin MaresThu Feb 12 16:53:28 1998 Martin Mares <[email protected]> 12270a33d0ecSMartin Mares 12280a33d0ecSMartin Mares * lspci.c: Added a "-m" switch for dumping machine-readable 12290a33d0ecSMartin Mares configuration data (requested by Bjoern Kriews <[email protected]>). 12300a33d0ecSMartin Mares 1231fb38eee8SMartin MaresMon Feb 9 13:17:43 1998 Martin Mares <[email protected]> 1232fb38eee8SMartin Mares 1233fb38eee8SMartin Mares * Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h> 1234fb38eee8SMartin Mares if available. This should avoid all problems with official kernel 1235fb38eee8SMartin Mares not synchronized to newer PCI code in CVS -- standard distribution 1236fb38eee8SMartin Mares of pciutils now contains pci.h from current CVS kernel, pciutils 1237fb38eee8SMartin Mares in CVS contain no pci.h and use the correct kernel include. 1238fb38eee8SMartin Mares 1239fb38eee8SMartin Mares * Makefile: Fixed installation path for man pages. 1240fb38eee8SMartin Mares 12412f48f637SMartin MaresSat Feb 7 15:15:46 1998 Martin Mares <[email protected]> 12422f48f637SMartin Mares 12432f48f637SMartin Mares * README: Updated. 12442f48f637SMartin Mares 12452f48f637SMartin Mares * lspci.8: Created a man page. 12462f48f637SMartin Mares 12472f48f637SMartin Mares * Releasing as version 1.0. 12482f48f637SMartin Mares 12492f48f637SMartin MaresTue Feb 3 20:56:00 1998 Martin Mares <[email protected]> 12502f48f637SMartin Mares 12512f48f637SMartin Mares * Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx 12522f48f637SMartin Mares to all the C sources. This should eliminate problems with 32-bit compilers 12532f48f637SMartin Mares on sparc64. 12542f48f637SMartin Mares 12552f48f637SMartin Mares * lspci.c (show_verbose): Recognize CardBus bridge header type. 12562f48f637SMartin Mares (show_htype2): Stub routine. 12572f48f637SMartin Mares (scan_config): Write sensible error message if the kernel denies reading of 12582f48f637SMartin Mares upper part of the PCI config space. 1259