xref: /pciutils/ChangeLog (revision b282435d)
1*b282435dSMartin Mares2008-11-09  Martin Mares <[email protected]>
2*b282435dSMartin Mares
3*b282435dSMartin Mares	* Released as 3.0.3.
4*b282435dSMartin Mares
5*b282435dSMartin Mares	* `lspci -k' now displays the subsystem ID, too. This makes `-k'
6*b282435dSMartin Mares	show everything needed to identify the device and the available
7*b282435dSMartin Mares	drivers, which was called for by many users.
8*b282435dSMartin Mares
9*b282435dSMartin Mares	* Fixed spelling of MSI. Patch by Matthew Wilcox.
10*b282435dSMartin Mares
11*b282435dSMartin Mares	* Better support for cross-compilation. Thanks to Alon Bar-Lev
12*b282435dSMartin Mares	for the patch.
13*b282435dSMartin Mares
14*b282435dSMartin Mares	* Fixed printing of the AER capability. Patch by Max Asbock.
15*b282435dSMartin Mares
16*b282435dSMartin Mares	* HT 1.02 capabilities are decoded as HT 1.03. Suggested by
17*b282435dSMartin Mares	Carl-Daniel Hailfinger.
18*b282435dSMartin Mares
19*b282435dSMartin Mares	* Fixed Cygwin build. Thanks to Steve Elliott for reporting the bug.
20*b282435dSMartin Mares
21*b282435dSMartin Mares	* Updated pci.ids to the current snapshot of the database.
22*b282435dSMartin Mares
23daf2ef4eSMartin Mares2008-09-19  Martin Mares <[email protected]>
24daf2ef4eSMartin Mares
25daf2ef4eSMartin Mares	* Released as 3.0.2.
26daf2ef4eSMartin Mares
27daf2ef4eSMartin Mares	* Fixed a minor bug in the configure script, which caused warnings
28daf2ef4eSMartin Mares	about redefinition of symbols during compilation.
29daf2ef4eSMartin Mares
3038254178SMartin Mares2008-09-11  Martin Mares <[email protected]>
3138254178SMartin Mares
3238254178SMartin Mares	* Released as 3.0.1.
3338254178SMartin Mares
3438254178SMartin Mares	* Updated pci.ids to the most recent snapshot.
3538254178SMartin Mares
3638254178SMartin Mares	* Added a Cygwin port. Patch by Christopher Voltz, ported to the
3738254178SMartin Mares	current tree by Martin Mares.
3838254178SMartin Mares
3938254178SMartin Mares	* Worked around compatibility problems with various default settings
4038254178SMartin Mares	of wget (we have to set --no-timestamping explicitly). Thanks to Ville
4138254178SMartin Mares	Skytta for pointing that out.
4238254178SMartin Mares
4338254178SMartin Mares	* Fixed printing of MSI capabilities. Thanks to Matthew Wilcox for
4438254178SMartin Mares	a patch.
4538254178SMartin Mares
4638254178SMartin Mares	* Added decoding of several PCI-X capabilities: device/link/slot 2,
4738254178SMartin Mares	Advanced Error Reporting, Access Control Services, Alternative Routing-ID,
4838254178SMartin Mares	Single Root I/O Virtualization. Thanks to Yu Zhao for patches.
4938254178SMartin Mares
5038254178SMartin Mares	* Fixed bug in filters which caused them to refuse vendor/device ID 0xffff.
5138254178SMartin Mares
5238254178SMartin Mares	* README: The linux-pci mailing list has moved to [email protected].
5338254178SMartin Mares
5438254178SMartin Mares	* Fixed several build problems: builds without PCI_USE_DNS on Linux
5538254178SMartin Mares	and with PCI_USE_DNS on Solaris and *BSD. Static library mode also
5638254178SMartin Mares	compiles again on old versions of GCC.
5738254178SMartin Mares
58cec9f7e7SMartin Mares2008-04-10  Martin Mares <[email protected]>
59cec9f7e7SMartin Mares
60cec9f7e7SMartin Mares	* Released as 3.0.0.
61cec9f7e7SMartin Mares
62cec9f7e7SMartin Mares	* Updated API and ABI version.
63cec9f7e7SMartin Mares
64cd2f6a34SMartin Mares2008-02-20  Martin Mares <[email protected]>
65cd2f6a34SMartin Mares
66cd2f6a34SMartin Mares	* Released as 2.99.1-alpha2.
67cd2f6a34SMartin Mares
68cd2f6a34SMartin Mares	* Changed the default domain for the DNS resolver.
69cd2f6a34SMartin Mares
70165a50cbSMartin Mares2008-02-18  Martin Mares <[email protected]>
71165a50cbSMartin Mares
72165a50cbSMartin Mares	* Released as 2.99.1-alpha1.
73623234ecSMartin Mares
74a1fca487SMartin Mares	* The makefile system has been reworked. All configuration settings
75a1fca487SMartin Mares	are now passed to the configure script in environment variables,
76a1fca487SMartin Mares	allowing for easy tweaking in the top-level Makefile. All control
77a1fca487SMartin Mares	knobs are now described in the README.
78a1fca487SMartin Mares
79a1fca487SMartin Mares	* The libpci can be built as a shared library with properly restricted
80a1fca487SMartin Mares	symbol exports. Use `make SHARED=yes' to enable that or `make SHARED=local'
81a1fca487SMartin Mares	for a local testing build (with hardwired paths to the library, so that
82a1fca487SMartin Mares	it does not need installation).
83a1fca487SMartin Mares
84a1fca487SMartin Mares	* The example program has been moved from lib/example.c to the top-level
85a1fca487SMartin Mares	directory, because it should be built exactly as the other utilities
86a1fca487SMartin Mares	are. It has been also improved slightly to educate better.
87a1fca487SMartin Mares
88623234ecSMartin Mares	* The i386-ports method is enabled on Linux/x86_64 as well.
89623234ecSMartin Mares
90ae27e293SMartin Mares2008-02-13  Martin Mares <[email protected]>
91ae27e293SMartin Mares
92ae27e293SMartin Mares	* Released as 2.2.10-net2.
93ae27e293SMartin Mares
94ae27e293SMartin Mares	* Support for resolving of PCI ID's using DNS together with a local
95ae27e293SMartin Mares	cache of resolved entries has been added. See the `-q' and `-Q' options
96ae27e293SMartin Mares	of lspci.
97ae27e293SMartin Mares
98ae27e293SMartin Mares	* The library now has a generic system of settable parameters, which
99ae27e293SMartin Mares	also include settings of the DNS resolver and cache. An `-O' option
100ae27e293SMartin Mares	has been added to lspci and setpci to allow setting of these options.
101ae27e293SMartin Mares
102ae27e293SMartin Mares	* Configuration of the access methods are now specified by the new
103ae27e293SMartin Mares	parameter system, replacing the pci_access->method_params array.
104ae27e293SMartin Mares
105ae27e293SMartin Mares	* Access methods now also have sensible names and help texts and it
106ae27e293SMartin Mares	is possible to look up method ID by a name.
107ae27e293SMartin Mares
108ae27e293SMartin Mares	* An `-A' switch has been added to both lspci and setpci, allowing to
109ae27e293SMartin Mares	select an arbitrary access method. The `-P' switch (configure proc
110ae27e293SMartin Mares	backend) has been removed as it is no longer needed and I do not know
111ae27e293SMartin Mares	any its user.
112ae27e293SMartin Mares
113ae27e293SMartin Mares	* Several source files have been split for better maintainability
114ae27e293SMartin Mares	(most notably the resolving of ID's).
115ae27e293SMartin Mares
116ae27e293SMartin Mares	* Man pages and help texts have been updated. A new man page `pcilib(7)'
117ae27e293SMartin Mares	has been added and description of library options has been moved there.
118ae27e293SMartin Mares
119ae27e293SMartin Mares	* When an unknown device ID is encountered, we print `Device <id>'
120ae27e293SMartin Mares	instead of `Unknown device <id>'. It uses less space and it also
121ae27e293SMartin Mares	should reduce the number of inexperienced users complaining that
122ae27e293SMartin Mares	the device is not supported by the OS. To lookup up OS drivers,
123ae27e293SMartin Mares	use the `-k' option.
124ae27e293SMartin Mares
125ae27e293SMartin Mares	* PCI_LIB_VERSION has been bumped to 0x020299.
126ae27e293SMartin Mares
127ae27e293SMartin Mares	* Makefile: stripping of the binaries during installation can be
128ae27e293SMartin Mares	overridden by the STRIP variable.
129ae27e293SMartin Mares
130ae27e293SMartin Mares	* lib/types.h: We use the integer types from <stdint.h> if the
131ae27e293SMartin Mares	compiler claims C99 support.
132ae27e293SMartin Mares
1330fc3bd18SMartin Mares2008-02-11  Martin Mares <[email protected]>
1340fc3bd18SMartin Mares
1352466b14bSMartin Mares	* Released as 2.2.10.
1362466b14bSMartin Mares
1376add52f5SMartin Mares	* lspci.c, setpci.c: Cleaned up the list of options.
1386add52f5SMartin Mares
1390fc3bd18SMartin Mares	* lib/names.c: Fix displaying of errors reported by zlib.
1400fc3bd18SMartin Mares	Previously, the buffer containing the error message had
1410fc3bd18SMartin Mares	been deallocated by gzclose() before the message was printed.
1420fc3bd18SMartin Mares
143d26b5378SMartin Mares2008-01-07  Martin Mares <[email protected]>
144d26b5378SMartin Mares
145d26b5378SMartin Mares	* update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
146d26b5378SMartin Mares	files left by previous versions of the pciutils. Patch by Mike
147d26b5378SMartin Mares	Frysinger.
148d26b5378SMartin Mares
149d26b5378SMartin Mares	* update-pciids.man: Mention the -q switch.
150d26b5378SMartin Mares
151dc01dd60SMartin Mares2007-11-29  Martin Mares <[email protected]>
152dc01dd60SMartin Mares
153dc01dd60SMartin Mares	* lib/dump.c: Squashed compiler warnings about code with
154dc01dd60SMartin Mares	no effect (there really were surplus *'s).
155dc01dd60SMartin Mares
15611339c0dSMartin Mares2007-11-06  Martin Mares <[email protected]>
15711339c0dSMartin Mares
15813463566SMartin Mares	* Released as 2.2.9.
15913463566SMartin Mares
16011339c0dSMartin Mares	* lspci.c: Added a new switch `-k' which requests printing
16111339c0dSMartin Mares	of information on kernel drivers attached to each device
16211339c0dSMartin Mares	and on kernel modules reporting the ability to handle the
16311339c0dSMartin Mares	device. So far, this is supported only on Linux with the
16411339c0dSMartin Mares	sysfs back-end, so it is implemented internally in the lspci
16511339c0dSMartin Mares	instead of the libpci. Thanks to Anicka <[email protected]>
16611339c0dSMartin Mares	for help.
16711339c0dSMartin Mares
1683de798bdSMartin Mares2007-10-19  Martin Mares <[email protected]>
1693de798bdSMartin Mares
1706cdb9d93SMartin Mares	* Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS.
1716cdb9d93SMartin Mares	Also added an explicit pattern rule for linking to make sure
1726cdb9d93SMartin Mares	that LDLIBS is used on all platforms. Thanks to Dan Nicholson
1736cdb9d93SMartin Mares	for the suggestion.
1746cdb9d93SMartin Mares
1756cdb9d93SMartin Mares2007-10-19  Martin Mares <[email protected]>
1766cdb9d93SMartin Mares
177a404b115SMartin Mares	* Released as 2.2.8.
178a404b115SMartin Mares
1793de798bdSMartin Mares	* pci.ids: Revised class codes to match Conventional PCI 3.0 specs.
1803de798bdSMartin Mares	Added a couple of new ones, renumbered `ADMA continuous operation'
1813de798bdSMartin Mares	prog-if to 0x30 (even the old SATA Class Code ECN doesn't mention
1823de798bdSMartin Mares	0x40) and renumbered the satellite communication controllers.
1833de798bdSMartin Mares
1842d2c4810SMartin Mares	* lib/header.h: Include `PCI hot-plug' and `Secure device'
185f7c76ec5SMartin Mares	capabilities from PCI 3.0 specs. Also added `SATA HBA' and
186f7c76ec5SMartin Mares	`Advanced features' caps from various ECN's.
1872d2c4810SMartin Mares
188fa2273caSMartin Mares	* lspci.c: All known capabilities have at least their name displayed
189fa2273caSMartin Mares	now. When we are unable to decode them completely, we signalize it
190fa2273caSMartin Mares	with a `<?>' mark.
191fa2273caSMartin Mares
192fa2273caSMartin Mares	* lspci.man: Document `<?>' and also mention that extended config
193fa2273caSMartin Mares	space is currently available only with the linux_sysfs back-end.
194fa2273caSMartin Mares
19531c9bb28SMartin Mares	* lspci.c: Decode the Debug port capability (per EHCI 0.96 spec).
19631c9bb28SMartin Mares
197a387042eSMartin Mares	* lspci.c: Big code cleanup: re-arranged functions in the code,
198a387042eSMartin Mares	renamed everything related to capabilities to cap_* and
199a387042eSMartin Mares	all options except verbose to opt_*.
200a387042eSMartin Mares
2019c79fcc4SMartin Mares2007-10-14  Martin Mares <[email protected]>
2029c79fcc4SMartin Mares
2039c79fcc4SMartin Mares	* lib/[fno]bsd-*: Removed extraneous braces.
2049c79fcc4SMartin Mares
205d5b4cd14SMartin Mares2007-10-12  Martin Mares <[email protected]>
206d5b4cd14SMartin Mares
207d5b4cd14SMartin Mares	* Capability loop detection introduced 2.2.7 did not work
208d5b4cd14SMartin Mares	  properly with extended capabilities. Fixed.
209d5b4cd14SMartin Mares
210594de878SMartin Mares2007-10-05  Martin Mares <[email protected]>
211594de878SMartin Mares
2128a23eadcSMartin Mares	* Released as 2.2.7.
2138a23eadcSMartin Mares
214594de878SMartin Mares	* lspci.c (show_caps, show_ext_caps): Detect and report loops in
215594de878SMartin Mares	capability lists.
216594de878SMartin Mares
2178a23eadcSMartin Mares	* lspci.c, lib/header.h: Finished decoding of the PCI Express
2188a23eadcSMartin Mares	capability. The extended capabilities remain undecoded for now,
2198a23eadcSMartin Mares	but at least the list of them has been updated to reflect the
2208a23eadcSMartin Mares	current PCI Express 2.0 spec.
2218a23eadcSMartin Mares
2228a23eadcSMartin Mares	* lspci.c, lib/header.h: Decode new bits of traditional registers
2238a23eadcSMartin Mares	as defined by PCIE / PCI-X. This includes discard timers in the bridge
2248a23eadcSMartin Mares	control register and INTx enable/status in device control/status
2258a23eadcSMartin Mares	registers.
2268a23eadcSMartin Mares
2278a23eadcSMartin Mares	* lib/fbsd-device.c: Support domains on new FreeBSD's. Contributed
2288a23eadcSMartin Mares	by Marius Strobl.
2298a23eadcSMartin Mares
23099091df9SMartin Mares2007-09-12  Hasso Tepper <[email protected]>
23199091df9SMartin Mares
23299091df9SMartin Mares	* Extended the fbsd-device backend to run on Dragonfly BSD.
23399091df9SMartin Mares
23499091df9SMartin Mares	* lspci.c: alloca() is declared in <stdlib.h> on BSD's, not <alloca.h>.
23599091df9SMartin Mares
23609156b3bSMartin Mares2007-09-03  Martin Mares <[email protected]>
23709156b3bSMartin Mares
23809156b3bSMartin Mares	* Resurrected the Windows port, including cross-compilation by MinGW.
23909156b3bSMartin Mares	Patch by Samuel Bronson <[email protected]>.
24009156b3bSMartin Mares
241325a3c50SMartin Mares2007-08-31  Martin Mares <[email protected]>
242325a3c50SMartin Mares
243325a3c50SMartin Mares	* Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to allow
244325a3c50SMartin Mares	cross-compilation.
245325a3c50SMartin Mares
246a2322147SMartin Mares2007-08-27  Martin Mares  <[email protected]>
247a2322147SMartin Mares
248a2322147SMartin Mares	* lib/names.c (pci_open): When calling gzopen(), use "rb" file mode
249a2322147SMartin Mares	instead of "r". This is needed on DOS systems, where this function
250a2322147SMartin Mares	somewhat illogically uses the binary flag for the compressed file
251a2322147SMartin Mares	instead of the decompressed stream inside, where binariness really
252a2322147SMartin Mares	matters.
253a2322147SMartin Mares
2544f2c5b94SMartin Mares2007-08-14  Martin Mares  <[email protected]>
2554f2c5b94SMartin Mares
2564f2c5b94SMartin Mares	* lspci.c (show_ht): Added decoding of Hypertransport MSI mapping capability,
2574f2c5b94SMartin Mares	based on a patch by Jason Gunthorpe.
2584f2c5b94SMartin Mares
2594f2c5b94SMartin Mares	* tests/cap-MSI-mapping: Added a test case. I plan to add test cases
2604f2c5b94SMartin Mares	(which are dumps of config space) for all new features.
2614f2c5b94SMartin Mares
2620d7f5331SMartin Mares2007-06-20  Martin Mares  <[email protected]>
2630d7f5331SMartin Mares
2647cebe481SMartin Mares	* Released as 2.2.6.
2657cebe481SMartin Mares
2660d7f5331SMartin Mares	* Makefile: Added an "install-lib" target. Thanks to Dan Nicholson
2670d7f5331SMartin Mares	for a patch.
2680d7f5331SMartin Mares
2697cebe481SMartin Mares	* Makefile, lib/Makefile: Generate and install pkg-config file
2707cebe481SMartin Mares	for libpci. Again by Dan Nicholson.
2717cebe481SMartin Mares
2720d7f5331SMartin Mares2007-06-20  Thomas Schwinge  <[email protected]>
2730d7f5331SMartin Mares
2740d7f5331SMartin Mares	* lib/i386-io-hurd.h: Rewritten for new Hurd kernels.
2750d7f5331SMartin Mares
2766e4a45edSMartin Mares2007-05-04  Martin Mares  <[email protected]>
2776e4a45edSMartin Mares
27855c89179SMartin Mares	* Released as 2.2.5.
27955c89179SMartin Mares
2806e4a45edSMartin Mares	* pci.ids: Updated to the current snapshot of the database.
2816e4a45edSMartin Mares
282d0b07542SMartin Mares2007-02-14  Martin Mares  <[email protected]>
283d0b07542SMartin Mares
284d0b07542SMartin Mares	* lspci.c (show_express): Added PCI/PCI-X to PCI-Express Bridge type.
285d0b07542SMartin Mares	Patch by Mark Glines.
286d0b07542SMartin Mares
2873df35926SMartin Mares2007-02-09  Martin Mares  <[email protected]>
2883df35926SMartin Mares
2893df35926SMartin Mares	* pci.ids: Updated to the current snapshot of the database.
2903df35926SMartin Mares
291e49ed044SMartin Mares2007-02-06  Martin Mares  <[email protected]>
292e49ed044SMartin Mares
2931ac3a99dSMartin Mares	* Replaced bzero() by memset() everywhere, it's better to lose a tiny
2941ac3a99dSMartin Mares	bit of readability than maintain hacks to make it work on various systems.
2951ac3a99dSMartin Mares
296b0eb18ccSMartin Mares	* lib/configure: tr on Solaris is a bit weird and it requires `[A-Z]'
297b0eb18ccSMartin Mares	instead of `A-Z'. Fortunately, the extra brackets don't hurt otherwise.
298b0eb18ccSMartin Mares
299e49ed044SMartin Mares	* lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise
300e49ed044SMartin Mares	integer types.
301e49ed044SMartin Mares
3029de2768cSMartin Mares2007-02-04  Martin Mares  <[email protected]>
3039de2768cSMartin Mares
3049de2768cSMartin Mares	* lspci.c: alloca() needs <alloca.h>.
3059de2768cSMartin Mares
306d19394dbSMartin Mares2006-09-17  Martin Mares  <[email protected]>
307d19394dbSMartin Mares
308d19394dbSMartin Mares	* lib/dump.c: Fixed a couple of bugs in the dump backend which caused
309d19394dbSMartin Mares	devices with domains or with extended config space to be read incorrectly.
310d19394dbSMartin Mares	Also, dumps with partial lines are allowed now.
311d19394dbSMartin Mares
312934e7e36SMartin Mares2006-09-10  Martin Mares  <[email protected]>
313934e7e36SMartin Mares
314f09856deSMartin Mares	* pci.ids: Updated to the current database snapshot.
315f09856deSMartin Mares
316934e7e36SMartin Mares	* lspci.c (scan_device): If an error occurs when reading the standard config
317934e7e36SMartin Mares	header of a device, report it and ignore the device and return with exit
318934e7e36SMartin Mares	code 2 at the end.
319934e7e36SMartin Mares
320b2055313SMartin Mares2006-09-09  Martin Mares  <[email protected]>
321b2055313SMartin Mares
322fb260653SMartin Mares	* Released as 2.2.4.
323fb260653SMartin Mares
3241865e2ddSMartin Mares	* maint/release: Remind the maintainer about the current PCI_LIB_VERSION.
3251865e2ddSMartin Mares
326028dffb2SMartin Mares	* lib/pci.h: Updated PCI_LIB_VERSION.
327028dffb2SMartin Mares
32813081e57SMartin Mares	* lspci.c (show_machine): In the `-m' mode, do proper shell escaping
32913081e57SMartin Mares	if the fields printed contain quotes or backslashes.
33013081e57SMartin Mares
3313fd6b4d2SMartin Mares	* lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse
3323fd6b4d2SMartin Mares	of the `Device' tag for two different purposes.
3333fd6b4d2SMartin Mares
334840d09aeSMartin Mares	* Makefile: Moved all system-dependent decisions to lib/configure,
335840d09aeSMartin Mares	since config.mk is included in the top-level Makefile anyway.
336840d09aeSMartin Mares
3372100f710SMartin Mares	* lib/configure: When configuring for Linux, ignore the kernel version
3382100f710SMartin Mares	and always build all access methods.
3392100f710SMartin Mares
3403e9c7a18SMartin Mares	* Makefile (CFLAGS): Removed -Winline, it's not needed and triggers
3413e9c7a18SMartin Mares	at many non-interesting places with gcc 3.4.
3423e9c7a18SMartin Mares
34394db5c82SMartin Mares	* Whitespace cleanup of all source files.
34494db5c82SMartin Mares
345cc062b4aSMartin Mares	* The pci.ids file can be stored compressed if zlib is available.
346cc062b4aSMartin Mares	Added transparent decompression to lib/names.c, modified update-pciids.sh
347cc062b4aSMartin Mares	to keep the file compressed if applicable, updated Makefiles.
348cc062b4aSMartin Mares	Based on a patch by Matthew Wilcox, but all the bugs are mine.
349cc062b4aSMartin Mares
350f4ddb8d3SMartin Mares	* Makefile, README: Allow installation to be done to a different directory
351f4ddb8d3SMartin Mares	from the one we will eventually be placed in by setting DESTDIR.
352f4ddb8d3SMartin Mares	Patch by Matthew Wilcox.
353f4ddb8d3SMartin Mares
35416e37012SMartin Mares	* Added .gitignore files.
35516e37012SMartin Mares
356c7f5314dSMartin Mares	* Makefile (clean): Clean *.orig, too.
357c7f5314dSMartin Mares
358afebde01SMartin Mares	* Cleaned up usage of `char' and `byte'.
359afebde01SMartin Mares
360fd54ccebSMartin Mares	* lib/header.h: PCI_CLASS_DOCKING_OTHER should be 0x0a80, not 0x0a01.
361fd54ccebSMartin Mares
362b2055313SMartin Mares	* lib/header.h: Added PCI_CLASS_xxx constants for all classes currently
363b2055313SMartin Mares	defined in the pci.ids file.
364b2055313SMartin Mares
3654254d153SMartin Mares2006-08-01  Martin Mares  <[email protected]>
3664254d153SMartin Mares
3674254d153SMartin Mares	* lib/i386-io-hurd.h: Fixed a silly typo.
3684254d153SMartin Mares
3691c5cc9b5SMartin Mares2006-07-30  Martin Mares  <[email protected]>
3701c5cc9b5SMartin Mares
37138a9e3c3SMartin Mares	* lib/Makefile: Added a missing rule for obsd-device.o.
37238a9e3c3SMartin Mares
373c7ddfa3eSMartin Mares	* lspci.c, lib/header.h: Added support for MSI per-vector masking.
374c7ddfa3eSMartin Mares	Contributed by Petr Vandrovec.
375c7ddfa3eSMartin Mares
376248a04f8SMartin Mares	* lspci.c, lib/header.h: Added support for the `bridge subsystem ID'
377248a04f8SMartin Mares	capability. Contributed by Petr Vandrovec.
378248a04f8SMartin Mares
379f29dcc87SMartin Mares	* lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable
380f29dcc87SMartin Mares	memory windows. Fix by Petr Vandrovec.
381f29dcc87SMartin Mares
3828eab3bffSMartin Mares	* maint/release.pm: Exclude .git directory from releases.
3838eab3bffSMartin Mares
384d305d704SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Report failures during port access
385d305d704SMartin Mares	initialization by a->warn() instead of calling printf() or perror()
386d305d704SMartin Mares	directly.
387d305d704SMartin Mares
3889007a292SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Moved the logic which keeps track of
3899007a292SMartin Mares	the port access state to generic code.
3909007a292SMartin Mares
391bd20d5b5SMartin Mares	* lib/i386-io-hurd.h: Ask the kernel for I/O port access appropriately.
392bd20d5b5SMartin Mares	Contributed by Thomas Schwinge and Samuel Thibault.
393bd20d5b5SMartin Mares
39473750606SMartin Mares	* lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module.
39573750606SMartin Mares
396d71daa45SMartin Mares	* lib/header.h: Whitespace cleanups.
397d71daa45SMartin Mares
3981c5cc9b5SMartin Mares	* lib/i386-io-windows.h: Fixed indentation and spelling.
3991c5cc9b5SMartin Mares
4001c5cc9b5SMartin Mares	* README.Windows: Mention that WinIO.dll is needed and where to get it.
4011c5cc9b5SMartin Mares
402c2b144efSMartin Mares2006-06-27  Martin Mares  <[email protected]>
403c2b144efSMartin Mares
40414d4f989SMartin Mares	* lib/Makefile, Makefile: Added rules for building and cleaning the example.
40514d4f989SMartin Mares
40614d4f989SMartin Mares	* lib/example.c: Show how to use PCI_FILL_CLASS and used another register
40714d4f989SMartin Mares	for demonstrating the config space accesses. The example is still very
40814d4f989SMartin Mares	incomplete, though.
40914d4f989SMartin Mares
410c2b144efSMartin Mares	* lib/pci.h, lib/generic.c: Added PCI_FILL_CLASS.
411c2b144efSMartin Mares
412c2b144efSMartin Mares	* lib/sysfs.c: Fetch device ID and class from sysfs, because they can
413c2b144efSMartin Mares	be modified by kernel fixups.
414c2b144efSMartin Mares
415c2b144efSMartin Mares	* lspci.c: Use PCI_FILL_CLASS. Thanks to Matthew Willcox for the patch.
416c2b144efSMartin Mares
417bc2eed2dSMartin Mares2006-06-03  Martin Mares  <[email protected]>
418bc2eed2dSMartin Mares
419bc2eed2dSMartin Mares	* lspci.c: Introduced the -nn switch. Thanks to David N. Welton
420bc2eed2dSMartin Mares	for the idea.
421bc2eed2dSMartin Mares
422bc2eed2dSMartin Mares	* lib/names.c (pci_lookup_name): Introduced PCI_LOOKUP_MIXED and
423bc2eed2dSMartin Mares	cleaned up the name selection code.
424bc2eed2dSMartin Mares
425c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): If PCI_LOOKUP_NO_NUMBERS is given,
426c72eeddeSMartin Mares	pci_access->numeric_ids is ignored.
427c72eeddeSMartin Mares
428c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): When class is identified and
429c72eeddeSMartin Mares	subclass isn't, display class name and subclass number.
430c72eeddeSMartin Mares
4312f294d4bSMartin Mares2006-05-31  Martin Mares  <[email protected]>
4322f294d4bSMartin Mares
4332f294d4bSMartin Mares	* setpci.c (main): Don't crash when an invalid width is specified.
4342f294d4bSMartin Mares
43581afa98cSMartin Mares	* lspci.c, setpci.c, common.c: die() now uses the right program
43681afa98cSMartin Mares	name when printing an error message.
43781afa98cSMartin Mares
4380ac282f2SMartin Mares2006-05-19  Martin Mares  <[email protected]>
4390ac282f2SMartin Mares
4400ac282f2SMartin Mares	* README: Mention the public GIT tree.
4410ac282f2SMartin Mares
4420ac282f2SMartin Mares	* README: Updated the list of ports.
4430ac282f2SMartin Mares
444d1058e9dSMartin Mares2006-05-10  Martin Mares  <[email protected]>
445d1058e9dSMartin Mares
446d1058e9dSMartin Mares	* lib/configure, lib/fbsd-device.c: Added support for GNU/kFreeBSD.
447d1058e9dSMartin Mares	Thanks to Petr Salinger for the patch.
448d1058e9dSMartin Mares
449abf8d505SMartin Mares2006-05-05  Martin Mares  <[email protected]>
450abf8d505SMartin Mares
4512ae2d1aeSMartin Mares	* Released as 2.2.3.
4522ae2d1aeSMartin Mares
4532ae2d1aeSMartin Mares	* lspci.c (scan_device): The -D switch didn't work as intended
4542ae2d1aeSMartin Mares	in -m mode.
4552ae2d1aeSMartin Mares
4562ae2d1aeSMartin Mares2006-05-05  Martin Mares  <[email protected]>
4572ae2d1aeSMartin Mares
4581d5cf727SMartin Mares	* Released as 2.2.2.
4591d5cf727SMartin Mares
4608a830168SMartin Mares	* pci.ids: Updated to the current database snapshot.
4618a830168SMartin Mares
462b6359063SMartin Mares	* lib/obsd-device.c (and other files in lib/*): Added OpenBSD
463b6359063SMartin Mares	interface by Matthieu Herrb <[email protected]>, based on
464b6359063SMartin Mares	the existing FreeBSD interface.
465b6359063SMartin Mares
466abf8d505SMartin Mares	* Moved pciutils to a GIT repository, which now contains merged
467abf8d505SMartin Mares	history from both CVS and Arch. Good bye, TLA!
468abf8d505SMartin Mares
4696ac70402SMartin Mares2006-03-21  Martin Mares  <[email protected]>
4706ac70402SMartin Mares
4712a124daeSMartin Mares	* lspci.c (show_slot_name): Avoid the previous changes in default
4722a124daeSMartin Mares	display of domain name when in machine-readable mode. However, `-D'
4732a124daeSMartin Mares	forces domain display even there.
4742a124daeSMartin Mares
4756ac70402SMartin Mares	* lspci.man: Added a warning on -m being the only format, which is
4766ac70402SMartin Mares	guaranteed to be stable between lspci versions.
4776ac70402SMartin Mares
4781bbdea17SMartin Mares2006-03-13  Martin Mares  <[email protected]>
4791bbdea17SMartin Mares
480af61eb25SMartin Mares	* lspci.man: Documented the -D switch.
481af61eb25SMartin Mares
482af61eb25SMartin Mares	* lspci.c (show_slot_name, scan_device): If there are multiple PCI
483af61eb25SMartin Mares	domains or if the `-D' switch is used, show the domain number for
484af61eb25SMartin Mares	all devices.
485af61eb25SMartin Mares
4867a61b93cSMartin Mares	* lspci.c (show_verbose): Report cache line size in bytes.
4877a61b93cSMartin Mares
4881bbdea17SMartin Mares	* update-pciids.sh: Use curl if available. Patch by Matthew Wilcox.
4891bbdea17SMartin Mares
4900e78ef8aSMartin Mares2006-01-04  Martin Mares  <[email protected]>
4910e78ef8aSMartin Mares
4920e78ef8aSMartin Mares	* lspci.c (show_express_link): Fixed decoding of link status register.
4930e78ef8aSMartin Mares	Thanks to Roland Dreier for his report.
4940e78ef8aSMartin Mares
495e6859953SMartin Mares2005-12-12  Martin Mares  <[email protected]>
496e6859953SMartin Mares
497e6859953SMartin Mares	* lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow
498e6859953SMartin Mares	at least read-only access. Patch by Pavel Celeda <[email protected]>.
499e6859953SMartin Mares
500e6859953SMartin Mares	* Makefile: Corrected library path on NetBSD.
501e6859953SMartin Mares
502a99c0d69SMartin Mares2005-11-26  Martin Mares  <[email protected]>
503a99c0d69SMartin Mares
504e4af70c6SMartin Mares	* Released as 2.2.1.
505e4af70c6SMartin Mares
506a99c0d69SMartin Mares	* lspci.c (show_machine): Subsystem vendors were printed incorrectly
507a99c0d69SMartin Mares	in machine-readable modes. Thanks to Pavel Celeda for a bug report.
508a99c0d69SMartin Mares
509f23fd3fcSMartin Mares2005-10-11  Martin Mares  <[email protected]>
510f23fd3fcSMartin Mares
511f23fd3fcSMartin Mares	* lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it.
512f23fd3fcSMartin Mares
51315296723SMartin Mares2005-09-21  Martin Mares  <[email protected]>
51415296723SMartin Mares
51515296723SMartin Mares	* Released as 2.2.0.
51615296723SMartin Mares
51740b6d93fSMartin Mares	* pci.ids: Updated copyright header.
51840b6d93fSMartin Mares
51915296723SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported
52015296723SMartin Mares	64-bit addresses, they are now always supported.
52115296723SMartin Mares
52215296723SMartin Mares	* lspci.c (show_bases): Corrected printing of 64-bit addresses
52315296723SMartin Mares	in bus-centric mode.
52415296723SMartin Mares
52515296723SMartin Mares	* lib/configure: Enable 64-bit addresses on all Linux systems.
52615296723SMartin Mares
52715296723SMartin Mares	* lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they
52815296723SMartin Mares	are shorter.
52915296723SMartin Mares
530224707baSMartin Mares2005-09-11  Martin Mares  <[email protected]>
531224707baSMartin Mares
532224707baSMartin Mares	* Released as 2.1.99-test11.
533224707baSMartin Mares
534224707baSMartin Mares	* lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls.
535224707baSMartin Mares
536aeaca5d3SMartin Mares2005-09-10  Martin Mares  <[email protected]>
537aeaca5d3SMartin Mares
538224707baSMartin Mares	* Released as 2.1.99-test10.
539224707baSMartin Mares
54063e6f2e0SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
54163e6f2e0SMartin Mares
542043ebdeeSMartin Mares	* update-pciids.sh: Changed the default URL for downloading pci.ids
543043ebdeeSMartin Mares	to http://pciids.sourceforge.net/v2.2/pci.ids.
544043ebdeeSMartin Mares
545043ebdeeSMartin Mares	* lib/pci.h (PCI_LIB_VERSION): Added version identifier.
546043ebdeeSMartin Mares
547aeaca5d3SMartin Mares	* lib/names.c: Rewritten the name database module almost from scratch.
548aeaca5d3SMartin Mares	Everything is much cleaner and there are hopefully no more memory leaks;
549aeaca5d3SMartin Mares	pci_lookup_name() now uses varargs in a backward compatible fashion.
550aeaca5d3SMartin Mares	Introduced PCI_LOOKUP_NO_NUMBERS.
551aeaca5d3SMartin Mares
552aeaca5d3SMartin Mares	The new code supports subsystem entries not tied to a specific device.
553aeaca5d3SMartin Mares	I had to extend the format of pci.ids in order to support it, so I have
554aeaca5d3SMartin Mares	extended the idea of the "C" (class) blocks and introduced "S" blocks
555aeaca5d3SMartin Mares	for subsystems. To avoid doing more incompatible changes in the future,
556aeaca5d3SMartin Mares	the parser skips unknown single-letter blocks without reporting errors.
557aeaca5d3SMartin Mares
558121c76c9SMartin Mares2005-08-23  Martin Mares  <[email protected]>
559121c76c9SMartin Mares
56054e13765SMartin Mares	* Released as 2.1.99-test9.
56154e13765SMartin Mares
56254e13765SMartin Mares	* Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent
56354e13765SMartin Mares	gcc versions when optimizing anyway.
56454e13765SMartin Mares
56554e13765SMartin Mares	* Made the path to pci.ids customizable and independent on the SHAREDIR.
56654e13765SMartin Mares	Just override IDSDIR in the top-level Makefile.
56754e13765SMartin Mares
56854e13765SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
56954e13765SMartin Mares
57084d437d6SMartin Mares	* lspci.man, setpci.man: Improved the man pages. Documented all access
57184d437d6SMartin Mares	methods and which operations are privileged.
57284d437d6SMartin Mares
57384d437d6SMartin Mares	* lspci.c: Another rewrite of config register caching, now also including
57484d437d6SMartin Mares	lots of internal checks. It should be now perfectly able to cope with
57584d437d6SMartin Mares	portions of the configuration space being inaccessible, for example
57684d437d6SMartin Mares	due to insufficient access rights.
57784d437d6SMartin Mares
5783b8bf739SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X
5793b8bf739SMartin Mares	capabilities. Includes partial support for PCI-X 2.0 (probably incomplete
5803b8bf739SMartin Mares	as I haven't seen the spec).
5813b8bf739SMartin Mares
5823b8bf739SMartin Mares	* lspci.c: Quell warnings about unused parameters.
5833b8bf739SMartin Mares
58484d437d6SMartin Mares	* lspci.c: Removed C++ comments.
58584d437d6SMartin Mares
5863b8bf739SMartin Mares	* lib/header.h: Merged definitions of extended capabilities and some new
5873b8bf739SMartin Mares	PCI-X capability bits from linux-2.6.11/include/pci.h.
5883b8bf739SMartin Mares
5893b8bf739SMartin Mares	* lspci.c (show_caps): Try to scan extended capabilities only if the
5903b8bf739SMartin Mares	device has either PCI-X or PCI Express capability in its normal capability
5913b8bf739SMartin Mares	list.
5923b8bf739SMartin Mares
593f7821e53SMartin Mares	* lib/dump.c (dump_init): Reading of dumps works again. The dump reader
594f7821e53SMartin Mares	now also remembers how much data it has read and refuses attempts to
595f7821e53SMartin Mares	access more than that.
596ea4e5f5dSMartin Mares
59746ea554dSMartin Mares	* setpci.man, lspci.c, README: prefer spelling "buses" over "busses".
59846ea554dSMartin Mares
5998afaab22SMartin Mares	* lspci.c: If alloca() is not available, use xmalloc(), not malloc().
6008afaab22SMartin Mares
601121c76c9SMartin Mares	* lib/configure: Added x86_64 on Linux.
602121c76c9SMartin Mares
603c1c2c30eSMartin Mares2005-08-22  Martin Mares  <[email protected]>
604c1c2c30eSMartin Mares
605b9ca9147SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters.
606b9ca9147SMartin Mares	Thanks to Matthew Wilcox for bug report.
607b9ca9147SMartin Mares
608c1c2c30eSMartin Mares	* lspci.c: Corrected spelling of "Hz" (it was "hz" at several places).
609b9ca9147SMartin Mares	Thanks to Krzysztof Oledzki for pointing that out.
610c1c2c30eSMartin Mares
61126542a0bSMartin Mares2004-08-19  Martin Mares  <[email protected]>
61226542a0bSMartin Mares
61326542a0bSMartin Mares	* pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism,
61426542a0bSMartin Mares	because pciutils by default install to /usr/sbin. Update.
61526542a0bSMartin Mares
6166aa54f1bSMartin Mares2004-08-13  Martin Mares  <[email protected]>
6176aa54f1bSMartin Mares
618aabb0a92SMartin Mares	* Released as 2.1.99-test8.
619aabb0a92SMartin Mares
620f31412d1SMartin Mares	* lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are
621f31412d1SMartin Mares	no longer exported to the outside world.
622f31412d1SMartin Mares
623ee7d8384SMartin Mares	* README.Windows: Updated.
624ee7d8384SMartin Mares
625ee7d8384SMartin Mares	* maint/release: Substitute version number in win32/config.h.
626ee7d8384SMartin Mares
627ee7d8384SMartin Mares	* win32/config.h: Added.
628ee7d8384SMartin Mares
629ee7d8384SMartin Mares	* lib/sysdep.h (bzero, strcasecmp): are macros on Windows.
630ee7d8384SMartin Mares
631ee7d8384SMartin Mares	* compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU
632ee7d8384SMartin Mares	C library for use on systems where the default libraries lack
633ee7d8384SMartin Mares	proper getopt. Currently used by the Windows port.
634ee7d8384SMartin Mares
635ee7d8384SMartin Mares	* lib/sysdep.h, lib/types.h: Updates of the Windows port from
636ee7d8384SMartin Mares	Alexander Stock.
637ee7d8384SMartin Mares
638489233b4SMartin Mares	* lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define
639489233b4SMartin Mares	its own u8, u16, u32, byte and word types and uses what the user
640489233b4SMartin Mares	has supplied instead. With this change, all namespace clashes should
641489233b4SMartin Mares	be gone.
642489233b4SMartin Mares
643489233b4SMartin Mares	* Makefile, lib/Makefile: Updated dependencies.
644489233b4SMartin Mares
645489233b4SMartin Mares	* pciutils.h: Include lib/sysdep.h and move NONRET et al. there.
646489233b4SMartin Mares
647489233b4SMartin Mares	* lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because
648489233b4SMartin Mares	it is included unconditionally in lib/types.h.
649489233b4SMartin Mares
650489233b4SMartin Mares	* Moved system-dependent stuff from lib/internal.h to lib/sysdep.h,
651489233b4SMartin Mares	which is also used by the utilities. Also moved type declarations
652489233b4SMartin Mares	from lib/pci.h to lib/types.h.
653489233b4SMartin Mares
654489233b4SMartin Mares	* All files: Prepend a "PCI_" prefix in front of all configuration
655489233b4SMartin Mares	defines to avoid namespace clashes. CAVEAT: If there is any libpci
656489233b4SMartin Mares	application using the (undocumented) defines, it has to be updated.
657489233b4SMartin Mares
658489233b4SMartin Mares	* lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing
659489233b4SMartin Mares	headers with the kernel a couple of years ago.
660489233b4SMartin Mares
6619bb4b4eaSMartin Mares	* lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6.
6629bb4b4eaSMartin Mares
6636aa54f1bSMartin Mares	* lspci.c (show_rom): Use the same logic for printing disabled
6646aa54f1bSMartin Mares	or unassigned ROM's as we do in show_bases() for the other BAR's.
6656aa54f1bSMartin Mares
6666aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Better reaction to
6676aa54f1bSMartin Mares	invalid 64-bit addresses. Also d->hdrtype should not include
6686aa54f1bSMartin Mares	bit 7, which caused mysterious errors on multi-function devices.
6696aa54f1bSMartin Mares
6706aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Fill in base addresses
6716aa54f1bSMartin Mares	even if the regions are known to be disabled. It is the client's
6726aa54f1bSMartin Mares	job to interpret them. (And it is not a trivial job if you want
6736aa54f1bSMartin Mares	to do it correctly, since you need to check I/O and memory enables
6746aa54f1bSMartin Mares	on all upstream bridges, too.) However, it could be interesting to
6756aa54f1bSMartin Mares	introduce functions for interpreting the addresses and even for
6766aa54f1bSMartin Mares	mapping the regions and doing I/O on them.
6776aa54f1bSMartin Mares
67880e6c636SMartin Mares2004-07-30  Martin Mares  <[email protected]>
67980e6c636SMartin Mares
68080e6c636SMartin Mares	* lspci.c: HyperTransport improvements from Maciej.
68180e6c636SMartin Mares
682d6324891SMartin Mares2004-07-11  Martin Mares  <[email protected]>
683d6324891SMartin Mares
684d6324891SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Arguments now correspond
685d6324891SMartin Mares	to the format string. [Patch by Bill Nottingham]
686d6324891SMartin Mares
687ec25b52dSMartin Mares2004-07-05  Martin Mares  <[email protected]>
688ec25b52dSMartin Mares
689362be683SMartin Mares	* Released as 2.1.99-test7.
690362be683SMartin Mares
691ec25b52dSMartin Mares	* lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but
692ec25b52dSMartin Mares	ended up with rewriting the fetching mechanism to be fully dynamic,
693ec25b52dSMartin Mares	but avoid reading config space registers not explicitly requested.
694ec25b52dSMartin Mares
695ec25b52dSMartin Mares2004-06-29  Matthew Wilcox <[email protected]>
696ec25b52dSMartin Mares
697ec25b52dSMartin Mares	* lspci.c: More work on PCI Express dumping.
698ec25b52dSMartin Mares
699ec25b52dSMartin Mares	* lib/header.h: Updated PCI Express capability definitions.
700ec25b52dSMartin Mares
701ec25b52dSMartin Mares	* lib/proc.c (proc_read): Removed bogus warning.
702ec25b52dSMartin Mares
703ec25b52dSMartin Mares	* common.c (xrealloc): Introduced.
704ec25b52dSMartin Mares
705ec25b52dSMartin Mares	* lspci.man: Added -xxxx.
706ec25b52dSMartin Mares
70709817437SMartin Mares2004-06-27  Martin Mares  <[email protected]>
70809817437SMartin Mares
709d1fa27ebSMartin Mares	* Released as 2.1.99-test6.
710d1fa27ebSMartin Mares
7114d67aa89SMartin Mares	* lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap.
7124d67aa89SMartin Mares	Patch by Roland Dreier <[email protected]>, cleaned up by me.
7134d67aa89SMartin Mares
7144d67aa89SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch()
7154d67aa89SMartin Mares	failures.
7164d67aa89SMartin Mares
7174d67aa89SMartin Mares	* lib/header.h: Added PCI Express extended capabilities. Again by Matthew.
7184d67aa89SMartin Mares
7194d67aa89SMartin Mares	* lspci.c (show_express): Added dumping of PCI Express cap.
7204d67aa89SMartin Mares	Patch by Matthew Wilcox.
7214d67aa89SMartin Mares
7224d67aa89SMartin Mares	* lib/header.h: Added a list of PCI 3.0 capabilities and also details
7234d67aa89SMartin Mares	on PCI Express caps. Patch by Matthew Wilcox <[email protected]>.
7244d67aa89SMartin Mares
72509817437SMartin Mares	* lspci.c (check_root): Gone. No explicit checks for root are needed,
72609817437SMartin Mares	report correct errors reported by the libpci instead.
72709817437SMartin Mares
72809817437SMartin Mares	* lspci.c: Added dumping of the extended config space on "-xxxx".
72909817437SMartin Mares	Better caching of config registers.
73009817437SMartin Mares
73109817437SMartin Mares	* setpci.c (main): Allow access to whole 4096 bytes of the config space.
73209817437SMartin Mares
73309817437SMartin Mares	* lib/sysfs.c, lib/proc.c: Don't print error messages on short reads,
73409817437SMartin Mares	just return the appropriate error code.
73509817437SMartin Mares
73609817437SMartin Mares	* lib: Added support for extended (4096-byte) configuration space,
73709817437SMartin Mares	currently implemented only in Linux proc and sysfs access methods
73809817437SMartin Mares	and of course in the dump reader.
73909817437SMartin Mares
7400d656226SMartin Mares2004-05-29  Martin Mares  <[email protected]>
7410d656226SMartin Mares
742c0eece92SMartin Mares	* Released as 2.1.99-test5.
743c0eece92SMartin Mares
744a2413560SMartin Mares	* lib/pci.h: Windows don't have the standard u_int* types.
745a2413560SMartin Mares
746a2413560SMartin Mares	* lib/internal.h: <sys/param.h> required on Windows for endianity
747a2413560SMartin Mares	macros.
748a2413560SMartin Mares
749a2413560SMartin Mares	* lib/i386-ports.c: Connected i386-io-windows.h.
750a2413560SMartin Mares
751a2413560SMartin Mares	* lspci.c (check_root): geteuid() is not available on Windows.
752a2413560SMartin Mares
753a2413560SMartin Mares	* lib/i386-io-windows.h: Added Windows port contributed by Alexander
754a2413560SMartin Mares	Stock <[email protected]>.
755a2413560SMartin Mares
756a2413560SMartin Mares	* lib/configure: Hopefully fixed SunOS port broken by various
757a2413560SMartin Mares	changes to the configure script.
758a2413560SMartin Mares
7590d656226SMartin Mares	* Makefile, lib/configure: Cross-compilation support, patch by Maciej.
7600d656226SMartin Mares
761138c0385SMartin Mares2004-05-28  Martin Mares  <[email protected]>
762138c0385SMartin Mares
7639f490382SMartin Mares	* Released as 2.1.99-test4.
7649f490382SMartin Mares
765cce2caacSMartin Mares	* lspci.c (show_verbose): Header type 1 is probably legal for all
766cce2caacSMartin Mares	types of bridges, not only for PCI-to-PCI bridges.
767cce2caacSMartin Mares
768b569ef09SMartin Mares	* lspci.c (format_agp_rate): Write "x16", not "x@".
769b569ef09SMartin Mares	(show_agp): rate[] could overflow.
770b569ef09SMartin Mares	Bugs reported by Jakub Bogusz <[email protected]>.
771b569ef09SMartin Mares
772bfc4fe7aSMartin Mares	* lspci.c (show_ht_*): Show HyperTransport capability with all its
773bfc4fe7aSMartin Mares	details. Once again code by Maciej simplified (i.e., possibly broken)
774bfc4fe7aSMartin Mares	by me.
775bfc4fe7aSMartin Mares
776bfc4fe7aSMartin Mares	* lib/header.h: Added declarations of HyperTransport capability.
777bfc4fe7aSMartin Mares	Again thanks to Maciej.
778bfc4fe7aSMartin Mares
779138c0385SMartin Mares	* lspci.c: Decode all bits of the secondary status word in type 1 headers.
780138c0385SMartin Mares	Thanks to Maciej W. Rozycki <[email protected]> for the patch.
781138c0385SMartin Mares
7828fc75dbcSMartin Mares2003-12-27  Martin Mares  <[email protected]>
7838fc75dbcSMartin Mares
78481abd2a7SMartin Mares	* Released as 2.1.99-test3.
78581abd2a7SMartin Mares
7861f7c91ccSMartin Mares	* lspci.man, setpci.man: Document domains and correct spelling.
7871f7c91ccSMartin Mares
7881f7c91ccSMartin Mares	* lib/dump.c (dump_init): Added ability to read domain numbers.
7891f7c91ccSMartin Mares
79084c8d1bbSMartin Mares	* lspci.c: Devices in domains different from 0 have their slot number
7911f7c91ccSMartin Mares	printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains
7921f7c91ccSMartin Mares	as well.
79384c8d1bbSMartin Mares
79484c8d1bbSMartin Mares	* lib/filter.c: Slot filters understand domains.
79584c8d1bbSMartin Mares
79684c8d1bbSMartin Mares	* lib/generic.c: Mention the domain in slot numbers in all error messages.
79784c8d1bbSMartin Mares
79884c8d1bbSMartin Mares	* lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong.
79984c8d1bbSMartin Mares
80084c8d1bbSMartin Mares	* lib/access.c (pci_get_dev): Added support for domains.
80184c8d1bbSMartin Mares
80284c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config
80384c8d1bbSMartin Mares	registers (or to be precise, leave it for the generic parts of the pcilib
80484c8d1bbSMartin Mares	to do so) instead of reading them from the sysfs. It's faster this way.
80584c8d1bbSMartin Mares
80684c8d1bbSMartin Mares	* lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal
80784c8d1bbSMartin Mares	variable. Better read it from the config registers (it's cached anyway).
80884c8d1bbSMartin Mares
80984c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype.
81084c8d1bbSMartin Mares	  lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it.
81184c8d1bbSMartin Mares	  Saves lots of unnecessary file accesses.
81284c8d1bbSMartin Mares
81311f7b31bSMartin Mares	* lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter
81411f7b31bSMartin Mares	is not supported by all C libraries.
81511f7b31bSMartin Mares
81611f7b31bSMartin Mares	* Makefile: Always enter the lib directory (remember that we don't have
81711f7b31bSMartin Mares	full dependecies for the library in the top-level Makefile; hmmm, another
81811f7b31bSMartin Mares	thing to rewrite some day).
81911f7b31bSMartin Mares
82011f7b31bSMartin Mares	* lib/sysfs.c: Added Linux sysfs access method based on the patch
82111f7b31bSMartin Mares	written by Matthew Wilcox <[email protected]>.
82211f7b31bSMartin Mares
82311f7b31bSMartin Mares	* lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc".
82411f7b31bSMartin Mares
82511f7b31bSMartin Mares	* lib/pread.h: The hacks to support pread on various versions
82611f7b31bSMartin Mares	of Linux libc moved there.
82711f7b31bSMartin Mares
82811f7b31bSMartin Mares	* lib/proc.c (proc_setup): The return value of snprintf() varies
82911f7b31bSMartin Mares	between glibc versions, so we need to check both for a negative
83011f7b31bSMartin Mares	values and for too large values.
83111f7b31bSMartin Mares
8324284af58SMartin Mares	* Removed last few references to the "Linux PCI Utilities", the
8334284af58SMartin Mares	package is pretty cross-platform now :)
8344284af58SMartin Mares
8354284af58SMartin Mares2003-12-27  Martin Mares  <[email protected]>
8364284af58SMartin Mares
837ab12277eSMartin Mares	* Released as 2.1.99-test2.
838ab12277eSMartin Mares
839ab12277eSMartin Mares	* README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the
840ab12277eSMartin Mares	release scripts insert the current version. "make release" is gone.
841ab12277eSMartin Mares
842ab12277eSMartin Mares	* maint/release, maint/release.pm: Added a new system of scripts for
843ab12277eSMartin Mares	making releases including inter-version diffs etc.
844ab12277eSMartin Mares
845ab12277eSMartin Mares	* Makefile: Cleaned up.
846ab12277eSMartin Mares
847ab12277eSMartin Mares	* lib/fbsd-device.c: I patched another copy of this file by mistake,
848ab12277eSMartin Mares	this time the version checks should be right.
849ab12277eSMartin Mares
850ab12277eSMartin Mares2003-12-27  Martin Mares  <[email protected]>
851ab12277eSMartin Mares
8526d722cd6SMartin Mares	* Released as 2.1.99-test1.
8536d722cd6SMartin Mares
854dd33246aSMartin Mares	* pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
855dd33246aSMartin Mares	Remove shadows of the syscall access method which was never
856dd33246aSMartin Mares	implemented.
857dd33246aSMartin Mares
85880b3121aSMartin Mares	* update-pciids.sh: Try to preserve permissions of the old file
85980b3121aSMartin Mares	if chmod supports --reference. Should close Debian Bug #223740.
86080b3121aSMartin Mares
8616aea909aSMartin Mares	* lib/proc.c (proc_setup): Increased path name length limit to 1024.
8626aea909aSMartin Mares	Thanks for Redhat and Mandrake for inspiration.
8636aea909aSMartin Mares
8646aea909aSMartin Mares	* lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
8656aea909aSMartin Mares	Grabbed from Redhat (Fedora) patches.
8666aea909aSMartin Mares
8676aea909aSMartin Mares2003-12-27  Martin Mares  <[email protected]>
8686aea909aSMartin Mares
869f701ff47SMartin Mares	Merged bug fixes from Debian patches:
870f701ff47SMartin Mares
871f701ff47SMartin Mares	* lspci.c (show_verbose): "Cache Line Size" should be capitalized.
872f701ff47SMartin Mares
873f701ff47SMartin Mares	* lspci.c (show_pcix_nobridge): Added a missing newline.
874f701ff47SMartin Mares
8752240db8cSMartin Mares	* lib/proc.c (proc_scan): When reading the header type, don't
8762240db8cSMartin Mares	forget to clear the topmost bit indicating that the device has
877f701ff47SMartin Mares	multiple functions.
8782240db8cSMartin Mares
8792240db8cSMartin Mares2003-12-27  Martin Mares  <[email protected]>
8802240db8cSMartin Mares
88145902995SMartin Mares	Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]>
88245902995SMartin Mares	for the patches:
88345902995SMartin Mares
88445902995SMartin Mares	* lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
88545902995SMartin Mares	* lib/fbsd-device.c: Select the right set of system includes according
88645902995SMartin Mares	to __FreeBSD_version.
88745902995SMartin Mares
88845902995SMartin Mares2003-12-27  Martin Mares  <[email protected]>
88945902995SMartin Mares
8908fc75dbcSMartin Mares	Merged support for Solaris on i386 by Bill Moore <[email protected]>
8918fc75dbcSMartin Mares	and cleaned up:
8928fc75dbcSMartin Mares
8938fc75dbcSMartin Mares	* lib/configure: Recognize SunOS.
8948fc75dbcSMartin Mares	* lib/internal.h: Learn how to recognize byte order on SunOS.
8958fc75dbcSMartin Mares	* lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
8968fc75dbcSMartin Mares	* lib/i386-io-linux.h: Linux specific part.
8978fc75dbcSMartin Mares	* lib/i386-io-hurd.h: GNU/Hurd specific part.
8988fc75dbcSMartin Mares	* lib/i386-io-sunos.h: SunOS specific part.
8998fc75dbcSMartin Mares
9009739916eSMartin Mares2003-12-26  Martin Mares  <[email protected]>
9019739916eSMartin Mares
9029739916eSMartin Mares	* lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly.
9039739916eSMartin Mares
9049739916eSMartin Mares	* lib/pci.h: Types declared in <sys/types.h> should be usable on all
9059739916eSMartin Mares	platforms we currently support, so kill the forest of #ifdef's and
9069739916eSMartin Mares	use them in all cases.
9079739916eSMartin Mares
9089739916eSMartin Mares	* lib/pci.h: Use ULONG_MASK to decide whether we should use long
9099739916eSMartin Mares	or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS.
9109739916eSMartin Mares	Define format strings for addresses, port numbers and IRQ numbers
9119739916eSMartin Mares	directly in pci.h.
9129739916eSMartin Mares
9139739916eSMartin Mares	* lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses.
9149739916eSMartin Mares
91580459c65SMartin Mares2003-12-26  Marco Gerards  <[email protected]>
91680459c65SMartin Mares
91780459c65SMartin Mares	Added support for the GNU Hurd (cleaned up by Martin Mares):
91880459c65SMartin Mares
91980459c65SMartin Mares	* lib/configure [GNU]: Use the i386 ports for configuration access.
92080459c65SMartin Mares	* lib/i386-ports.c: Don't call iopl() on the Hurd.
92180459c65SMartin Mares	* lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining
92280459c65SMartin Mares	u8 to u32.
92380459c65SMartin Mares
924a85769a8SMartin Mares2003-12-26  Martin Mares  <[email protected]>
925a85769a8SMartin Mares
9267dacd9c8SMartin Mares	* lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call
9277dacd9c8SMartin Mares	config_fetch() to ensure that the registers have been read. Thanks to
9287dacd9c8SMartin Mares	Bill Wood <[email protected]> for the patch.
9297dacd9c8SMartin Mares
9307dacd9c8SMartin Mares	* lspci.c: Ensure that failure of config_fetch() is handled correctly
9317dacd9c8SMartin Mares	at all places.
9327dacd9c8SMartin Mares
9334063c31cSMartin Mares	* lspci.man: There was one more explicit reference to /usr/share/pci.ids.
9344063c31cSMartin Mares	Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>.
9354063c31cSMartin Mares
9363fe8a38dSMartin Mares	* setpci.c (main): Better error messages.
9373fe8a38dSMartin Mares
9385f5b1a7bSMartin Mares	* setpci.c (ex_op): The demo mode should disable only writing, not reading.
9395f5b1a7bSMartin Mares
9405f5b1a7bSMartin Mares	* setpci.man: The documentation was inconsistent on what should -D do.
9415f5b1a7bSMartin Mares	Document the new behaviour.
942b251f40bSMartin Mares
94391e37a49SMartin Mares	* pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
94491e37a49SMartin Mares	the GCC specific __attribute__((noreturn)) and killed the hack with
94591e37a49SMartin Mares	redefining __attribute__ on non-GCC compilers.
94691e37a49SMartin Mares
9474afd29d3SMartin Mares	* Makefile: Added missing dependencies. Parallel builds work now.
9484afd29d3SMartin Mares	Problem reported by Andreas Haumer <[email protected]>, but I chose
9494afd29d3SMartin Mares	a different fix.
9504afd29d3SMartin Mares
951b0f1a03bSMartin Mares	* Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell
952b0f1a03bSMartin Mares	command every time $(MANDIR) is referenced.
953b0f1a03bSMartin Mares
954b7fd8e19SMartin Mares	* lspci.c (main): The error message for `lspci -s' incorrectly mentioned
955b7fd8e19SMartin Mares	a `-f' switch. Reported by Steve Finney <[email protected]>.
956b7fd8e19SMartin Mares
95705bb10a2SMartin Mares	* lib/generic.c: Removed memory leak in pci_generic_bus_scan().
95805bb10a2SMartin Mares	Reported by Gary Parnes <[email protected]>.
95905bb10a2SMartin Mares
960a832f6f1SMartin Mares	* Replaced obsolete syntax of __attribute__((unused)) in the middle of
961a832f6f1SMartin Mares	parameter declarations (which is no longer supported by GCC 3.1) by the
962a832f6f1SMartin Mares	current syntax (attribute at the end). Thanks to [email protected]
963a832f6f1SMartin Mares	for reporting this problem.
964a832f6f1SMartin Mares
965a85769a8SMartin Mares	* Removed CVS $Id$ tags from all files.
966a85769a8SMartin Mares
967a85769a8SMartin Mares	* Makefile: Added some more warnings.
968a85769a8SMartin Mares
969b7351143SMartin Mares	* setpci.c: Cleaned up mask/value code.
970b7351143SMartin Mares
971b7351143SMartin Mares2003-12-08 Thayne Harbaugh <[email protected]>
972b7351143SMartin Mares
973b7351143SMartin Mares	* setpci.c: Individual bits to be set can be specified as <value>:<mask>.
974b7351143SMartin Mares
9752a5d5cf9SMartin Mares2003-11-29  Martin Mares  <[email protected]>
9762a5d5cf9SMartin Mares
9772a5d5cf9SMartin Mares	* Imported the pciutils sources to my Arch repository. Good-bye, CVS.
9782a5d5cf9SMartin Mares
979d772ef15SMartin Mares2003-01-04  Martin Mares  <[email protected]>
980d772ef15SMartin Mares
9811b95f396SMartin Mares	* Released as 2.1.11.
9821b95f396SMartin Mares
983c83293ebSMartin Mares	* Makefile: Changed configuration of installation directories --
984c83293ebSMartin Mares	all paths are now set at the top of the Makefile instead of being
985c83293ebSMartin Mares	scattered between the installation rules. The default installation
986c83293ebSMartin Mares	now goes always to /usr/local regardless of the OS as most distributions
987c83293ebSMartin Mares	already contain some version of pciutils and we don't want custom
988c83293ebSMartin Mares	installations to interfere with the default ones.
989c83293ebSMartin Mares
990c83293ebSMartin Mares	* Makefile: Removed a couple of ancient install hacks: we no longer
991c83293ebSMartin Mares	try to avoid overwriting a newer pci.ids file (users are now expected
992c83293ebSMartin Mares	to use update-ids) and we don't try to remove /etc/pci.ids (a long time
993c83293ebSMartin Mares	has passed since the last version which used it).
994c83293ebSMartin Mares
995e2875dcdSMartin Mares	* Makefile: Paths to pci.ids in man pages automatically get the right path.
996e2875dcdSMartin Mares
9971b95f396SMartin Mares	* Added the update-ids utility.
9980138a2a7SMartin Mares
999d772ef15SMartin Mares	* lib: Removed partially implemented "syscall" access method which will
1000d772ef15SMartin Mares	probably never be needed.
1001d772ef15SMartin Mares
1002eb620239SMartin Mares2002-12-27  Martin Mares  <[email protected]>
1003eb620239SMartin Mares
1004130090bdSMartin Mares	* lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe.
1005130090bdSMartin Mares
1006eb620239SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Added work-around for devices with
1007eb620239SMartin Mares	discontiguous numbering of functions. This is already present in the Linux
1008eb620239SMartin Mares	kernel for several years, but I forgot to update pciutils as well.
1009eb620239SMartin Mares
1010848b4347SMartin Mares2002-12-26  Martin Mares  <[email protected]>
1011848b4347SMartin Mares
1012579b19ffSMartin Mares	* lib/header.h, lspci.c: Dump AGP3 flags and speeds.
1013579b19ffSMartin Mares
1014579b19ffSMartin Mares	* lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header,
1015579b19ffSMartin Mares	there is no reason to prefer the kernel version.
1016579b19ffSMartin Mares
1017579b19ffSMartin Mares	* lib/proc.c (proc_scan): Don't forget to initialize hdrtype.
1018579b19ffSMartin Mares
1019848b4347SMartin Mares	* Added preliminary version of NetBSD support by Quentin Garnier
1020848b4347SMartin Mares	<[email protected]>.
1021848b4347SMartin Mares
1022f0952474SMartin Mares2002-04-06  Martin Mares  <[email protected]>
1023f0952474SMartin Mares
1024f0952474SMartin Mares	* lspci.c: Mention "-xxx" in the help.
1025f0952474SMartin Mares
1026d2f666f1SMartin Mares2002-03-30  Martin Mares  <[email protected]>
1027d2f666f1SMartin Mares
10289bd44bb0SMartin Mares	* Released as 2.1.10.
10299bd44bb0SMartin Mares
1030a33d0eb7SMartin Mares	* Removed pci.ids from the CVS as they are now maintained separately.
1031a33d0eb7SMartin Mares	They are still included in the tarball, but if you are building	pciutils
1032a33d0eb7SMartin Mares	from CVS sources or you want to get a newer ID file than the one distributed,
1033a33d0eb7SMartin Mares	just use "make update-ids" to download the most recent snapshot from
1034a33d0eb7SMartin Mares	pciids.sf.net.
1035a33d0eb7SMartin Mares
1036a33d0eb7SMartin Mares	* Makefile, README: Updated accordingly.
1037a33d0eb7SMartin Mares
1038a33d0eb7SMartin Mares	* Makefile: Added a couple of maintenance targets.
1039a33d0eb7SMartin Mares
1040a33d0eb7SMartin Mares	* maint/*: Maintainer's utilities now reside here (present only in CVS,
1041a33d0eb7SMartin Mares	not in the tarball).
1042a33d0eb7SMartin Mares
1043d2f666f1SMartin Mares	* lib/names.c (parse_name_list): End-of-line comments are no longer
1044d2f666f1SMartin Mares	supported. Hashes are now perfectly valid in all names and they start
1045d2f666f1SMartin Mares	a comment only at the start of the line.
1046d2f666f1SMartin Mares
1047ee551b73SMartin Mares2002-03-26  Martin Mares  <[email protected]>
1048ee551b73SMartin Mares
104907159913SMartin Mares	* README: Rewritten.
105007159913SMartin Mares
1051ee551b73SMartin Mares	* Makefile: When the currently installed pci.ids file is newer than
1052ee551b73SMartin Mares	the version to be installed, don't overwrite it. Suggested by
1053ee551b73SMartin Mares	Jean Delvare <[email protected]>.
1054ee551b73SMartin Mares
1055bc7b1d62SMartin Mares2002-03-24  Martin Mares  <[email protected]>
1056bc7b1d62SMartin Mares
10575f5e6f64SMartin Mares	* lspci.c (show_pcix_bridge): Added PCI-X capability display.
10585f5e6f64SMartin Mares	Contributed by Jeff Garzik <[email protected]>.
10595f5e6f64SMartin Mares
10605f5e6f64SMartin Mares	* lib/header.h: Added PCI-X stuff. Again by Jeff.
10615f5e6f64SMartin Mares
10625f5e6f64SMartin Mares	* Makefile (CFLAGS): -Werror is gone.
10635f5e6f64SMartin Mares
1064a1052f16SMartin Mares	* lspci.c (format_agp_rate): Fixed AGP rate reporting.
1065a1052f16SMartin Mares
1066bc7b1d62SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and
1067bc7b1d62SMartin Mares	function 7.
1068bc7b1d62SMartin Mares
1069bc7b1d62SMartin Mares	* lib/names.c (pci_lookup_name): When printing unknown subsystem vendor
1070bc7b1d62SMartin Mares	or device hexadecimally, don't confuse it with chip vendor/device ID.
1071bc7b1d62SMartin Mares	First reported by Marc Boucher <[email protected]>.
1072bc7b1d62SMartin Mares
1073f793990cSMartin Mares2001-11-04  Martin Mares  <[email protected]>
1074f793990cSMartin Mares
1075ee551b73SMartin Mares	* Released as 2.1.9.
1076ee551b73SMartin Mares
1077f793990cSMartin Mares	* pci.ids: Synced with the PCI ID Repository at SourceForge
1078f793990cSMartin Mares	(http://pciids.sourceforge.net/).
1079f793990cSMartin Mares
10801d174e56SMartin Mares2000-08-25  Martin Mares  <[email protected]>
10811d174e56SMartin Mares
10821d174e56SMartin Mares	* pci.ids: Updated ID's, synced with kernel 2.4.0-test7.
10831d174e56SMartin Mares
108465b4327eSMartin Mares2000-06-13  Martin Mares  <[email protected]>
108565b4327eSMartin Mares
108665b4327eSMartin Mares	* Makefile (uninstall): Fixed.
108765b4327eSMartin Mares
108865b4327eSMartin Mares	* pci.ids: ID updates.
108965b4327eSMartin Mares
10904a219d5fSMartin Mares2000-05-20  Martin Mares  <[email protected]>
10914a219d5fSMartin Mares
10924a219d5fSMartin Mares	* Released as 2.1.8.
10934a219d5fSMartin Mares
10944a219d5fSMartin Mares	* pci.ids: ID updates.
10954a219d5fSMartin Mares
10964a219d5fSMartin Mares	* lspci.c (show_verbose): Min/max latency is now printed in nanoseconds.
10974a219d5fSMartin Mares
10984a219d5fSMartin Mares2000-05-04  Martin Mares  <[email protected]>
10994a219d5fSMartin Mares
11004a219d5fSMartin Mares	* lspci.c (show_verbose): If the header type doesn't match device
11014a219d5fSMartin Mares	class, just print a warning and still use the header type, assuming
11024a219d5fSMartin Mares	bogus class info.
11034a219d5fSMartin Mares
110410c90662SMartin Mares2000-05-01  Martin Mares  <[email protected]>
110510c90662SMartin Mares
110672b9b690SMartin Mares	* lspci.c (show_pm): Updated according to PCI PM specs 1.1.
110772b9b690SMartin Mares
110810c90662SMartin Mares	* pci.ids: Updated Contemporary Control ARCnet card entries.
110910c90662SMartin Mares
111010c90662SMartin Mares	* pci.ids: Synchronized class list with latest PCI SIG documents.
111110c90662SMartin Mares
1112a239ade6SMartin Mares2000-04-29  Martin Mares  <[email protected]>
1113a239ade6SMartin Mares
1114a239ade6SMartin Mares	* lib/names.c (pci_lookup_name): Fixed the cheat.
1115a239ade6SMartin Mares
1116a239ade6SMartin Mares	* lib/internal.h: Moved UNUSED/inline hacks above all other declarations.
1117a239ade6SMartin Mares
1118a239ade6SMartin Mares	* pci.ids: Various ID updates.
1119a239ade6SMartin Mares
11202c83b860SMartin Mares2000-04-21  Martin Mares  <[email protected]>
11212c83b860SMartin Mares
11222c83b860SMartin Mares	* Released as 2.1.7.
11232c83b860SMartin Mares
11242c83b860SMartin Mares	* pciutils.spec: Added German description.
11252c83b860SMartin Mares
11262c83b860SMartin Mares	* lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's
11272c83b860SMartin Mares	are the same as device ID and just output subsystem name according to
11282c83b860SMartin Mares	device name.
11292c83b860SMartin Mares
11302c83b860SMartin Mares	* lib/proc.c: Use UNUSED instead of __attribute__((unused)).
11312c83b860SMartin Mares
11322c83b860SMartin Mares	* lib/pci.h: Added the correct typedefs for AIX.
11332c83b860SMartin Mares
11342c83b860SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Export.
11352c83b860SMartin Mares
11362c83b860SMartin Mares	* lib/configure: Detect AIX. Use "echo '...\c'" instead of
11372c83b860SMartin Mares	"echo -n" if the shell isn't bash.
11382c83b860SMartin Mares
11392c83b860SMartin Mares	* lspci.c: Avoid using alloca() if not compiled by GCC.
11402c83b860SMartin Mares	(insert_dev): Avoid returning a void value.
11412c83b860SMartin Mares
11422c83b860SMartin Mares	* Makefile: Choose which install utility to use according to
11432c83b860SMartin Mares	OS type. Also use `-o' instead of `-or' in find arguments.
11442c83b860SMartin Mares	Part of the AIX port.
11452c83b860SMartin Mares
11462c83b860SMartin Mares	* lib/aix-device.c: Added AIX low-level interface. Contributed
11472c83b860SMartin Mares	by Dave Johnson <[email protected]>, thanks a lot!
11482c83b860SMartin Mares
11492c83b860SMartin Mares	* pci.ids: Few new ID's.
11502c83b860SMartin Mares
11512c83b860SMartin Mares	* pciutils.h, lib/internal.h: Redefine __attribute__ and inline
11522c83b860SMartin Mares	when not compiled by GCC.
11532c83b860SMartin Mares
1154c1a828daSMartin Mares2000-04-17  Martin Mares  <[email protected]>
1155c1a828daSMartin Mares
1156c1a828daSMartin Mares	* Released as 2.1.6.
1157c1a828daSMartin Mares
1158c1a828daSMartin Mares	* pci.ids: Added a large batch of ID's contributed by Gunther
1159c1a828daSMartin Mares	Mayer <[email protected]> and synced the
1160c1a828daSMartin Mares	list with the 2.3.99pre6 kernel.
1161c1a828daSMartin Mares
1162e91dd3abSMartin MaresThu Mar  9 13:11:39 2000  Martin Mares  <[email protected]>
1163e91dd3abSMartin Mares
1164a80b79a9SMartin Mares	* lib/example.c: Added a simple example of how to use
1165a80b79a9SMartin Mares	the library.
1166a80b79a9SMartin Mares
116789984232SMartin Mares	* lspci.man, setpci.man: Revealed --version. Well spotted
116889984232SMartin Mares	by Adam Sulmicki.
116989984232SMartin Mares
1170e91dd3abSMartin Mares	* pci.ids: Added lots of new ID's and synced with 2.3.50.
1171e91dd3abSMartin Mares
117278d9c5e2SMartin MaresTue Feb 15 00:16:21 2000  Martin Mares  <[email protected]>
117378d9c5e2SMartin Mares
117478d9c5e2SMartin Mares	* Released as 2.1.5.
117578d9c5e2SMartin Mares
117678d9c5e2SMartin Mares	* pciutils.spec: Updated spec file from Andreas Jaeger. Now using
117778d9c5e2SMartin Mares	%{_mandir} to find the right location to install manual pages to.
117878d9c5e2SMartin Mares
117978d9c5e2SMartin Mares	* pci.ids: New ID's.
118078d9c5e2SMartin Mares
118178d9c5e2SMartin Mares	* setpci.c (main): Don't crash when `-s' or `-d' is given with
118278d9c5e2SMartin Mares	no argument.
118378d9c5e2SMartin Mares
1184f8141ae2SMartin MaresMon Jan 24 20:04:11 2000  Andreas Jaeger  <[email protected]>
1185f8141ae2SMartin Mares
1186f8141ae2SMartin Mares	* lib/i386-ports.c: Include <asm/io.h> only on systems without
1187f8141ae2SMartin Mares	glibc.
1188f8141ae2SMartin Mares
1189f8141ae2SMartin MaresMon Jan 24 11:24:43 2000  Martin Mares  <[email protected]>
1190f8141ae2SMartin Mares
1191f8141ae2SMartin Mares	* Makefile: Modified to work with the Linux FHS brain-damaged idea
1192f8141ae2SMartin Mares	of putting man pages to /usr/share/man. Now we choose either /usr/man
1193f8141ae2SMartin Mares	or /usr/share/man depending on which one exists.
1194f8141ae2SMartin Mares
119559e76e8bSMartin MaresSun Jan 23 10:52:34 2000  Martin Mares  <[email protected]>
119659e76e8bSMartin Mares
119759e76e8bSMartin Mares	* pci.ids: Synced with Linux 2.3.40.
119859e76e8bSMartin Mares
119959e76e8bSMartin Mares	* Released as version 2.1.4.
120059e76e8bSMartin Mares
12012dfd48cdSMartin MaresThu Jan 20 11:08:32 2000  Martin Mares  <[email protected]>
12022dfd48cdSMartin Mares
12032715403fSMartin Mares	* lspci.c (scan_device): Fixed bug in reading of cardbus extensions.
12042715403fSMartin Mares
120581077814SMartin Mares	* lib/proc.c: pread/pwrite fixed again, this time on libc5 :(
120681077814SMartin Mares
120781077814SMartin Mares	* lspci.c (format_agp_rate): Better formatting of AGP rates.
120881077814SMartin Mares
120981077814SMartin Mares	* pci.ids: New ID's.
121081077814SMartin Mares
12112dfd48cdSMartin Mares	* lib/configure: Added configuration for ia64 (the same as for Alpha).
12122dfd48cdSMartin Mares	Patch from Stephane Eranian <[email protected]>.
12132dfd48cdSMartin Mares
12145a258860SMartin MaresThu Jan 13 23:01:52 2000  Martin Mares  <[email protected]>
12155a258860SMartin Mares
12165a258860SMartin Mares	* Released as version 2.1.3.
12175a258860SMartin Mares
12185a258860SMartin Mares	* pci.ids: New ID's.
12195a258860SMartin Mares
12205a258860SMartin Mares	* lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli.
12215a258860SMartin Mares
12225a258860SMartin Mares	* lib/access.c: Corrected order of access methods -- it's wonderful how
12235a258860SMartin Mares	long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff.
12245a258860SMartin Mares
12250c047bbeSMartin MaresSat Dec 11 23:34:48 1999  Martin Mares  <[email protected]>
12260c047bbeSMartin Mares
12270c047bbeSMartin Mares	* Released as version 2.1.2.
12280c047bbeSMartin Mares
12290c047bbeSMartin Mares	* lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
12300c047bbeSMartin Mares
123133bc28a5SMartin MaresSat Dec  4 13:11:03 1999  Martin Mares  <[email protected]>
123233bc28a5SMartin Mares
123339231205SMartin Mares	* Released as version 2.1.1.
123439231205SMartin Mares
123533bc28a5SMartin Mares	* pci.ids: Several new ID's.
123633bc28a5SMartin Mares
123733bc28a5SMartin Mares	* setpci.c (exec_op): Don't forget to increment address after writing
123833bc28a5SMartin Mares	single value, so that `30.b=12,34,56,78' works as expected. Reported
123933bc28a5SMartin Mares	by Petr Soucek <[email protected]>.
124033bc28a5SMartin Mares
12418d047897SMartin MaresWed Nov  3 10:24:38 1999  Martin Mares  <[email protected]>
12428d047897SMartin Mares
12438d047897SMartin Mares	* lspci.c (show_terse): If prog-if is zero, but it's present in the
12448d047897SMartin Mares	ID list, show it.
12458d047897SMartin Mares
12466afc6538SMartin MaresSat Oct 30 11:06:35 1999  Martin Mares  <[email protected]>
12476afc6538SMartin Mares
12486afc6538SMartin Mares	* Released as version 2.1.
12496afc6538SMartin Mares
12506afc6538SMartin Mares	* pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in
12516afc6538SMartin Mares	lots of contributed entries.
12526afc6538SMartin Mares
12538f756113SMartin MaresThu Oct 14 10:40:12 1999  Dave Jones    <[email protected]>
12548f756113SMartin Mares
12558f756113SMartin Mares	* pci.ids: Added lots of subsystem definitions.
12568f756113SMartin Mares
1257d4798a32SMartin MaresSat Oct  9 14:32:28 1999  Martin Mares  <[email protected]>
1258d4798a32SMartin Mares
1259d4798a32SMartin Mares	* setpci.man: Better example.
1260d4798a32SMartin Mares
1261d4798a32SMartin Mares	* lspci.c: Resolve prog-if names.
1262d4798a32SMartin Mares
1263d4798a32SMartin Mares	* lib/names.c: Adapted to new pci.ids syntax.
1264d4798a32SMartin Mares
1265d4798a32SMartin Mares	* pci.ids: Reorganized the pci.ids file. Subsystems are listed
1266d4798a32SMartin Mares	under devices, classes can optionally contain prog-if information.
1267d4798a32SMartin Mares	New ID's, as usually.
1268d4798a32SMartin Mares
1269e306e911SMartin MaresWed Sep 22 09:45:24 1999  Martin Mares  <[email protected]>
1270e306e911SMartin Mares
1271e306e911SMartin Mares	* pci.ids: New ID's. As usually.
1272e306e911SMartin Mares
1273e306e911SMartin Mares	* lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows
1274e306e911SMartin Mares	unless we're vvvery verbose.
1275e306e911SMartin Mares
1276e306e911SMartin MaresMon Sep 20 11:22:54 1999  Martin Mares  <[email protected]>
1277e306e911SMartin Mares
1278e306e911SMartin Mares	* lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
1279e306e911SMartin Mares
1280e64a576cSMartin MaresTue Sep 14 09:31:01 1999  Martin Mares  <[email protected]>
1281e64a576cSMartin Mares
1282e64a576cSMartin Mares	* pci.ids: New ID's. Again.
1283e64a576cSMartin Mares
1284c36c0862SMartin MaresThu Aug  5 17:45:42 1999  Martin Mares  <[email protected]>
1285c36c0862SMartin Mares
1286c36c0862SMartin Mares	* lspci.c (show_size): Don't show size if it's zero (usually
1287c36c0862SMartin Mares	due to bus-centric mode being enabled).
1288c36c0862SMartin Mares
12891ca42433SMartin MaresTue Jul 20 13:25:09 1999  Martin Mares  <[email protected]>
12901ca42433SMartin Mares
1291168b4f46SMartin Mares	* lib/pci.h: Types are OS dependent.
1292168b4f46SMartin Mares
1293168b4f46SMartin Mares	* lib/internal.h: Byte order hacks are OS dependent.
1294168b4f46SMartin Mares
1295168b4f46SMartin Mares	* lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS.
1296168b4f46SMartin Mares
1297168b4f46SMartin Mares	* lib/Makefile, lib/access.c: Added fbsd-device target.
1298168b4f46SMartin Mares
1299168b4f46SMartin Mares	* pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
1300168b4f46SMartin Mares	incorrectly set to device ID.
1301168b4f46SMartin Mares
1302168b4f46SMartin Mares	* README: Added a note that we support FreeBSD.
1303168b4f46SMartin Mares
1304168b4f46SMartin Mares	* Makefile (PREFIX, ROOT): Set it depending on the OS.
1305168b4f46SMartin Mares	(%.8): Grrr, BSD date is not able to convert date formats the same way
1306168b4f46SMartin Mares	as GNU date does. Use sed instead.
1307168b4f46SMartin Mares	(install): Use `-c' when calling install.
1308168b4f46SMartin Mares
1309168b4f46SMartin Mares	* lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed
1310168b4f46SMartin Mares	by Jari Kirma <[email protected]>.
1311168b4f46SMartin Mares
1312bc6346dfSMartin Mares	* lib/proc.c: Rewrote the pread/pwrite things once again. Use pread
1313bc6346dfSMartin Mares	and pwrite only when we are certain it's safe (i.e., glibc 2.1
1314bc6346dfSMartin Mares	on all architectures or any libc on a i386 where we really know
1315bc6346dfSMartin Mares	how to use syscalls directly). In all other cases, emulate it
1316bc6346dfSMartin Mares	with lseek/read/write.
1317bc6346dfSMartin Mares
13181ca42433SMartin Mares	* pci.ids: Some more IDs.
13191ca42433SMartin Mares
13201ca42433SMartin MaresMon Jul 19 14:10:36 1999  Martin Mares  <[email protected]>
13211ca42433SMartin Mares
13221ca42433SMartin Mares	* pci.ids: Added IDs of parallel port controller cards as sent
13231ca42433SMartin Mares	by Tim Waugh <[email protected]>.
13241ca42433SMartin Mares
1325e95c8373SMartin MaresWed Jul  7 00:55:48 1999  Martin Mares  <[email protected]>
1326e95c8373SMartin Mares
1327e95c8373SMartin Mares	* lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS.
1328e95c8373SMartin Mares
1329e95c8373SMartin Mares	* lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and
1330e95c8373SMartin Mares	HAVE_LONG_ADDRESS.
1331e95c8373SMartin Mares
1332e95c8373SMartin Mares	* lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses
1333e95c8373SMartin Mares	are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS
1334e95c8373SMartin Mares	to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS
1335e95c8373SMartin Mares	and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS
1336e95c8373SMartin Mares	on Alpha.
1337e95c8373SMartin Mares
1338e95c8373SMartin Mares	* lspci.c (show_msi): Added dumping of the MSI capability.
1339e95c8373SMartin Mares	(show_slotid): The same for SlotID capability.
1340e95c8373SMartin Mares	(show_caps): Seperated capability dumping, because it should
1341e95c8373SMartin Mares	be used for both htype0 and htype1. Even PCI 2.2 doesn't mention
1342e95c8373SMartin Mares	layout of htype2, so I'm a bit unsure about it wrt capabilities
1343e95c8373SMartin Mares	-- they at least have to live somewhere else since address 0x34
1344e95c8373SMartin Mares	is already defined differently in htype2.
1345e95c8373SMartin Mares
1346e95c8373SMartin Mares	* lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2).
1347e95c8373SMartin Mares	(PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto.
1348e95c8373SMartin Mares	(PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2.
1349e95c8373SMartin Mares
1350e95c8373SMartin Mares	* lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers
1351e95c8373SMartin Mares	(required by the PCI 2.2 specs).
1352e95c8373SMartin Mares
1353e95c8373SMartin MaresMon Jul  5 12:45:19 1999  Martin Mares  <[email protected]>
1354e95c8373SMartin Mares
1355e95c8373SMartin Mares	* lspci.c (show_size): Added new function for dumping of region sizes.
1356e95c8373SMartin Mares	(show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled
1357e95c8373SMartin Mares	ROMs et cetera.
1358e95c8373SMartin Mares
1359e95c8373SMartin Mares	* lib/pci.h (struct pci_dev): known_fields moved to the public part
1360e95c8373SMartin Mares	of the structure.
1361e95c8373SMartin Mares
1362e95c8373SMartin Mares	* Added support for region sizes. Needs support in the kernel, because
1363e95c8373SMartin Mares	sizes have to be scanned before drivers initialize yourself. pci_fill_info()
1364e95c8373SMartin Mares	now returns a bitmask of what fields were really read.
1365e95c8373SMartin Mares
136682ce97c9SMartin MaresMon Jun 28 18:37:51 1999  Dave Jones    <[email protected]>
136782ce97c9SMartin Mares
136882ce97c9SMartin Mares	* Makefile:
136982ce97c9SMartin Mares	  Added `uninstall' target - removes all traces of pciutils.
137082ce97c9SMartin Mares	* pci.ids:
137182ce97c9SMartin Mares	  - Lots of cleanups in the ATI, S3, Adaptec vendors.
137282ce97c9SMartin Mares	  - Changed Compaq QVision 1280/p definitions, as it's not possible
137382ce97c9SMartin Mares	    to determine the revision from the device ID.
137482ce97c9SMartin Mares	  - Same for the Tseng ET4000.
137582ce97c9SMartin Mares	    The id's said I had a rev C, when it was actually a rev B.
137682ce97c9SMartin Mares	  - Removed some unnecessary strings
137782ce97c9SMartin Mares	    `PCI'. Unless it's an AGP card, it should be obvious that it's PCI.
137882ce97c9SMartin Mares	    `Ethernet card'. This should be determined from config space.
137982ce97c9SMartin Mares	  - Lots of other new vendors & devices
138082ce97c9SMartin Mares	  - Other additional small cleanups.
138182ce97c9SMartin Mares
13827bed2d83SMartin MaresMon Jun 21 22:11:10 1999  Martin Mares  <[email protected]>
13837bed2d83SMartin Mares
13847bed2d83SMartin Mares	* lib/names.c (pci_lookup_name): When device ID lookup
13857bed2d83SMartin Mares	fails, return hexadecimal device ID instead of vendor ID.
13867bed2d83SMartin Mares	Well spotted by Axel Bodemann <[email protected]>,
13877bed2d83SMartin Mares	I've just extended the fix to subsystem ID's.
13887bed2d83SMartin Mares
13895ba3a475SMartin MaresThu Jun 17 19:48:21 1999  Martin Mares  <[email protected]>
13905ba3a475SMartin Mares
13915ba3a475SMartin Mares	* lspci.c (show_agp): Bug fix from Petr Vandrovec
13925ba3a475SMartin Mares	<[email protected]>. The command register was displayed
13935ba3a475SMartin Mares	incorrectly.
13945ba3a475SMartin Mares
13955ba3a475SMartin MaresWed Jun  2 22:42:44 1999  Martin Mares  <[email protected]>
13965ba3a475SMartin Mares
13975ba3a475SMartin Mares	* lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
13985ba3a475SMartin Mares	numbers if not supplied by the libc.
13995ba3a475SMartin Mares
140055c815b5SMartin MaresWed May 19 13:24:39 1999  Martin Mares  <[email protected]>
140155c815b5SMartin Mares
140255c815b5SMartin Mares	* Released the whole package as version 2.0.
140355c815b5SMartin Mares
140455c815b5SMartin MaresFri May 14 22:42:02 1999  Martin Mares  <[email protected]>
140555c815b5SMartin Mares
140655c815b5SMartin Mares	* pci.ids: Added several new ID's contributed by people
140755c815b5SMartin Mares	on the linux-pci list.
140855c815b5SMartin Mares
1409dec16943SMartin MaresMon Apr 19 15:21:08 1999  Jakub Jelinek  <[email protected]>
1410dec16943SMartin Mares
1411dec16943SMartin Mares	* lspci.c: Display I/O addresses correctly on sparc64.
1412dec16943SMartin Mares	* lib/header.h: Ditto.
1413dec16943SMartin Mares
1414dec16943SMartin Mares	* lib/configure: On sparc set HAVE_64BIT* as well, we want
1415dec16943SMartin Mares	a binary which works on both 32bit and 64bit SPARCs.
1416dec16943SMartin Mares
1417e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999  Martin Mares  <[email protected]>
1418e33c9c7aSMartin Mares
1419e33c9c7aSMartin Mares	* lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
1420e33c9c7aSMartin Mares	<[email protected]>.
1421e33c9c7aSMartin Mares
1422e33c9c7aSMartin Mares	* pci.ids: A lot of updates from Adam J. Richter <[email protected]>.
1423e33c9c7aSMartin Mares
1424f3395cc5SMartin MaresSun Feb 28 22:26:21 1999  Martin Mares  <[email protected]>
1425f3395cc5SMartin Mares
1426f3395cc5SMartin Mares	* lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
1427f3395cc5SMartin Mares	as a multi-function device, because several single-function devices
1428f3395cc5SMartin Mares	don't decode the function bits at all.
1429f3395cc5SMartin Mares
1430f3395cc5SMartin MaresSun Feb 14 23:48:22 1999  Martin Mares  <[email protected]>
1431f3395cc5SMartin Mares
1432f3395cc5SMartin Mares	* Makefile (install): Don't use "-o root -g root" for installation
1433f3395cc5SMartin Mares	since it breaks on machines where programs are not installed by root.
1434f3395cc5SMartin Mares	Reported by Richard Gooch <[email protected]>
1435f3395cc5SMartin Mares
1436f3395cc5SMartin MaresTue Feb  9 15:54:39 1999  Martin Mares  <[email protected]>
1437f3395cc5SMartin Mares
1438f3395cc5SMartin Mares	* lspci.c (show_bases): Use new address masking macros and pciaddr_t.
1439f3395cc5SMartin Mares
1440f3395cc5SMartin Mares	* lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
1441f3395cc5SMartin Mares	or 64-bit depending on CPU.
1442f3395cc5SMartin Mares
1443f3395cc5SMartin Mares	* lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
1444f3395cc5SMartin Mares	according to bus address width.
1445f3395cc5SMartin Mares
14461c31d620SMartin MaresThu Jan 28 20:54:16 1999  Martin Mares  <[email protected]>
14471c31d620SMartin Mares
14481c31d620SMartin Mares	* Released as 1.99.4.
14491c31d620SMartin Mares
14501c31d620SMartin Mares	* lspci.c: Capability list parser now recognizes both AGP
14511c31d620SMartin Mares	registers and PCI Power Management registers (the latter
14521c31d620SMartin Mares	is mainly guesswork based on DEC/Intel 21153 bridge specs
14531c31d620SMartin Mares	since I don't have the PCI Power Management document).
14541c31d620SMartin Mares
14551c31d620SMartin Mares	* lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
14561c31d620SMartin Mares	by FLAG macro.
14571c31d620SMartin Mares
14581c31d620SMartin Mares	* lspci.c: Added bridge checks to bus mapping code.
14591c31d620SMartin Mares
14601812a795SMartin MaresWed Jan 27 14:59:16 1999  Martin Mares  <[email protected]>
14611812a795SMartin Mares
14621812a795SMartin Mares	* lspci.c: Implemented bus mapping mode (-M).
14631812a795SMartin Mares
14641812a795SMartin Mares	* lspci.c (scan_devices): Split to scan_devices() and scan_device().
14651812a795SMartin Mares	(show): Split to show() and show_device().
14661812a795SMartin Mares
14671812a795SMartin Mares	* lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
14681812a795SMartin Mares	set it to the real access method afterwards.
14691812a795SMartin Mares
14701812a795SMartin MaresMon Jan 25 23:46:13 1999  Martin Mares  <[email protected]>
14711812a795SMartin Mares
14721812a795SMartin Mares	* lib/generic.c (pci_generic_fill_info): If in buscentric mode,
14731812a795SMartin Mares	don't check PCI_COMMAND for I/O and memory enables.
14741812a795SMartin Mares
1475f6c86928SMartin MaresMon Jan 25 21:28:49 1999  Martin Mares  <[email protected]>
1476f6c86928SMartin Mares
1477f6c86928SMartin Mares	* Makefile: Added target `release' which substitutes new version
1478f6c86928SMartin Mares	number to .spec, .lsm and README. Also rewrote target `dist'.
1479f6c86928SMartin Mares
1480f6c86928SMartin Mares	* Released as 1.99.3.
1481f6c86928SMartin Mares
1482b5137411SMartin MaresSun Jan 24 22:10:36 1999  Martin Mares  <[email protected]>
1483b5137411SMartin Mares
1484d6b297d0SMartin Mares	* lib/header.h: Until kernel adopts new layout of PCI
1485d6b297d0SMartin Mares	includes (i.e., separate declaration of header structure,
1486d6b297d0SMartin Mares	functions and device IDs), which is not going to happen
1487d6b297d0SMartin Mares	before 2.3, we'll use our own definiton of the header.
1488d6b297d0SMartin Mares
1489b5137411SMartin Mares	* lspci.c (show_verbose): Display `Cap' flag in device status.
1490b5137411SMartin Mares
1491b5137411SMartin Mares	* lspci.c (show_htype0): Display capability lists whereever
1492b5137411SMartin Mares	available. The only capability name we recognize now is `AGP'.
1493b5137411SMartin Mares	Unfortunately, capabilities are stored in device-dependent
1494b5137411SMartin Mares	portion of the configuration space and are thus available
1495b5137411SMartin Mares	only to root unless you read a dump.
1496b5137411SMartin Mares
1497b5137411SMartin Mares	* lspci.c (scan_devices): Use cache instead of buffering.
1498b5137411SMartin Mares
1499b5137411SMartin Mares	* lib/buffer.c: Removed (obsoleted by the cache).
1500b5137411SMartin Mares
1501b5137411SMartin Mares	* lib/access.c: Added general caching mechanism.
1502b5137411SMartin Mares
150381ce358dSMartin MaresSat Jan 23 21:30:54 1999  Martin Mares  <[email protected]>
150481ce358dSMartin Mares
150581ce358dSMartin Mares	* pci.ids: Added few devices.
150681ce358dSMartin Mares
1507727ce158SMartin MaresFri Jan 22 19:29:31 1999  Martin Mares  <[email protected]>
1508727ce158SMartin Mares
1509727ce158SMartin Mares	* Version string is now defined in top-level Makefile, exported
1510727ce158SMartin Mares	to the configure script and also substituted to man pages.
1511727ce158SMartin Mares
1512727ce158SMartin Mares	* lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
1513727ce158SMartin Mares	(show_verbose): Rewrote interrupt display logic.
1514727ce158SMartin Mares
1515727ce158SMartin Mares	* lib/i386-ports.c: Include sys/io.h only on glibc systems.
1516727ce158SMartin Mares
1517727ce158SMartin Mares	* lib/configure: Rewrote detection of Linux versions. Now it
1518727ce158SMartin Mares	works on 2.0 kernels (only with direct/dump access, of course).
1519727ce158SMartin Mares
1520727ce158SMartin Mares	* lib/internal.h: New bytesex macros using <asm/byteorder.h>
1521727ce158SMartin Mares	whenever available.
1522727ce158SMartin Mares
1523727ce158SMartin Mares	* lib/proc.c (proc_read, proc_write): Distinguish between short
1524727ce158SMartin Mares	read/write and real errors.
1525727ce158SMartin Mares
1526727ce158SMartin Mares	* lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
1527727ce158SMartin Mares	libpci respects buscentric mode automatically.
1528727ce158SMartin Mares
1529727ce158SMartin Mares	* lspci.c (show_hex_dump): For CardBus bridges, print out 128
1530727ce158SMartin Mares	bytes of header (the whole standard part).
1531727ce158SMartin Mares
1532727ce158SMartin Mares	* common.c: pcilib options are now all uppercase. Also moved
1533727ce158SMartin Mares	PCI access debugging option here.
1534727ce158SMartin Mares
1535727ce158SMartin Mares	* Released as 1.99.2.
1536727ce158SMartin Mares
1537727ce158SMartin MaresWed Jan 20 22:50:35 1999  Martin Mares  <[email protected]>
1538727ce158SMartin Mares
1539727ce158SMartin Mares	* Wrote configure script and rewrote Makefiles.
1540727ce158SMartin Mares
1541727ce158SMartin Mares	* Removed few unused variables.
1542727ce158SMartin Mares
1543727ce158SMartin MaresWed Jan 20 12:21:56 1999  Martin Mares  <[email protected]>
1544727ce158SMartin Mares
1545727ce158SMartin Mares	* common.c: Moved several functions used in both setpci and lspci
1546727ce158SMartin Mares	here. This includes parsing of libpci-related options.
1547727ce158SMartin Mares
1548727ce158SMartin Mares	* More library tweaks.
1549727ce158SMartin Mares
1550727ce158SMartin Mares	* filter.c, names.c: Moved to library.
1551727ce158SMartin Mares
1552727ce158SMartin Mares	* setpci: Rewritten to use the library.
1553727ce158SMartin Mares
1554727ce158SMartin Mares	* Released as 1.99.1.
1555727ce158SMartin Mares
1556727ce158SMartin MaresTue Jan 19 23:00:12 1999  Martin Mares  <[email protected]>
1557727ce158SMartin Mares
1558727ce158SMartin Mares	* lspci.c (scan_devices): For cardbus bridges, read first 128
1559727ce158SMartin Mares	bytes of config space to get full standard header.
1560727ce158SMartin Mares
1561727ce158SMartin Mares	* Makefile (CFLAGS): Removed "-Wno-unused".
1562727ce158SMartin Mares
1563727ce158SMartin Mares	* Started the "New Generation" branch and introduced the
1564727ce158SMartin Mares	PCI library.
1565727ce158SMartin Mares
1566727ce158SMartin Mares	* lspci: Rewritten to use the library.
1567727ce158SMartin Mares
15686ece6bc6SMartin MaresTue Jan 19 22:24:08 1999  Martin Mares  <[email protected]>
15696ece6bc6SMartin Mares
15706ece6bc6SMartin Mares	* Released as version 1.10.
15716ece6bc6SMartin Mares
15726ece6bc6SMartin MaresMon Jan 18 08:51:17 1999  Martin Mares  <[email protected]>
15736ece6bc6SMartin Mares
15746ece6bc6SMartin Mares	* lspci.8, setpci.8: Miscellaneous fixes as suggested by
15756ece6bc6SMartin Mares	Dag Wieers <[email protected]>.
15766ece6bc6SMartin Mares
15771212dd6dSMartin MaresSun Nov 29 20:05:56 1998  Martin Mares  <[email protected]>
15781212dd6dSMartin Mares
15791212dd6dSMartin Mares	* pciutils.spec (Name): Update from Krzysztof G. Baranowski.
15801212dd6dSMartin Mares
1581d38471fdSMartin MaresSun Nov 22 10:49:56 1998  Martin Mares  <[email protected]>
1582d38471fdSMartin Mares
1583d38471fdSMartin Mares	* Makefile, pciutils.h: Moved pci.ids to /usr/share.
1584d38471fdSMartin Mares
1585d38471fdSMartin Mares	* Released as version 1.09.
1586d38471fdSMartin Mares
1587371f605bSMartin MaresWed Nov 18 15:47:05 1998  Martin Mares  <[email protected]>
1588371f605bSMartin Mares
1589371f605bSMartin Mares	* lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
1590371f605bSMartin Mares	bridge. Thanks to Petr Vandrovec <[email protected]> for bug report.
1591371f605bSMartin Mares
159210be47abSMartin MaresFri Oct 23 18:59:19 1998  Martin Mares  <[email protected]>
159310be47abSMartin Mares
159410be47abSMartin Mares	* setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
159510be47abSMartin Mares
1596472bd340SMartin MaresMon Oct 19 21:53:30 1998  Martin Mares  <[email protected]>
1597472bd340SMartin Mares
1598472bd340SMartin Mares	* Released as version 1.08.
1599472bd340SMartin Mares
1600472bd340SMartin Mares	* setpci.c: glibc 2.1.x already defines pread() and pwrite().
1601472bd340SMartin Mares
1602472bd340SMartin Mares	* lspci.8: Changed warning about lspci -xxx.
1603472bd340SMartin Mares
1604472bd340SMartin Mares	* lspci.c: Require "-xxx" for full configuration space dump, so that
1605472bd340SMartin Mares	it's impossible to crash the machine by single typo.
1606472bd340SMartin Mares
1607472bd340SMartin Mares	* specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>).
1608472bd340SMartin Mares
1609072c77e5SMartin MaresWed Sep  9 12:03:24 1998  Martin Mares  <[email protected]>
1610072c77e5SMartin Mares
1611072c77e5SMartin Mares	* lspci.c (show_bases): Better displaying of unassigned and
1612072c77e5SMartin Mares	disabled bases. Thanks to Gabriel Paubert <[email protected]>
1613072c77e5SMartin Mares	for an idea.
1614072c77e5SMartin Mares
1615b7554856SMartin MaresWed Sep  2 10:58:01 1998  Martin Mares  <[email protected]>
1616b7554856SMartin Mares
1617b7554856SMartin Mares	* setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
1618b7554856SMartin Mares	(thanks to Geert Uytterhoeven for finding this out)
1619b7554856SMartin Mares
1620ce503b7fSMartin MaresFri Jul 17 10:43:30 1998  Martin Mares  <[email protected]>
1621ce503b7fSMartin Mares
1622ce503b7fSMartin Mares	* lspci.c (show_verbose): Print subsystem ID using the new resolver.
1623ce503b7fSMartin Mares	(show_machine): Print subsystem ID.
1624ce503b7fSMartin Mares
1625ce503b7fSMartin Mares	* names.c: New name resolution engine supporting subsystem IDs.
1626ce503b7fSMartin Mares
1627ce503b7fSMartin Mares	* Released as version 1.07.
1628ce503b7fSMartin Mares
162996e4f295SMartin MaresWed Jul 15 15:37:21 1998  Martin Mares  <[email protected]>
163096e4f295SMartin Mares
163196e4f295SMartin Mares	* lspci.c (show_htype2 etc.): Displaying of CardBus headers.
163296e4f295SMartin Mares	(show_bases): Honor the `cnt' argument.
163396e4f295SMartin Mares	(grow_tree): Parse CardBus headers in tree mode as well.
163496e4f295SMartin Mares
163596e4f295SMartin Mares	* pci.h: Updated CardBus header field description. I still don't
163696e4f295SMartin Mares	have the CardBus standard available, but OZ6832 specs contain
163796e4f295SMartin Mares	full description of all header fields supported by the chip.
163896e4f295SMartin Mares
16396ae3650aSMartin MaresTue Jun  9 22:53:59 1998  Martin Mares  <[email protected]>
16406ae3650aSMartin Mares
1641304f9a0bSMartin Mares	* Released as 1.06.
1642304f9a0bSMartin Mares
16436ae3650aSMartin Mares	* names.c (parse_name_list): Killed an unused variable.
16446ae3650aSMartin Mares
16456ae3650aSMartin Mares	* setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
16466ae3650aSMartin Mares	if they are not defined by glibc (needed for glibc built on older
16476ae3650aSMartin Mares	kernels). Ugly.
16486ae3650aSMartin Mares
16496ae3650aSMartin Mares	* setpci.c (exec_op): Fixed error messages. Thanks, Steve!
16506ae3650aSMartin Mares
16514b88a6b8SMartin MaresMon Jun  8 10:59:22 1998  Martin Mares  <[email protected]>
16524b88a6b8SMartin Mares
16534b88a6b8SMartin Mares	* Released as 1.05.
16544b88a6b8SMartin Mares
16554b88a6b8SMartin Mares	* setpci.c: Problems with pread()/pwrite() with glibc on Alpha
16564b88a6b8SMartin Mares	should be gone. Again thanks to Steve for bug report.
16574b88a6b8SMartin Mares
16584b88a6b8SMartin Mares	* filter.c (filter_parse_slot): Fixed ":x" type filters.
16594b88a6b8SMartin Mares
16604b88a6b8SMartin Mares	* pci.ids: Killed duplicate entry. Thanks to Stephen Williams
16614b88a6b8SMartin Mares	<[email protected]> for reporting this.
16624b88a6b8SMartin Mares
16634b88a6b8SMartin MaresSun Jun  7 19:27:51 1998  Martin Mares  <[email protected]>
16644b88a6b8SMartin Mares
16654b88a6b8SMartin Mares	* lspci.c (main), setpci.c (main): Implemented "--version".
16664b88a6b8SMartin Mares
16674b88a6b8SMartin Mares	* Released as 1.04.
16684b88a6b8SMartin Mares
16694b88a6b8SMartin Mares	* pciutils.h (PCIUTILS_VERSION): Added version string.
16704b88a6b8SMartin Mares
16714b88a6b8SMartin Mares	* filter.c, names.c: Extraneous #include <linux/pci.h> removed.
16724b88a6b8SMartin Mares	Thanks to Geert Uytterhoeven <[email protected]>
16734b88a6b8SMartin Mares	for bug report.
16744b88a6b8SMartin Mares
16759b306998SMartin MaresThu May 28 14:45:58 1998  Martin Mares  <[email protected]>
16769b306998SMartin Mares
16779b306998SMartin Mares	* pci.ids: More updates from Jens Maurer.
16789b306998SMartin Mares
1679b372672fSMartin MaresWed Apr 22 10:00:39 1998  Martin Mares  <[email protected]>
1680b372672fSMartin Mares
1681b372672fSMartin Mares	* pci.ids: Updates from Jens Maurer.
1682b372672fSMartin Mares
1683b2c9b373SMartin MaresSun Apr 19 11:14:25 1998  Martin Mares  <[email protected]>
1684b2c9b373SMartin Mares
1685b372672fSMartin Mares	* Released as 1.03.
1686b372672fSMartin Mares
1687b2c9b373SMartin Mares	* setpci.8: Written.
1688b2c9b373SMartin Mares
1689b2c9b373SMartin Mares	* setpci.c: Finished.
1690b2c9b373SMartin Mares
1691b2c9b373SMartin Mares	* lspci.c: Now able to fetch expansion ROM base from kernel device list
1692b2c9b373SMartin Mares	and print it if not in buscentric mode.
1693b2c9b373SMartin Mares
1694e4842ff3SMartin MaresTue Mar 31 23:11:57 1998  Martin Mares  <[email protected]>
1695e4842ff3SMartin Mares
1696e4842ff3SMartin Mares	* setpci.c: Added.
1697e4842ff3SMartin Mares
1698e4842ff3SMartin MaresSun Mar 22 15:39:08 1998  Martin Mares  <[email protected]>
1699e4842ff3SMartin Mares
1700e4842ff3SMartin Mares	* lspci.8: Updated the documentation.
1701e4842ff3SMartin Mares
1702e4842ff3SMartin Mares	* lspci.c: Modified to use the new filtering mechanism (options -f and -d).
1703e4842ff3SMartin Mares
1704e4842ff3SMartin Mares	* filter.c: Introduced new generic device filter.
1705e4842ff3SMartin Mares
1706008407bdSMartin MaresThu Mar 19 17:03:48 1998  Martin Mares  <[email protected]>
1707008407bdSMartin Mares
1708008407bdSMartin Mares	* lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
1709008407bdSMartin Mares	of PCI-to-PCI bridges in the tree format.
1710008407bdSMartin Mares
17110a33d0ecSMartin MaresSun Feb 15 10:12:25 1998  Martin Mares  <[email protected]>
17120a33d0ecSMartin Mares
17130a33d0ecSMartin Mares	* lspci.c (show_machine): Added non-verbose mode of machine-readable
17140a33d0ecSMartin Mares	dump.
17150a33d0ecSMartin Mares
17160a33d0ecSMartin Mares	* pci.ids: Updates from Jens Maurer.
17170a33d0ecSMartin Mares
17180a33d0ecSMartin Mares	* Released as version 1.02.
17190a33d0ecSMartin Mares
17200a33d0ecSMartin MaresThu Feb 12 16:53:28 1998  Martin Mares  <[email protected]>
17210a33d0ecSMartin Mares
17220a33d0ecSMartin Mares	* lspci.c: Added a "-m" switch for dumping machine-readable
17230a33d0ecSMartin Mares	configuration data (requested by Bjoern Kriews <[email protected]>).
17240a33d0ecSMartin Mares
1725fb38eee8SMartin MaresMon Feb  9 13:17:43 1998  Martin Mares  <[email protected]>
1726fb38eee8SMartin Mares
1727fb38eee8SMartin Mares	* Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
1728fb38eee8SMartin Mares	if available. This should avoid all problems with official kernel
1729fb38eee8SMartin Mares	not synchronized to newer PCI code in CVS -- standard distribution
1730fb38eee8SMartin Mares	of pciutils now contains pci.h from current CVS kernel, pciutils
1731fb38eee8SMartin Mares	in CVS contain no pci.h and use the correct kernel include.
1732fb38eee8SMartin Mares
1733fb38eee8SMartin Mares	* Makefile: Fixed installation path for man pages.
1734fb38eee8SMartin Mares
17352f48f637SMartin MaresSat Feb  7 15:15:46 1998  Martin Mares  <[email protected]>
17362f48f637SMartin Mares
17372f48f637SMartin Mares	* README: Updated.
17382f48f637SMartin Mares
17392f48f637SMartin Mares	* lspci.8: Created a man page.
17402f48f637SMartin Mares
17412f48f637SMartin Mares	* Releasing as version 1.0.
17422f48f637SMartin Mares
17432f48f637SMartin MaresTue Feb  3 20:56:00 1998  Martin Mares  <[email protected]>
17442f48f637SMartin Mares
17452f48f637SMartin Mares	* Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
17462f48f637SMartin Mares	to all the C sources. This should eliminate problems with 32-bit compilers
17472f48f637SMartin Mares	on sparc64.
17482f48f637SMartin Mares
17492f48f637SMartin Mares	* lspci.c (show_verbose): Recognize CardBus bridge header type.
17502f48f637SMartin Mares	(show_htype2): Stub routine.
17512f48f637SMartin Mares	(scan_config): Write sensible error message if the kernel denies reading of
17522f48f637SMartin Mares	upper part of the PCI config space.
1753