1*7bed2d83SMartin MaresMon Jun 21 22:11:10 1999 Martin Mares <[email protected]> 2*7bed2d83SMartin Mares 3*7bed2d83SMartin Mares * lib/names.c (pci_lookup_name): When device ID lookup 4*7bed2d83SMartin Mares fails, return hexadecimal device ID instead of vendor ID. 5*7bed2d83SMartin Mares Well spotted by Axel Bodemann <[email protected]>, 6*7bed2d83SMartin Mares I've just extended the fix to subsystem ID's. 7*7bed2d83SMartin Mares 85ba3a475SMartin MaresThu Jun 17 19:48:21 1999 Martin Mares <[email protected]> 95ba3a475SMartin Mares 105ba3a475SMartin Mares * lspci.c (show_agp): Bug fix from Petr Vandrovec 115ba3a475SMartin Mares <[email protected]>. The command register was displayed 125ba3a475SMartin Mares incorrectly. 135ba3a475SMartin Mares 145ba3a475SMartin MaresWed Jun 2 22:42:44 1999 Martin Mares <[email protected]> 155ba3a475SMartin Mares 165ba3a475SMartin Mares * lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded 175ba3a475SMartin Mares numbers if not supplied by the libc. 185ba3a475SMartin Mares 1955c815b5SMartin MaresWed May 19 13:24:39 1999 Martin Mares <[email protected]> 2055c815b5SMartin Mares 2155c815b5SMartin Mares * Released the whole package as version 2.0. 2255c815b5SMartin Mares 2355c815b5SMartin MaresFri May 14 22:42:02 1999 Martin Mares <[email protected]> 2455c815b5SMartin Mares 2555c815b5SMartin Mares * pci.ids: Added several new ID's contributed by people 2655c815b5SMartin Mares on the linux-pci list. 2755c815b5SMartin Mares 28dec16943SMartin MaresMon Apr 19 15:21:08 1999 Jakub Jelinek <[email protected]> 29dec16943SMartin Mares 30dec16943SMartin Mares * lspci.c: Display I/O addresses correctly on sparc64. 31dec16943SMartin Mares * lib/header.h: Ditto. 32dec16943SMartin Mares 33dec16943SMartin Mares * lib/configure: On sparc set HAVE_64BIT* as well, we want 34dec16943SMartin Mares a binary which works on both 32bit and 64bit SPARCs. 35dec16943SMartin Mares 36e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999 Martin Mares <[email protected]> 37e33c9c7aSMartin Mares 38e33c9c7aSMartin Mares * lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob 39e33c9c7aSMartin Mares <[email protected]>. 40e33c9c7aSMartin Mares 41e33c9c7aSMartin Mares * pci.ids: A lot of updates from Adam J. Richter <[email protected]>. 42e33c9c7aSMartin Mares 43f3395cc5SMartin MaresSun Feb 28 22:26:21 1999 Martin Mares <[email protected]> 44f3395cc5SMartin Mares 45f3395cc5SMartin Mares * lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged 46f3395cc5SMartin Mares as a multi-function device, because several single-function devices 47f3395cc5SMartin Mares don't decode the function bits at all. 48f3395cc5SMartin Mares 49f3395cc5SMartin MaresSun Feb 14 23:48:22 1999 Martin Mares <[email protected]> 50f3395cc5SMartin Mares 51f3395cc5SMartin Mares * Makefile (install): Don't use "-o root -g root" for installation 52f3395cc5SMartin Mares since it breaks on machines where programs are not installed by root. 53f3395cc5SMartin Mares Reported by Richard Gooch <[email protected]> 54f3395cc5SMartin Mares 55f3395cc5SMartin MaresTue Feb 9 15:54:39 1999 Martin Mares <[email protected]> 56f3395cc5SMartin Mares 57f3395cc5SMartin Mares * lspci.c (show_bases): Use new address masking macros and pciaddr_t. 58f3395cc5SMartin Mares 59f3395cc5SMartin Mares * lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit 60f3395cc5SMartin Mares or 64-bit depending on CPU. 61f3395cc5SMartin Mares 62f3395cc5SMartin Mares * lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks 63f3395cc5SMartin Mares according to bus address width. 64f3395cc5SMartin Mares 651c31d620SMartin MaresThu Jan 28 20:54:16 1999 Martin Mares <[email protected]> 661c31d620SMartin Mares 671c31d620SMartin Mares * Released as 1.99.4. 681c31d620SMartin Mares 691c31d620SMartin Mares * lspci.c: Capability list parser now recognizes both AGP 701c31d620SMartin Mares registers and PCI Power Management registers (the latter 711c31d620SMartin Mares is mainly guesswork based on DEC/Intel 21153 bridge specs 721c31d620SMartin Mares since I don't have the PCI Power Management document). 731c31d620SMartin Mares 741c31d620SMartin Mares * lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-' 751c31d620SMartin Mares by FLAG macro. 761c31d620SMartin Mares 771c31d620SMartin Mares * lspci.c: Added bridge checks to bus mapping code. 781c31d620SMartin Mares 791812a795SMartin MaresWed Jan 27 14:59:16 1999 Martin Mares <[email protected]> 801812a795SMartin Mares 811812a795SMartin Mares * lspci.c: Implemented bus mapping mode (-M). 821812a795SMartin Mares 831812a795SMartin Mares * lspci.c (scan_devices): Split to scan_devices() and scan_device(). 841812a795SMartin Mares (show): Split to show() and show_device(). 851812a795SMartin Mares 861812a795SMartin Mares * lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO, 871812a795SMartin Mares set it to the real access method afterwards. 881812a795SMartin Mares 891812a795SMartin MaresMon Jan 25 23:46:13 1999 Martin Mares <[email protected]> 901812a795SMartin Mares 911812a795SMartin Mares * lib/generic.c (pci_generic_fill_info): If in buscentric mode, 921812a795SMartin Mares don't check PCI_COMMAND for I/O and memory enables. 931812a795SMartin Mares 94f6c86928SMartin MaresMon Jan 25 21:28:49 1999 Martin Mares <[email protected]> 95f6c86928SMartin Mares 96f6c86928SMartin Mares * Makefile: Added target `release' which substitutes new version 97f6c86928SMartin Mares number to .spec, .lsm and README. Also rewrote target `dist'. 98f6c86928SMartin Mares 99f6c86928SMartin Mares * Released as 1.99.3. 100f6c86928SMartin Mares 101b5137411SMartin MaresSun Jan 24 22:10:36 1999 Martin Mares <[email protected]> 102b5137411SMartin Mares 103d6b297d0SMartin Mares * lib/header.h: Until kernel adopts new layout of PCI 104d6b297d0SMartin Mares includes (i.e., separate declaration of header structure, 105d6b297d0SMartin Mares functions and device IDs), which is not going to happen 106d6b297d0SMartin Mares before 2.3, we'll use our own definiton of the header. 107d6b297d0SMartin Mares 108b5137411SMartin Mares * lspci.c (show_verbose): Display `Cap' flag in device status. 109b5137411SMartin Mares 110b5137411SMartin Mares * lspci.c (show_htype0): Display capability lists whereever 111b5137411SMartin Mares available. The only capability name we recognize now is `AGP'. 112b5137411SMartin Mares Unfortunately, capabilities are stored in device-dependent 113b5137411SMartin Mares portion of the configuration space and are thus available 114b5137411SMartin Mares only to root unless you read a dump. 115b5137411SMartin Mares 116b5137411SMartin Mares * lspci.c (scan_devices): Use cache instead of buffering. 117b5137411SMartin Mares 118b5137411SMartin Mares * lib/buffer.c: Removed (obsoleted by the cache). 119b5137411SMartin Mares 120b5137411SMartin Mares * lib/access.c: Added general caching mechanism. 121b5137411SMartin Mares 12281ce358dSMartin MaresSat Jan 23 21:30:54 1999 Martin Mares <[email protected]> 12381ce358dSMartin Mares 12481ce358dSMartin Mares * pci.ids: Added few devices. 12581ce358dSMartin Mares 126727ce158SMartin MaresFri Jan 22 19:29:31 1999 Martin Mares <[email protected]> 127727ce158SMartin Mares 128727ce158SMartin Mares * Version string is now defined in top-level Makefile, exported 129727ce158SMartin Mares to the configure script and also substituted to man pages. 130727ce158SMartin Mares 131727ce158SMartin Mares * lspci.c (show_bases): Rewrote displaying of 64-bit addresses. 132727ce158SMartin Mares (show_verbose): Rewrote interrupt display logic. 133727ce158SMartin Mares 134727ce158SMartin Mares * lib/i386-ports.c: Include sys/io.h only on glibc systems. 135727ce158SMartin Mares 136727ce158SMartin Mares * lib/configure: Rewrote detection of Linux versions. Now it 137727ce158SMartin Mares works on 2.0 kernels (only with direct/dump access, of course). 138727ce158SMartin Mares 139727ce158SMartin Mares * lib/internal.h: New bytesex macros using <asm/byteorder.h> 140727ce158SMartin Mares whenever available. 141727ce158SMartin Mares 142727ce158SMartin Mares * lib/proc.c (proc_read, proc_write): Distinguish between short 143727ce158SMartin Mares read/write and real errors. 144727ce158SMartin Mares 145727ce158SMartin Mares * lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since 146727ce158SMartin Mares libpci respects buscentric mode automatically. 147727ce158SMartin Mares 148727ce158SMartin Mares * lspci.c (show_hex_dump): For CardBus bridges, print out 128 149727ce158SMartin Mares bytes of header (the whole standard part). 150727ce158SMartin Mares 151727ce158SMartin Mares * common.c: pcilib options are now all uppercase. Also moved 152727ce158SMartin Mares PCI access debugging option here. 153727ce158SMartin Mares 154727ce158SMartin Mares * Released as 1.99.2. 155727ce158SMartin Mares 156727ce158SMartin MaresWed Jan 20 22:50:35 1999 Martin Mares <[email protected]> 157727ce158SMartin Mares 158727ce158SMartin Mares * Wrote configure script and rewrote Makefiles. 159727ce158SMartin Mares 160727ce158SMartin Mares * Removed few unused variables. 161727ce158SMartin Mares 162727ce158SMartin MaresWed Jan 20 12:21:56 1999 Martin Mares <[email protected]> 163727ce158SMartin Mares 164727ce158SMartin Mares * common.c: Moved several functions used in both setpci and lspci 165727ce158SMartin Mares here. This includes parsing of libpci-related options. 166727ce158SMartin Mares 167727ce158SMartin Mares * More library tweaks. 168727ce158SMartin Mares 169727ce158SMartin Mares * filter.c, names.c: Moved to library. 170727ce158SMartin Mares 171727ce158SMartin Mares * setpci: Rewritten to use the library. 172727ce158SMartin Mares 173727ce158SMartin Mares * Released as 1.99.1. 174727ce158SMartin Mares 175727ce158SMartin MaresTue Jan 19 23:00:12 1999 Martin Mares <[email protected]> 176727ce158SMartin Mares 177727ce158SMartin Mares * lspci.c (scan_devices): For cardbus bridges, read first 128 178727ce158SMartin Mares bytes of config space to get full standard header. 179727ce158SMartin Mares 180727ce158SMartin Mares * Makefile (CFLAGS): Removed "-Wno-unused". 181727ce158SMartin Mares 182727ce158SMartin Mares * Started the "New Generation" branch and introduced the 183727ce158SMartin Mares PCI library. 184727ce158SMartin Mares 185727ce158SMartin Mares * lspci: Rewritten to use the library. 186727ce158SMartin Mares 1876ece6bc6SMartin MaresTue Jan 19 22:24:08 1999 Martin Mares <[email protected]> 1886ece6bc6SMartin Mares 1896ece6bc6SMartin Mares * Released as version 1.10. 1906ece6bc6SMartin Mares 1916ece6bc6SMartin MaresMon Jan 18 08:51:17 1999 Martin Mares <[email protected]> 1926ece6bc6SMartin Mares 1936ece6bc6SMartin Mares * lspci.8, setpci.8: Miscellaneous fixes as suggested by 1946ece6bc6SMartin Mares Dag Wieers <[email protected]>. 1956ece6bc6SMartin Mares 1961212dd6dSMartin MaresSun Nov 29 20:05:56 1998 Martin Mares <[email protected]> 1971212dd6dSMartin Mares 1981212dd6dSMartin Mares * pciutils.spec (Name): Update from Krzysztof G. Baranowski. 1991212dd6dSMartin Mares 200d38471fdSMartin MaresSun Nov 22 10:49:56 1998 Martin Mares <[email protected]> 201d38471fdSMartin Mares 202d38471fdSMartin Mares * Makefile, pciutils.h: Moved pci.ids to /usr/share. 203d38471fdSMartin Mares 204d38471fdSMartin Mares * Released as version 1.09. 205d38471fdSMartin Mares 206371f605bSMartin MaresWed Nov 18 15:47:05 1998 Martin Mares <[email protected]> 207371f605bSMartin Mares 208371f605bSMartin Mares * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind 209371f605bSMartin Mares bridge. Thanks to Petr Vandrovec <[email protected]> for bug report. 210371f605bSMartin Mares 21110be47abSMartin MaresFri Oct 23 18:59:19 1998 Martin Mares <[email protected]> 21210be47abSMartin Mares 21310be47abSMartin Mares * setpci.c: Don't include <syscall-list.h> with glibc >= 2.1. 21410be47abSMartin Mares 215472bd340SMartin MaresMon Oct 19 21:53:30 1998 Martin Mares <[email protected]> 216472bd340SMartin Mares 217472bd340SMartin Mares * Released as version 1.08. 218472bd340SMartin Mares 219472bd340SMartin Mares * setpci.c: glibc 2.1.x already defines pread() and pwrite(). 220472bd340SMartin Mares 221472bd340SMartin Mares * lspci.8: Changed warning about lspci -xxx. 222472bd340SMartin Mares 223472bd340SMartin Mares * lspci.c: Require "-xxx" for full configuration space dump, so that 224472bd340SMartin Mares it's impossible to crash the machine by single typo. 225472bd340SMartin Mares 226472bd340SMartin Mares * specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>). 227472bd340SMartin Mares 228072c77e5SMartin MaresWed Sep 9 12:03:24 1998 Martin Mares <[email protected]> 229072c77e5SMartin Mares 230072c77e5SMartin Mares * lspci.c (show_bases): Better displaying of unassigned and 231072c77e5SMartin Mares disabled bases. Thanks to Gabriel Paubert <[email protected]> 232072c77e5SMartin Mares for an idea. 233072c77e5SMartin Mares 234b7554856SMartin MaresWed Sep 2 10:58:01 1998 Martin Mares <[email protected]> 235b7554856SMartin Mares 236b7554856SMartin Mares * setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC. 237b7554856SMartin Mares (thanks to Geert Uytterhoeven for finding this out) 238b7554856SMartin Mares 239ce503b7fSMartin MaresFri Jul 17 10:43:30 1998 Martin Mares <[email protected]> 240ce503b7fSMartin Mares 241ce503b7fSMartin Mares * lspci.c (show_verbose): Print subsystem ID using the new resolver. 242ce503b7fSMartin Mares (show_machine): Print subsystem ID. 243ce503b7fSMartin Mares 244ce503b7fSMartin Mares * names.c: New name resolution engine supporting subsystem IDs. 245ce503b7fSMartin Mares 246ce503b7fSMartin Mares * Released as version 1.07. 247ce503b7fSMartin Mares 24896e4f295SMartin MaresWed Jul 15 15:37:21 1998 Martin Mares <[email protected]> 24996e4f295SMartin Mares 25096e4f295SMartin Mares * lspci.c (show_htype2 etc.): Displaying of CardBus headers. 25196e4f295SMartin Mares (show_bases): Honor the `cnt' argument. 25296e4f295SMartin Mares (grow_tree): Parse CardBus headers in tree mode as well. 25396e4f295SMartin Mares 25496e4f295SMartin Mares * pci.h: Updated CardBus header field description. I still don't 25596e4f295SMartin Mares have the CardBus standard available, but OZ6832 specs contain 25696e4f295SMartin Mares full description of all header fields supported by the chip. 25796e4f295SMartin Mares 2586ae3650aSMartin MaresTue Jun 9 22:53:59 1998 Martin Mares <[email protected]> 2596ae3650aSMartin Mares 260304f9a0bSMartin Mares * Released as 1.06. 261304f9a0bSMartin Mares 2626ae3650aSMartin Mares * names.c (parse_name_list): Killed an unused variable. 2636ae3650aSMartin Mares 2646ae3650aSMartin Mares * setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1 2656ae3650aSMartin Mares if they are not defined by glibc (needed for glibc built on older 2666ae3650aSMartin Mares kernels). Ugly. 2676ae3650aSMartin Mares 2686ae3650aSMartin Mares * setpci.c (exec_op): Fixed error messages. Thanks, Steve! 2696ae3650aSMartin Mares 2704b88a6b8SMartin MaresMon Jun 8 10:59:22 1998 Martin Mares <[email protected]> 2714b88a6b8SMartin Mares 2724b88a6b8SMartin Mares * Released as 1.05. 2734b88a6b8SMartin Mares 2744b88a6b8SMartin Mares * setpci.c: Problems with pread()/pwrite() with glibc on Alpha 2754b88a6b8SMartin Mares should be gone. Again thanks to Steve for bug report. 2764b88a6b8SMartin Mares 2774b88a6b8SMartin Mares * filter.c (filter_parse_slot): Fixed ":x" type filters. 2784b88a6b8SMartin Mares 2794b88a6b8SMartin Mares * pci.ids: Killed duplicate entry. Thanks to Stephen Williams 2804b88a6b8SMartin Mares <[email protected]> for reporting this. 2814b88a6b8SMartin Mares 2824b88a6b8SMartin MaresSun Jun 7 19:27:51 1998 Martin Mares <[email protected]> 2834b88a6b8SMartin Mares 2844b88a6b8SMartin Mares * lspci.c (main), setpci.c (main): Implemented "--version". 2854b88a6b8SMartin Mares 2864b88a6b8SMartin Mares * Released as 1.04. 2874b88a6b8SMartin Mares 2884b88a6b8SMartin Mares * pciutils.h (PCIUTILS_VERSION): Added version string. 2894b88a6b8SMartin Mares 2904b88a6b8SMartin Mares * filter.c, names.c: Extraneous #include <linux/pci.h> removed. 2914b88a6b8SMartin Mares Thanks to Geert Uytterhoeven <[email protected]> 2924b88a6b8SMartin Mares for bug report. 2934b88a6b8SMartin Mares 2949b306998SMartin MaresThu May 28 14:45:58 1998 Martin Mares <[email protected]> 2959b306998SMartin Mares 2969b306998SMartin Mares * pci.ids: More updates from Jens Maurer. 2979b306998SMartin Mares 298b372672fSMartin MaresWed Apr 22 10:00:39 1998 Martin Mares <[email protected]> 299b372672fSMartin Mares 300b372672fSMartin Mares * pci.ids: Updates from Jens Maurer. 301b372672fSMartin Mares 302b2c9b373SMartin MaresSun Apr 19 11:14:25 1998 Martin Mares <[email protected]> 303b2c9b373SMartin Mares 304b372672fSMartin Mares * Released as 1.03. 305b372672fSMartin Mares 306b2c9b373SMartin Mares * setpci.8: Written. 307b2c9b373SMartin Mares 308b2c9b373SMartin Mares * setpci.c: Finished. 309b2c9b373SMartin Mares 310b2c9b373SMartin Mares * lspci.c: Now able to fetch expansion ROM base from kernel device list 311b2c9b373SMartin Mares and print it if not in buscentric mode. 312b2c9b373SMartin Mares 313e4842ff3SMartin MaresTue Mar 31 23:11:57 1998 Martin Mares <[email protected]> 314e4842ff3SMartin Mares 315e4842ff3SMartin Mares * setpci.c: Added. 316e4842ff3SMartin Mares 317e4842ff3SMartin MaresSun Mar 22 15:39:08 1998 Martin Mares <[email protected]> 318e4842ff3SMartin Mares 319e4842ff3SMartin Mares * lspci.8: Updated the documentation. 320e4842ff3SMartin Mares 321e4842ff3SMartin Mares * lspci.c: Modified to use the new filtering mechanism (options -f and -d). 322e4842ff3SMartin Mares 323e4842ff3SMartin Mares * filter.c: Introduced new generic device filter. 324e4842ff3SMartin Mares 325008407bdSMartin MaresThu Mar 19 17:03:48 1998 Martin Mares <[email protected]> 326008407bdSMartin Mares 327008407bdSMartin Mares * lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying 328008407bdSMartin Mares of PCI-to-PCI bridges in the tree format. 329008407bdSMartin Mares 3300a33d0ecSMartin MaresSun Feb 15 10:12:25 1998 Martin Mares <[email protected]> 3310a33d0ecSMartin Mares 3320a33d0ecSMartin Mares * lspci.c (show_machine): Added non-verbose mode of machine-readable 3330a33d0ecSMartin Mares dump. 3340a33d0ecSMartin Mares 3350a33d0ecSMartin Mares * pci.ids: Updates from Jens Maurer. 3360a33d0ecSMartin Mares 3370a33d0ecSMartin Mares * Released as version 1.02. 3380a33d0ecSMartin Mares 3390a33d0ecSMartin MaresThu Feb 12 16:53:28 1998 Martin Mares <[email protected]> 3400a33d0ecSMartin Mares 3410a33d0ecSMartin Mares * lspci.c: Added a "-m" switch for dumping machine-readable 3420a33d0ecSMartin Mares configuration data (requested by Bjoern Kriews <[email protected]>). 3430a33d0ecSMartin Mares 344fb38eee8SMartin MaresMon Feb 9 13:17:43 1998 Martin Mares <[email protected]> 345fb38eee8SMartin Mares 346fb38eee8SMartin Mares * Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h> 347fb38eee8SMartin Mares if available. This should avoid all problems with official kernel 348fb38eee8SMartin Mares not synchronized to newer PCI code in CVS -- standard distribution 349fb38eee8SMartin Mares of pciutils now contains pci.h from current CVS kernel, pciutils 350fb38eee8SMartin Mares in CVS contain no pci.h and use the correct kernel include. 351fb38eee8SMartin Mares 352fb38eee8SMartin Mares * Makefile: Fixed installation path for man pages. 353fb38eee8SMartin Mares 3542f48f637SMartin MaresSat Feb 7 15:15:46 1998 Martin Mares <[email protected]> 3552f48f637SMartin Mares 3562f48f637SMartin Mares * README: Updated. 3572f48f637SMartin Mares 3582f48f637SMartin Mares * lspci.8: Created a man page. 3592f48f637SMartin Mares 3602f48f637SMartin Mares * Releasing as version 1.0. 3612f48f637SMartin Mares 3622f48f637SMartin MaresTue Feb 3 20:56:00 1998 Martin Mares <[email protected]> 3632f48f637SMartin Mares 3642f48f637SMartin Mares * Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx 3652f48f637SMartin Mares to all the C sources. This should eliminate problems with 32-bit compilers 3662f48f637SMartin Mares on sparc64. 3672f48f637SMartin Mares 3682f48f637SMartin Mares * lspci.c (show_verbose): Recognize CardBus bridge header type. 3692f48f637SMartin Mares (show_htype2): Stub routine. 3702f48f637SMartin Mares (scan_config): Write sensible error message if the kernel denies reading of 3712f48f637SMartin Mares upper part of the PCI config space. 3722f48f637SMartin Mares 373