xref: /pciutils/ChangeLog (revision 5ba3a475)
1*5ba3a475SMartin MaresThu Jun 17 19:48:21 1999  Martin Mares  <[email protected]>
2*5ba3a475SMartin Mares
3*5ba3a475SMartin Mares	* lspci.c (show_agp): Bug fix from Petr Vandrovec
4*5ba3a475SMartin Mares	<[email protected]>. The command register was displayed
5*5ba3a475SMartin Mares	incorrectly.
6*5ba3a475SMartin Mares
7*5ba3a475SMartin MaresWed Jun  2 22:42:44 1999  Martin Mares  <[email protected]>
8*5ba3a475SMartin Mares
9*5ba3a475SMartin Mares	* lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
10*5ba3a475SMartin Mares	numbers if not supplied by the libc.
11*5ba3a475SMartin Mares
1255c815b5SMartin MaresWed May 19 13:24:39 1999  Martin Mares  <[email protected]>
1355c815b5SMartin Mares
1455c815b5SMartin Mares	* Released the whole package as version 2.0.
1555c815b5SMartin Mares
1655c815b5SMartin MaresFri May 14 22:42:02 1999  Martin Mares  <[email protected]>
1755c815b5SMartin Mares
1855c815b5SMartin Mares	* pci.ids: Added several new ID's contributed by people
1955c815b5SMartin Mares	on the linux-pci list.
2055c815b5SMartin Mares
21dec16943SMartin MaresMon Apr 19 15:21:08 1999  Jakub Jelinek  <[email protected]>
22dec16943SMartin Mares
23dec16943SMartin Mares	* lspci.c: Display I/O addresses correctly on sparc64.
24dec16943SMartin Mares	* lib/header.h: Ditto.
25dec16943SMartin Mares
26dec16943SMartin Mares	* lib/configure: On sparc set HAVE_64BIT* as well, we want
27dec16943SMartin Mares	a binary which works on both 32bit and 64bit SPARCs.
28dec16943SMartin Mares
29e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999  Martin Mares  <[email protected]>
30e33c9c7aSMartin Mares
31e33c9c7aSMartin Mares	* lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
32e33c9c7aSMartin Mares	<[email protected]>.
33e33c9c7aSMartin Mares
34e33c9c7aSMartin Mares	* pci.ids: A lot of updates from Adam J. Richter <[email protected]>.
35e33c9c7aSMartin Mares
36f3395cc5SMartin MaresSun Feb 28 22:26:21 1999  Martin Mares  <[email protected]>
37f3395cc5SMartin Mares
38f3395cc5SMartin Mares	* lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
39f3395cc5SMartin Mares	as a multi-function device, because several single-function devices
40f3395cc5SMartin Mares	don't decode the function bits at all.
41f3395cc5SMartin Mares
42f3395cc5SMartin MaresSun Feb 14 23:48:22 1999  Martin Mares  <[email protected]>
43f3395cc5SMartin Mares
44f3395cc5SMartin Mares	* Makefile (install): Don't use "-o root -g root" for installation
45f3395cc5SMartin Mares	since it breaks on machines where programs are not installed by root.
46f3395cc5SMartin Mares	Reported by Richard Gooch <[email protected]>
47f3395cc5SMartin Mares
48f3395cc5SMartin MaresTue Feb  9 15:54:39 1999  Martin Mares  <[email protected]>
49f3395cc5SMartin Mares
50f3395cc5SMartin Mares	* lspci.c (show_bases): Use new address masking macros and pciaddr_t.
51f3395cc5SMartin Mares
52f3395cc5SMartin Mares	* lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
53f3395cc5SMartin Mares	or 64-bit depending on CPU.
54f3395cc5SMartin Mares
55f3395cc5SMartin Mares	* lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
56f3395cc5SMartin Mares	according to bus address width.
57f3395cc5SMartin Mares
581c31d620SMartin MaresThu Jan 28 20:54:16 1999  Martin Mares  <[email protected]>
591c31d620SMartin Mares
601c31d620SMartin Mares	* Released as 1.99.4.
611c31d620SMartin Mares
621c31d620SMartin Mares	* lspci.c: Capability list parser now recognizes both AGP
631c31d620SMartin Mares	registers and PCI Power Management registers (the latter
641c31d620SMartin Mares	is mainly guesswork based on DEC/Intel 21153 bridge specs
651c31d620SMartin Mares	since I don't have the PCI Power Management document).
661c31d620SMartin Mares
671c31d620SMartin Mares	* lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
681c31d620SMartin Mares	by FLAG macro.
691c31d620SMartin Mares
701c31d620SMartin Mares	* lspci.c: Added bridge checks to bus mapping code.
711c31d620SMartin Mares
721812a795SMartin MaresWed Jan 27 14:59:16 1999  Martin Mares  <[email protected]>
731812a795SMartin Mares
741812a795SMartin Mares	* lspci.c: Implemented bus mapping mode (-M).
751812a795SMartin Mares
761812a795SMartin Mares	* lspci.c (scan_devices): Split to scan_devices() and scan_device().
771812a795SMartin Mares	(show): Split to show() and show_device().
781812a795SMartin Mares
791812a795SMartin Mares	* lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
801812a795SMartin Mares	set it to the real access method afterwards.
811812a795SMartin Mares
821812a795SMartin MaresMon Jan 25 23:46:13 1999  Martin Mares  <[email protected]>
831812a795SMartin Mares
841812a795SMartin Mares	* lib/generic.c (pci_generic_fill_info): If in buscentric mode,
851812a795SMartin Mares	don't check PCI_COMMAND for I/O and memory enables.
861812a795SMartin Mares
87f6c86928SMartin MaresMon Jan 25 21:28:49 1999  Martin Mares  <[email protected]>
88f6c86928SMartin Mares
89f6c86928SMartin Mares	* Makefile: Added target `release' which substitutes new version
90f6c86928SMartin Mares	number to .spec, .lsm and README. Also rewrote target `dist'.
91f6c86928SMartin Mares
92f6c86928SMartin Mares	* Released as 1.99.3.
93f6c86928SMartin Mares
94b5137411SMartin MaresSun Jan 24 22:10:36 1999  Martin Mares  <[email protected]>
95b5137411SMartin Mares
96d6b297d0SMartin Mares	* lib/header.h: Until kernel adopts new layout of PCI
97d6b297d0SMartin Mares	includes (i.e., separate declaration of header structure,
98d6b297d0SMartin Mares	functions and device IDs), which is not going to happen
99d6b297d0SMartin Mares	before 2.3, we'll use our own definiton of the header.
100d6b297d0SMartin Mares
101b5137411SMartin Mares	* lspci.c (show_verbose): Display `Cap' flag in device status.
102b5137411SMartin Mares
103b5137411SMartin Mares	* lspci.c (show_htype0): Display capability lists whereever
104b5137411SMartin Mares	available. The only capability name we recognize now is `AGP'.
105b5137411SMartin Mares	Unfortunately, capabilities are stored in device-dependent
106b5137411SMartin Mares	portion of the configuration space and are thus available
107b5137411SMartin Mares	only to root unless you read a dump.
108b5137411SMartin Mares
109b5137411SMartin Mares	* lspci.c (scan_devices): Use cache instead of buffering.
110b5137411SMartin Mares
111b5137411SMartin Mares	* lib/buffer.c: Removed (obsoleted by the cache).
112b5137411SMartin Mares
113b5137411SMartin Mares	* lib/access.c: Added general caching mechanism.
114b5137411SMartin Mares
11581ce358dSMartin MaresSat Jan 23 21:30:54 1999  Martin Mares  <[email protected]>
11681ce358dSMartin Mares
11781ce358dSMartin Mares	* pci.ids: Added few devices.
11881ce358dSMartin Mares
119727ce158SMartin MaresFri Jan 22 19:29:31 1999  Martin Mares  <[email protected]>
120727ce158SMartin Mares
121727ce158SMartin Mares	* Version string is now defined in top-level Makefile, exported
122727ce158SMartin Mares	to the configure script and also substituted to man pages.
123727ce158SMartin Mares
124727ce158SMartin Mares	* lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
125727ce158SMartin Mares	(show_verbose): Rewrote interrupt display logic.
126727ce158SMartin Mares
127727ce158SMartin Mares	* lib/i386-ports.c: Include sys/io.h only on glibc systems.
128727ce158SMartin Mares
129727ce158SMartin Mares	* lib/configure: Rewrote detection of Linux versions. Now it
130727ce158SMartin Mares	works on 2.0 kernels (only with direct/dump access, of course).
131727ce158SMartin Mares
132727ce158SMartin Mares	* lib/internal.h: New bytesex macros using <asm/byteorder.h>
133727ce158SMartin Mares	whenever available.
134727ce158SMartin Mares
135727ce158SMartin Mares	* lib/proc.c (proc_read, proc_write): Distinguish between short
136727ce158SMartin Mares	read/write and real errors.
137727ce158SMartin Mares
138727ce158SMartin Mares	* lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
139727ce158SMartin Mares	libpci respects buscentric mode automatically.
140727ce158SMartin Mares
141727ce158SMartin Mares	* lspci.c (show_hex_dump): For CardBus bridges, print out 128
142727ce158SMartin Mares	bytes of header (the whole standard part).
143727ce158SMartin Mares
144727ce158SMartin Mares	* common.c: pcilib options are now all uppercase. Also moved
145727ce158SMartin Mares	PCI access debugging option here.
146727ce158SMartin Mares
147727ce158SMartin Mares	* Released as 1.99.2.
148727ce158SMartin Mares
149727ce158SMartin MaresWed Jan 20 22:50:35 1999  Martin Mares  <[email protected]>
150727ce158SMartin Mares
151727ce158SMartin Mares	* Wrote configure script and rewrote Makefiles.
152727ce158SMartin Mares
153727ce158SMartin Mares	* Removed few unused variables.
154727ce158SMartin Mares
155727ce158SMartin MaresWed Jan 20 12:21:56 1999  Martin Mares  <[email protected]>
156727ce158SMartin Mares
157727ce158SMartin Mares	* common.c: Moved several functions used in both setpci and lspci
158727ce158SMartin Mares	here. This includes parsing of libpci-related options.
159727ce158SMartin Mares
160727ce158SMartin Mares	* More library tweaks.
161727ce158SMartin Mares
162727ce158SMartin Mares	* filter.c, names.c: Moved to library.
163727ce158SMartin Mares
164727ce158SMartin Mares	* setpci: Rewritten to use the library.
165727ce158SMartin Mares
166727ce158SMartin Mares	* Released as 1.99.1.
167727ce158SMartin Mares
168727ce158SMartin MaresTue Jan 19 23:00:12 1999  Martin Mares  <[email protected]>
169727ce158SMartin Mares
170727ce158SMartin Mares	* lspci.c (scan_devices): For cardbus bridges, read first 128
171727ce158SMartin Mares	bytes of config space to get full standard header.
172727ce158SMartin Mares
173727ce158SMartin Mares	* Makefile (CFLAGS): Removed "-Wno-unused".
174727ce158SMartin Mares
175727ce158SMartin Mares	* Started the "New Generation" branch and introduced the
176727ce158SMartin Mares	PCI library.
177727ce158SMartin Mares
178727ce158SMartin Mares	* lspci: Rewritten to use the library.
179727ce158SMartin Mares
1806ece6bc6SMartin MaresTue Jan 19 22:24:08 1999  Martin Mares  <[email protected]>
1816ece6bc6SMartin Mares
1826ece6bc6SMartin Mares	* Released as version 1.10.
1836ece6bc6SMartin Mares
1846ece6bc6SMartin MaresMon Jan 18 08:51:17 1999  Martin Mares  <[email protected]>
1856ece6bc6SMartin Mares
1866ece6bc6SMartin Mares	* lspci.8, setpci.8: Miscellaneous fixes as suggested by
1876ece6bc6SMartin Mares	Dag Wieers <[email protected]>.
1886ece6bc6SMartin Mares
1891212dd6dSMartin MaresSun Nov 29 20:05:56 1998  Martin Mares  <[email protected]>
1901212dd6dSMartin Mares
1911212dd6dSMartin Mares	* pciutils.spec (Name): Update from Krzysztof G. Baranowski.
1921212dd6dSMartin Mares
193d38471fdSMartin MaresSun Nov 22 10:49:56 1998  Martin Mares  <[email protected]>
194d38471fdSMartin Mares
195d38471fdSMartin Mares	* Makefile, pciutils.h: Moved pci.ids to /usr/share.
196d38471fdSMartin Mares
197d38471fdSMartin Mares	* Released as version 1.09.
198d38471fdSMartin Mares
199371f605bSMartin MaresWed Nov 18 15:47:05 1998  Martin Mares  <[email protected]>
200371f605bSMartin Mares
201371f605bSMartin Mares	* lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
202371f605bSMartin Mares	bridge. Thanks to Petr Vandrovec <[email protected]> for bug report.
203371f605bSMartin Mares
20410be47abSMartin MaresFri Oct 23 18:59:19 1998  Martin Mares  <[email protected]>
20510be47abSMartin Mares
20610be47abSMartin Mares	* setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
20710be47abSMartin Mares
208472bd340SMartin MaresMon Oct 19 21:53:30 1998  Martin Mares  <[email protected]>
209472bd340SMartin Mares
210472bd340SMartin Mares	* Released as version 1.08.
211472bd340SMartin Mares
212472bd340SMartin Mares	* setpci.c: glibc 2.1.x already defines pread() and pwrite().
213472bd340SMartin Mares
214472bd340SMartin Mares	* lspci.8: Changed warning about lspci -xxx.
215472bd340SMartin Mares
216472bd340SMartin Mares	* lspci.c: Require "-xxx" for full configuration space dump, so that
217472bd340SMartin Mares	it's impossible to crash the machine by single typo.
218472bd340SMartin Mares
219472bd340SMartin Mares	* specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>).
220472bd340SMartin Mares
221072c77e5SMartin MaresWed Sep  9 12:03:24 1998  Martin Mares  <[email protected]>
222072c77e5SMartin Mares
223072c77e5SMartin Mares	* lspci.c (show_bases): Better displaying of unassigned and
224072c77e5SMartin Mares	disabled bases. Thanks to Gabriel Paubert <[email protected]>
225072c77e5SMartin Mares	for an idea.
226072c77e5SMartin Mares
227b7554856SMartin MaresWed Sep  2 10:58:01 1998  Martin Mares  <[email protected]>
228b7554856SMartin Mares
229b7554856SMartin Mares	* setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
230b7554856SMartin Mares	(thanks to Geert Uytterhoeven for finding this out)
231b7554856SMartin Mares
232ce503b7fSMartin MaresFri Jul 17 10:43:30 1998  Martin Mares  <[email protected]>
233ce503b7fSMartin Mares
234ce503b7fSMartin Mares	* lspci.c (show_verbose): Print subsystem ID using the new resolver.
235ce503b7fSMartin Mares	(show_machine): Print subsystem ID.
236ce503b7fSMartin Mares
237ce503b7fSMartin Mares	* names.c: New name resolution engine supporting subsystem IDs.
238ce503b7fSMartin Mares
239ce503b7fSMartin Mares	* Released as version 1.07.
240ce503b7fSMartin Mares
24196e4f295SMartin MaresWed Jul 15 15:37:21 1998  Martin Mares  <[email protected]>
24296e4f295SMartin Mares
24396e4f295SMartin Mares	* lspci.c (show_htype2 etc.): Displaying of CardBus headers.
24496e4f295SMartin Mares	(show_bases): Honor the `cnt' argument.
24596e4f295SMartin Mares	(grow_tree): Parse CardBus headers in tree mode as well.
24696e4f295SMartin Mares
24796e4f295SMartin Mares	* pci.h: Updated CardBus header field description. I still don't
24896e4f295SMartin Mares	have the CardBus standard available, but OZ6832 specs contain
24996e4f295SMartin Mares	full description of all header fields supported by the chip.
25096e4f295SMartin Mares
2516ae3650aSMartin MaresTue Jun  9 22:53:59 1998  Martin Mares  <[email protected]>
2526ae3650aSMartin Mares
253304f9a0bSMartin Mares	* Released as 1.06.
254304f9a0bSMartin Mares
2556ae3650aSMartin Mares	* names.c (parse_name_list): Killed an unused variable.
2566ae3650aSMartin Mares
2576ae3650aSMartin Mares	* setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
2586ae3650aSMartin Mares	if they are not defined by glibc (needed for glibc built on older
2596ae3650aSMartin Mares	kernels). Ugly.
2606ae3650aSMartin Mares
2616ae3650aSMartin Mares	* setpci.c (exec_op): Fixed error messages. Thanks, Steve!
2626ae3650aSMartin Mares
2634b88a6b8SMartin MaresMon Jun  8 10:59:22 1998  Martin Mares  <[email protected]>
2644b88a6b8SMartin Mares
2654b88a6b8SMartin Mares	* Released as 1.05.
2664b88a6b8SMartin Mares
2674b88a6b8SMartin Mares	* setpci.c: Problems with pread()/pwrite() with glibc on Alpha
2684b88a6b8SMartin Mares	should be gone. Again thanks to Steve for bug report.
2694b88a6b8SMartin Mares
2704b88a6b8SMartin Mares	* filter.c (filter_parse_slot): Fixed ":x" type filters.
2714b88a6b8SMartin Mares
2724b88a6b8SMartin Mares	* pci.ids: Killed duplicate entry. Thanks to Stephen Williams
2734b88a6b8SMartin Mares	<[email protected]> for reporting this.
2744b88a6b8SMartin Mares
2754b88a6b8SMartin MaresSun Jun  7 19:27:51 1998  Martin Mares  <[email protected]>
2764b88a6b8SMartin Mares
2774b88a6b8SMartin Mares	* lspci.c (main), setpci.c (main): Implemented "--version".
2784b88a6b8SMartin Mares
2794b88a6b8SMartin Mares	* Released as 1.04.
2804b88a6b8SMartin Mares
2814b88a6b8SMartin Mares	* pciutils.h (PCIUTILS_VERSION): Added version string.
2824b88a6b8SMartin Mares
2834b88a6b8SMartin Mares	* filter.c, names.c: Extraneous #include <linux/pci.h> removed.
2844b88a6b8SMartin Mares	Thanks to Geert Uytterhoeven <[email protected]>
2854b88a6b8SMartin Mares	for bug report.
2864b88a6b8SMartin Mares
2879b306998SMartin MaresThu May 28 14:45:58 1998  Martin Mares  <[email protected]>
2889b306998SMartin Mares
2899b306998SMartin Mares	* pci.ids: More updates from Jens Maurer.
2909b306998SMartin Mares
291b372672fSMartin MaresWed Apr 22 10:00:39 1998  Martin Mares  <[email protected]>
292b372672fSMartin Mares
293b372672fSMartin Mares	* pci.ids: Updates from Jens Maurer.
294b372672fSMartin Mares
295b2c9b373SMartin MaresSun Apr 19 11:14:25 1998  Martin Mares  <[email protected]>
296b2c9b373SMartin Mares
297b372672fSMartin Mares	* Released as 1.03.
298b372672fSMartin Mares
299b2c9b373SMartin Mares	* setpci.8: Written.
300b2c9b373SMartin Mares
301b2c9b373SMartin Mares	* setpci.c: Finished.
302b2c9b373SMartin Mares
303b2c9b373SMartin Mares	* lspci.c: Now able to fetch expansion ROM base from kernel device list
304b2c9b373SMartin Mares	and print it if not in buscentric mode.
305b2c9b373SMartin Mares
306e4842ff3SMartin MaresTue Mar 31 23:11:57 1998  Martin Mares  <[email protected]>
307e4842ff3SMartin Mares
308e4842ff3SMartin Mares	* setpci.c: Added.
309e4842ff3SMartin Mares
310e4842ff3SMartin MaresSun Mar 22 15:39:08 1998  Martin Mares  <[email protected]>
311e4842ff3SMartin Mares
312e4842ff3SMartin Mares	* lspci.8: Updated the documentation.
313e4842ff3SMartin Mares
314e4842ff3SMartin Mares	* lspci.c: Modified to use the new filtering mechanism (options -f and -d).
315e4842ff3SMartin Mares
316e4842ff3SMartin Mares	* filter.c: Introduced new generic device filter.
317e4842ff3SMartin Mares
318008407bdSMartin MaresThu Mar 19 17:03:48 1998  Martin Mares  <[email protected]>
319008407bdSMartin Mares
320008407bdSMartin Mares	* lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
321008407bdSMartin Mares	of PCI-to-PCI bridges in the tree format.
322008407bdSMartin Mares
3230a33d0ecSMartin MaresSun Feb 15 10:12:25 1998  Martin Mares  <[email protected]>
3240a33d0ecSMartin Mares
3250a33d0ecSMartin Mares	* lspci.c (show_machine): Added non-verbose mode of machine-readable
3260a33d0ecSMartin Mares	dump.
3270a33d0ecSMartin Mares
3280a33d0ecSMartin Mares	* pci.ids: Updates from Jens Maurer.
3290a33d0ecSMartin Mares
3300a33d0ecSMartin Mares	* Released as version 1.02.
3310a33d0ecSMartin Mares
3320a33d0ecSMartin MaresThu Feb 12 16:53:28 1998  Martin Mares  <[email protected]>
3330a33d0ecSMartin Mares
3340a33d0ecSMartin Mares	* lspci.c: Added a "-m" switch for dumping machine-readable
3350a33d0ecSMartin Mares	configuration data (requested by Bjoern Kriews <[email protected]>).
3360a33d0ecSMartin Mares
337fb38eee8SMartin MaresMon Feb  9 13:17:43 1998  Martin Mares  <[email protected]>
338fb38eee8SMartin Mares
339fb38eee8SMartin Mares	* Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
340fb38eee8SMartin Mares	if available. This should avoid all problems with official kernel
341fb38eee8SMartin Mares	not synchronized to newer PCI code in CVS -- standard distribution
342fb38eee8SMartin Mares	of pciutils now contains pci.h from current CVS kernel, pciutils
343fb38eee8SMartin Mares	in CVS contain no pci.h and use the correct kernel include.
344fb38eee8SMartin Mares
345fb38eee8SMartin Mares	* Makefile: Fixed installation path for man pages.
346fb38eee8SMartin Mares
3472f48f637SMartin MaresSat Feb  7 15:15:46 1998  Martin Mares  <[email protected]>
3482f48f637SMartin Mares
3492f48f637SMartin Mares	* README: Updated.
3502f48f637SMartin Mares
3512f48f637SMartin Mares	* lspci.8: Created a man page.
3522f48f637SMartin Mares
3532f48f637SMartin Mares	* Releasing as version 1.0.
3542f48f637SMartin Mares
3552f48f637SMartin MaresTue Feb  3 20:56:00 1998  Martin Mares  <[email protected]>
3562f48f637SMartin Mares
3572f48f637SMartin Mares	* Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
3582f48f637SMartin Mares	to all the C sources. This should eliminate problems with 32-bit compilers
3592f48f637SMartin Mares	on sparc64.
3602f48f637SMartin Mares
3612f48f637SMartin Mares	* lspci.c (show_verbose): Recognize CardBus bridge header type.
3622f48f637SMartin Mares	(show_htype2): Stub routine.
3632f48f637SMartin Mares	(scan_config): Write sensible error message if the kernel denies reading of
3642f48f637SMartin Mares	upper part of the PCI config space.
3652f48f637SMartin Mares
366