xref: /pciutils/ChangeLog (revision cec9f7e7)
1*cec9f7e7SMartin Mares2008-04-10  Martin Mares <[email protected]>
2*cec9f7e7SMartin Mares
3*cec9f7e7SMartin Mares	* Released as 3.0.0.
4*cec9f7e7SMartin Mares
5*cec9f7e7SMartin Mares	* Updated API and ABI version.
6*cec9f7e7SMartin Mares
7cd2f6a34SMartin Mares2008-02-20  Martin Mares <[email protected]>
8cd2f6a34SMartin Mares
9cd2f6a34SMartin Mares	* Released as 2.99.1-alpha2.
10cd2f6a34SMartin Mares
11cd2f6a34SMartin Mares	* Changed the default domain for the DNS resolver.
12cd2f6a34SMartin Mares
13165a50cbSMartin Mares2008-02-18  Martin Mares <[email protected]>
14165a50cbSMartin Mares
15165a50cbSMartin Mares	* Released as 2.99.1-alpha1.
16623234ecSMartin Mares
17a1fca487SMartin Mares	* The makefile system has been reworked. All configuration settings
18a1fca487SMartin Mares	are now passed to the configure script in environment variables,
19a1fca487SMartin Mares	allowing for easy tweaking in the top-level Makefile. All control
20a1fca487SMartin Mares	knobs are now described in the README.
21a1fca487SMartin Mares
22a1fca487SMartin Mares	* The libpci can be built as a shared library with properly restricted
23a1fca487SMartin Mares	symbol exports. Use `make SHARED=yes' to enable that or `make SHARED=local'
24a1fca487SMartin Mares	for a local testing build (with hardwired paths to the library, so that
25a1fca487SMartin Mares	it does not need installation).
26a1fca487SMartin Mares
27a1fca487SMartin Mares	* The example program has been moved from lib/example.c to the top-level
28a1fca487SMartin Mares	directory, because it should be built exactly as the other utilities
29a1fca487SMartin Mares	are. It has been also improved slightly to educate better.
30a1fca487SMartin Mares
31623234ecSMartin Mares	* The i386-ports method is enabled on Linux/x86_64 as well.
32623234ecSMartin Mares
33ae27e293SMartin Mares2008-02-13  Martin Mares <[email protected]>
34ae27e293SMartin Mares
35ae27e293SMartin Mares	* Released as 2.2.10-net2.
36ae27e293SMartin Mares
37ae27e293SMartin Mares	* Support for resolving of PCI ID's using DNS together with a local
38ae27e293SMartin Mares	cache of resolved entries has been added. See the `-q' and `-Q' options
39ae27e293SMartin Mares	of lspci.
40ae27e293SMartin Mares
41ae27e293SMartin Mares	* The library now has a generic system of settable parameters, which
42ae27e293SMartin Mares	also include settings of the DNS resolver and cache. An `-O' option
43ae27e293SMartin Mares	has been added to lspci and setpci to allow setting of these options.
44ae27e293SMartin Mares
45ae27e293SMartin Mares	* Configuration of the access methods are now specified by the new
46ae27e293SMartin Mares	parameter system, replacing the pci_access->method_params array.
47ae27e293SMartin Mares
48ae27e293SMartin Mares	* Access methods now also have sensible names and help texts and it
49ae27e293SMartin Mares	is possible to look up method ID by a name.
50ae27e293SMartin Mares
51ae27e293SMartin Mares	* An `-A' switch has been added to both lspci and setpci, allowing to
52ae27e293SMartin Mares	select an arbitrary access method. The `-P' switch (configure proc
53ae27e293SMartin Mares	backend) has been removed as it is no longer needed and I do not know
54ae27e293SMartin Mares	any its user.
55ae27e293SMartin Mares
56ae27e293SMartin Mares	* Several source files have been split for better maintainability
57ae27e293SMartin Mares	(most notably the resolving of ID's).
58ae27e293SMartin Mares
59ae27e293SMartin Mares	* Man pages and help texts have been updated. A new man page `pcilib(7)'
60ae27e293SMartin Mares	has been added and description of library options has been moved there.
61ae27e293SMartin Mares
62ae27e293SMartin Mares	* When an unknown device ID is encountered, we print `Device <id>'
63ae27e293SMartin Mares	instead of `Unknown device <id>'. It uses less space and it also
64ae27e293SMartin Mares	should reduce the number of inexperienced users complaining that
65ae27e293SMartin Mares	the device is not supported by the OS. To lookup up OS drivers,
66ae27e293SMartin Mares	use the `-k' option.
67ae27e293SMartin Mares
68ae27e293SMartin Mares	* PCI_LIB_VERSION has been bumped to 0x020299.
69ae27e293SMartin Mares
70ae27e293SMartin Mares	* Makefile: stripping of the binaries during installation can be
71ae27e293SMartin Mares	overridden by the STRIP variable.
72ae27e293SMartin Mares
73ae27e293SMartin Mares	* lib/types.h: We use the integer types from <stdint.h> if the
74ae27e293SMartin Mares	compiler claims C99 support.
75ae27e293SMartin Mares
760fc3bd18SMartin Mares2008-02-11  Martin Mares <[email protected]>
770fc3bd18SMartin Mares
782466b14bSMartin Mares	* Released as 2.2.10.
792466b14bSMartin Mares
806add52f5SMartin Mares	* lspci.c, setpci.c: Cleaned up the list of options.
816add52f5SMartin Mares
820fc3bd18SMartin Mares	* lib/names.c: Fix displaying of errors reported by zlib.
830fc3bd18SMartin Mares	Previously, the buffer containing the error message had
840fc3bd18SMartin Mares	been deallocated by gzclose() before the message was printed.
850fc3bd18SMartin Mares
86d26b5378SMartin Mares2008-01-07  Martin Mares <[email protected]>
87d26b5378SMartin Mares
88d26b5378SMartin Mares	* update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
89d26b5378SMartin Mares	files left by previous versions of the pciutils. Patch by Mike
90d26b5378SMartin Mares	Frysinger.
91d26b5378SMartin Mares
92d26b5378SMartin Mares	* update-pciids.man: Mention the -q switch.
93d26b5378SMartin Mares
94dc01dd60SMartin Mares2007-11-29  Martin Mares <[email protected]>
95dc01dd60SMartin Mares
96dc01dd60SMartin Mares	* lib/dump.c: Squashed compiler warnings about code with
97dc01dd60SMartin Mares	no effect (there really were surplus *'s).
98dc01dd60SMartin Mares
9911339c0dSMartin Mares2007-11-06  Martin Mares <[email protected]>
10011339c0dSMartin Mares
10113463566SMartin Mares	* Released as 2.2.9.
10213463566SMartin Mares
10311339c0dSMartin Mares	* lspci.c: Added a new switch `-k' which requests printing
10411339c0dSMartin Mares	of information on kernel drivers attached to each device
10511339c0dSMartin Mares	and on kernel modules reporting the ability to handle the
10611339c0dSMartin Mares	device. So far, this is supported only on Linux with the
10711339c0dSMartin Mares	sysfs back-end, so it is implemented internally in the lspci
10811339c0dSMartin Mares	instead of the libpci. Thanks to Anicka <[email protected]>
10911339c0dSMartin Mares	for help.
11011339c0dSMartin Mares
1113de798bdSMartin Mares2007-10-19  Martin Mares <[email protected]>
1123de798bdSMartin Mares
1136cdb9d93SMartin Mares	* Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS.
1146cdb9d93SMartin Mares	Also added an explicit pattern rule for linking to make sure
1156cdb9d93SMartin Mares	that LDLIBS is used on all platforms. Thanks to Dan Nicholson
1166cdb9d93SMartin Mares	for the suggestion.
1176cdb9d93SMartin Mares
1186cdb9d93SMartin Mares2007-10-19  Martin Mares <[email protected]>
1196cdb9d93SMartin Mares
120a404b115SMartin Mares	* Released as 2.2.8.
121a404b115SMartin Mares
1223de798bdSMartin Mares	* pci.ids: Revised class codes to match Conventional PCI 3.0 specs.
1233de798bdSMartin Mares	Added a couple of new ones, renumbered `ADMA continuous operation'
1243de798bdSMartin Mares	prog-if to 0x30 (even the old SATA Class Code ECN doesn't mention
1253de798bdSMartin Mares	0x40) and renumbered the satellite communication controllers.
1263de798bdSMartin Mares
1272d2c4810SMartin Mares	* lib/header.h: Include `PCI hot-plug' and `Secure device'
128f7c76ec5SMartin Mares	capabilities from PCI 3.0 specs. Also added `SATA HBA' and
129f7c76ec5SMartin Mares	`Advanced features' caps from various ECN's.
1302d2c4810SMartin Mares
131fa2273caSMartin Mares	* lspci.c: All known capabilities have at least their name displayed
132fa2273caSMartin Mares	now. When we are unable to decode them completely, we signalize it
133fa2273caSMartin Mares	with a `<?>' mark.
134fa2273caSMartin Mares
135fa2273caSMartin Mares	* lspci.man: Document `<?>' and also mention that extended config
136fa2273caSMartin Mares	space is currently available only with the linux_sysfs back-end.
137fa2273caSMartin Mares
13831c9bb28SMartin Mares	* lspci.c: Decode the Debug port capability (per EHCI 0.96 spec).
13931c9bb28SMartin Mares
140a387042eSMartin Mares	* lspci.c: Big code cleanup: re-arranged functions in the code,
141a387042eSMartin Mares	renamed everything related to capabilities to cap_* and
142a387042eSMartin Mares	all options except verbose to opt_*.
143a387042eSMartin Mares
1449c79fcc4SMartin Mares2007-10-14  Martin Mares <[email protected]>
1459c79fcc4SMartin Mares
1469c79fcc4SMartin Mares	* lib/[fno]bsd-*: Removed extraneous braces.
1479c79fcc4SMartin Mares
148d5b4cd14SMartin Mares2007-10-12  Martin Mares <[email protected]>
149d5b4cd14SMartin Mares
150d5b4cd14SMartin Mares	* Capability loop detection introduced 2.2.7 did not work
151d5b4cd14SMartin Mares	  properly with extended capabilities. Fixed.
152d5b4cd14SMartin Mares
153594de878SMartin Mares2007-10-05  Martin Mares <[email protected]>
154594de878SMartin Mares
1558a23eadcSMartin Mares	* Released as 2.2.7.
1568a23eadcSMartin Mares
157594de878SMartin Mares	* lspci.c (show_caps, show_ext_caps): Detect and report loops in
158594de878SMartin Mares	capability lists.
159594de878SMartin Mares
1608a23eadcSMartin Mares	* lspci.c, lib/header.h: Finished decoding of the PCI Express
1618a23eadcSMartin Mares	capability. The extended capabilities remain undecoded for now,
1628a23eadcSMartin Mares	but at least the list of them has been updated to reflect the
1638a23eadcSMartin Mares	current PCI Express 2.0 spec.
1648a23eadcSMartin Mares
1658a23eadcSMartin Mares	* lspci.c, lib/header.h: Decode new bits of traditional registers
1668a23eadcSMartin Mares	as defined by PCIE / PCI-X. This includes discard timers in the bridge
1678a23eadcSMartin Mares	control register and INTx enable/status in device control/status
1688a23eadcSMartin Mares	registers.
1698a23eadcSMartin Mares
1708a23eadcSMartin Mares	* lib/fbsd-device.c: Support domains on new FreeBSD's. Contributed
1718a23eadcSMartin Mares	by Marius Strobl.
1728a23eadcSMartin Mares
17399091df9SMartin Mares2007-09-12  Hasso Tepper <[email protected]>
17499091df9SMartin Mares
17599091df9SMartin Mares	* Extended the fbsd-device backend to run on Dragonfly BSD.
17699091df9SMartin Mares
17799091df9SMartin Mares	* lspci.c: alloca() is declared in <stdlib.h> on BSD's, not <alloca.h>.
17899091df9SMartin Mares
17909156b3bSMartin Mares2007-09-03  Martin Mares <[email protected]>
18009156b3bSMartin Mares
18109156b3bSMartin Mares	* Resurrected the Windows port, including cross-compilation by MinGW.
18209156b3bSMartin Mares	Patch by Samuel Bronson <[email protected]>.
18309156b3bSMartin Mares
184325a3c50SMartin Mares2007-08-31  Martin Mares <[email protected]>
185325a3c50SMartin Mares
186325a3c50SMartin Mares	* Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to allow
187325a3c50SMartin Mares	cross-compilation.
188325a3c50SMartin Mares
189a2322147SMartin Mares2007-08-27  Martin Mares  <[email protected]>
190a2322147SMartin Mares
191a2322147SMartin Mares	* lib/names.c (pci_open): When calling gzopen(), use "rb" file mode
192a2322147SMartin Mares	instead of "r". This is needed on DOS systems, where this function
193a2322147SMartin Mares	somewhat illogically uses the binary flag for the compressed file
194a2322147SMartin Mares	instead of the decompressed stream inside, where binariness really
195a2322147SMartin Mares	matters.
196a2322147SMartin Mares
1974f2c5b94SMartin Mares2007-08-14  Martin Mares  <[email protected]>
1984f2c5b94SMartin Mares
1994f2c5b94SMartin Mares	* lspci.c (show_ht): Added decoding of Hypertransport MSI mapping capability,
2004f2c5b94SMartin Mares	based on a patch by Jason Gunthorpe.
2014f2c5b94SMartin Mares
2024f2c5b94SMartin Mares	* tests/cap-MSI-mapping: Added a test case. I plan to add test cases
2034f2c5b94SMartin Mares	(which are dumps of config space) for all new features.
2044f2c5b94SMartin Mares
2050d7f5331SMartin Mares2007-06-20  Martin Mares  <[email protected]>
2060d7f5331SMartin Mares
2077cebe481SMartin Mares	* Released as 2.2.6.
2087cebe481SMartin Mares
2090d7f5331SMartin Mares	* Makefile: Added an "install-lib" target. Thanks to Dan Nicholson
2100d7f5331SMartin Mares	for a patch.
2110d7f5331SMartin Mares
2127cebe481SMartin Mares	* Makefile, lib/Makefile: Generate and install pkg-config file
2137cebe481SMartin Mares	for libpci. Again by Dan Nicholson.
2147cebe481SMartin Mares
2150d7f5331SMartin Mares2007-06-20  Thomas Schwinge  <[email protected]>
2160d7f5331SMartin Mares
2170d7f5331SMartin Mares	* lib/i386-io-hurd.h: Rewritten for new Hurd kernels.
2180d7f5331SMartin Mares
2196e4a45edSMartin Mares2007-05-04  Martin Mares  <[email protected]>
2206e4a45edSMartin Mares
22155c89179SMartin Mares	* Released as 2.2.5.
22255c89179SMartin Mares
2236e4a45edSMartin Mares	* pci.ids: Updated to the current snapshot of the database.
2246e4a45edSMartin Mares
225d0b07542SMartin Mares2007-02-14  Martin Mares  <[email protected]>
226d0b07542SMartin Mares
227d0b07542SMartin Mares	* lspci.c (show_express): Added PCI/PCI-X to PCI-Express Bridge type.
228d0b07542SMartin Mares	Patch by Mark Glines.
229d0b07542SMartin Mares
2303df35926SMartin Mares2007-02-09  Martin Mares  <[email protected]>
2313df35926SMartin Mares
2323df35926SMartin Mares	* pci.ids: Updated to the current snapshot of the database.
2333df35926SMartin Mares
234e49ed044SMartin Mares2007-02-06  Martin Mares  <[email protected]>
235e49ed044SMartin Mares
2361ac3a99dSMartin Mares	* Replaced bzero() by memset() everywhere, it's better to lose a tiny
2371ac3a99dSMartin Mares	bit of readability than maintain hacks to make it work on various systems.
2381ac3a99dSMartin Mares
239b0eb18ccSMartin Mares	* lib/configure: tr on Solaris is a bit weird and it requires `[A-Z]'
240b0eb18ccSMartin Mares	instead of `A-Z'. Fortunately, the extra brackets don't hurt otherwise.
241b0eb18ccSMartin Mares
242e49ed044SMartin Mares	* lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise
243e49ed044SMartin Mares	integer types.
244e49ed044SMartin Mares
2459de2768cSMartin Mares2007-02-04  Martin Mares  <[email protected]>
2469de2768cSMartin Mares
2479de2768cSMartin Mares	* lspci.c: alloca() needs <alloca.h>.
2489de2768cSMartin Mares
249d19394dbSMartin Mares2006-09-17  Martin Mares  <[email protected]>
250d19394dbSMartin Mares
251d19394dbSMartin Mares	* lib/dump.c: Fixed a couple of bugs in the dump backend which caused
252d19394dbSMartin Mares	devices with domains or with extended config space to be read incorrectly.
253d19394dbSMartin Mares	Also, dumps with partial lines are allowed now.
254d19394dbSMartin Mares
255934e7e36SMartin Mares2006-09-10  Martin Mares  <[email protected]>
256934e7e36SMartin Mares
257f09856deSMartin Mares	* pci.ids: Updated to the current database snapshot.
258f09856deSMartin Mares
259934e7e36SMartin Mares	* lspci.c (scan_device): If an error occurs when reading the standard config
260934e7e36SMartin Mares	header of a device, report it and ignore the device and return with exit
261934e7e36SMartin Mares	code 2 at the end.
262934e7e36SMartin Mares
263b2055313SMartin Mares2006-09-09  Martin Mares  <[email protected]>
264b2055313SMartin Mares
265fb260653SMartin Mares	* Released as 2.2.4.
266fb260653SMartin Mares
2671865e2ddSMartin Mares	* maint/release: Remind the maintainer about the current PCI_LIB_VERSION.
2681865e2ddSMartin Mares
269028dffb2SMartin Mares	* lib/pci.h: Updated PCI_LIB_VERSION.
270028dffb2SMartin Mares
27113081e57SMartin Mares	* lspci.c (show_machine): In the `-m' mode, do proper shell escaping
27213081e57SMartin Mares	if the fields printed contain quotes or backslashes.
27313081e57SMartin Mares
2743fd6b4d2SMartin Mares	* lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse
2753fd6b4d2SMartin Mares	of the `Device' tag for two different purposes.
2763fd6b4d2SMartin Mares
277840d09aeSMartin Mares	* Makefile: Moved all system-dependent decisions to lib/configure,
278840d09aeSMartin Mares	since config.mk is included in the top-level Makefile anyway.
279840d09aeSMartin Mares
2802100f710SMartin Mares	* lib/configure: When configuring for Linux, ignore the kernel version
2812100f710SMartin Mares	and always build all access methods.
2822100f710SMartin Mares
2833e9c7a18SMartin Mares	* Makefile (CFLAGS): Removed -Winline, it's not needed and triggers
2843e9c7a18SMartin Mares	at many non-interesting places with gcc 3.4.
2853e9c7a18SMartin Mares
28694db5c82SMartin Mares	* Whitespace cleanup of all source files.
28794db5c82SMartin Mares
288cc062b4aSMartin Mares	* The pci.ids file can be stored compressed if zlib is available.
289cc062b4aSMartin Mares	Added transparent decompression to lib/names.c, modified update-pciids.sh
290cc062b4aSMartin Mares	to keep the file compressed if applicable, updated Makefiles.
291cc062b4aSMartin Mares	Based on a patch by Matthew Wilcox, but all the bugs are mine.
292cc062b4aSMartin Mares
293f4ddb8d3SMartin Mares	* Makefile, README: Allow installation to be done to a different directory
294f4ddb8d3SMartin Mares	from the one we will eventually be placed in by setting DESTDIR.
295f4ddb8d3SMartin Mares	Patch by Matthew Wilcox.
296f4ddb8d3SMartin Mares
29716e37012SMartin Mares	* Added .gitignore files.
29816e37012SMartin Mares
299c7f5314dSMartin Mares	* Makefile (clean): Clean *.orig, too.
300c7f5314dSMartin Mares
301afebde01SMartin Mares	* Cleaned up usage of `char' and `byte'.
302afebde01SMartin Mares
303fd54ccebSMartin Mares	* lib/header.h: PCI_CLASS_DOCKING_OTHER should be 0x0a80, not 0x0a01.
304fd54ccebSMartin Mares
305b2055313SMartin Mares	* lib/header.h: Added PCI_CLASS_xxx constants for all classes currently
306b2055313SMartin Mares	defined in the pci.ids file.
307b2055313SMartin Mares
3084254d153SMartin Mares2006-08-01  Martin Mares  <[email protected]>
3094254d153SMartin Mares
3104254d153SMartin Mares	* lib/i386-io-hurd.h: Fixed a silly typo.
3114254d153SMartin Mares
3121c5cc9b5SMartin Mares2006-07-30  Martin Mares  <[email protected]>
3131c5cc9b5SMartin Mares
31438a9e3c3SMartin Mares	* lib/Makefile: Added a missing rule for obsd-device.o.
31538a9e3c3SMartin Mares
316c7ddfa3eSMartin Mares	* lspci.c, lib/header.h: Added support for MSI per-vector masking.
317c7ddfa3eSMartin Mares	Contributed by Petr Vandrovec.
318c7ddfa3eSMartin Mares
319248a04f8SMartin Mares	* lspci.c, lib/header.h: Added support for the `bridge subsystem ID'
320248a04f8SMartin Mares	capability. Contributed by Petr Vandrovec.
321248a04f8SMartin Mares
322f29dcc87SMartin Mares	* lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable
323f29dcc87SMartin Mares	memory windows. Fix by Petr Vandrovec.
324f29dcc87SMartin Mares
3258eab3bffSMartin Mares	* maint/release.pm: Exclude .git directory from releases.
3268eab3bffSMartin Mares
327d305d704SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Report failures during port access
328d305d704SMartin Mares	initialization by a->warn() instead of calling printf() or perror()
329d305d704SMartin Mares	directly.
330d305d704SMartin Mares
3319007a292SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Moved the logic which keeps track of
3329007a292SMartin Mares	the port access state to generic code.
3339007a292SMartin Mares
334bd20d5b5SMartin Mares	* lib/i386-io-hurd.h: Ask the kernel for I/O port access appropriately.
335bd20d5b5SMartin Mares	Contributed by Thomas Schwinge and Samuel Thibault.
336bd20d5b5SMartin Mares
33773750606SMartin Mares	* lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module.
33873750606SMartin Mares
339d71daa45SMartin Mares	* lib/header.h: Whitespace cleanups.
340d71daa45SMartin Mares
3411c5cc9b5SMartin Mares	* lib/i386-io-windows.h: Fixed indentation and spelling.
3421c5cc9b5SMartin Mares
3431c5cc9b5SMartin Mares	* README.Windows: Mention that WinIO.dll is needed and where to get it.
3441c5cc9b5SMartin Mares
345c2b144efSMartin Mares2006-06-27  Martin Mares  <[email protected]>
346c2b144efSMartin Mares
34714d4f989SMartin Mares	* lib/Makefile, Makefile: Added rules for building and cleaning the example.
34814d4f989SMartin Mares
34914d4f989SMartin Mares	* lib/example.c: Show how to use PCI_FILL_CLASS and used another register
35014d4f989SMartin Mares	for demonstrating the config space accesses. The example is still very
35114d4f989SMartin Mares	incomplete, though.
35214d4f989SMartin Mares
353c2b144efSMartin Mares	* lib/pci.h, lib/generic.c: Added PCI_FILL_CLASS.
354c2b144efSMartin Mares
355c2b144efSMartin Mares	* lib/sysfs.c: Fetch device ID and class from sysfs, because they can
356c2b144efSMartin Mares	be modified by kernel fixups.
357c2b144efSMartin Mares
358c2b144efSMartin Mares	* lspci.c: Use PCI_FILL_CLASS. Thanks to Matthew Willcox for the patch.
359c2b144efSMartin Mares
360bc2eed2dSMartin Mares2006-06-03  Martin Mares  <[email protected]>
361bc2eed2dSMartin Mares
362bc2eed2dSMartin Mares	* lspci.c: Introduced the -nn switch. Thanks to David N. Welton
363bc2eed2dSMartin Mares	for the idea.
364bc2eed2dSMartin Mares
365bc2eed2dSMartin Mares	* lib/names.c (pci_lookup_name): Introduced PCI_LOOKUP_MIXED and
366bc2eed2dSMartin Mares	cleaned up the name selection code.
367bc2eed2dSMartin Mares
368c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): If PCI_LOOKUP_NO_NUMBERS is given,
369c72eeddeSMartin Mares	pci_access->numeric_ids is ignored.
370c72eeddeSMartin Mares
371c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): When class is identified and
372c72eeddeSMartin Mares	subclass isn't, display class name and subclass number.
373c72eeddeSMartin Mares
3742f294d4bSMartin Mares2006-05-31  Martin Mares  <[email protected]>
3752f294d4bSMartin Mares
3762f294d4bSMartin Mares	* setpci.c (main): Don't crash when an invalid width is specified.
3772f294d4bSMartin Mares
37881afa98cSMartin Mares	* lspci.c, setpci.c, common.c: die() now uses the right program
37981afa98cSMartin Mares	name when printing an error message.
38081afa98cSMartin Mares
3810ac282f2SMartin Mares2006-05-19  Martin Mares  <[email protected]>
3820ac282f2SMartin Mares
3830ac282f2SMartin Mares	* README: Mention the public GIT tree.
3840ac282f2SMartin Mares
3850ac282f2SMartin Mares	* README: Updated the list of ports.
3860ac282f2SMartin Mares
387d1058e9dSMartin Mares2006-05-10  Martin Mares  <[email protected]>
388d1058e9dSMartin Mares
389d1058e9dSMartin Mares	* lib/configure, lib/fbsd-device.c: Added support for GNU/kFreeBSD.
390d1058e9dSMartin Mares	Thanks to Petr Salinger for the patch.
391d1058e9dSMartin Mares
392abf8d505SMartin Mares2006-05-05  Martin Mares  <[email protected]>
393abf8d505SMartin Mares
3942ae2d1aeSMartin Mares	* Released as 2.2.3.
3952ae2d1aeSMartin Mares
3962ae2d1aeSMartin Mares	* lspci.c (scan_device): The -D switch didn't work as intended
3972ae2d1aeSMartin Mares	in -m mode.
3982ae2d1aeSMartin Mares
3992ae2d1aeSMartin Mares2006-05-05  Martin Mares  <[email protected]>
4002ae2d1aeSMartin Mares
4011d5cf727SMartin Mares	* Released as 2.2.2.
4021d5cf727SMartin Mares
4038a830168SMartin Mares	* pci.ids: Updated to the current database snapshot.
4048a830168SMartin Mares
405b6359063SMartin Mares	* lib/obsd-device.c (and other files in lib/*): Added OpenBSD
406b6359063SMartin Mares	interface by Matthieu Herrb <[email protected]>, based on
407b6359063SMartin Mares	the existing FreeBSD interface.
408b6359063SMartin Mares
409abf8d505SMartin Mares	* Moved pciutils to a GIT repository, which now contains merged
410abf8d505SMartin Mares	history from both CVS and Arch. Good bye, TLA!
411abf8d505SMartin Mares
4126ac70402SMartin Mares2006-03-21  Martin Mares  <[email protected]>
4136ac70402SMartin Mares
4142a124daeSMartin Mares	* lspci.c (show_slot_name): Avoid the previous changes in default
4152a124daeSMartin Mares	display of domain name when in machine-readable mode. However, `-D'
4162a124daeSMartin Mares	forces domain display even there.
4172a124daeSMartin Mares
4186ac70402SMartin Mares	* lspci.man: Added a warning on -m being the only format, which is
4196ac70402SMartin Mares	guaranteed to be stable between lspci versions.
4206ac70402SMartin Mares
4211bbdea17SMartin Mares2006-03-13  Martin Mares  <[email protected]>
4221bbdea17SMartin Mares
423af61eb25SMartin Mares	* lspci.man: Documented the -D switch.
424af61eb25SMartin Mares
425af61eb25SMartin Mares	* lspci.c (show_slot_name, scan_device): If there are multiple PCI
426af61eb25SMartin Mares	domains or if the `-D' switch is used, show the domain number for
427af61eb25SMartin Mares	all devices.
428af61eb25SMartin Mares
4297a61b93cSMartin Mares	* lspci.c (show_verbose): Report cache line size in bytes.
4307a61b93cSMartin Mares
4311bbdea17SMartin Mares	* update-pciids.sh: Use curl if available. Patch by Matthew Wilcox.
4321bbdea17SMartin Mares
4330e78ef8aSMartin Mares2006-01-04  Martin Mares  <[email protected]>
4340e78ef8aSMartin Mares
4350e78ef8aSMartin Mares	* lspci.c (show_express_link): Fixed decoding of link status register.
4360e78ef8aSMartin Mares	Thanks to Roland Dreier for his report.
4370e78ef8aSMartin Mares
438e6859953SMartin Mares2005-12-12  Martin Mares  <[email protected]>
439e6859953SMartin Mares
440e6859953SMartin Mares	* lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow
441e6859953SMartin Mares	at least read-only access. Patch by Pavel Celeda <[email protected]>.
442e6859953SMartin Mares
443e6859953SMartin Mares	* Makefile: Corrected library path on NetBSD.
444e6859953SMartin Mares
445a99c0d69SMartin Mares2005-11-26  Martin Mares  <[email protected]>
446a99c0d69SMartin Mares
447e4af70c6SMartin Mares	* Released as 2.2.1.
448e4af70c6SMartin Mares
449a99c0d69SMartin Mares	* lspci.c (show_machine): Subsystem vendors were printed incorrectly
450a99c0d69SMartin Mares	in machine-readable modes. Thanks to Pavel Celeda for a bug report.
451a99c0d69SMartin Mares
452f23fd3fcSMartin Mares2005-10-11  Martin Mares  <[email protected]>
453f23fd3fcSMartin Mares
454f23fd3fcSMartin Mares	* lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it.
455f23fd3fcSMartin Mares
45615296723SMartin Mares2005-09-21  Martin Mares  <[email protected]>
45715296723SMartin Mares
45815296723SMartin Mares	* Released as 2.2.0.
45915296723SMartin Mares
46040b6d93fSMartin Mares	* pci.ids: Updated copyright header.
46140b6d93fSMartin Mares
46215296723SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported
46315296723SMartin Mares	64-bit addresses, they are now always supported.
46415296723SMartin Mares
46515296723SMartin Mares	* lspci.c (show_bases): Corrected printing of 64-bit addresses
46615296723SMartin Mares	in bus-centric mode.
46715296723SMartin Mares
46815296723SMartin Mares	* lib/configure: Enable 64-bit addresses on all Linux systems.
46915296723SMartin Mares
47015296723SMartin Mares	* lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they
47115296723SMartin Mares	are shorter.
47215296723SMartin Mares
473224707baSMartin Mares2005-09-11  Martin Mares  <[email protected]>
474224707baSMartin Mares
475224707baSMartin Mares	* Released as 2.1.99-test11.
476224707baSMartin Mares
477224707baSMartin Mares	* lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls.
478224707baSMartin Mares
479aeaca5d3SMartin Mares2005-09-10  Martin Mares  <[email protected]>
480aeaca5d3SMartin Mares
481224707baSMartin Mares	* Released as 2.1.99-test10.
482224707baSMartin Mares
48363e6f2e0SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
48463e6f2e0SMartin Mares
485043ebdeeSMartin Mares	* update-pciids.sh: Changed the default URL for downloading pci.ids
486043ebdeeSMartin Mares	to http://pciids.sourceforge.net/v2.2/pci.ids.
487043ebdeeSMartin Mares
488043ebdeeSMartin Mares	* lib/pci.h (PCI_LIB_VERSION): Added version identifier.
489043ebdeeSMartin Mares
490aeaca5d3SMartin Mares	* lib/names.c: Rewritten the name database module almost from scratch.
491aeaca5d3SMartin Mares	Everything is much cleaner and there are hopefully no more memory leaks;
492aeaca5d3SMartin Mares	pci_lookup_name() now uses varargs in a backward compatible fashion.
493aeaca5d3SMartin Mares	Introduced PCI_LOOKUP_NO_NUMBERS.
494aeaca5d3SMartin Mares
495aeaca5d3SMartin Mares	The new code supports subsystem entries not tied to a specific device.
496aeaca5d3SMartin Mares	I had to extend the format of pci.ids in order to support it, so I have
497aeaca5d3SMartin Mares	extended the idea of the "C" (class) blocks and introduced "S" blocks
498aeaca5d3SMartin Mares	for subsystems. To avoid doing more incompatible changes in the future,
499aeaca5d3SMartin Mares	the parser skips unknown single-letter blocks without reporting errors.
500aeaca5d3SMartin Mares
501121c76c9SMartin Mares2005-08-23  Martin Mares  <[email protected]>
502121c76c9SMartin Mares
50354e13765SMartin Mares	* Released as 2.1.99-test9.
50454e13765SMartin Mares
50554e13765SMartin Mares	* Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent
50654e13765SMartin Mares	gcc versions when optimizing anyway.
50754e13765SMartin Mares
50854e13765SMartin Mares	* Made the path to pci.ids customizable and independent on the SHAREDIR.
50954e13765SMartin Mares	Just override IDSDIR in the top-level Makefile.
51054e13765SMartin Mares
51154e13765SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
51254e13765SMartin Mares
51384d437d6SMartin Mares	* lspci.man, setpci.man: Improved the man pages. Documented all access
51484d437d6SMartin Mares	methods and which operations are privileged.
51584d437d6SMartin Mares
51684d437d6SMartin Mares	* lspci.c: Another rewrite of config register caching, now also including
51784d437d6SMartin Mares	lots of internal checks. It should be now perfectly able to cope with
51884d437d6SMartin Mares	portions of the configuration space being inaccessible, for example
51984d437d6SMartin Mares	due to insufficient access rights.
52084d437d6SMartin Mares
5213b8bf739SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X
5223b8bf739SMartin Mares	capabilities. Includes partial support for PCI-X 2.0 (probably incomplete
5233b8bf739SMartin Mares	as I haven't seen the spec).
5243b8bf739SMartin Mares
5253b8bf739SMartin Mares	* lspci.c: Quell warnings about unused parameters.
5263b8bf739SMartin Mares
52784d437d6SMartin Mares	* lspci.c: Removed C++ comments.
52884d437d6SMartin Mares
5293b8bf739SMartin Mares	* lib/header.h: Merged definitions of extended capabilities and some new
5303b8bf739SMartin Mares	PCI-X capability bits from linux-2.6.11/include/pci.h.
5313b8bf739SMartin Mares
5323b8bf739SMartin Mares	* lspci.c (show_caps): Try to scan extended capabilities only if the
5333b8bf739SMartin Mares	device has either PCI-X or PCI Express capability in its normal capability
5343b8bf739SMartin Mares	list.
5353b8bf739SMartin Mares
536f7821e53SMartin Mares	* lib/dump.c (dump_init): Reading of dumps works again. The dump reader
537f7821e53SMartin Mares	now also remembers how much data it has read and refuses attempts to
538f7821e53SMartin Mares	access more than that.
539ea4e5f5dSMartin Mares
54046ea554dSMartin Mares	* setpci.man, lspci.c, README: prefer spelling "buses" over "busses".
54146ea554dSMartin Mares
5428afaab22SMartin Mares	* lspci.c: If alloca() is not available, use xmalloc(), not malloc().
5438afaab22SMartin Mares
544121c76c9SMartin Mares	* lib/configure: Added x86_64 on Linux.
545121c76c9SMartin Mares
546c1c2c30eSMartin Mares2005-08-22  Martin Mares  <[email protected]>
547c1c2c30eSMartin Mares
548b9ca9147SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters.
549b9ca9147SMartin Mares	Thanks to Matthew Wilcox for bug report.
550b9ca9147SMartin Mares
551c1c2c30eSMartin Mares	* lspci.c: Corrected spelling of "Hz" (it was "hz" at several places).
552b9ca9147SMartin Mares	Thanks to Krzysztof Oledzki for pointing that out.
553c1c2c30eSMartin Mares
55426542a0bSMartin Mares2004-08-19  Martin Mares  <[email protected]>
55526542a0bSMartin Mares
55626542a0bSMartin Mares	* pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism,
55726542a0bSMartin Mares	because pciutils by default install to /usr/sbin. Update.
55826542a0bSMartin Mares
5596aa54f1bSMartin Mares2004-08-13  Martin Mares  <[email protected]>
5606aa54f1bSMartin Mares
561aabb0a92SMartin Mares	* Released as 2.1.99-test8.
562aabb0a92SMartin Mares
563f31412d1SMartin Mares	* lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are
564f31412d1SMartin Mares	no longer exported to the outside world.
565f31412d1SMartin Mares
566ee7d8384SMartin Mares	* README.Windows: Updated.
567ee7d8384SMartin Mares
568ee7d8384SMartin Mares	* maint/release: Substitute version number in win32/config.h.
569ee7d8384SMartin Mares
570ee7d8384SMartin Mares	* win32/config.h: Added.
571ee7d8384SMartin Mares
572ee7d8384SMartin Mares	* lib/sysdep.h (bzero, strcasecmp): are macros on Windows.
573ee7d8384SMartin Mares
574ee7d8384SMartin Mares	* compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU
575ee7d8384SMartin Mares	C library for use on systems where the default libraries lack
576ee7d8384SMartin Mares	proper getopt. Currently used by the Windows port.
577ee7d8384SMartin Mares
578ee7d8384SMartin Mares	* lib/sysdep.h, lib/types.h: Updates of the Windows port from
579ee7d8384SMartin Mares	Alexander Stock.
580ee7d8384SMartin Mares
581489233b4SMartin Mares	* lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define
582489233b4SMartin Mares	its own u8, u16, u32, byte and word types and uses what the user
583489233b4SMartin Mares	has supplied instead. With this change, all namespace clashes should
584489233b4SMartin Mares	be gone.
585489233b4SMartin Mares
586489233b4SMartin Mares	* Makefile, lib/Makefile: Updated dependencies.
587489233b4SMartin Mares
588489233b4SMartin Mares	* pciutils.h: Include lib/sysdep.h and move NONRET et al. there.
589489233b4SMartin Mares
590489233b4SMartin Mares	* lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because
591489233b4SMartin Mares	it is included unconditionally in lib/types.h.
592489233b4SMartin Mares
593489233b4SMartin Mares	* Moved system-dependent stuff from lib/internal.h to lib/sysdep.h,
594489233b4SMartin Mares	which is also used by the utilities. Also moved type declarations
595489233b4SMartin Mares	from lib/pci.h to lib/types.h.
596489233b4SMartin Mares
597489233b4SMartin Mares	* All files: Prepend a "PCI_" prefix in front of all configuration
598489233b4SMartin Mares	defines to avoid namespace clashes. CAVEAT: If there is any libpci
599489233b4SMartin Mares	application using the (undocumented) defines, it has to be updated.
600489233b4SMartin Mares
601489233b4SMartin Mares	* lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing
602489233b4SMartin Mares	headers with the kernel a couple of years ago.
603489233b4SMartin Mares
6049bb4b4eaSMartin Mares	* lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6.
6059bb4b4eaSMartin Mares
6066aa54f1bSMartin Mares	* lspci.c (show_rom): Use the same logic for printing disabled
6076aa54f1bSMartin Mares	or unassigned ROM's as we do in show_bases() for the other BAR's.
6086aa54f1bSMartin Mares
6096aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Better reaction to
6106aa54f1bSMartin Mares	invalid 64-bit addresses. Also d->hdrtype should not include
6116aa54f1bSMartin Mares	bit 7, which caused mysterious errors on multi-function devices.
6126aa54f1bSMartin Mares
6136aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Fill in base addresses
6146aa54f1bSMartin Mares	even if the regions are known to be disabled. It is the client's
6156aa54f1bSMartin Mares	job to interpret them. (And it is not a trivial job if you want
6166aa54f1bSMartin Mares	to do it correctly, since you need to check I/O and memory enables
6176aa54f1bSMartin Mares	on all upstream bridges, too.) However, it could be interesting to
6186aa54f1bSMartin Mares	introduce functions for interpreting the addresses and even for
6196aa54f1bSMartin Mares	mapping the regions and doing I/O on them.
6206aa54f1bSMartin Mares
62180e6c636SMartin Mares2004-07-30  Martin Mares  <[email protected]>
62280e6c636SMartin Mares
62380e6c636SMartin Mares	* lspci.c: HyperTransport improvements from Maciej.
62480e6c636SMartin Mares
625d6324891SMartin Mares2004-07-11  Martin Mares  <[email protected]>
626d6324891SMartin Mares
627d6324891SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Arguments now correspond
628d6324891SMartin Mares	to the format string. [Patch by Bill Nottingham]
629d6324891SMartin Mares
630ec25b52dSMartin Mares2004-07-05  Martin Mares  <[email protected]>
631ec25b52dSMartin Mares
632362be683SMartin Mares	* Released as 2.1.99-test7.
633362be683SMartin Mares
634ec25b52dSMartin Mares	* lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but
635ec25b52dSMartin Mares	ended up with rewriting the fetching mechanism to be fully dynamic,
636ec25b52dSMartin Mares	but avoid reading config space registers not explicitly requested.
637ec25b52dSMartin Mares
638ec25b52dSMartin Mares2004-06-29  Matthew Wilcox <[email protected]>
639ec25b52dSMartin Mares
640ec25b52dSMartin Mares	* lspci.c: More work on PCI Express dumping.
641ec25b52dSMartin Mares
642ec25b52dSMartin Mares	* lib/header.h: Updated PCI Express capability definitions.
643ec25b52dSMartin Mares
644ec25b52dSMartin Mares	* lib/proc.c (proc_read): Removed bogus warning.
645ec25b52dSMartin Mares
646ec25b52dSMartin Mares	* common.c (xrealloc): Introduced.
647ec25b52dSMartin Mares
648ec25b52dSMartin Mares	* lspci.man: Added -xxxx.
649ec25b52dSMartin Mares
65009817437SMartin Mares2004-06-27  Martin Mares  <[email protected]>
65109817437SMartin Mares
652d1fa27ebSMartin Mares	* Released as 2.1.99-test6.
653d1fa27ebSMartin Mares
6544d67aa89SMartin Mares	* lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap.
6554d67aa89SMartin Mares	Patch by Roland Dreier <[email protected]>, cleaned up by me.
6564d67aa89SMartin Mares
6574d67aa89SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch()
6584d67aa89SMartin Mares	failures.
6594d67aa89SMartin Mares
6604d67aa89SMartin Mares	* lib/header.h: Added PCI Express extended capabilities. Again by Matthew.
6614d67aa89SMartin Mares
6624d67aa89SMartin Mares	* lspci.c (show_express): Added dumping of PCI Express cap.
6634d67aa89SMartin Mares	Patch by Matthew Wilcox.
6644d67aa89SMartin Mares
6654d67aa89SMartin Mares	* lib/header.h: Added a list of PCI 3.0 capabilities and also details
6664d67aa89SMartin Mares	on PCI Express caps. Patch by Matthew Wilcox <[email protected]>.
6674d67aa89SMartin Mares
66809817437SMartin Mares	* lspci.c (check_root): Gone. No explicit checks for root are needed,
66909817437SMartin Mares	report correct errors reported by the libpci instead.
67009817437SMartin Mares
67109817437SMartin Mares	* lspci.c: Added dumping of the extended config space on "-xxxx".
67209817437SMartin Mares	Better caching of config registers.
67309817437SMartin Mares
67409817437SMartin Mares	* setpci.c (main): Allow access to whole 4096 bytes of the config space.
67509817437SMartin Mares
67609817437SMartin Mares	* lib/sysfs.c, lib/proc.c: Don't print error messages on short reads,
67709817437SMartin Mares	just return the appropriate error code.
67809817437SMartin Mares
67909817437SMartin Mares	* lib: Added support for extended (4096-byte) configuration space,
68009817437SMartin Mares	currently implemented only in Linux proc and sysfs access methods
68109817437SMartin Mares	and of course in the dump reader.
68209817437SMartin Mares
6830d656226SMartin Mares2004-05-29  Martin Mares  <[email protected]>
6840d656226SMartin Mares
685c0eece92SMartin Mares	* Released as 2.1.99-test5.
686c0eece92SMartin Mares
687a2413560SMartin Mares	* lib/pci.h: Windows don't have the standard u_int* types.
688a2413560SMartin Mares
689a2413560SMartin Mares	* lib/internal.h: <sys/param.h> required on Windows for endianity
690a2413560SMartin Mares	macros.
691a2413560SMartin Mares
692a2413560SMartin Mares	* lib/i386-ports.c: Connected i386-io-windows.h.
693a2413560SMartin Mares
694a2413560SMartin Mares	* lspci.c (check_root): geteuid() is not available on Windows.
695a2413560SMartin Mares
696a2413560SMartin Mares	* lib/i386-io-windows.h: Added Windows port contributed by Alexander
697a2413560SMartin Mares	Stock <[email protected]>.
698a2413560SMartin Mares
699a2413560SMartin Mares	* lib/configure: Hopefully fixed SunOS port broken by various
700a2413560SMartin Mares	changes to the configure script.
701a2413560SMartin Mares
7020d656226SMartin Mares	* Makefile, lib/configure: Cross-compilation support, patch by Maciej.
7030d656226SMartin Mares
704138c0385SMartin Mares2004-05-28  Martin Mares  <[email protected]>
705138c0385SMartin Mares
7069f490382SMartin Mares	* Released as 2.1.99-test4.
7079f490382SMartin Mares
708cce2caacSMartin Mares	* lspci.c (show_verbose): Header type 1 is probably legal for all
709cce2caacSMartin Mares	types of bridges, not only for PCI-to-PCI bridges.
710cce2caacSMartin Mares
711b569ef09SMartin Mares	* lspci.c (format_agp_rate): Write "x16", not "x@".
712b569ef09SMartin Mares	(show_agp): rate[] could overflow.
713b569ef09SMartin Mares	Bugs reported by Jakub Bogusz <[email protected]>.
714b569ef09SMartin Mares
715bfc4fe7aSMartin Mares	* lspci.c (show_ht_*): Show HyperTransport capability with all its
716bfc4fe7aSMartin Mares	details. Once again code by Maciej simplified (i.e., possibly broken)
717bfc4fe7aSMartin Mares	by me.
718bfc4fe7aSMartin Mares
719bfc4fe7aSMartin Mares	* lib/header.h: Added declarations of HyperTransport capability.
720bfc4fe7aSMartin Mares	Again thanks to Maciej.
721bfc4fe7aSMartin Mares
722138c0385SMartin Mares	* lspci.c: Decode all bits of the secondary status word in type 1 headers.
723138c0385SMartin Mares	Thanks to Maciej W. Rozycki <[email protected]> for the patch.
724138c0385SMartin Mares
7258fc75dbcSMartin Mares2003-12-27  Martin Mares  <[email protected]>
7268fc75dbcSMartin Mares
72781abd2a7SMartin Mares	* Released as 2.1.99-test3.
72881abd2a7SMartin Mares
7291f7c91ccSMartin Mares	* lspci.man, setpci.man: Document domains and correct spelling.
7301f7c91ccSMartin Mares
7311f7c91ccSMartin Mares	* lib/dump.c (dump_init): Added ability to read domain numbers.
7321f7c91ccSMartin Mares
73384c8d1bbSMartin Mares	* lspci.c: Devices in domains different from 0 have their slot number
7341f7c91ccSMartin Mares	printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains
7351f7c91ccSMartin Mares	as well.
73684c8d1bbSMartin Mares
73784c8d1bbSMartin Mares	* lib/filter.c: Slot filters understand domains.
73884c8d1bbSMartin Mares
73984c8d1bbSMartin Mares	* lib/generic.c: Mention the domain in slot numbers in all error messages.
74084c8d1bbSMartin Mares
74184c8d1bbSMartin Mares	* lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong.
74284c8d1bbSMartin Mares
74384c8d1bbSMartin Mares	* lib/access.c (pci_get_dev): Added support for domains.
74484c8d1bbSMartin Mares
74584c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config
74684c8d1bbSMartin Mares	registers (or to be precise, leave it for the generic parts of the pcilib
74784c8d1bbSMartin Mares	to do so) instead of reading them from the sysfs. It's faster this way.
74884c8d1bbSMartin Mares
74984c8d1bbSMartin Mares	* lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal
75084c8d1bbSMartin Mares	variable. Better read it from the config registers (it's cached anyway).
75184c8d1bbSMartin Mares
75284c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype.
75384c8d1bbSMartin Mares	  lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it.
75484c8d1bbSMartin Mares	  Saves lots of unnecessary file accesses.
75584c8d1bbSMartin Mares
75611f7b31bSMartin Mares	* lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter
75711f7b31bSMartin Mares	is not supported by all C libraries.
75811f7b31bSMartin Mares
75911f7b31bSMartin Mares	* Makefile: Always enter the lib directory (remember that we don't have
76011f7b31bSMartin Mares	full dependecies for the library in the top-level Makefile; hmmm, another
76111f7b31bSMartin Mares	thing to rewrite some day).
76211f7b31bSMartin Mares
76311f7b31bSMartin Mares	* lib/sysfs.c: Added Linux sysfs access method based on the patch
76411f7b31bSMartin Mares	written by Matthew Wilcox <[email protected]>.
76511f7b31bSMartin Mares
76611f7b31bSMartin Mares	* lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc".
76711f7b31bSMartin Mares
76811f7b31bSMartin Mares	* lib/pread.h: The hacks to support pread on various versions
76911f7b31bSMartin Mares	of Linux libc moved there.
77011f7b31bSMartin Mares
77111f7b31bSMartin Mares	* lib/proc.c (proc_setup): The return value of snprintf() varies
77211f7b31bSMartin Mares	between glibc versions, so we need to check both for a negative
77311f7b31bSMartin Mares	values and for too large values.
77411f7b31bSMartin Mares
7754284af58SMartin Mares	* Removed last few references to the "Linux PCI Utilities", the
7764284af58SMartin Mares	package is pretty cross-platform now :)
7774284af58SMartin Mares
7784284af58SMartin Mares2003-12-27  Martin Mares  <[email protected]>
7794284af58SMartin Mares
780ab12277eSMartin Mares	* Released as 2.1.99-test2.
781ab12277eSMartin Mares
782ab12277eSMartin Mares	* README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the
783ab12277eSMartin Mares	release scripts insert the current version. "make release" is gone.
784ab12277eSMartin Mares
785ab12277eSMartin Mares	* maint/release, maint/release.pm: Added a new system of scripts for
786ab12277eSMartin Mares	making releases including inter-version diffs etc.
787ab12277eSMartin Mares
788ab12277eSMartin Mares	* Makefile: Cleaned up.
789ab12277eSMartin Mares
790ab12277eSMartin Mares	* lib/fbsd-device.c: I patched another copy of this file by mistake,
791ab12277eSMartin Mares	this time the version checks should be right.
792ab12277eSMartin Mares
793ab12277eSMartin Mares2003-12-27  Martin Mares  <[email protected]>
794ab12277eSMartin Mares
7956d722cd6SMartin Mares	* Released as 2.1.99-test1.
7966d722cd6SMartin Mares
797dd33246aSMartin Mares	* pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
798dd33246aSMartin Mares	Remove shadows of the syscall access method which was never
799dd33246aSMartin Mares	implemented.
800dd33246aSMartin Mares
80180b3121aSMartin Mares	* update-pciids.sh: Try to preserve permissions of the old file
80280b3121aSMartin Mares	if chmod supports --reference. Should close Debian Bug #223740.
80380b3121aSMartin Mares
8046aea909aSMartin Mares	* lib/proc.c (proc_setup): Increased path name length limit to 1024.
8056aea909aSMartin Mares	Thanks for Redhat and Mandrake for inspiration.
8066aea909aSMartin Mares
8076aea909aSMartin Mares	* lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
8086aea909aSMartin Mares	Grabbed from Redhat (Fedora) patches.
8096aea909aSMartin Mares
8106aea909aSMartin Mares2003-12-27  Martin Mares  <[email protected]>
8116aea909aSMartin Mares
812f701ff47SMartin Mares	Merged bug fixes from Debian patches:
813f701ff47SMartin Mares
814f701ff47SMartin Mares	* lspci.c (show_verbose): "Cache Line Size" should be capitalized.
815f701ff47SMartin Mares
816f701ff47SMartin Mares	* lspci.c (show_pcix_nobridge): Added a missing newline.
817f701ff47SMartin Mares
8182240db8cSMartin Mares	* lib/proc.c (proc_scan): When reading the header type, don't
8192240db8cSMartin Mares	forget to clear the topmost bit indicating that the device has
820f701ff47SMartin Mares	multiple functions.
8212240db8cSMartin Mares
8222240db8cSMartin Mares2003-12-27  Martin Mares  <[email protected]>
8232240db8cSMartin Mares
82445902995SMartin Mares	Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]>
82545902995SMartin Mares	for the patches:
82645902995SMartin Mares
82745902995SMartin Mares	* lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
82845902995SMartin Mares	* lib/fbsd-device.c: Select the right set of system includes according
82945902995SMartin Mares	to __FreeBSD_version.
83045902995SMartin Mares
83145902995SMartin Mares2003-12-27  Martin Mares  <[email protected]>
83245902995SMartin Mares
8338fc75dbcSMartin Mares	Merged support for Solaris on i386 by Bill Moore <[email protected]>
8348fc75dbcSMartin Mares	and cleaned up:
8358fc75dbcSMartin Mares
8368fc75dbcSMartin Mares	* lib/configure: Recognize SunOS.
8378fc75dbcSMartin Mares	* lib/internal.h: Learn how to recognize byte order on SunOS.
8388fc75dbcSMartin Mares	* lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
8398fc75dbcSMartin Mares	* lib/i386-io-linux.h: Linux specific part.
8408fc75dbcSMartin Mares	* lib/i386-io-hurd.h: GNU/Hurd specific part.
8418fc75dbcSMartin Mares	* lib/i386-io-sunos.h: SunOS specific part.
8428fc75dbcSMartin Mares
8439739916eSMartin Mares2003-12-26  Martin Mares  <[email protected]>
8449739916eSMartin Mares
8459739916eSMartin Mares	* lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly.
8469739916eSMartin Mares
8479739916eSMartin Mares	* lib/pci.h: Types declared in <sys/types.h> should be usable on all
8489739916eSMartin Mares	platforms we currently support, so kill the forest of #ifdef's and
8499739916eSMartin Mares	use them in all cases.
8509739916eSMartin Mares
8519739916eSMartin Mares	* lib/pci.h: Use ULONG_MASK to decide whether we should use long
8529739916eSMartin Mares	or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS.
8539739916eSMartin Mares	Define format strings for addresses, port numbers and IRQ numbers
8549739916eSMartin Mares	directly in pci.h.
8559739916eSMartin Mares
8569739916eSMartin Mares	* lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses.
8579739916eSMartin Mares
85880459c65SMartin Mares2003-12-26  Marco Gerards  <[email protected]>
85980459c65SMartin Mares
86080459c65SMartin Mares	Added support for the GNU Hurd (cleaned up by Martin Mares):
86180459c65SMartin Mares
86280459c65SMartin Mares	* lib/configure [GNU]: Use the i386 ports for configuration access.
86380459c65SMartin Mares	* lib/i386-ports.c: Don't call iopl() on the Hurd.
86480459c65SMartin Mares	* lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining
86580459c65SMartin Mares	u8 to u32.
86680459c65SMartin Mares
867a85769a8SMartin Mares2003-12-26  Martin Mares  <[email protected]>
868a85769a8SMartin Mares
8697dacd9c8SMartin Mares	* lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call
8707dacd9c8SMartin Mares	config_fetch() to ensure that the registers have been read. Thanks to
8717dacd9c8SMartin Mares	Bill Wood <[email protected]> for the patch.
8727dacd9c8SMartin Mares
8737dacd9c8SMartin Mares	* lspci.c: Ensure that failure of config_fetch() is handled correctly
8747dacd9c8SMartin Mares	at all places.
8757dacd9c8SMartin Mares
8764063c31cSMartin Mares	* lspci.man: There was one more explicit reference to /usr/share/pci.ids.
8774063c31cSMartin Mares	Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>.
8784063c31cSMartin Mares
8793fe8a38dSMartin Mares	* setpci.c (main): Better error messages.
8803fe8a38dSMartin Mares
8815f5b1a7bSMartin Mares	* setpci.c (ex_op): The demo mode should disable only writing, not reading.
8825f5b1a7bSMartin Mares
8835f5b1a7bSMartin Mares	* setpci.man: The documentation was inconsistent on what should -D do.
8845f5b1a7bSMartin Mares	Document the new behaviour.
885b251f40bSMartin Mares
88691e37a49SMartin Mares	* pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
88791e37a49SMartin Mares	the GCC specific __attribute__((noreturn)) and killed the hack with
88891e37a49SMartin Mares	redefining __attribute__ on non-GCC compilers.
88991e37a49SMartin Mares
8904afd29d3SMartin Mares	* Makefile: Added missing dependencies. Parallel builds work now.
8914afd29d3SMartin Mares	Problem reported by Andreas Haumer <[email protected]>, but I chose
8924afd29d3SMartin Mares	a different fix.
8934afd29d3SMartin Mares
894b0f1a03bSMartin Mares	* Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell
895b0f1a03bSMartin Mares	command every time $(MANDIR) is referenced.
896b0f1a03bSMartin Mares
897b7fd8e19SMartin Mares	* lspci.c (main): The error message for `lspci -s' incorrectly mentioned
898b7fd8e19SMartin Mares	a `-f' switch. Reported by Steve Finney <[email protected]>.
899b7fd8e19SMartin Mares
90005bb10a2SMartin Mares	* lib/generic.c: Removed memory leak in pci_generic_bus_scan().
90105bb10a2SMartin Mares	Reported by Gary Parnes <[email protected]>.
90205bb10a2SMartin Mares
903a832f6f1SMartin Mares	* Replaced obsolete syntax of __attribute__((unused)) in the middle of
904a832f6f1SMartin Mares	parameter declarations (which is no longer supported by GCC 3.1) by the
905a832f6f1SMartin Mares	current syntax (attribute at the end). Thanks to [email protected]
906a832f6f1SMartin Mares	for reporting this problem.
907a832f6f1SMartin Mares
908a85769a8SMartin Mares	* Removed CVS $Id$ tags from all files.
909a85769a8SMartin Mares
910a85769a8SMartin Mares	* Makefile: Added some more warnings.
911a85769a8SMartin Mares
912b7351143SMartin Mares	* setpci.c: Cleaned up mask/value code.
913b7351143SMartin Mares
914b7351143SMartin Mares2003-12-08 Thayne Harbaugh <[email protected]>
915b7351143SMartin Mares
916b7351143SMartin Mares	* setpci.c: Individual bits to be set can be specified as <value>:<mask>.
917b7351143SMartin Mares
9182a5d5cf9SMartin Mares2003-11-29  Martin Mares  <[email protected]>
9192a5d5cf9SMartin Mares
9202a5d5cf9SMartin Mares	* Imported the pciutils sources to my Arch repository. Good-bye, CVS.
9212a5d5cf9SMartin Mares
922d772ef15SMartin Mares2003-01-04  Martin Mares  <[email protected]>
923d772ef15SMartin Mares
9241b95f396SMartin Mares	* Released as 2.1.11.
9251b95f396SMartin Mares
926c83293ebSMartin Mares	* Makefile: Changed configuration of installation directories --
927c83293ebSMartin Mares	all paths are now set at the top of the Makefile instead of being
928c83293ebSMartin Mares	scattered between the installation rules. The default installation
929c83293ebSMartin Mares	now goes always to /usr/local regardless of the OS as most distributions
930c83293ebSMartin Mares	already contain some version of pciutils and we don't want custom
931c83293ebSMartin Mares	installations to interfere with the default ones.
932c83293ebSMartin Mares
933c83293ebSMartin Mares	* Makefile: Removed a couple of ancient install hacks: we no longer
934c83293ebSMartin Mares	try to avoid overwriting a newer pci.ids file (users are now expected
935c83293ebSMartin Mares	to use update-ids) and we don't try to remove /etc/pci.ids (a long time
936c83293ebSMartin Mares	has passed since the last version which used it).
937c83293ebSMartin Mares
938e2875dcdSMartin Mares	* Makefile: Paths to pci.ids in man pages automatically get the right path.
939e2875dcdSMartin Mares
9401b95f396SMartin Mares	* Added the update-ids utility.
9410138a2a7SMartin Mares
942d772ef15SMartin Mares	* lib: Removed partially implemented "syscall" access method which will
943d772ef15SMartin Mares	probably never be needed.
944d772ef15SMartin Mares
945eb620239SMartin Mares2002-12-27  Martin Mares  <[email protected]>
946eb620239SMartin Mares
947130090bdSMartin Mares	* lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe.
948130090bdSMartin Mares
949eb620239SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Added work-around for devices with
950eb620239SMartin Mares	discontiguous numbering of functions. This is already present in the Linux
951eb620239SMartin Mares	kernel for several years, but I forgot to update pciutils as well.
952eb620239SMartin Mares
953848b4347SMartin Mares2002-12-26  Martin Mares  <[email protected]>
954848b4347SMartin Mares
955579b19ffSMartin Mares	* lib/header.h, lspci.c: Dump AGP3 flags and speeds.
956579b19ffSMartin Mares
957579b19ffSMartin Mares	* lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header,
958579b19ffSMartin Mares	there is no reason to prefer the kernel version.
959579b19ffSMartin Mares
960579b19ffSMartin Mares	* lib/proc.c (proc_scan): Don't forget to initialize hdrtype.
961579b19ffSMartin Mares
962848b4347SMartin Mares	* Added preliminary version of NetBSD support by Quentin Garnier
963848b4347SMartin Mares	<[email protected]>.
964848b4347SMartin Mares
965f0952474SMartin Mares2002-04-06  Martin Mares  <[email protected]>
966f0952474SMartin Mares
967f0952474SMartin Mares	* lspci.c: Mention "-xxx" in the help.
968f0952474SMartin Mares
969d2f666f1SMartin Mares2002-03-30  Martin Mares  <[email protected]>
970d2f666f1SMartin Mares
9719bd44bb0SMartin Mares	* Released as 2.1.10.
9729bd44bb0SMartin Mares
973a33d0eb7SMartin Mares	* Removed pci.ids from the CVS as they are now maintained separately.
974a33d0eb7SMartin Mares	They are still included in the tarball, but if you are building	pciutils
975a33d0eb7SMartin Mares	from CVS sources or you want to get a newer ID file than the one distributed,
976a33d0eb7SMartin Mares	just use "make update-ids" to download the most recent snapshot from
977a33d0eb7SMartin Mares	pciids.sf.net.
978a33d0eb7SMartin Mares
979a33d0eb7SMartin Mares	* Makefile, README: Updated accordingly.
980a33d0eb7SMartin Mares
981a33d0eb7SMartin Mares	* Makefile: Added a couple of maintenance targets.
982a33d0eb7SMartin Mares
983a33d0eb7SMartin Mares	* maint/*: Maintainer's utilities now reside here (present only in CVS,
984a33d0eb7SMartin Mares	not in the tarball).
985a33d0eb7SMartin Mares
986d2f666f1SMartin Mares	* lib/names.c (parse_name_list): End-of-line comments are no longer
987d2f666f1SMartin Mares	supported. Hashes are now perfectly valid in all names and they start
988d2f666f1SMartin Mares	a comment only at the start of the line.
989d2f666f1SMartin Mares
990ee551b73SMartin Mares2002-03-26  Martin Mares  <[email protected]>
991ee551b73SMartin Mares
99207159913SMartin Mares	* README: Rewritten.
99307159913SMartin Mares
994ee551b73SMartin Mares	* Makefile: When the currently installed pci.ids file is newer than
995ee551b73SMartin Mares	the version to be installed, don't overwrite it. Suggested by
996ee551b73SMartin Mares	Jean Delvare <[email protected]>.
997ee551b73SMartin Mares
998bc7b1d62SMartin Mares2002-03-24  Martin Mares  <[email protected]>
999bc7b1d62SMartin Mares
10005f5e6f64SMartin Mares	* lspci.c (show_pcix_bridge): Added PCI-X capability display.
10015f5e6f64SMartin Mares	Contributed by Jeff Garzik <[email protected]>.
10025f5e6f64SMartin Mares
10035f5e6f64SMartin Mares	* lib/header.h: Added PCI-X stuff. Again by Jeff.
10045f5e6f64SMartin Mares
10055f5e6f64SMartin Mares	* Makefile (CFLAGS): -Werror is gone.
10065f5e6f64SMartin Mares
1007a1052f16SMartin Mares	* lspci.c (format_agp_rate): Fixed AGP rate reporting.
1008a1052f16SMartin Mares
1009bc7b1d62SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and
1010bc7b1d62SMartin Mares	function 7.
1011bc7b1d62SMartin Mares
1012bc7b1d62SMartin Mares	* lib/names.c (pci_lookup_name): When printing unknown subsystem vendor
1013bc7b1d62SMartin Mares	or device hexadecimally, don't confuse it with chip vendor/device ID.
1014bc7b1d62SMartin Mares	First reported by Marc Boucher <[email protected]>.
1015bc7b1d62SMartin Mares
1016f793990cSMartin Mares2001-11-04  Martin Mares  <[email protected]>
1017f793990cSMartin Mares
1018ee551b73SMartin Mares	* Released as 2.1.9.
1019ee551b73SMartin Mares
1020f793990cSMartin Mares	* pci.ids: Synced with the PCI ID Repository at SourceForge
1021f793990cSMartin Mares	(http://pciids.sourceforge.net/).
1022f793990cSMartin Mares
10231d174e56SMartin Mares2000-08-25  Martin Mares  <[email protected]>
10241d174e56SMartin Mares
10251d174e56SMartin Mares	* pci.ids: Updated ID's, synced with kernel 2.4.0-test7.
10261d174e56SMartin Mares
102765b4327eSMartin Mares2000-06-13  Martin Mares  <[email protected]>
102865b4327eSMartin Mares
102965b4327eSMartin Mares	* Makefile (uninstall): Fixed.
103065b4327eSMartin Mares
103165b4327eSMartin Mares	* pci.ids: ID updates.
103265b4327eSMartin Mares
10334a219d5fSMartin Mares2000-05-20  Martin Mares  <[email protected]>
10344a219d5fSMartin Mares
10354a219d5fSMartin Mares	* Released as 2.1.8.
10364a219d5fSMartin Mares
10374a219d5fSMartin Mares	* pci.ids: ID updates.
10384a219d5fSMartin Mares
10394a219d5fSMartin Mares	* lspci.c (show_verbose): Min/max latency is now printed in nanoseconds.
10404a219d5fSMartin Mares
10414a219d5fSMartin Mares2000-05-04  Martin Mares  <[email protected]>
10424a219d5fSMartin Mares
10434a219d5fSMartin Mares	* lspci.c (show_verbose): If the header type doesn't match device
10444a219d5fSMartin Mares	class, just print a warning and still use the header type, assuming
10454a219d5fSMartin Mares	bogus class info.
10464a219d5fSMartin Mares
104710c90662SMartin Mares2000-05-01  Martin Mares  <[email protected]>
104810c90662SMartin Mares
104972b9b690SMartin Mares	* lspci.c (show_pm): Updated according to PCI PM specs 1.1.
105072b9b690SMartin Mares
105110c90662SMartin Mares	* pci.ids: Updated Contemporary Control ARCnet card entries.
105210c90662SMartin Mares
105310c90662SMartin Mares	* pci.ids: Synchronized class list with latest PCI SIG documents.
105410c90662SMartin Mares
1055a239ade6SMartin Mares2000-04-29  Martin Mares  <[email protected]>
1056a239ade6SMartin Mares
1057a239ade6SMartin Mares	* lib/names.c (pci_lookup_name): Fixed the cheat.
1058a239ade6SMartin Mares
1059a239ade6SMartin Mares	* lib/internal.h: Moved UNUSED/inline hacks above all other declarations.
1060a239ade6SMartin Mares
1061a239ade6SMartin Mares	* pci.ids: Various ID updates.
1062a239ade6SMartin Mares
10632c83b860SMartin Mares2000-04-21  Martin Mares  <[email protected]>
10642c83b860SMartin Mares
10652c83b860SMartin Mares	* Released as 2.1.7.
10662c83b860SMartin Mares
10672c83b860SMartin Mares	* pciutils.spec: Added German description.
10682c83b860SMartin Mares
10692c83b860SMartin Mares	* lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's
10702c83b860SMartin Mares	are the same as device ID and just output subsystem name according to
10712c83b860SMartin Mares	device name.
10722c83b860SMartin Mares
10732c83b860SMartin Mares	* lib/proc.c: Use UNUSED instead of __attribute__((unused)).
10742c83b860SMartin Mares
10752c83b860SMartin Mares	* lib/pci.h: Added the correct typedefs for AIX.
10762c83b860SMartin Mares
10772c83b860SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Export.
10782c83b860SMartin Mares
10792c83b860SMartin Mares	* lib/configure: Detect AIX. Use "echo '...\c'" instead of
10802c83b860SMartin Mares	"echo -n" if the shell isn't bash.
10812c83b860SMartin Mares
10822c83b860SMartin Mares	* lspci.c: Avoid using alloca() if not compiled by GCC.
10832c83b860SMartin Mares	(insert_dev): Avoid returning a void value.
10842c83b860SMartin Mares
10852c83b860SMartin Mares	* Makefile: Choose which install utility to use according to
10862c83b860SMartin Mares	OS type. Also use `-o' instead of `-or' in find arguments.
10872c83b860SMartin Mares	Part of the AIX port.
10882c83b860SMartin Mares
10892c83b860SMartin Mares	* lib/aix-device.c: Added AIX low-level interface. Contributed
10902c83b860SMartin Mares	by Dave Johnson <[email protected]>, thanks a lot!
10912c83b860SMartin Mares
10922c83b860SMartin Mares	* pci.ids: Few new ID's.
10932c83b860SMartin Mares
10942c83b860SMartin Mares	* pciutils.h, lib/internal.h: Redefine __attribute__ and inline
10952c83b860SMartin Mares	when not compiled by GCC.
10962c83b860SMartin Mares
1097c1a828daSMartin Mares2000-04-17  Martin Mares  <[email protected]>
1098c1a828daSMartin Mares
1099c1a828daSMartin Mares	* Released as 2.1.6.
1100c1a828daSMartin Mares
1101c1a828daSMartin Mares	* pci.ids: Added a large batch of ID's contributed by Gunther
1102c1a828daSMartin Mares	Mayer <[email protected]> and synced the
1103c1a828daSMartin Mares	list with the 2.3.99pre6 kernel.
1104c1a828daSMartin Mares
1105e91dd3abSMartin MaresThu Mar  9 13:11:39 2000  Martin Mares  <[email protected]>
1106e91dd3abSMartin Mares
1107a80b79a9SMartin Mares	* lib/example.c: Added a simple example of how to use
1108a80b79a9SMartin Mares	the library.
1109a80b79a9SMartin Mares
111089984232SMartin Mares	* lspci.man, setpci.man: Revealed --version. Well spotted
111189984232SMartin Mares	by Adam Sulmicki.
111289984232SMartin Mares
1113e91dd3abSMartin Mares	* pci.ids: Added lots of new ID's and synced with 2.3.50.
1114e91dd3abSMartin Mares
111578d9c5e2SMartin MaresTue Feb 15 00:16:21 2000  Martin Mares  <[email protected]>
111678d9c5e2SMartin Mares
111778d9c5e2SMartin Mares	* Released as 2.1.5.
111878d9c5e2SMartin Mares
111978d9c5e2SMartin Mares	* pciutils.spec: Updated spec file from Andreas Jaeger. Now using
112078d9c5e2SMartin Mares	%{_mandir} to find the right location to install manual pages to.
112178d9c5e2SMartin Mares
112278d9c5e2SMartin Mares	* pci.ids: New ID's.
112378d9c5e2SMartin Mares
112478d9c5e2SMartin Mares	* setpci.c (main): Don't crash when `-s' or `-d' is given with
112578d9c5e2SMartin Mares	no argument.
112678d9c5e2SMartin Mares
1127f8141ae2SMartin MaresMon Jan 24 20:04:11 2000  Andreas Jaeger  <[email protected]>
1128f8141ae2SMartin Mares
1129f8141ae2SMartin Mares	* lib/i386-ports.c: Include <asm/io.h> only on systems without
1130f8141ae2SMartin Mares	glibc.
1131f8141ae2SMartin Mares
1132f8141ae2SMartin MaresMon Jan 24 11:24:43 2000  Martin Mares  <[email protected]>
1133f8141ae2SMartin Mares
1134f8141ae2SMartin Mares	* Makefile: Modified to work with the Linux FHS brain-damaged idea
1135f8141ae2SMartin Mares	of putting man pages to /usr/share/man. Now we choose either /usr/man
1136f8141ae2SMartin Mares	or /usr/share/man depending on which one exists.
1137f8141ae2SMartin Mares
113859e76e8bSMartin MaresSun Jan 23 10:52:34 2000  Martin Mares  <[email protected]>
113959e76e8bSMartin Mares
114059e76e8bSMartin Mares	* pci.ids: Synced with Linux 2.3.40.
114159e76e8bSMartin Mares
114259e76e8bSMartin Mares	* Released as version 2.1.4.
114359e76e8bSMartin Mares
11442dfd48cdSMartin MaresThu Jan 20 11:08:32 2000  Martin Mares  <[email protected]>
11452dfd48cdSMartin Mares
11462715403fSMartin Mares	* lspci.c (scan_device): Fixed bug in reading of cardbus extensions.
11472715403fSMartin Mares
114881077814SMartin Mares	* lib/proc.c: pread/pwrite fixed again, this time on libc5 :(
114981077814SMartin Mares
115081077814SMartin Mares	* lspci.c (format_agp_rate): Better formatting of AGP rates.
115181077814SMartin Mares
115281077814SMartin Mares	* pci.ids: New ID's.
115381077814SMartin Mares
11542dfd48cdSMartin Mares	* lib/configure: Added configuration for ia64 (the same as for Alpha).
11552dfd48cdSMartin Mares	Patch from Stephane Eranian <[email protected]>.
11562dfd48cdSMartin Mares
11575a258860SMartin MaresThu Jan 13 23:01:52 2000  Martin Mares  <[email protected]>
11585a258860SMartin Mares
11595a258860SMartin Mares	* Released as version 2.1.3.
11605a258860SMartin Mares
11615a258860SMartin Mares	* pci.ids: New ID's.
11625a258860SMartin Mares
11635a258860SMartin Mares	* lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli.
11645a258860SMartin Mares
11655a258860SMartin Mares	* lib/access.c: Corrected order of access methods -- it's wonderful how
11665a258860SMartin Mares	long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff.
11675a258860SMartin Mares
11680c047bbeSMartin MaresSat Dec 11 23:34:48 1999  Martin Mares  <[email protected]>
11690c047bbeSMartin Mares
11700c047bbeSMartin Mares	* Released as version 2.1.2.
11710c047bbeSMartin Mares
11720c047bbeSMartin Mares	* lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
11730c047bbeSMartin Mares
117433bc28a5SMartin MaresSat Dec  4 13:11:03 1999  Martin Mares  <[email protected]>
117533bc28a5SMartin Mares
117639231205SMartin Mares	* Released as version 2.1.1.
117739231205SMartin Mares
117833bc28a5SMartin Mares	* pci.ids: Several new ID's.
117933bc28a5SMartin Mares
118033bc28a5SMartin Mares	* setpci.c (exec_op): Don't forget to increment address after writing
118133bc28a5SMartin Mares	single value, so that `30.b=12,34,56,78' works as expected. Reported
118233bc28a5SMartin Mares	by Petr Soucek <[email protected]>.
118333bc28a5SMartin Mares
11848d047897SMartin MaresWed Nov  3 10:24:38 1999  Martin Mares  <[email protected]>
11858d047897SMartin Mares
11868d047897SMartin Mares	* lspci.c (show_terse): If prog-if is zero, but it's present in the
11878d047897SMartin Mares	ID list, show it.
11888d047897SMartin Mares
11896afc6538SMartin MaresSat Oct 30 11:06:35 1999  Martin Mares  <[email protected]>
11906afc6538SMartin Mares
11916afc6538SMartin Mares	* Released as version 2.1.
11926afc6538SMartin Mares
11936afc6538SMartin Mares	* pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in
11946afc6538SMartin Mares	lots of contributed entries.
11956afc6538SMartin Mares
11968f756113SMartin MaresThu Oct 14 10:40:12 1999  Dave Jones    <[email protected]>
11978f756113SMartin Mares
11988f756113SMartin Mares	* pci.ids: Added lots of subsystem definitions.
11998f756113SMartin Mares
1200d4798a32SMartin MaresSat Oct  9 14:32:28 1999  Martin Mares  <[email protected]>
1201d4798a32SMartin Mares
1202d4798a32SMartin Mares	* setpci.man: Better example.
1203d4798a32SMartin Mares
1204d4798a32SMartin Mares	* lspci.c: Resolve prog-if names.
1205d4798a32SMartin Mares
1206d4798a32SMartin Mares	* lib/names.c: Adapted to new pci.ids syntax.
1207d4798a32SMartin Mares
1208d4798a32SMartin Mares	* pci.ids: Reorganized the pci.ids file. Subsystems are listed
1209d4798a32SMartin Mares	under devices, classes can optionally contain prog-if information.
1210d4798a32SMartin Mares	New ID's, as usually.
1211d4798a32SMartin Mares
1212e306e911SMartin MaresWed Sep 22 09:45:24 1999  Martin Mares  <[email protected]>
1213e306e911SMartin Mares
1214e306e911SMartin Mares	* pci.ids: New ID's. As usually.
1215e306e911SMartin Mares
1216e306e911SMartin Mares	* lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows
1217e306e911SMartin Mares	unless we're vvvery verbose.
1218e306e911SMartin Mares
1219e306e911SMartin MaresMon Sep 20 11:22:54 1999  Martin Mares  <[email protected]>
1220e306e911SMartin Mares
1221e306e911SMartin Mares	* lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
1222e306e911SMartin Mares
1223e64a576cSMartin MaresTue Sep 14 09:31:01 1999  Martin Mares  <[email protected]>
1224e64a576cSMartin Mares
1225e64a576cSMartin Mares	* pci.ids: New ID's. Again.
1226e64a576cSMartin Mares
1227c36c0862SMartin MaresThu Aug  5 17:45:42 1999  Martin Mares  <[email protected]>
1228c36c0862SMartin Mares
1229c36c0862SMartin Mares	* lspci.c (show_size): Don't show size if it's zero (usually
1230c36c0862SMartin Mares	due to bus-centric mode being enabled).
1231c36c0862SMartin Mares
12321ca42433SMartin MaresTue Jul 20 13:25:09 1999  Martin Mares  <[email protected]>
12331ca42433SMartin Mares
1234168b4f46SMartin Mares	* lib/pci.h: Types are OS dependent.
1235168b4f46SMartin Mares
1236168b4f46SMartin Mares	* lib/internal.h: Byte order hacks are OS dependent.
1237168b4f46SMartin Mares
1238168b4f46SMartin Mares	* lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS.
1239168b4f46SMartin Mares
1240168b4f46SMartin Mares	* lib/Makefile, lib/access.c: Added fbsd-device target.
1241168b4f46SMartin Mares
1242168b4f46SMartin Mares	* pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
1243168b4f46SMartin Mares	incorrectly set to device ID.
1244168b4f46SMartin Mares
1245168b4f46SMartin Mares	* README: Added a note that we support FreeBSD.
1246168b4f46SMartin Mares
1247168b4f46SMartin Mares	* Makefile (PREFIX, ROOT): Set it depending on the OS.
1248168b4f46SMartin Mares	(%.8): Grrr, BSD date is not able to convert date formats the same way
1249168b4f46SMartin Mares	as GNU date does. Use sed instead.
1250168b4f46SMartin Mares	(install): Use `-c' when calling install.
1251168b4f46SMartin Mares
1252168b4f46SMartin Mares	* lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed
1253168b4f46SMartin Mares	by Jari Kirma <[email protected]>.
1254168b4f46SMartin Mares
1255bc6346dfSMartin Mares	* lib/proc.c: Rewrote the pread/pwrite things once again. Use pread
1256bc6346dfSMartin Mares	and pwrite only when we are certain it's safe (i.e., glibc 2.1
1257bc6346dfSMartin Mares	on all architectures or any libc on a i386 where we really know
1258bc6346dfSMartin Mares	how to use syscalls directly). In all other cases, emulate it
1259bc6346dfSMartin Mares	with lseek/read/write.
1260bc6346dfSMartin Mares
12611ca42433SMartin Mares	* pci.ids: Some more IDs.
12621ca42433SMartin Mares
12631ca42433SMartin MaresMon Jul 19 14:10:36 1999  Martin Mares  <[email protected]>
12641ca42433SMartin Mares
12651ca42433SMartin Mares	* pci.ids: Added IDs of parallel port controller cards as sent
12661ca42433SMartin Mares	by Tim Waugh <[email protected]>.
12671ca42433SMartin Mares
1268e95c8373SMartin MaresWed Jul  7 00:55:48 1999  Martin Mares  <[email protected]>
1269e95c8373SMartin Mares
1270e95c8373SMartin Mares	* lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS.
1271e95c8373SMartin Mares
1272e95c8373SMartin Mares	* lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and
1273e95c8373SMartin Mares	HAVE_LONG_ADDRESS.
1274e95c8373SMartin Mares
1275e95c8373SMartin Mares	* lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses
1276e95c8373SMartin Mares	are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS
1277e95c8373SMartin Mares	to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS
1278e95c8373SMartin Mares	and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS
1279e95c8373SMartin Mares	on Alpha.
1280e95c8373SMartin Mares
1281e95c8373SMartin Mares	* lspci.c (show_msi): Added dumping of the MSI capability.
1282e95c8373SMartin Mares	(show_slotid): The same for SlotID capability.
1283e95c8373SMartin Mares	(show_caps): Seperated capability dumping, because it should
1284e95c8373SMartin Mares	be used for both htype0 and htype1. Even PCI 2.2 doesn't mention
1285e95c8373SMartin Mares	layout of htype2, so I'm a bit unsure about it wrt capabilities
1286e95c8373SMartin Mares	-- they at least have to live somewhere else since address 0x34
1287e95c8373SMartin Mares	is already defined differently in htype2.
1288e95c8373SMartin Mares
1289e95c8373SMartin Mares	* lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2).
1290e95c8373SMartin Mares	(PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto.
1291e95c8373SMartin Mares	(PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2.
1292e95c8373SMartin Mares
1293e95c8373SMartin Mares	* lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers
1294e95c8373SMartin Mares	(required by the PCI 2.2 specs).
1295e95c8373SMartin Mares
1296e95c8373SMartin MaresMon Jul  5 12:45:19 1999  Martin Mares  <[email protected]>
1297e95c8373SMartin Mares
1298e95c8373SMartin Mares	* lspci.c (show_size): Added new function for dumping of region sizes.
1299e95c8373SMartin Mares	(show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled
1300e95c8373SMartin Mares	ROMs et cetera.
1301e95c8373SMartin Mares
1302e95c8373SMartin Mares	* lib/pci.h (struct pci_dev): known_fields moved to the public part
1303e95c8373SMartin Mares	of the structure.
1304e95c8373SMartin Mares
1305e95c8373SMartin Mares	* Added support for region sizes. Needs support in the kernel, because
1306e95c8373SMartin Mares	sizes have to be scanned before drivers initialize yourself. pci_fill_info()
1307e95c8373SMartin Mares	now returns a bitmask of what fields were really read.
1308e95c8373SMartin Mares
130982ce97c9SMartin MaresMon Jun 28 18:37:51 1999  Dave Jones    <[email protected]>
131082ce97c9SMartin Mares
131182ce97c9SMartin Mares	* Makefile:
131282ce97c9SMartin Mares	  Added `uninstall' target - removes all traces of pciutils.
131382ce97c9SMartin Mares	* pci.ids:
131482ce97c9SMartin Mares	  - Lots of cleanups in the ATI, S3, Adaptec vendors.
131582ce97c9SMartin Mares	  - Changed Compaq QVision 1280/p definitions, as it's not possible
131682ce97c9SMartin Mares	    to determine the revision from the device ID.
131782ce97c9SMartin Mares	  - Same for the Tseng ET4000.
131882ce97c9SMartin Mares	    The id's said I had a rev C, when it was actually a rev B.
131982ce97c9SMartin Mares	  - Removed some unnecessary strings
132082ce97c9SMartin Mares	    `PCI'. Unless it's an AGP card, it should be obvious that it's PCI.
132182ce97c9SMartin Mares	    `Ethernet card'. This should be determined from config space.
132282ce97c9SMartin Mares	  - Lots of other new vendors & devices
132382ce97c9SMartin Mares	  - Other additional small cleanups.
132482ce97c9SMartin Mares
13257bed2d83SMartin MaresMon Jun 21 22:11:10 1999  Martin Mares  <[email protected]>
13267bed2d83SMartin Mares
13277bed2d83SMartin Mares	* lib/names.c (pci_lookup_name): When device ID lookup
13287bed2d83SMartin Mares	fails, return hexadecimal device ID instead of vendor ID.
13297bed2d83SMartin Mares	Well spotted by Axel Bodemann <[email protected]>,
13307bed2d83SMartin Mares	I've just extended the fix to subsystem ID's.
13317bed2d83SMartin Mares
13325ba3a475SMartin MaresThu Jun 17 19:48:21 1999  Martin Mares  <[email protected]>
13335ba3a475SMartin Mares
13345ba3a475SMartin Mares	* lspci.c (show_agp): Bug fix from Petr Vandrovec
13355ba3a475SMartin Mares	<[email protected]>. The command register was displayed
13365ba3a475SMartin Mares	incorrectly.
13375ba3a475SMartin Mares
13385ba3a475SMartin MaresWed Jun  2 22:42:44 1999  Martin Mares  <[email protected]>
13395ba3a475SMartin Mares
13405ba3a475SMartin Mares	* lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
13415ba3a475SMartin Mares	numbers if not supplied by the libc.
13425ba3a475SMartin Mares
134355c815b5SMartin MaresWed May 19 13:24:39 1999  Martin Mares  <[email protected]>
134455c815b5SMartin Mares
134555c815b5SMartin Mares	* Released the whole package as version 2.0.
134655c815b5SMartin Mares
134755c815b5SMartin MaresFri May 14 22:42:02 1999  Martin Mares  <[email protected]>
134855c815b5SMartin Mares
134955c815b5SMartin Mares	* pci.ids: Added several new ID's contributed by people
135055c815b5SMartin Mares	on the linux-pci list.
135155c815b5SMartin Mares
1352dec16943SMartin MaresMon Apr 19 15:21:08 1999  Jakub Jelinek  <[email protected]>
1353dec16943SMartin Mares
1354dec16943SMartin Mares	* lspci.c: Display I/O addresses correctly on sparc64.
1355dec16943SMartin Mares	* lib/header.h: Ditto.
1356dec16943SMartin Mares
1357dec16943SMartin Mares	* lib/configure: On sparc set HAVE_64BIT* as well, we want
1358dec16943SMartin Mares	a binary which works on both 32bit and 64bit SPARCs.
1359dec16943SMartin Mares
1360e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999  Martin Mares  <[email protected]>
1361e33c9c7aSMartin Mares
1362e33c9c7aSMartin Mares	* lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
1363e33c9c7aSMartin Mares	<[email protected]>.
1364e33c9c7aSMartin Mares
1365e33c9c7aSMartin Mares	* pci.ids: A lot of updates from Adam J. Richter <[email protected]>.
1366e33c9c7aSMartin Mares
1367f3395cc5SMartin MaresSun Feb 28 22:26:21 1999  Martin Mares  <[email protected]>
1368f3395cc5SMartin Mares
1369f3395cc5SMartin Mares	* lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
1370f3395cc5SMartin Mares	as a multi-function device, because several single-function devices
1371f3395cc5SMartin Mares	don't decode the function bits at all.
1372f3395cc5SMartin Mares
1373f3395cc5SMartin MaresSun Feb 14 23:48:22 1999  Martin Mares  <[email protected]>
1374f3395cc5SMartin Mares
1375f3395cc5SMartin Mares	* Makefile (install): Don't use "-o root -g root" for installation
1376f3395cc5SMartin Mares	since it breaks on machines where programs are not installed by root.
1377f3395cc5SMartin Mares	Reported by Richard Gooch <[email protected]>
1378f3395cc5SMartin Mares
1379f3395cc5SMartin MaresTue Feb  9 15:54:39 1999  Martin Mares  <[email protected]>
1380f3395cc5SMartin Mares
1381f3395cc5SMartin Mares	* lspci.c (show_bases): Use new address masking macros and pciaddr_t.
1382f3395cc5SMartin Mares
1383f3395cc5SMartin Mares	* lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
1384f3395cc5SMartin Mares	or 64-bit depending on CPU.
1385f3395cc5SMartin Mares
1386f3395cc5SMartin Mares	* lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
1387f3395cc5SMartin Mares	according to bus address width.
1388f3395cc5SMartin Mares
13891c31d620SMartin MaresThu Jan 28 20:54:16 1999  Martin Mares  <[email protected]>
13901c31d620SMartin Mares
13911c31d620SMartin Mares	* Released as 1.99.4.
13921c31d620SMartin Mares
13931c31d620SMartin Mares	* lspci.c: Capability list parser now recognizes both AGP
13941c31d620SMartin Mares	registers and PCI Power Management registers (the latter
13951c31d620SMartin Mares	is mainly guesswork based on DEC/Intel 21153 bridge specs
13961c31d620SMartin Mares	since I don't have the PCI Power Management document).
13971c31d620SMartin Mares
13981c31d620SMartin Mares	* lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
13991c31d620SMartin Mares	by FLAG macro.
14001c31d620SMartin Mares
14011c31d620SMartin Mares	* lspci.c: Added bridge checks to bus mapping code.
14021c31d620SMartin Mares
14031812a795SMartin MaresWed Jan 27 14:59:16 1999  Martin Mares  <[email protected]>
14041812a795SMartin Mares
14051812a795SMartin Mares	* lspci.c: Implemented bus mapping mode (-M).
14061812a795SMartin Mares
14071812a795SMartin Mares	* lspci.c (scan_devices): Split to scan_devices() and scan_device().
14081812a795SMartin Mares	(show): Split to show() and show_device().
14091812a795SMartin Mares
14101812a795SMartin Mares	* lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
14111812a795SMartin Mares	set it to the real access method afterwards.
14121812a795SMartin Mares
14131812a795SMartin MaresMon Jan 25 23:46:13 1999  Martin Mares  <[email protected]>
14141812a795SMartin Mares
14151812a795SMartin Mares	* lib/generic.c (pci_generic_fill_info): If in buscentric mode,
14161812a795SMartin Mares	don't check PCI_COMMAND for I/O and memory enables.
14171812a795SMartin Mares
1418f6c86928SMartin MaresMon Jan 25 21:28:49 1999  Martin Mares  <[email protected]>
1419f6c86928SMartin Mares
1420f6c86928SMartin Mares	* Makefile: Added target `release' which substitutes new version
1421f6c86928SMartin Mares	number to .spec, .lsm and README. Also rewrote target `dist'.
1422f6c86928SMartin Mares
1423f6c86928SMartin Mares	* Released as 1.99.3.
1424f6c86928SMartin Mares
1425b5137411SMartin MaresSun Jan 24 22:10:36 1999  Martin Mares  <[email protected]>
1426b5137411SMartin Mares
1427d6b297d0SMartin Mares	* lib/header.h: Until kernel adopts new layout of PCI
1428d6b297d0SMartin Mares	includes (i.e., separate declaration of header structure,
1429d6b297d0SMartin Mares	functions and device IDs), which is not going to happen
1430d6b297d0SMartin Mares	before 2.3, we'll use our own definiton of the header.
1431d6b297d0SMartin Mares
1432b5137411SMartin Mares	* lspci.c (show_verbose): Display `Cap' flag in device status.
1433b5137411SMartin Mares
1434b5137411SMartin Mares	* lspci.c (show_htype0): Display capability lists whereever
1435b5137411SMartin Mares	available. The only capability name we recognize now is `AGP'.
1436b5137411SMartin Mares	Unfortunately, capabilities are stored in device-dependent
1437b5137411SMartin Mares	portion of the configuration space and are thus available
1438b5137411SMartin Mares	only to root unless you read a dump.
1439b5137411SMartin Mares
1440b5137411SMartin Mares	* lspci.c (scan_devices): Use cache instead of buffering.
1441b5137411SMartin Mares
1442b5137411SMartin Mares	* lib/buffer.c: Removed (obsoleted by the cache).
1443b5137411SMartin Mares
1444b5137411SMartin Mares	* lib/access.c: Added general caching mechanism.
1445b5137411SMartin Mares
144681ce358dSMartin MaresSat Jan 23 21:30:54 1999  Martin Mares  <[email protected]>
144781ce358dSMartin Mares
144881ce358dSMartin Mares	* pci.ids: Added few devices.
144981ce358dSMartin Mares
1450727ce158SMartin MaresFri Jan 22 19:29:31 1999  Martin Mares  <[email protected]>
1451727ce158SMartin Mares
1452727ce158SMartin Mares	* Version string is now defined in top-level Makefile, exported
1453727ce158SMartin Mares	to the configure script and also substituted to man pages.
1454727ce158SMartin Mares
1455727ce158SMartin Mares	* lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
1456727ce158SMartin Mares	(show_verbose): Rewrote interrupt display logic.
1457727ce158SMartin Mares
1458727ce158SMartin Mares	* lib/i386-ports.c: Include sys/io.h only on glibc systems.
1459727ce158SMartin Mares
1460727ce158SMartin Mares	* lib/configure: Rewrote detection of Linux versions. Now it
1461727ce158SMartin Mares	works on 2.0 kernels (only with direct/dump access, of course).
1462727ce158SMartin Mares
1463727ce158SMartin Mares	* lib/internal.h: New bytesex macros using <asm/byteorder.h>
1464727ce158SMartin Mares	whenever available.
1465727ce158SMartin Mares
1466727ce158SMartin Mares	* lib/proc.c (proc_read, proc_write): Distinguish between short
1467727ce158SMartin Mares	read/write and real errors.
1468727ce158SMartin Mares
1469727ce158SMartin Mares	* lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
1470727ce158SMartin Mares	libpci respects buscentric mode automatically.
1471727ce158SMartin Mares
1472727ce158SMartin Mares	* lspci.c (show_hex_dump): For CardBus bridges, print out 128
1473727ce158SMartin Mares	bytes of header (the whole standard part).
1474727ce158SMartin Mares
1475727ce158SMartin Mares	* common.c: pcilib options are now all uppercase. Also moved
1476727ce158SMartin Mares	PCI access debugging option here.
1477727ce158SMartin Mares
1478727ce158SMartin Mares	* Released as 1.99.2.
1479727ce158SMartin Mares
1480727ce158SMartin MaresWed Jan 20 22:50:35 1999  Martin Mares  <[email protected]>
1481727ce158SMartin Mares
1482727ce158SMartin Mares	* Wrote configure script and rewrote Makefiles.
1483727ce158SMartin Mares
1484727ce158SMartin Mares	* Removed few unused variables.
1485727ce158SMartin Mares
1486727ce158SMartin MaresWed Jan 20 12:21:56 1999  Martin Mares  <[email protected]>
1487727ce158SMartin Mares
1488727ce158SMartin Mares	* common.c: Moved several functions used in both setpci and lspci
1489727ce158SMartin Mares	here. This includes parsing of libpci-related options.
1490727ce158SMartin Mares
1491727ce158SMartin Mares	* More library tweaks.
1492727ce158SMartin Mares
1493727ce158SMartin Mares	* filter.c, names.c: Moved to library.
1494727ce158SMartin Mares
1495727ce158SMartin Mares	* setpci: Rewritten to use the library.
1496727ce158SMartin Mares
1497727ce158SMartin Mares	* Released as 1.99.1.
1498727ce158SMartin Mares
1499727ce158SMartin MaresTue Jan 19 23:00:12 1999  Martin Mares  <[email protected]>
1500727ce158SMartin Mares
1501727ce158SMartin Mares	* lspci.c (scan_devices): For cardbus bridges, read first 128
1502727ce158SMartin Mares	bytes of config space to get full standard header.
1503727ce158SMartin Mares
1504727ce158SMartin Mares	* Makefile (CFLAGS): Removed "-Wno-unused".
1505727ce158SMartin Mares
1506727ce158SMartin Mares	* Started the "New Generation" branch and introduced the
1507727ce158SMartin Mares	PCI library.
1508727ce158SMartin Mares
1509727ce158SMartin Mares	* lspci: Rewritten to use the library.
1510727ce158SMartin Mares
15116ece6bc6SMartin MaresTue Jan 19 22:24:08 1999  Martin Mares  <[email protected]>
15126ece6bc6SMartin Mares
15136ece6bc6SMartin Mares	* Released as version 1.10.
15146ece6bc6SMartin Mares
15156ece6bc6SMartin MaresMon Jan 18 08:51:17 1999  Martin Mares  <[email protected]>
15166ece6bc6SMartin Mares
15176ece6bc6SMartin Mares	* lspci.8, setpci.8: Miscellaneous fixes as suggested by
15186ece6bc6SMartin Mares	Dag Wieers <[email protected]>.
15196ece6bc6SMartin Mares
15201212dd6dSMartin MaresSun Nov 29 20:05:56 1998  Martin Mares  <[email protected]>
15211212dd6dSMartin Mares
15221212dd6dSMartin Mares	* pciutils.spec (Name): Update from Krzysztof G. Baranowski.
15231212dd6dSMartin Mares
1524d38471fdSMartin MaresSun Nov 22 10:49:56 1998  Martin Mares  <[email protected]>
1525d38471fdSMartin Mares
1526d38471fdSMartin Mares	* Makefile, pciutils.h: Moved pci.ids to /usr/share.
1527d38471fdSMartin Mares
1528d38471fdSMartin Mares	* Released as version 1.09.
1529d38471fdSMartin Mares
1530371f605bSMartin MaresWed Nov 18 15:47:05 1998  Martin Mares  <[email protected]>
1531371f605bSMartin Mares
1532371f605bSMartin Mares	* lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
1533371f605bSMartin Mares	bridge. Thanks to Petr Vandrovec <[email protected]> for bug report.
1534371f605bSMartin Mares
153510be47abSMartin MaresFri Oct 23 18:59:19 1998  Martin Mares  <[email protected]>
153610be47abSMartin Mares
153710be47abSMartin Mares	* setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
153810be47abSMartin Mares
1539472bd340SMartin MaresMon Oct 19 21:53:30 1998  Martin Mares  <[email protected]>
1540472bd340SMartin Mares
1541472bd340SMartin Mares	* Released as version 1.08.
1542472bd340SMartin Mares
1543472bd340SMartin Mares	* setpci.c: glibc 2.1.x already defines pread() and pwrite().
1544472bd340SMartin Mares
1545472bd340SMartin Mares	* lspci.8: Changed warning about lspci -xxx.
1546472bd340SMartin Mares
1547472bd340SMartin Mares	* lspci.c: Require "-xxx" for full configuration space dump, so that
1548472bd340SMartin Mares	it's impossible to crash the machine by single typo.
1549472bd340SMartin Mares
1550472bd340SMartin Mares	* specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>).
1551472bd340SMartin Mares
1552072c77e5SMartin MaresWed Sep  9 12:03:24 1998  Martin Mares  <[email protected]>
1553072c77e5SMartin Mares
1554072c77e5SMartin Mares	* lspci.c (show_bases): Better displaying of unassigned and
1555072c77e5SMartin Mares	disabled bases. Thanks to Gabriel Paubert <[email protected]>
1556072c77e5SMartin Mares	for an idea.
1557072c77e5SMartin Mares
1558b7554856SMartin MaresWed Sep  2 10:58:01 1998  Martin Mares  <[email protected]>
1559b7554856SMartin Mares
1560b7554856SMartin Mares	* setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
1561b7554856SMartin Mares	(thanks to Geert Uytterhoeven for finding this out)
1562b7554856SMartin Mares
1563ce503b7fSMartin MaresFri Jul 17 10:43:30 1998  Martin Mares  <[email protected]>
1564ce503b7fSMartin Mares
1565ce503b7fSMartin Mares	* lspci.c (show_verbose): Print subsystem ID using the new resolver.
1566ce503b7fSMartin Mares	(show_machine): Print subsystem ID.
1567ce503b7fSMartin Mares
1568ce503b7fSMartin Mares	* names.c: New name resolution engine supporting subsystem IDs.
1569ce503b7fSMartin Mares
1570ce503b7fSMartin Mares	* Released as version 1.07.
1571ce503b7fSMartin Mares
157296e4f295SMartin MaresWed Jul 15 15:37:21 1998  Martin Mares  <[email protected]>
157396e4f295SMartin Mares
157496e4f295SMartin Mares	* lspci.c (show_htype2 etc.): Displaying of CardBus headers.
157596e4f295SMartin Mares	(show_bases): Honor the `cnt' argument.
157696e4f295SMartin Mares	(grow_tree): Parse CardBus headers in tree mode as well.
157796e4f295SMartin Mares
157896e4f295SMartin Mares	* pci.h: Updated CardBus header field description. I still don't
157996e4f295SMartin Mares	have the CardBus standard available, but OZ6832 specs contain
158096e4f295SMartin Mares	full description of all header fields supported by the chip.
158196e4f295SMartin Mares
15826ae3650aSMartin MaresTue Jun  9 22:53:59 1998  Martin Mares  <[email protected]>
15836ae3650aSMartin Mares
1584304f9a0bSMartin Mares	* Released as 1.06.
1585304f9a0bSMartin Mares
15866ae3650aSMartin Mares	* names.c (parse_name_list): Killed an unused variable.
15876ae3650aSMartin Mares
15886ae3650aSMartin Mares	* setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
15896ae3650aSMartin Mares	if they are not defined by glibc (needed for glibc built on older
15906ae3650aSMartin Mares	kernels). Ugly.
15916ae3650aSMartin Mares
15926ae3650aSMartin Mares	* setpci.c (exec_op): Fixed error messages. Thanks, Steve!
15936ae3650aSMartin Mares
15944b88a6b8SMartin MaresMon Jun  8 10:59:22 1998  Martin Mares  <[email protected]>
15954b88a6b8SMartin Mares
15964b88a6b8SMartin Mares	* Released as 1.05.
15974b88a6b8SMartin Mares
15984b88a6b8SMartin Mares	* setpci.c: Problems with pread()/pwrite() with glibc on Alpha
15994b88a6b8SMartin Mares	should be gone. Again thanks to Steve for bug report.
16004b88a6b8SMartin Mares
16014b88a6b8SMartin Mares	* filter.c (filter_parse_slot): Fixed ":x" type filters.
16024b88a6b8SMartin Mares
16034b88a6b8SMartin Mares	* pci.ids: Killed duplicate entry. Thanks to Stephen Williams
16044b88a6b8SMartin Mares	<[email protected]> for reporting this.
16054b88a6b8SMartin Mares
16064b88a6b8SMartin MaresSun Jun  7 19:27:51 1998  Martin Mares  <[email protected]>
16074b88a6b8SMartin Mares
16084b88a6b8SMartin Mares	* lspci.c (main), setpci.c (main): Implemented "--version".
16094b88a6b8SMartin Mares
16104b88a6b8SMartin Mares	* Released as 1.04.
16114b88a6b8SMartin Mares
16124b88a6b8SMartin Mares	* pciutils.h (PCIUTILS_VERSION): Added version string.
16134b88a6b8SMartin Mares
16144b88a6b8SMartin Mares	* filter.c, names.c: Extraneous #include <linux/pci.h> removed.
16154b88a6b8SMartin Mares	Thanks to Geert Uytterhoeven <[email protected]>
16164b88a6b8SMartin Mares	for bug report.
16174b88a6b8SMartin Mares
16189b306998SMartin MaresThu May 28 14:45:58 1998  Martin Mares  <[email protected]>
16199b306998SMartin Mares
16209b306998SMartin Mares	* pci.ids: More updates from Jens Maurer.
16219b306998SMartin Mares
1622b372672fSMartin MaresWed Apr 22 10:00:39 1998  Martin Mares  <[email protected]>
1623b372672fSMartin Mares
1624b372672fSMartin Mares	* pci.ids: Updates from Jens Maurer.
1625b372672fSMartin Mares
1626b2c9b373SMartin MaresSun Apr 19 11:14:25 1998  Martin Mares  <[email protected]>
1627b2c9b373SMartin Mares
1628b372672fSMartin Mares	* Released as 1.03.
1629b372672fSMartin Mares
1630b2c9b373SMartin Mares	* setpci.8: Written.
1631b2c9b373SMartin Mares
1632b2c9b373SMartin Mares	* setpci.c: Finished.
1633b2c9b373SMartin Mares
1634b2c9b373SMartin Mares	* lspci.c: Now able to fetch expansion ROM base from kernel device list
1635b2c9b373SMartin Mares	and print it if not in buscentric mode.
1636b2c9b373SMartin Mares
1637e4842ff3SMartin MaresTue Mar 31 23:11:57 1998  Martin Mares  <[email protected]>
1638e4842ff3SMartin Mares
1639e4842ff3SMartin Mares	* setpci.c: Added.
1640e4842ff3SMartin Mares
1641e4842ff3SMartin MaresSun Mar 22 15:39:08 1998  Martin Mares  <[email protected]>
1642e4842ff3SMartin Mares
1643e4842ff3SMartin Mares	* lspci.8: Updated the documentation.
1644e4842ff3SMartin Mares
1645e4842ff3SMartin Mares	* lspci.c: Modified to use the new filtering mechanism (options -f and -d).
1646e4842ff3SMartin Mares
1647e4842ff3SMartin Mares	* filter.c: Introduced new generic device filter.
1648e4842ff3SMartin Mares
1649008407bdSMartin MaresThu Mar 19 17:03:48 1998  Martin Mares  <[email protected]>
1650008407bdSMartin Mares
1651008407bdSMartin Mares	* lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
1652008407bdSMartin Mares	of PCI-to-PCI bridges in the tree format.
1653008407bdSMartin Mares
16540a33d0ecSMartin MaresSun Feb 15 10:12:25 1998  Martin Mares  <[email protected]>
16550a33d0ecSMartin Mares
16560a33d0ecSMartin Mares	* lspci.c (show_machine): Added non-verbose mode of machine-readable
16570a33d0ecSMartin Mares	dump.
16580a33d0ecSMartin Mares
16590a33d0ecSMartin Mares	* pci.ids: Updates from Jens Maurer.
16600a33d0ecSMartin Mares
16610a33d0ecSMartin Mares	* Released as version 1.02.
16620a33d0ecSMartin Mares
16630a33d0ecSMartin MaresThu Feb 12 16:53:28 1998  Martin Mares  <[email protected]>
16640a33d0ecSMartin Mares
16650a33d0ecSMartin Mares	* lspci.c: Added a "-m" switch for dumping machine-readable
16660a33d0ecSMartin Mares	configuration data (requested by Bjoern Kriews <[email protected]>).
16670a33d0ecSMartin Mares
1668fb38eee8SMartin MaresMon Feb  9 13:17:43 1998  Martin Mares  <[email protected]>
1669fb38eee8SMartin Mares
1670fb38eee8SMartin Mares	* Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
1671fb38eee8SMartin Mares	if available. This should avoid all problems with official kernel
1672fb38eee8SMartin Mares	not synchronized to newer PCI code in CVS -- standard distribution
1673fb38eee8SMartin Mares	of pciutils now contains pci.h from current CVS kernel, pciutils
1674fb38eee8SMartin Mares	in CVS contain no pci.h and use the correct kernel include.
1675fb38eee8SMartin Mares
1676fb38eee8SMartin Mares	* Makefile: Fixed installation path for man pages.
1677fb38eee8SMartin Mares
16782f48f637SMartin MaresSat Feb  7 15:15:46 1998  Martin Mares  <[email protected]>
16792f48f637SMartin Mares
16802f48f637SMartin Mares	* README: Updated.
16812f48f637SMartin Mares
16822f48f637SMartin Mares	* lspci.8: Created a man page.
16832f48f637SMartin Mares
16842f48f637SMartin Mares	* Releasing as version 1.0.
16852f48f637SMartin Mares
16862f48f637SMartin MaresTue Feb  3 20:56:00 1998  Martin Mares  <[email protected]>
16872f48f637SMartin Mares
16882f48f637SMartin Mares	* Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
16892f48f637SMartin Mares	to all the C sources. This should eliminate problems with 32-bit compilers
16902f48f637SMartin Mares	on sparc64.
16912f48f637SMartin Mares
16922f48f637SMartin Mares	* lspci.c (show_verbose): Recognize CardBus bridge header type.
16932f48f637SMartin Mares	(show_htype2): Stub routine.
16942f48f637SMartin Mares	(scan_config): Write sensible error message if the kernel denies reading of
16952f48f637SMartin Mares	upper part of the PCI config space.
1696