1 Mon Apr 19 15:21:08 1999 Jakub Jelinek <jj@ultra.linux.cz>
3 * lspci.c: Display I/O addresses correctly on sparc64.
6 * lib/configure: On sparc set HAVE_64BIT* as well, we want
7 a binary which works on both 32bit and 64bit SPARCs.
9 Sun Apr 18 21:14:58 1999 Martin Mares <mj@albireo.ucw.cz>
11 * lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
14 * pci.ids: A lot of updates from Adam J. Richter <adam@yggdrasil.com>.
16 Sun Feb 28 22:26:21 1999 Martin Mares <mj@albireo.ucw.cz>
18 * lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
19 as a multi-function device, because several single-function devices
20 don't decode the function bits at all.
22 Sun Feb 14 23:48:22 1999 Martin Mares <mj@albireo.ucw.cz>
24 * Makefile (install): Don't use "-o root -g root" for installation
25 since it breaks on machines where programs are not installed by root.
26 Reported by Richard Gooch <rgooch@atnf.csiro.au>
28 Tue Feb 9 15:54:39 1999 Martin Mares <mj@albireo.ucw.cz>
30 * lspci.c (show_bases): Use new address masking macros and pciaddr_t.
32 * lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
33 or 64-bit depending on CPU.
35 * lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
36 according to bus address width.
38 Thu Jan 28 20:54:16 1999 Martin Mares <mj@albireo.ucw.cz>
42 * lspci.c: Capability list parser now recognizes both AGP
43 registers and PCI Power Management registers (the latter
44 is mainly guesswork based on DEC/Intel 21153 bridge specs
45 since I don't have the PCI Power Management document).
47 * lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
50 * lspci.c: Added bridge checks to bus mapping code.
52 Wed Jan 27 14:59:16 1999 Martin Mares <mj@albireo.ucw.cz>
54 * lspci.c: Implemented bus mapping mode (-M).
56 * lspci.c (scan_devices): Split to scan_devices() and scan_device().
57 (show): Split to show() and show_device().
59 * lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
60 set it to the real access method afterwards.
62 Mon Jan 25 23:46:13 1999 Martin Mares <mj@albireo.ucw.cz>
64 * lib/generic.c (pci_generic_fill_info): If in buscentric mode,
65 don't check PCI_COMMAND for I/O and memory enables.
67 Mon Jan 25 21:28:49 1999 Martin Mares <mj@albireo.ucw.cz>
69 * Makefile: Added target `release' which substitutes new version
70 number to .spec, .lsm and README. Also rewrote target `dist'.
74 Sun Jan 24 22:10:36 1999 Martin Mares <mj@albireo.ucw.cz>
76 * lib/header.h: Until kernel adopts new layout of PCI
77 includes (i.e., separate declaration of header structure,
78 functions and device IDs), which is not going to happen
79 before 2.3, we'll use our own definiton of the header.
81 * lspci.c (show_verbose): Display `Cap' flag in device status.
83 * lspci.c (show_htype0): Display capability lists whereever
84 available. The only capability name we recognize now is `AGP'.
85 Unfortunately, capabilities are stored in device-dependent
86 portion of the configuration space and are thus available
87 only to root unless you read a dump.
89 * lspci.c (scan_devices): Use cache instead of buffering.
91 * lib/buffer.c: Removed (obsoleted by the cache).
93 * lib/access.c: Added general caching mechanism.
95 Sat Jan 23 21:30:54 1999 Martin Mares <mj@albireo.ucw.cz>
97 * pci.ids: Added few devices.
99 Fri Jan 22 19:29:31 1999 Martin Mares <mj@albireo.ucw.cz>
101 * Version string is now defined in top-level Makefile, exported
102 to the configure script and also substituted to man pages.
104 * lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
105 (show_verbose): Rewrote interrupt display logic.
107 * lib/i386-ports.c: Include sys/io.h only on glibc systems.
109 * lib/configure: Rewrote detection of Linux versions. Now it
110 works on 2.0 kernels (only with direct/dump access, of course).
112 * lib/internal.h: New bytesex macros using <asm/byteorder.h>
115 * lib/proc.c (proc_read, proc_write): Distinguish between short
116 read/write and real errors.
118 * lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
119 libpci respects buscentric mode automatically.
121 * lspci.c (show_hex_dump): For CardBus bridges, print out 128
122 bytes of header (the whole standard part).
124 * common.c: pcilib options are now all uppercase. Also moved
125 PCI access debugging option here.
127 * Released as 1.99.2.
129 Wed Jan 20 22:50:35 1999 Martin Mares <mj@albireo.ucw.cz>
131 * Wrote configure script and rewrote Makefiles.
133 * Removed few unused variables.
135 Wed Jan 20 12:21:56 1999 Martin Mares <mj@albireo.ucw.cz>
137 * common.c: Moved several functions used in both setpci and lspci
138 here. This includes parsing of libpci-related options.
140 * More library tweaks.
142 * filter.c, names.c: Moved to library.
144 * setpci: Rewritten to use the library.
146 * Released as 1.99.1.
148 Tue Jan 19 23:00:12 1999 Martin Mares <mj@albireo.ucw.cz>
150 * lspci.c (scan_devices): For cardbus bridges, read first 128
151 bytes of config space to get full standard header.
153 * Makefile (CFLAGS): Removed "-Wno-unused".
155 * Started the "New Generation" branch and introduced the
158 * lspci: Rewritten to use the library.
160 Tue Jan 19 22:24:08 1999 Martin Mares <mj@albireo.ucw.cz>
162 * Released as version 1.10.
164 Mon Jan 18 08:51:17 1999 Martin Mares <mj@albireo.ucw.cz>
166 * lspci.8, setpci.8: Miscellaneous fixes as suggested by
167 Dag Wieers <dag@digibel.be>.
169 Sun Nov 29 20:05:56 1998 Martin Mares <mj@albireo.ucw.cz>
171 * pciutils.spec (Name): Update from Krzysztof G. Baranowski.
173 Sun Nov 22 10:49:56 1998 Martin Mares <mj@albireo.ucw.cz>
175 * Makefile, pciutils.h: Moved pci.ids to /usr/share.
177 * Released as version 1.09.
179 Wed Nov 18 15:47:05 1998 Martin Mares <mj@albireo.ucw.cz>
181 * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
182 bridge. Thanks to Petr Vandrovec <vandrove@vc.cvut.cz> for bug report.
184 Fri Oct 23 18:59:19 1998 Martin Mares <mj@albireo.ucw.cz>
186 * setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
188 Mon Oct 19 21:53:30 1998 Martin Mares <mj@albireo.ucw.cz>
190 * Released as version 1.08.
192 * setpci.c: glibc 2.1.x already defines pread() and pwrite().
194 * lspci.8: Changed warning about lspci -xxx.
196 * lspci.c: Require "-xxx" for full configuration space dump, so that
197 it's impossible to crash the machine by single typo.
199 * specs: Added (courtesy of Krzysztof G. Baranowski <kgb@knm.org.pl>).
201 Wed Sep 9 12:03:24 1998 Martin Mares <mj@albireo.ucw.cz>
203 * lspci.c (show_bases): Better displaying of unassigned and
204 disabled bases. Thanks to Gabriel Paubert <paubert@iram.es>
207 Wed Sep 2 10:58:01 1998 Martin Mares <mj@albireo.ucw.cz>
209 * setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
210 (thanks to Geert Uytterhoeven for finding this out)
212 Fri Jul 17 10:43:30 1998 Martin Mares <mj@albireo.ucw.cz>
214 * lspci.c (show_verbose): Print subsystem ID using the new resolver.
215 (show_machine): Print subsystem ID.
217 * names.c: New name resolution engine supporting subsystem IDs.
219 * Released as version 1.07.
221 Wed Jul 15 15:37:21 1998 Martin Mares <mj@albireo.ucw.cz>
223 * lspci.c (show_htype2 etc.): Displaying of CardBus headers.
224 (show_bases): Honor the `cnt' argument.
225 (grow_tree): Parse CardBus headers in tree mode as well.
227 * pci.h: Updated CardBus header field description. I still don't
228 have the CardBus standard available, but OZ6832 specs contain
229 full description of all header fields supported by the chip.
231 Tue Jun 9 22:53:59 1998 Martin Mares <mj@albireo.ucw.cz>
235 * names.c (parse_name_list): Killed an unused variable.
237 * setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
238 if they are not defined by glibc (needed for glibc built on older
241 * setpci.c (exec_op): Fixed error messages. Thanks, Steve!
243 Mon Jun 8 10:59:22 1998 Martin Mares <mj@albireo.ucw.cz>
247 * setpci.c: Problems with pread()/pwrite() with glibc on Alpha
248 should be gone. Again thanks to Steve for bug report.
250 * filter.c (filter_parse_slot): Fixed ":x" type filters.
252 * pci.ids: Killed duplicate entry. Thanks to Stephen Williams
253 <steve@icarus.com> for reporting this.
255 Sun Jun 7 19:27:51 1998 Martin Mares <mj@albireo.ucw.cz>
257 * lspci.c (main), setpci.c (main): Implemented "--version".
261 * pciutils.h (PCIUTILS_VERSION): Added version string.
263 * filter.c, names.c: Extraneous #include <linux/pci.h> removed.
264 Thanks to Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be>
267 Thu May 28 14:45:58 1998 Martin Mares <mj@lomikel.karlin.mff.cuni.cz>
269 * pci.ids: More updates from Jens Maurer.
271 Wed Apr 22 10:00:39 1998 Martin Mares <mj@albireo.ucw.cz>
273 * pci.ids: Updates from Jens Maurer.
275 Sun Apr 19 11:14:25 1998 Martin Mares <mj@albireo.ucw.cz>
281 * setpci.c: Finished.
283 * lspci.c: Now able to fetch expansion ROM base from kernel device list
284 and print it if not in buscentric mode.
286 Tue Mar 31 23:11:57 1998 Martin Mares <mj@albireo.ucw.cz>
290 Sun Mar 22 15:39:08 1998 Martin Mares <mj@albireo.ucw.cz>
292 * lspci.8: Updated the documentation.
294 * lspci.c: Modified to use the new filtering mechanism (options -f and -d).
296 * filter.c: Introduced new generic device filter.
298 Thu Mar 19 17:03:48 1998 Martin Mares <mj@lomikel.karlin.mff.cuni.cz>
300 * lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
301 of PCI-to-PCI bridges in the tree format.
303 Sun Feb 15 10:12:25 1998 Martin Mares <mj@albireo.ucw.cz>
305 * lspci.c (show_machine): Added non-verbose mode of machine-readable
308 * pci.ids: Updates from Jens Maurer.
310 * Released as version 1.02.
312 Thu Feb 12 16:53:28 1998 Martin Mares <mj@lomikel.karlin.mff.cuni.cz>
314 * lspci.c: Added a "-m" switch for dumping machine-readable
315 configuration data (requested by Bjoern Kriews <bkr@cut.de>).
317 Mon Feb 9 13:17:43 1998 Martin Mares <mj@albireo.ucw.cz>
319 * Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
320 if available. This should avoid all problems with official kernel
321 not synchronized to newer PCI code in CVS -- standard distribution
322 of pciutils now contains pci.h from current CVS kernel, pciutils
323 in CVS contain no pci.h and use the correct kernel include.
325 * Makefile: Fixed installation path for man pages.
327 Sat Feb 7 15:15:46 1998 Martin Mares <mj@albireo.ucw.cz>
331 * lspci.8: Created a man page.
333 * Releasing as version 1.0.
335 Tue Feb 3 20:56:00 1998 Martin Mares <mj@albireo.ucw.cz>
337 * Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
338 to all the C sources. This should eliminate problems with 32-bit compilers
341 * lspci.c (show_verbose): Recognize CardBus bridge header type.
342 (show_htype2): Stub routine.
343 (scan_config): Write sensible error message if the kernel denies reading of
344 upper part of the PCI config space.