1*f6c86928SMartin MaresMon Jan 25 21:28:49 1999 Martin Mares <[email protected]> 2*f6c86928SMartin Mares 3*f6c86928SMartin Mares * Makefile: Added target `release' which substitutes new version 4*f6c86928SMartin Mares number to .spec, .lsm and README. Also rewrote target `dist'. 5*f6c86928SMartin Mares 6*f6c86928SMartin Mares * Released as 1.99.3. 7*f6c86928SMartin Mares 8b5137411SMartin MaresSun Jan 24 22:10:36 1999 Martin Mares <[email protected]> 9b5137411SMartin Mares 10d6b297d0SMartin Mares * lib/header.h: Until kernel adopts new layout of PCI 11d6b297d0SMartin Mares includes (i.e., separate declaration of header structure, 12d6b297d0SMartin Mares functions and device IDs), which is not going to happen 13d6b297d0SMartin Mares before 2.3, we'll use our own definiton of the header. 14d6b297d0SMartin Mares 15b5137411SMartin Mares * lspci.c (show_verbose): Display `Cap' flag in device status. 16b5137411SMartin Mares 17b5137411SMartin Mares * lspci.c (show_htype0): Display capability lists whereever 18b5137411SMartin Mares available. The only capability name we recognize now is `AGP'. 19b5137411SMartin Mares Unfortunately, capabilities are stored in device-dependent 20b5137411SMartin Mares portion of the configuration space and are thus available 21b5137411SMartin Mares only to root unless you read a dump. 22b5137411SMartin Mares 23b5137411SMartin Mares * lspci.c (scan_devices): Use cache instead of buffering. 24b5137411SMartin Mares 25b5137411SMartin Mares * lib/buffer.c: Removed (obsoleted by the cache). 26b5137411SMartin Mares 27b5137411SMartin Mares * lib/access.c: Added general caching mechanism. 28b5137411SMartin Mares 2981ce358dSMartin MaresSat Jan 23 21:30:54 1999 Martin Mares <[email protected]> 3081ce358dSMartin Mares 3181ce358dSMartin Mares * pci.ids: Added few devices. 3281ce358dSMartin Mares 33727ce158SMartin MaresFri Jan 22 19:29:31 1999 Martin Mares <[email protected]> 34727ce158SMartin Mares 35727ce158SMartin Mares * Version string is now defined in top-level Makefile, exported 36727ce158SMartin Mares to the configure script and also substituted to man pages. 37727ce158SMartin Mares 38727ce158SMartin Mares * lspci.c (show_bases): Rewrote displaying of 64-bit addresses. 39727ce158SMartin Mares (show_verbose): Rewrote interrupt display logic. 40727ce158SMartin Mares 41727ce158SMartin Mares * lib/i386-ports.c: Include sys/io.h only on glibc systems. 42727ce158SMartin Mares 43727ce158SMartin Mares * lib/configure: Rewrote detection of Linux versions. Now it 44727ce158SMartin Mares works on 2.0 kernels (only with direct/dump access, of course). 45727ce158SMartin Mares 46727ce158SMartin Mares * lib/internal.h: New bytesex macros using <asm/byteorder.h> 47727ce158SMartin Mares whenever available. 48727ce158SMartin Mares 49727ce158SMartin Mares * lib/proc.c (proc_read, proc_write): Distinguish between short 50727ce158SMartin Mares read/write and real errors. 51727ce158SMartin Mares 52727ce158SMartin Mares * lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since 53727ce158SMartin Mares libpci respects buscentric mode automatically. 54727ce158SMartin Mares 55727ce158SMartin Mares * lspci.c (show_hex_dump): For CardBus bridges, print out 128 56727ce158SMartin Mares bytes of header (the whole standard part). 57727ce158SMartin Mares 58727ce158SMartin Mares * common.c: pcilib options are now all uppercase. Also moved 59727ce158SMartin Mares PCI access debugging option here. 60727ce158SMartin Mares 61727ce158SMartin Mares * Released as 1.99.2. 62727ce158SMartin Mares 63727ce158SMartin MaresWed Jan 20 22:50:35 1999 Martin Mares <[email protected]> 64727ce158SMartin Mares 65727ce158SMartin Mares * Wrote configure script and rewrote Makefiles. 66727ce158SMartin Mares 67727ce158SMartin Mares * Removed few unused variables. 68727ce158SMartin Mares 69727ce158SMartin MaresWed Jan 20 12:21:56 1999 Martin Mares <[email protected]> 70727ce158SMartin Mares 71727ce158SMartin Mares * common.c: Moved several functions used in both setpci and lspci 72727ce158SMartin Mares here. This includes parsing of libpci-related options. 73727ce158SMartin Mares 74727ce158SMartin Mares * More library tweaks. 75727ce158SMartin Mares 76727ce158SMartin Mares * filter.c, names.c: Moved to library. 77727ce158SMartin Mares 78727ce158SMartin Mares * setpci: Rewritten to use the library. 79727ce158SMartin Mares 80727ce158SMartin Mares * Released as 1.99.1. 81727ce158SMartin Mares 82727ce158SMartin MaresTue Jan 19 23:00:12 1999 Martin Mares <[email protected]> 83727ce158SMartin Mares 84727ce158SMartin Mares * lspci.c (scan_devices): For cardbus bridges, read first 128 85727ce158SMartin Mares bytes of config space to get full standard header. 86727ce158SMartin Mares 87727ce158SMartin Mares * Makefile (CFLAGS): Removed "-Wno-unused". 88727ce158SMartin Mares 89727ce158SMartin Mares * Started the "New Generation" branch and introduced the 90727ce158SMartin Mares PCI library. 91727ce158SMartin Mares 92727ce158SMartin Mares * lspci: Rewritten to use the library. 93727ce158SMartin Mares 946ece6bc6SMartin MaresTue Jan 19 22:24:08 1999 Martin Mares <[email protected]> 956ece6bc6SMartin Mares 966ece6bc6SMartin Mares * Released as version 1.10. 976ece6bc6SMartin Mares 986ece6bc6SMartin MaresMon Jan 18 08:51:17 1999 Martin Mares <[email protected]> 996ece6bc6SMartin Mares 1006ece6bc6SMartin Mares * lspci.8, setpci.8: Miscellaneous fixes as suggested by 1016ece6bc6SMartin Mares Dag Wieers <[email protected]>. 1026ece6bc6SMartin Mares 1031212dd6dSMartin MaresSun Nov 29 20:05:56 1998 Martin Mares <[email protected]> 1041212dd6dSMartin Mares 1051212dd6dSMartin Mares * pciutils.spec (Name): Update from Krzysztof G. Baranowski. 1061212dd6dSMartin Mares 107d38471fdSMartin MaresSun Nov 22 10:49:56 1998 Martin Mares <[email protected]> 108d38471fdSMartin Mares 109d38471fdSMartin Mares * Makefile, pciutils.h: Moved pci.ids to /usr/share. 110d38471fdSMartin Mares 111d38471fdSMartin Mares * Released as version 1.09. 112d38471fdSMartin Mares 113371f605bSMartin MaresWed Nov 18 15:47:05 1998 Martin Mares <[email protected]> 114371f605bSMartin Mares 115371f605bSMartin Mares * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind 116371f605bSMartin Mares bridge. Thanks to Petr Vandrovec <[email protected]> for bug report. 117371f605bSMartin Mares 11810be47abSMartin MaresFri Oct 23 18:59:19 1998 Martin Mares <[email protected]> 11910be47abSMartin Mares 12010be47abSMartin Mares * setpci.c: Don't include <syscall-list.h> with glibc >= 2.1. 12110be47abSMartin Mares 122472bd340SMartin MaresMon Oct 19 21:53:30 1998 Martin Mares <[email protected]> 123472bd340SMartin Mares 124472bd340SMartin Mares * Released as version 1.08. 125472bd340SMartin Mares 126472bd340SMartin Mares * setpci.c: glibc 2.1.x already defines pread() and pwrite(). 127472bd340SMartin Mares 128472bd340SMartin Mares * lspci.8: Changed warning about lspci -xxx. 129472bd340SMartin Mares 130472bd340SMartin Mares * lspci.c: Require "-xxx" for full configuration space dump, so that 131472bd340SMartin Mares it's impossible to crash the machine by single typo. 132472bd340SMartin Mares 133472bd340SMartin Mares * specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>). 134472bd340SMartin Mares 135072c77e5SMartin MaresWed Sep 9 12:03:24 1998 Martin Mares <[email protected]> 136072c77e5SMartin Mares 137072c77e5SMartin Mares * lspci.c (show_bases): Better displaying of unassigned and 138072c77e5SMartin Mares disabled bases. Thanks to Gabriel Paubert <[email protected]> 139072c77e5SMartin Mares for an idea. 140072c77e5SMartin Mares 141b7554856SMartin MaresWed Sep 2 10:58:01 1998 Martin Mares <[email protected]> 142b7554856SMartin Mares 143b7554856SMartin Mares * setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC. 144b7554856SMartin Mares (thanks to Geert Uytterhoeven for finding this out) 145b7554856SMartin Mares 146ce503b7fSMartin MaresFri Jul 17 10:43:30 1998 Martin Mares <[email protected]> 147ce503b7fSMartin Mares 148ce503b7fSMartin Mares * lspci.c (show_verbose): Print subsystem ID using the new resolver. 149ce503b7fSMartin Mares (show_machine): Print subsystem ID. 150ce503b7fSMartin Mares 151ce503b7fSMartin Mares * names.c: New name resolution engine supporting subsystem IDs. 152ce503b7fSMartin Mares 153ce503b7fSMartin Mares * Released as version 1.07. 154ce503b7fSMartin Mares 15596e4f295SMartin MaresWed Jul 15 15:37:21 1998 Martin Mares <[email protected]> 15696e4f295SMartin Mares 15796e4f295SMartin Mares * lspci.c (show_htype2 etc.): Displaying of CardBus headers. 15896e4f295SMartin Mares (show_bases): Honor the `cnt' argument. 15996e4f295SMartin Mares (grow_tree): Parse CardBus headers in tree mode as well. 16096e4f295SMartin Mares 16196e4f295SMartin Mares * pci.h: Updated CardBus header field description. I still don't 16296e4f295SMartin Mares have the CardBus standard available, but OZ6832 specs contain 16396e4f295SMartin Mares full description of all header fields supported by the chip. 16496e4f295SMartin Mares 1656ae3650aSMartin MaresTue Jun 9 22:53:59 1998 Martin Mares <[email protected]> 1666ae3650aSMartin Mares 167304f9a0bSMartin Mares * Released as 1.06. 168304f9a0bSMartin Mares 1696ae3650aSMartin Mares * names.c (parse_name_list): Killed an unused variable. 1706ae3650aSMartin Mares 1716ae3650aSMartin Mares * setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1 1726ae3650aSMartin Mares if they are not defined by glibc (needed for glibc built on older 1736ae3650aSMartin Mares kernels). Ugly. 1746ae3650aSMartin Mares 1756ae3650aSMartin Mares * setpci.c (exec_op): Fixed error messages. Thanks, Steve! 1766ae3650aSMartin Mares 1774b88a6b8SMartin MaresMon Jun 8 10:59:22 1998 Martin Mares <[email protected]> 1784b88a6b8SMartin Mares 1794b88a6b8SMartin Mares * Released as 1.05. 1804b88a6b8SMartin Mares 1814b88a6b8SMartin Mares * setpci.c: Problems with pread()/pwrite() with glibc on Alpha 1824b88a6b8SMartin Mares should be gone. Again thanks to Steve for bug report. 1834b88a6b8SMartin Mares 1844b88a6b8SMartin Mares * filter.c (filter_parse_slot): Fixed ":x" type filters. 1854b88a6b8SMartin Mares 1864b88a6b8SMartin Mares * pci.ids: Killed duplicate entry. Thanks to Stephen Williams 1874b88a6b8SMartin Mares <[email protected]> for reporting this. 1884b88a6b8SMartin Mares 1894b88a6b8SMartin MaresSun Jun 7 19:27:51 1998 Martin Mares <[email protected]> 1904b88a6b8SMartin Mares 1914b88a6b8SMartin Mares * lspci.c (main), setpci.c (main): Implemented "--version". 1924b88a6b8SMartin Mares 1934b88a6b8SMartin Mares * Released as 1.04. 1944b88a6b8SMartin Mares 1954b88a6b8SMartin Mares * pciutils.h (PCIUTILS_VERSION): Added version string. 1964b88a6b8SMartin Mares 1974b88a6b8SMartin Mares * filter.c, names.c: Extraneous #include <linux/pci.h> removed. 1984b88a6b8SMartin Mares Thanks to Geert Uytterhoeven <[email protected]> 1994b88a6b8SMartin Mares for bug report. 2004b88a6b8SMartin Mares 2019b306998SMartin MaresThu May 28 14:45:58 1998 Martin Mares <[email protected]> 2029b306998SMartin Mares 2039b306998SMartin Mares * pci.ids: More updates from Jens Maurer. 2049b306998SMartin Mares 205b372672fSMartin MaresWed Apr 22 10:00:39 1998 Martin Mares <[email protected]> 206b372672fSMartin Mares 207b372672fSMartin Mares * pci.ids: Updates from Jens Maurer. 208b372672fSMartin Mares 209b2c9b373SMartin MaresSun Apr 19 11:14:25 1998 Martin Mares <[email protected]> 210b2c9b373SMartin Mares 211b372672fSMartin Mares * Released as 1.03. 212b372672fSMartin Mares 213b2c9b373SMartin Mares * setpci.8: Written. 214b2c9b373SMartin Mares 215b2c9b373SMartin Mares * setpci.c: Finished. 216b2c9b373SMartin Mares 217b2c9b373SMartin Mares * lspci.c: Now able to fetch expansion ROM base from kernel device list 218b2c9b373SMartin Mares and print it if not in buscentric mode. 219b2c9b373SMartin Mares 220e4842ff3SMartin MaresTue Mar 31 23:11:57 1998 Martin Mares <[email protected]> 221e4842ff3SMartin Mares 222e4842ff3SMartin Mares * setpci.c: Added. 223e4842ff3SMartin Mares 224e4842ff3SMartin MaresSun Mar 22 15:39:08 1998 Martin Mares <[email protected]> 225e4842ff3SMartin Mares 226e4842ff3SMartin Mares * lspci.8: Updated the documentation. 227e4842ff3SMartin Mares 228e4842ff3SMartin Mares * lspci.c: Modified to use the new filtering mechanism (options -f and -d). 229e4842ff3SMartin Mares 230e4842ff3SMartin Mares * filter.c: Introduced new generic device filter. 231e4842ff3SMartin Mares 232008407bdSMartin MaresThu Mar 19 17:03:48 1998 Martin Mares <[email protected]> 233008407bdSMartin Mares 234008407bdSMartin Mares * lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying 235008407bdSMartin Mares of PCI-to-PCI bridges in the tree format. 236008407bdSMartin Mares 2370a33d0ecSMartin MaresSun Feb 15 10:12:25 1998 Martin Mares <[email protected]> 2380a33d0ecSMartin Mares 2390a33d0ecSMartin Mares * lspci.c (show_machine): Added non-verbose mode of machine-readable 2400a33d0ecSMartin Mares dump. 2410a33d0ecSMartin Mares 2420a33d0ecSMartin Mares * pci.ids: Updates from Jens Maurer. 2430a33d0ecSMartin Mares 2440a33d0ecSMartin Mares * Released as version 1.02. 2450a33d0ecSMartin Mares 2460a33d0ecSMartin MaresThu Feb 12 16:53:28 1998 Martin Mares <[email protected]> 2470a33d0ecSMartin Mares 2480a33d0ecSMartin Mares * lspci.c: Added a "-m" switch for dumping machine-readable 2490a33d0ecSMartin Mares configuration data (requested by Bjoern Kriews <[email protected]>). 2500a33d0ecSMartin Mares 251fb38eee8SMartin MaresMon Feb 9 13:17:43 1998 Martin Mares <[email protected]> 252fb38eee8SMartin Mares 253fb38eee8SMartin Mares * Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h> 254fb38eee8SMartin Mares if available. This should avoid all problems with official kernel 255fb38eee8SMartin Mares not synchronized to newer PCI code in CVS -- standard distribution 256fb38eee8SMartin Mares of pciutils now contains pci.h from current CVS kernel, pciutils 257fb38eee8SMartin Mares in CVS contain no pci.h and use the correct kernel include. 258fb38eee8SMartin Mares 259fb38eee8SMartin Mares * Makefile: Fixed installation path for man pages. 260fb38eee8SMartin Mares 2612f48f637SMartin MaresSat Feb 7 15:15:46 1998 Martin Mares <[email protected]> 2622f48f637SMartin Mares 2632f48f637SMartin Mares * README: Updated. 2642f48f637SMartin Mares 2652f48f637SMartin Mares * lspci.8: Created a man page. 2662f48f637SMartin Mares 2672f48f637SMartin Mares * Releasing as version 1.0. 2682f48f637SMartin Mares 2692f48f637SMartin MaresTue Feb 3 20:56:00 1998 Martin Mares <[email protected]> 2702f48f637SMartin Mares 2712f48f637SMartin Mares * Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx 2722f48f637SMartin Mares to all the C sources. This should eliminate problems with 32-bit compilers 2732f48f637SMartin Mares on sparc64. 2742f48f637SMartin Mares 2752f48f637SMartin Mares * lspci.c (show_verbose): Recognize CardBus bridge header type. 2762f48f637SMartin Mares (show_htype2): Stub routine. 2772f48f637SMartin Mares (scan_config): Write sensible error message if the kernel denies reading of 2782f48f637SMartin Mares upper part of the PCI config space. 2792f48f637SMartin Mares 280