1*f3395cc5SMartin MaresSun Feb 28 22:26:21 1999 Martin Mares <[email protected]> 2*f3395cc5SMartin Mares 3*f3395cc5SMartin Mares * lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged 4*f3395cc5SMartin Mares as a multi-function device, because several single-function devices 5*f3395cc5SMartin Mares don't decode the function bits at all. 6*f3395cc5SMartin Mares 7*f3395cc5SMartin MaresSun Feb 14 23:48:22 1999 Martin Mares <[email protected]> 8*f3395cc5SMartin Mares 9*f3395cc5SMartin Mares * Makefile (install): Don't use "-o root -g root" for installation 10*f3395cc5SMartin Mares since it breaks on machines where programs are not installed by root. 11*f3395cc5SMartin Mares Reported by Richard Gooch <[email protected]> 12*f3395cc5SMartin Mares 13*f3395cc5SMartin MaresTue Feb 9 15:54:39 1999 Martin Mares <[email protected]> 14*f3395cc5SMartin Mares 15*f3395cc5SMartin Mares * lspci.c (show_bases): Use new address masking macros and pciaddr_t. 16*f3395cc5SMartin Mares 17*f3395cc5SMartin Mares * lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit 18*f3395cc5SMartin Mares or 64-bit depending on CPU. 19*f3395cc5SMartin Mares 20*f3395cc5SMartin Mares * lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks 21*f3395cc5SMartin Mares according to bus address width. 22*f3395cc5SMartin Mares 231c31d620SMartin MaresThu Jan 28 20:54:16 1999 Martin Mares <[email protected]> 241c31d620SMartin Mares 251c31d620SMartin Mares * Released as 1.99.4. 261c31d620SMartin Mares 271c31d620SMartin Mares * lspci.c: Capability list parser now recognizes both AGP 281c31d620SMartin Mares registers and PCI Power Management registers (the latter 291c31d620SMartin Mares is mainly guesswork based on DEC/Intel 21153 bridge specs 301c31d620SMartin Mares since I don't have the PCI Power Management document). 311c31d620SMartin Mares 321c31d620SMartin Mares * lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-' 331c31d620SMartin Mares by FLAG macro. 341c31d620SMartin Mares 351c31d620SMartin Mares * lspci.c: Added bridge checks to bus mapping code. 361c31d620SMartin Mares 371812a795SMartin MaresWed Jan 27 14:59:16 1999 Martin Mares <[email protected]> 381812a795SMartin Mares 391812a795SMartin Mares * lspci.c: Implemented bus mapping mode (-M). 401812a795SMartin Mares 411812a795SMartin Mares * lspci.c (scan_devices): Split to scan_devices() and scan_device(). 421812a795SMartin Mares (show): Split to show() and show_device(). 431812a795SMartin Mares 441812a795SMartin Mares * lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO, 451812a795SMartin Mares set it to the real access method afterwards. 461812a795SMartin Mares 471812a795SMartin MaresMon Jan 25 23:46:13 1999 Martin Mares <[email protected]> 481812a795SMartin Mares 491812a795SMartin Mares * lib/generic.c (pci_generic_fill_info): If in buscentric mode, 501812a795SMartin Mares don't check PCI_COMMAND for I/O and memory enables. 511812a795SMartin Mares 52f6c86928SMartin MaresMon Jan 25 21:28:49 1999 Martin Mares <[email protected]> 53f6c86928SMartin Mares 54f6c86928SMartin Mares * Makefile: Added target `release' which substitutes new version 55f6c86928SMartin Mares number to .spec, .lsm and README. Also rewrote target `dist'. 56f6c86928SMartin Mares 57f6c86928SMartin Mares * Released as 1.99.3. 58f6c86928SMartin Mares 59b5137411SMartin MaresSun Jan 24 22:10:36 1999 Martin Mares <[email protected]> 60b5137411SMartin Mares 61d6b297d0SMartin Mares * lib/header.h: Until kernel adopts new layout of PCI 62d6b297d0SMartin Mares includes (i.e., separate declaration of header structure, 63d6b297d0SMartin Mares functions and device IDs), which is not going to happen 64d6b297d0SMartin Mares before 2.3, we'll use our own definiton of the header. 65d6b297d0SMartin Mares 66b5137411SMartin Mares * lspci.c (show_verbose): Display `Cap' flag in device status. 67b5137411SMartin Mares 68b5137411SMartin Mares * lspci.c (show_htype0): Display capability lists whereever 69b5137411SMartin Mares available. The only capability name we recognize now is `AGP'. 70b5137411SMartin Mares Unfortunately, capabilities are stored in device-dependent 71b5137411SMartin Mares portion of the configuration space and are thus available 72b5137411SMartin Mares only to root unless you read a dump. 73b5137411SMartin Mares 74b5137411SMartin Mares * lspci.c (scan_devices): Use cache instead of buffering. 75b5137411SMartin Mares 76b5137411SMartin Mares * lib/buffer.c: Removed (obsoleted by the cache). 77b5137411SMartin Mares 78b5137411SMartin Mares * lib/access.c: Added general caching mechanism. 79b5137411SMartin Mares 8081ce358dSMartin MaresSat Jan 23 21:30:54 1999 Martin Mares <[email protected]> 8181ce358dSMartin Mares 8281ce358dSMartin Mares * pci.ids: Added few devices. 8381ce358dSMartin Mares 84727ce158SMartin MaresFri Jan 22 19:29:31 1999 Martin Mares <[email protected]> 85727ce158SMartin Mares 86727ce158SMartin Mares * Version string is now defined in top-level Makefile, exported 87727ce158SMartin Mares to the configure script and also substituted to man pages. 88727ce158SMartin Mares 89727ce158SMartin Mares * lspci.c (show_bases): Rewrote displaying of 64-bit addresses. 90727ce158SMartin Mares (show_verbose): Rewrote interrupt display logic. 91727ce158SMartin Mares 92727ce158SMartin Mares * lib/i386-ports.c: Include sys/io.h only on glibc systems. 93727ce158SMartin Mares 94727ce158SMartin Mares * lib/configure: Rewrote detection of Linux versions. Now it 95727ce158SMartin Mares works on 2.0 kernels (only with direct/dump access, of course). 96727ce158SMartin Mares 97727ce158SMartin Mares * lib/internal.h: New bytesex macros using <asm/byteorder.h> 98727ce158SMartin Mares whenever available. 99727ce158SMartin Mares 100727ce158SMartin Mares * lib/proc.c (proc_read, proc_write): Distinguish between short 101727ce158SMartin Mares read/write and real errors. 102727ce158SMartin Mares 103727ce158SMartin Mares * lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since 104727ce158SMartin Mares libpci respects buscentric mode automatically. 105727ce158SMartin Mares 106727ce158SMartin Mares * lspci.c (show_hex_dump): For CardBus bridges, print out 128 107727ce158SMartin Mares bytes of header (the whole standard part). 108727ce158SMartin Mares 109727ce158SMartin Mares * common.c: pcilib options are now all uppercase. Also moved 110727ce158SMartin Mares PCI access debugging option here. 111727ce158SMartin Mares 112727ce158SMartin Mares * Released as 1.99.2. 113727ce158SMartin Mares 114727ce158SMartin MaresWed Jan 20 22:50:35 1999 Martin Mares <[email protected]> 115727ce158SMartin Mares 116727ce158SMartin Mares * Wrote configure script and rewrote Makefiles. 117727ce158SMartin Mares 118727ce158SMartin Mares * Removed few unused variables. 119727ce158SMartin Mares 120727ce158SMartin MaresWed Jan 20 12:21:56 1999 Martin Mares <[email protected]> 121727ce158SMartin Mares 122727ce158SMartin Mares * common.c: Moved several functions used in both setpci and lspci 123727ce158SMartin Mares here. This includes parsing of libpci-related options. 124727ce158SMartin Mares 125727ce158SMartin Mares * More library tweaks. 126727ce158SMartin Mares 127727ce158SMartin Mares * filter.c, names.c: Moved to library. 128727ce158SMartin Mares 129727ce158SMartin Mares * setpci: Rewritten to use the library. 130727ce158SMartin Mares 131727ce158SMartin Mares * Released as 1.99.1. 132727ce158SMartin Mares 133727ce158SMartin MaresTue Jan 19 23:00:12 1999 Martin Mares <[email protected]> 134727ce158SMartin Mares 135727ce158SMartin Mares * lspci.c (scan_devices): For cardbus bridges, read first 128 136727ce158SMartin Mares bytes of config space to get full standard header. 137727ce158SMartin Mares 138727ce158SMartin Mares * Makefile (CFLAGS): Removed "-Wno-unused". 139727ce158SMartin Mares 140727ce158SMartin Mares * Started the "New Generation" branch and introduced the 141727ce158SMartin Mares PCI library. 142727ce158SMartin Mares 143727ce158SMartin Mares * lspci: Rewritten to use the library. 144727ce158SMartin Mares 1456ece6bc6SMartin MaresTue Jan 19 22:24:08 1999 Martin Mares <[email protected]> 1466ece6bc6SMartin Mares 1476ece6bc6SMartin Mares * Released as version 1.10. 1486ece6bc6SMartin Mares 1496ece6bc6SMartin MaresMon Jan 18 08:51:17 1999 Martin Mares <[email protected]> 1506ece6bc6SMartin Mares 1516ece6bc6SMartin Mares * lspci.8, setpci.8: Miscellaneous fixes as suggested by 1526ece6bc6SMartin Mares Dag Wieers <[email protected]>. 1536ece6bc6SMartin Mares 1541212dd6dSMartin MaresSun Nov 29 20:05:56 1998 Martin Mares <[email protected]> 1551212dd6dSMartin Mares 1561212dd6dSMartin Mares * pciutils.spec (Name): Update from Krzysztof G. Baranowski. 1571212dd6dSMartin Mares 158d38471fdSMartin MaresSun Nov 22 10:49:56 1998 Martin Mares <[email protected]> 159d38471fdSMartin Mares 160d38471fdSMartin Mares * Makefile, pciutils.h: Moved pci.ids to /usr/share. 161d38471fdSMartin Mares 162d38471fdSMartin Mares * Released as version 1.09. 163d38471fdSMartin Mares 164371f605bSMartin MaresWed Nov 18 15:47:05 1998 Martin Mares <[email protected]> 165371f605bSMartin Mares 166371f605bSMartin Mares * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind 167371f605bSMartin Mares bridge. Thanks to Petr Vandrovec <[email protected]> for bug report. 168371f605bSMartin Mares 16910be47abSMartin MaresFri Oct 23 18:59:19 1998 Martin Mares <[email protected]> 17010be47abSMartin Mares 17110be47abSMartin Mares * setpci.c: Don't include <syscall-list.h> with glibc >= 2.1. 17210be47abSMartin Mares 173472bd340SMartin MaresMon Oct 19 21:53:30 1998 Martin Mares <[email protected]> 174472bd340SMartin Mares 175472bd340SMartin Mares * Released as version 1.08. 176472bd340SMartin Mares 177472bd340SMartin Mares * setpci.c: glibc 2.1.x already defines pread() and pwrite(). 178472bd340SMartin Mares 179472bd340SMartin Mares * lspci.8: Changed warning about lspci -xxx. 180472bd340SMartin Mares 181472bd340SMartin Mares * lspci.c: Require "-xxx" for full configuration space dump, so that 182472bd340SMartin Mares it's impossible to crash the machine by single typo. 183472bd340SMartin Mares 184472bd340SMartin Mares * specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>). 185472bd340SMartin Mares 186072c77e5SMartin MaresWed Sep 9 12:03:24 1998 Martin Mares <[email protected]> 187072c77e5SMartin Mares 188072c77e5SMartin Mares * lspci.c (show_bases): Better displaying of unassigned and 189072c77e5SMartin Mares disabled bases. Thanks to Gabriel Paubert <[email protected]> 190072c77e5SMartin Mares for an idea. 191072c77e5SMartin Mares 192b7554856SMartin MaresWed Sep 2 10:58:01 1998 Martin Mares <[email protected]> 193b7554856SMartin Mares 194b7554856SMartin Mares * setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC. 195b7554856SMartin Mares (thanks to Geert Uytterhoeven for finding this out) 196b7554856SMartin Mares 197ce503b7fSMartin MaresFri Jul 17 10:43:30 1998 Martin Mares <[email protected]> 198ce503b7fSMartin Mares 199ce503b7fSMartin Mares * lspci.c (show_verbose): Print subsystem ID using the new resolver. 200ce503b7fSMartin Mares (show_machine): Print subsystem ID. 201ce503b7fSMartin Mares 202ce503b7fSMartin Mares * names.c: New name resolution engine supporting subsystem IDs. 203ce503b7fSMartin Mares 204ce503b7fSMartin Mares * Released as version 1.07. 205ce503b7fSMartin Mares 20696e4f295SMartin MaresWed Jul 15 15:37:21 1998 Martin Mares <[email protected]> 20796e4f295SMartin Mares 20896e4f295SMartin Mares * lspci.c (show_htype2 etc.): Displaying of CardBus headers. 20996e4f295SMartin Mares (show_bases): Honor the `cnt' argument. 21096e4f295SMartin Mares (grow_tree): Parse CardBus headers in tree mode as well. 21196e4f295SMartin Mares 21296e4f295SMartin Mares * pci.h: Updated CardBus header field description. I still don't 21396e4f295SMartin Mares have the CardBus standard available, but OZ6832 specs contain 21496e4f295SMartin Mares full description of all header fields supported by the chip. 21596e4f295SMartin Mares 2166ae3650aSMartin MaresTue Jun 9 22:53:59 1998 Martin Mares <[email protected]> 2176ae3650aSMartin Mares 218304f9a0bSMartin Mares * Released as 1.06. 219304f9a0bSMartin Mares 2206ae3650aSMartin Mares * names.c (parse_name_list): Killed an unused variable. 2216ae3650aSMartin Mares 2226ae3650aSMartin Mares * setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1 2236ae3650aSMartin Mares if they are not defined by glibc (needed for glibc built on older 2246ae3650aSMartin Mares kernels). Ugly. 2256ae3650aSMartin Mares 2266ae3650aSMartin Mares * setpci.c (exec_op): Fixed error messages. Thanks, Steve! 2276ae3650aSMartin Mares 2284b88a6b8SMartin MaresMon Jun 8 10:59:22 1998 Martin Mares <[email protected]> 2294b88a6b8SMartin Mares 2304b88a6b8SMartin Mares * Released as 1.05. 2314b88a6b8SMartin Mares 2324b88a6b8SMartin Mares * setpci.c: Problems with pread()/pwrite() with glibc on Alpha 2334b88a6b8SMartin Mares should be gone. Again thanks to Steve for bug report. 2344b88a6b8SMartin Mares 2354b88a6b8SMartin Mares * filter.c (filter_parse_slot): Fixed ":x" type filters. 2364b88a6b8SMartin Mares 2374b88a6b8SMartin Mares * pci.ids: Killed duplicate entry. Thanks to Stephen Williams 2384b88a6b8SMartin Mares <[email protected]> for reporting this. 2394b88a6b8SMartin Mares 2404b88a6b8SMartin MaresSun Jun 7 19:27:51 1998 Martin Mares <[email protected]> 2414b88a6b8SMartin Mares 2424b88a6b8SMartin Mares * lspci.c (main), setpci.c (main): Implemented "--version". 2434b88a6b8SMartin Mares 2444b88a6b8SMartin Mares * Released as 1.04. 2454b88a6b8SMartin Mares 2464b88a6b8SMartin Mares * pciutils.h (PCIUTILS_VERSION): Added version string. 2474b88a6b8SMartin Mares 2484b88a6b8SMartin Mares * filter.c, names.c: Extraneous #include <linux/pci.h> removed. 2494b88a6b8SMartin Mares Thanks to Geert Uytterhoeven <[email protected]> 2504b88a6b8SMartin Mares for bug report. 2514b88a6b8SMartin Mares 2529b306998SMartin MaresThu May 28 14:45:58 1998 Martin Mares <[email protected]> 2539b306998SMartin Mares 2549b306998SMartin Mares * pci.ids: More updates from Jens Maurer. 2559b306998SMartin Mares 256b372672fSMartin MaresWed Apr 22 10:00:39 1998 Martin Mares <[email protected]> 257b372672fSMartin Mares 258b372672fSMartin Mares * pci.ids: Updates from Jens Maurer. 259b372672fSMartin Mares 260b2c9b373SMartin MaresSun Apr 19 11:14:25 1998 Martin Mares <[email protected]> 261b2c9b373SMartin Mares 262b372672fSMartin Mares * Released as 1.03. 263b372672fSMartin Mares 264b2c9b373SMartin Mares * setpci.8: Written. 265b2c9b373SMartin Mares 266b2c9b373SMartin Mares * setpci.c: Finished. 267b2c9b373SMartin Mares 268b2c9b373SMartin Mares * lspci.c: Now able to fetch expansion ROM base from kernel device list 269b2c9b373SMartin Mares and print it if not in buscentric mode. 270b2c9b373SMartin Mares 271e4842ff3SMartin MaresTue Mar 31 23:11:57 1998 Martin Mares <[email protected]> 272e4842ff3SMartin Mares 273e4842ff3SMartin Mares * setpci.c: Added. 274e4842ff3SMartin Mares 275e4842ff3SMartin MaresSun Mar 22 15:39:08 1998 Martin Mares <[email protected]> 276e4842ff3SMartin Mares 277e4842ff3SMartin Mares * lspci.8: Updated the documentation. 278e4842ff3SMartin Mares 279e4842ff3SMartin Mares * lspci.c: Modified to use the new filtering mechanism (options -f and -d). 280e4842ff3SMartin Mares 281e4842ff3SMartin Mares * filter.c: Introduced new generic device filter. 282e4842ff3SMartin Mares 283008407bdSMartin MaresThu Mar 19 17:03:48 1998 Martin Mares <[email protected]> 284008407bdSMartin Mares 285008407bdSMartin Mares * lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying 286008407bdSMartin Mares of PCI-to-PCI bridges in the tree format. 287008407bdSMartin Mares 2880a33d0ecSMartin MaresSun Feb 15 10:12:25 1998 Martin Mares <[email protected]> 2890a33d0ecSMartin Mares 2900a33d0ecSMartin Mares * lspci.c (show_machine): Added non-verbose mode of machine-readable 2910a33d0ecSMartin Mares dump. 2920a33d0ecSMartin Mares 2930a33d0ecSMartin Mares * pci.ids: Updates from Jens Maurer. 2940a33d0ecSMartin Mares 2950a33d0ecSMartin Mares * Released as version 1.02. 2960a33d0ecSMartin Mares 2970a33d0ecSMartin MaresThu Feb 12 16:53:28 1998 Martin Mares <[email protected]> 2980a33d0ecSMartin Mares 2990a33d0ecSMartin Mares * lspci.c: Added a "-m" switch for dumping machine-readable 3000a33d0ecSMartin Mares configuration data (requested by Bjoern Kriews <[email protected]>). 3010a33d0ecSMartin Mares 302fb38eee8SMartin MaresMon Feb 9 13:17:43 1998 Martin Mares <[email protected]> 303fb38eee8SMartin Mares 304fb38eee8SMartin Mares * Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h> 305fb38eee8SMartin Mares if available. This should avoid all problems with official kernel 306fb38eee8SMartin Mares not synchronized to newer PCI code in CVS -- standard distribution 307fb38eee8SMartin Mares of pciutils now contains pci.h from current CVS kernel, pciutils 308fb38eee8SMartin Mares in CVS contain no pci.h and use the correct kernel include. 309fb38eee8SMartin Mares 310fb38eee8SMartin Mares * Makefile: Fixed installation path for man pages. 311fb38eee8SMartin Mares 3122f48f637SMartin MaresSat Feb 7 15:15:46 1998 Martin Mares <[email protected]> 3132f48f637SMartin Mares 3142f48f637SMartin Mares * README: Updated. 3152f48f637SMartin Mares 3162f48f637SMartin Mares * lspci.8: Created a man page. 3172f48f637SMartin Mares 3182f48f637SMartin Mares * Releasing as version 1.0. 3192f48f637SMartin Mares 3202f48f637SMartin MaresTue Feb 3 20:56:00 1998 Martin Mares <[email protected]> 3212f48f637SMartin Mares 3222f48f637SMartin Mares * Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx 3232f48f637SMartin Mares to all the C sources. This should eliminate problems with 32-bit compilers 3242f48f637SMartin Mares on sparc64. 3252f48f637SMartin Mares 3262f48f637SMartin Mares * lspci.c (show_verbose): Recognize CardBus bridge header type. 3272f48f637SMartin Mares (show_htype2): Stub routine. 3282f48f637SMartin Mares (scan_config): Write sensible error message if the kernel denies reading of 3292f48f637SMartin Mares upper part of the PCI config space. 3302f48f637SMartin Mares 331