xref: /pciutils/ChangeLog (revision f14d4d87)
1*f14d4d87SMartin Mares2014-11-10  Martin Mares <[email protected]>
2*f14d4d87SMartin Mares
3*f14d4d87SMartin Mares	* Released as 3.3.0 (celebrating a one-year anniversary of
4*f14d4d87SMartin Mares	  the previous version :)).
528617b24SMartin Mares
628617b24SMartin Mares	* Device names exported by BIOS are displayed on Linux.
728617b24SMartin Mares
828617b24SMartin Mares	* On Linux systems, HWDB is used to look up device names
928617b24SMartin Mares	  when our ID database gives no match. (More precisely,
1028617b24SMartin Mares	  HWDB is consulted after local pci.ids, but before using
1128617b24SMartin Mares	  network to query online pci.ids.) Thanks to Tom Gundersen
1228617b24SMartin Mares	  for the initial patch.
1328617b24SMartin Mares
1428617b24SMartin Mares	* Added experimental back-end for OS X / Darwin. Thanks to
1528617b24SMartin Mares	  Richard Yao for providing it.
1628617b24SMartin Mares
17afb881ccSMartin Mares	* Filters now support matching by device class. Original
18afb881ccSMartin Mares	  patch by Matthew Wilcox, wrappers for ABI compatibility
19afb881ccSMartin Mares	  by me.
20afb881ccSMartin Mares
2128617b24SMartin Mares	* Interrupt Pin and Interrupt Line registers are displayed
2228617b24SMartin Mares	  for bridge devices, too.
2328617b24SMartin Mares
2428617b24SMartin Mares	* Several portability bugs have been fixed.
2528617b24SMartin Mares
2628617b24SMartin Mares	* Several typos have been fixed. Also, use of questionable
2728617b24SMartin Mares	  constructs in man pages has been reduced.
2828617b24SMartin Mares
2928617b24SMartin Mares	* PCIe link capabilities now include the ASPMOptComp bit.
3028617b24SMartin Mares
3128617b24SMartin Mares	* The "CRS Software Visibility" bit is now decoded properly.
3228617b24SMartin Mares
3328617b24SMartin Mares	* Updated pci.ids to the current snapshot of the database.
3428617b24SMartin Mares
35dc49926aSMartin Mares2013-11-10  Martin Mares <[email protected]>
36dc49926aSMartin Mares
37dc49926aSMartin Mares	* Released as 3.2.1.
38dc49926aSMartin Mares
39dc49926aSMartin Mares	* CardBus bridge capabilities are displayed.
40dc49926aSMartin Mares
41dc49926aSMartin Mares	* PCIe L1 PM substates are decoded.
42dc49926aSMartin Mares
43dc49926aSMartin Mares	* Various bugs were fixed in decoding of PCIe capabilities.
44dc49926aSMartin Mares
45dc49926aSMartin Mares	* The sysfs back-end does not spit out unnecessary warnings when
46dc49926aSMartin Mares	  empty slots report only a partial device address. This actually
47dc49926aSMartin Mares	  happens on IBM pSeries.
48dc49926aSMartin Mares
49dc49926aSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
50dc49926aSMartin Mares
516a4909eeSMartin Mares2013-04-19  Martin Mares <[email protected]>
526a4909eeSMartin Mares
536a4909eeSMartin Mares	* Released as 3.2.0.
546a4909eeSMartin Mares
556a4909eeSMartin Mares	* On newer Linux systems, we use libkmod to look up kernel modules
5669a77b5cSMartin Mares	  (modules.pcimap no longer exists). To facilitate this, libpci
576a4909eeSMartin Mares	  is able to look up module aliases in sysfs.
586a4909eeSMartin Mares
596a4909eeSMartin Mares	* Various minor bug fixes.
606a4909eeSMartin Mares
616a4909eeSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
626a4909eeSMartin Mares
6327c0f3acSMartin Mares2012-06-25  Martin Mares <[email protected]>
6427c0f3acSMartin Mares
6527c0f3acSMartin Mares	* Released as 3.1.10.
6627c0f3acSMartin Mares
6727c0f3acSMartin Mares	* Decoding of LTR/OBFF in PCIe capabilities.
6827c0f3acSMartin Mares
6927c0f3acSMartin Mares	* Various minor bug fixes.
7027c0f3acSMartin Mares
7127c0f3acSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
7227c0f3acSMartin Mares
7368e5ff17SMartin Mares2012-01-14  Martin Mares <[email protected]>
7468e5ff17SMartin Mares
7568e5ff17SMartin Mares	* Released as 3.1.9.
7668e5ff17SMartin Mares
7768e5ff17SMartin Mares	* Updated README.
7868e5ff17SMartin Mares
796a4909eeSMartin Mares	* Wherever we mention the PCI ID database, we now refer to
8068e5ff17SMartin Mares	  http://pci-ids.ucw.cz/ and the sf.net site is mentioned only
8168e5ff17SMartin Mares	  as a mirror. This includes update-pciids.
8268e5ff17SMartin Mares
8368e5ff17SMartin Mares	* Decode PCIe Gen 3 speeds and link status fields.
8468e5ff17SMartin Mares
8568e5ff17SMartin Mares	* Various minor bug fixes.
8668e5ff17SMartin Mares
8768e5ff17SMartin Mares	* Updated pci.ids to the today's snapshot of the database.
8868e5ff17SMartin Mares
89a70dab15SMartin Mares2011-10-02  Martin Mares <[email protected]>
90a70dab15SMartin Mares
91a70dab15SMartin Mares	* Released as 3.1.8.
92a70dab15SMartin Mares
93a70dab15SMartin Mares	* More capabilities: Transaction Processing Hints, Latency Tolerance
94a70dab15SMartin Mares	Reporting. Thanks to Jesse Barnes.
95a70dab15SMartin Mares
96a70dab15SMartin Mares	* Added BeOS and Haiku ports. Contributed by Francois Revol.
97a70dab15SMartin Mares
98a70dab15SMartin Mares	* pciutils.pc now uses Libs.private properly.
99a70dab15SMartin Mares
100a70dab15SMartin Mares	* When we format a name and it does not fit in the buffer, we truncate
101a70dab15SMartin Mares	it instead of returning "buffer too small" instead. This works on all
102a70dab15SMartin Mares	platforms with sane (i.e., C99-compatible) snprintf().
103a70dab15SMartin Mares
104a70dab15SMartin Mares	* Various minor bug fixes.
105a70dab15SMartin Mares
106a70dab15SMartin Mares	* Updated pci.ids to the today's snapshot of the database.
107a70dab15SMartin Mares
1086bc2bc1cSMartin Mares2010-01-31  Martin Mares <[email protected]>
1096bc2bc1cSMartin Mares
1106bc2bc1cSMartin Mares	* Released as 3.1.7.
1116bc2bc1cSMartin Mares
1126bc2bc1cSMartin Mares	* Minor improvements and bug fixes in decoding of the Virtual Channel
1136bc2bc1cSMartin Mares	capability.
1146bc2bc1cSMartin Mares
115e3a052daSMartin Mares2010-01-24  Martin Mares <[email protected]>
116e3a052daSMartin Mares
117e3a052daSMartin Mares	* Released as 3.1.6.
118e3a052daSMartin Mares
119e3a052daSMartin Mares	* More capabilities decoded: Virtual Channel (except arbitration
120e3a052daSMartin Mares	tables), Root Complex Link, Vendor-Specific (header only), SATA HBA.
121e3a052daSMartin Mares
122e3a052daSMartin Mares	* All extended capabilities have their version displayed (-vv or more).
123e3a052daSMartin Mares
1249978b6fdSMartin Mares2010-01-19  Martin Mares <[email protected]>
1259978b6fdSMartin Mares
1269978b6fdSMartin Mares	* Released as 3.1.5.
1279978b6fdSMartin Mares
1289978b6fdSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
1299978b6fdSMartin Mares
1309978b6fdSMartin Mares	* When scanning extended capabilities, properly mask the lowest 2 bits,
1319978b6fdSMartin Mares	  which are currently reserved. This avoids unaligned access errors on
1329978b6fdSMartin Mares	  broken hardware (see tests/broken-ecaps).
1339978b6fdSMartin Mares
1349978b6fdSMartin Mares	* Large bar sizes are displayed in human-readable format (with units).
1359978b6fdSMartin Mares	  Thanks to Matthew Wilcox.
1369978b6fdSMartin Mares
1379978b6fdSMartin Mares	* Physical slot information is displayed correctly for multi-function cards.
1389978b6fdSMartin Mares	  Fixed by Matthew Wilcox.
1399978b6fdSMartin Mares
1409978b6fdSMartin Mares	* Fixed a couple of typos everywhere.
1419978b6fdSMartin Mares
1429978b6fdSMartin Mares	* Library: Fixed bugs in freeing of capabilities.
1439978b6fdSMartin Mares
1449978b6fdSMartin Mares	* Windows back-end compiles again.
1459978b6fdSMartin Mares
146c67775bcSMartin Mares2009-08-14  Martin Mares <[email protected]>
147c67775bcSMartin Mares
148ebb9bc54SMartin Mares	* Released as 3.1.4.
149ebb9bc54SMartin Mares	  (sorry that I have missed 22/7 and released it later :-))
150c67775bcSMartin Mares
151c67775bcSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
152c67775bcSMartin Mares
153c67775bcSMartin Mares	* Fixed memory and file descriptor leak in the dump back-end.
154c67775bcSMartin Mares
155c67775bcSMartin Mares	* The SR-IOV capability decoder now prints the VF BAR's.
156c67775bcSMartin Mares	Patch by Chris Wright, cleaned up by me.
157c67775bcSMartin Mares
158c67775bcSMartin Mares	* On request of certain company's lawyers, we now include a copy
159c67775bcSMartin Mares	of the GPL with our package. It seems that the pciutils are getting
160c67775bcSMartin Mares	mature if the most important bug of the month was this one ;-)
161c67775bcSMartin Mares
16210df48cbSMartin Mares2009-07-04  Martin Mares <[email protected]>
16310df48cbSMartin Mares
16410df48cbSMartin Mares	* Released as 3.1.3.
16510df48cbSMartin Mares
16610df48cbSMartin Mares	* Updated pci.ids to the current snapshot of the database.
16710df48cbSMartin Mares
16810df48cbSMartin Mares	* The VPD parser now reports unknown and vendor-defined items
16910df48cbSMartin Mares	properly. It also stops on any item in unknown format, avoiding long
17010df48cbSMartin Mares	output on bogus VPD data. Thanks to Ben Hutchings and Matthew Wilcox.
17110df48cbSMartin Mares
17210df48cbSMartin Mares	* The MSI-X table size now matches the spec. Thanks to Michael S.
17310df48cbSMartin Mares	Tsirkin.
17410df48cbSMartin Mares
17510df48cbSMartin Mares	* The Power Management capability now includes the soft reset bit.
17610df48cbSMartin Mares	Thanks to Yu Zhao.
17710df48cbSMartin Mares
17810df48cbSMartin Mares	* Decoding of the Advanced Features capability has been added.
17910df48cbSMartin Mares	Thanks to Yu Zhao.
18010df48cbSMartin Mares
18110df48cbSMartin Mares	* The whole package compiles on GNU/kFreeBSD again.
18210df48cbSMartin Mares
18310df48cbSMartin Mares	The following patches have been contributed by Matthew Wilcox:
18410df48cbSMartin Mares
18510df48cbSMartin Mares	* The procfs back-end is able to cope with /proc/bus/pci
18610df48cbSMartin Mares	containing names with domains, which occur on sparc64 and
18710df48cbSMartin Mares	possibly other architectures due to a kernel bug.
18810df48cbSMartin Mares
18910df48cbSMartin Mares	* The sysfs back-end no longer complains when a slot address
19010df48cbSMartin Mares	is missing, which happens with old versions of Linux fakephp.
19110df48cbSMartin Mares
19210df48cbSMartin Mares	* The Device Serial Number capability is printed in the right
19310df48cbSMartin Mares	byte order.
19410df48cbSMartin Mares
19510df48cbSMartin Mares	* The MSI and MSI-X capabilities are printed in a prettier way.
19610df48cbSMartin Mares
19710df48cbSMartin Mares	* The tree output mode (`lspci -t') shows domain numbers only
19810df48cbSMartin Mares	at the root, which makes the output more compact.
19910df48cbSMartin Mares
20010df48cbSMartin Mares	* Updated documentation on the bus mapping mode (`lspci -M').
20110df48cbSMartin Mares
20234683007SMartin Mares2009-02-01  Martin Mares <[email protected]>
20334683007SMartin Mares
20434683007SMartin Mares	* Released as 3.1.2.
20534683007SMartin Mares
20634683007SMartin Mares	* Fixed another silly bug in the command-line parser of setpci.
20734683007SMartin Mares
208f6523e28SMartin Mares2009-01-30  Martin Mares <[email protected]>
209f6523e28SMartin Mares
210f6523e28SMartin Mares	* Released as 3.1.1.
211f6523e28SMartin Mares
212f6523e28SMartin Mares	* Updated pci.ids to the current snapshot of the database.
213f6523e28SMartin Mares
214f6523e28SMartin Mares	* The configure script now sets LC_ALL to avoid being fooled by
215f6523e28SMartin Mares	locale-dependent behavior of `tr'.
216f6523e28SMartin Mares
217f6523e28SMartin Mares	* The command-line parser of setpci did sometimes segfault on invalid
218f6523e28SMartin Mares	input. Thanks to Andreas Wiese for a fix.
219f6523e28SMartin Mares
220db557900SMartin Mares2009-01-18  Martin Mares <[email protected]>
221db557900SMartin Mares
222db557900SMartin Mares	* Released as 3.1.0.
223db557900SMartin Mares
224af358b08SMartin Mares	* Updated pci.ids to the current snapshot of the database.
225af358b08SMartin Mares
226db557900SMartin Mares	* The Cygwin backend now works on Windows Vista. Thanks to Jonathan
227db557900SMartin Mares	Kotta.
228db557900SMartin Mares
229db557900SMartin Mares	* Fixed a bug in decoding of the SR-IOV capability. Patch by Yu Zhao.
230db557900SMartin Mares
231db557900SMartin Mares	* Details of some PCIe capabilities are displayed only with -vv.
232db557900SMartin Mares
233db557900SMartin Mares	* When a BAR is reported by the OS, but not by the device (i.e.,
234db557900SMartin Mares	it is marked as [virtual] in lspci), the [disabled] flag is
235db557900SMartin Mares	suppressed, because it does not make sense in such cases.
236db557900SMartin Mares	Patch by Yu Zhao.
237db557900SMartin Mares
2382b31207aSMartin Mares2008-12-13  Martin Mares <[email protected]>
2392b31207aSMartin Mares
2402b31207aSMartin Mares	* The source code of lspci has been split to multiple files, hopefully
2412b31207aSMartin Mares	making it easier to maintain.
2422b31207aSMartin Mares
2432b31207aSMartin Mares	* The library and lspci now know about physical slot names. So far,
2442b31207aSMartin Mares	they are provided by the sysfs back-end only. Thanks go to Alex Chiang.
2452b31207aSMartin Mares
2462b31207aSMartin Mares	* When a device has the VPD (Vital Product Data) capability and the
2472b31207aSMartin Mares	VPD data are supplied by the OS, they are decoded and printed in the
2482b31207aSMartin Mares	verbose mode. This currently works only on Linux with the sysfs
2492b31207aSMartin Mares	back-end. Thanks to Ben Hutchings of Solarflare for the patch.
2502b31207aSMartin Mares
2512b31207aSMartin Mares	* `setpci --version' now works properly.
2522b31207aSMartin Mares
2534d4325f8SMartin Mares	* `setpci --dumpregs' prints a table of all known names of
2542b31207aSMartin Mares	registers and capabilities. This replaces the table of registers
2552b31207aSMartin Mares	in the setpci man page.
2562b31207aSMartin Mares
2572b31207aSMartin Mares	* The dry-run mode of setpci gives better feedback.
2582b31207aSMartin Mares
2592b31207aSMartin Mares	* The setpci utility is now able to address registers stored in PCI
2602b31207aSMartin Mares	capabilities (actually it allows a more general form of relative
2612b31207aSMartin Mares	addressing).
2622b31207aSMartin Mares
2632b31207aSMartin Mares	* The library has gained functions for working with PCI capabilities.
2642b31207aSMartin Mares
2652b31207aSMartin Mares	* Address Translation Services capability is now decoded. Patch by
2662b31207aSMartin Mares	Yu Zhao.
2672b31207aSMartin Mares
268b282435dSMartin Mares2008-11-09  Martin Mares <[email protected]>
269b282435dSMartin Mares
270b282435dSMartin Mares	* Released as 3.0.3.
271b282435dSMartin Mares
272b282435dSMartin Mares	* `lspci -k' now displays the subsystem ID, too. This makes `-k'
273b282435dSMartin Mares	show everything needed to identify the device and the available
274b282435dSMartin Mares	drivers, which was called for by many users.
275b282435dSMartin Mares
276b282435dSMartin Mares	* Fixed spelling of MSI. Patch by Matthew Wilcox.
277b282435dSMartin Mares
278b282435dSMartin Mares	* Better support for cross-compilation. Thanks to Alon Bar-Lev
279b282435dSMartin Mares	for the patch.
280b282435dSMartin Mares
281b282435dSMartin Mares	* Fixed printing of the AER capability. Patch by Max Asbock.
282b282435dSMartin Mares
283b282435dSMartin Mares	* HT 1.02 capabilities are decoded as HT 1.03. Suggested by
284b282435dSMartin Mares	Carl-Daniel Hailfinger.
285b282435dSMartin Mares
286b282435dSMartin Mares	* Fixed Cygwin build. Thanks to Steve Elliott for reporting the bug.
287b282435dSMartin Mares
288b282435dSMartin Mares	* Updated pci.ids to the current snapshot of the database.
289b282435dSMartin Mares
290daf2ef4eSMartin Mares2008-09-19  Martin Mares <[email protected]>
291daf2ef4eSMartin Mares
292daf2ef4eSMartin Mares	* Released as 3.0.2.
293daf2ef4eSMartin Mares
294daf2ef4eSMartin Mares	* Fixed a minor bug in the configure script, which caused warnings
295daf2ef4eSMartin Mares	about redefinition of symbols during compilation.
296daf2ef4eSMartin Mares
29738254178SMartin Mares2008-09-11  Martin Mares <[email protected]>
29838254178SMartin Mares
29938254178SMartin Mares	* Released as 3.0.1.
30038254178SMartin Mares
30138254178SMartin Mares	* Updated pci.ids to the most recent snapshot.
30238254178SMartin Mares
30338254178SMartin Mares	* Added a Cygwin port. Patch by Christopher Voltz, ported to the
30438254178SMartin Mares	current tree by Martin Mares.
30538254178SMartin Mares
30638254178SMartin Mares	* Worked around compatibility problems with various default settings
30738254178SMartin Mares	of wget (we have to set --no-timestamping explicitly). Thanks to Ville
30838254178SMartin Mares	Skytta for pointing that out.
30938254178SMartin Mares
31038254178SMartin Mares	* Fixed printing of MSI capabilities. Thanks to Matthew Wilcox for
31138254178SMartin Mares	a patch.
31238254178SMartin Mares
31338254178SMartin Mares	* Added decoding of several PCI-X capabilities: device/link/slot 2,
31438254178SMartin Mares	Advanced Error Reporting, Access Control Services, Alternative Routing-ID,
31538254178SMartin Mares	Single Root I/O Virtualization. Thanks to Yu Zhao for patches.
31638254178SMartin Mares
31738254178SMartin Mares	* Fixed bug in filters which caused them to refuse vendor/device ID 0xffff.
31838254178SMartin Mares
31938254178SMartin Mares	* README: The linux-pci mailing list has moved to [email protected].
32038254178SMartin Mares
32138254178SMartin Mares	* Fixed several build problems: builds without PCI_USE_DNS on Linux
32238254178SMartin Mares	and with PCI_USE_DNS on Solaris and *BSD. Static library mode also
32338254178SMartin Mares	compiles again on old versions of GCC.
32438254178SMartin Mares
325cec9f7e7SMartin Mares2008-04-10  Martin Mares <[email protected]>
326cec9f7e7SMartin Mares
327cec9f7e7SMartin Mares	* Released as 3.0.0.
328cec9f7e7SMartin Mares
329cec9f7e7SMartin Mares	* Updated API and ABI version.
330cec9f7e7SMartin Mares
331cd2f6a34SMartin Mares2008-02-20  Martin Mares <[email protected]>
332cd2f6a34SMartin Mares
333cd2f6a34SMartin Mares	* Released as 2.99.1-alpha2.
334cd2f6a34SMartin Mares
335cd2f6a34SMartin Mares	* Changed the default domain for the DNS resolver.
336cd2f6a34SMartin Mares
337165a50cbSMartin Mares2008-02-18  Martin Mares <[email protected]>
338165a50cbSMartin Mares
339165a50cbSMartin Mares	* Released as 2.99.1-alpha1.
340623234ecSMartin Mares
341a1fca487SMartin Mares	* The makefile system has been reworked. All configuration settings
342a1fca487SMartin Mares	are now passed to the configure script in environment variables,
343a1fca487SMartin Mares	allowing for easy tweaking in the top-level Makefile. All control
344a1fca487SMartin Mares	knobs are now described in the README.
345a1fca487SMartin Mares
346a1fca487SMartin Mares	* The libpci can be built as a shared library with properly restricted
347a1fca487SMartin Mares	symbol exports. Use `make SHARED=yes' to enable that or `make SHARED=local'
348a1fca487SMartin Mares	for a local testing build (with hardwired paths to the library, so that
349a1fca487SMartin Mares	it does not need installation).
350a1fca487SMartin Mares
351a1fca487SMartin Mares	* The example program has been moved from lib/example.c to the top-level
352a1fca487SMartin Mares	directory, because it should be built exactly as the other utilities
353a1fca487SMartin Mares	are. It has been also improved slightly to educate better.
354a1fca487SMartin Mares
355623234ecSMartin Mares	* The i386-ports method is enabled on Linux/x86_64 as well.
356623234ecSMartin Mares
357ae27e293SMartin Mares2008-02-13  Martin Mares <[email protected]>
358ae27e293SMartin Mares
359ae27e293SMartin Mares	* Released as 2.2.10-net2.
360ae27e293SMartin Mares
361ae27e293SMartin Mares	* Support for resolving of PCI ID's using DNS together with a local
362ae27e293SMartin Mares	cache of resolved entries has been added. See the `-q' and `-Q' options
363ae27e293SMartin Mares	of lspci.
364ae27e293SMartin Mares
365ae27e293SMartin Mares	* The library now has a generic system of settable parameters, which
366ae27e293SMartin Mares	also include settings of the DNS resolver and cache. An `-O' option
367ae27e293SMartin Mares	has been added to lspci and setpci to allow setting of these options.
368ae27e293SMartin Mares
369ae27e293SMartin Mares	* Configuration of the access methods are now specified by the new
370ae27e293SMartin Mares	parameter system, replacing the pci_access->method_params array.
371ae27e293SMartin Mares
372ae27e293SMartin Mares	* Access methods now also have sensible names and help texts and it
373ae27e293SMartin Mares	is possible to look up method ID by a name.
374ae27e293SMartin Mares
375ae27e293SMartin Mares	* An `-A' switch has been added to both lspci and setpci, allowing to
376ae27e293SMartin Mares	select an arbitrary access method. The `-P' switch (configure proc
377ae27e293SMartin Mares	backend) has been removed as it is no longer needed and I do not know
378ae27e293SMartin Mares	any its user.
379ae27e293SMartin Mares
380ae27e293SMartin Mares	* Several source files have been split for better maintainability
381ae27e293SMartin Mares	(most notably the resolving of ID's).
382ae27e293SMartin Mares
383ae27e293SMartin Mares	* Man pages and help texts have been updated. A new man page `pcilib(7)'
384ae27e293SMartin Mares	has been added and description of library options has been moved there.
385ae27e293SMartin Mares
386ae27e293SMartin Mares	* When an unknown device ID is encountered, we print `Device <id>'
387ae27e293SMartin Mares	instead of `Unknown device <id>'. It uses less space and it also
388ae27e293SMartin Mares	should reduce the number of inexperienced users complaining that
389ae27e293SMartin Mares	the device is not supported by the OS. To lookup up OS drivers,
390ae27e293SMartin Mares	use the `-k' option.
391ae27e293SMartin Mares
392ae27e293SMartin Mares	* PCI_LIB_VERSION has been bumped to 0x020299.
393ae27e293SMartin Mares
394ae27e293SMartin Mares	* Makefile: stripping of the binaries during installation can be
395ae27e293SMartin Mares	overridden by the STRIP variable.
396ae27e293SMartin Mares
397ae27e293SMartin Mares	* lib/types.h: We use the integer types from <stdint.h> if the
398ae27e293SMartin Mares	compiler claims C99 support.
399ae27e293SMartin Mares
4000fc3bd18SMartin Mares2008-02-11  Martin Mares <[email protected]>
4010fc3bd18SMartin Mares
4022466b14bSMartin Mares	* Released as 2.2.10.
4032466b14bSMartin Mares
4046add52f5SMartin Mares	* lspci.c, setpci.c: Cleaned up the list of options.
4056add52f5SMartin Mares
4060fc3bd18SMartin Mares	* lib/names.c: Fix displaying of errors reported by zlib.
4070fc3bd18SMartin Mares	Previously, the buffer containing the error message had
4080fc3bd18SMartin Mares	been deallocated by gzclose() before the message was printed.
4090fc3bd18SMartin Mares
410d26b5378SMartin Mares2008-01-07  Martin Mares <[email protected]>
411d26b5378SMartin Mares
412d26b5378SMartin Mares	* update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
413d26b5378SMartin Mares	files left by previous versions of the pciutils. Patch by Mike
414d26b5378SMartin Mares	Frysinger.
415d26b5378SMartin Mares
416d26b5378SMartin Mares	* update-pciids.man: Mention the -q switch.
417d26b5378SMartin Mares
418dc01dd60SMartin Mares2007-11-29  Martin Mares <[email protected]>
419dc01dd60SMartin Mares
420dc01dd60SMartin Mares	* lib/dump.c: Squashed compiler warnings about code with
421dc01dd60SMartin Mares	no effect (there really were surplus *'s).
422dc01dd60SMartin Mares
42311339c0dSMartin Mares2007-11-06  Martin Mares <[email protected]>
42411339c0dSMartin Mares
42513463566SMartin Mares	* Released as 2.2.9.
42613463566SMartin Mares
42711339c0dSMartin Mares	* lspci.c: Added a new switch `-k' which requests printing
42811339c0dSMartin Mares	of information on kernel drivers attached to each device
42911339c0dSMartin Mares	and on kernel modules reporting the ability to handle the
43011339c0dSMartin Mares	device. So far, this is supported only on Linux with the
43111339c0dSMartin Mares	sysfs back-end, so it is implemented internally in the lspci
43211339c0dSMartin Mares	instead of the libpci. Thanks to Anicka <[email protected]>
43311339c0dSMartin Mares	for help.
43411339c0dSMartin Mares
4353de798bdSMartin Mares2007-10-19  Martin Mares <[email protected]>
4363de798bdSMartin Mares
4376cdb9d93SMartin Mares	* Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS.
4386cdb9d93SMartin Mares	Also added an explicit pattern rule for linking to make sure
4396cdb9d93SMartin Mares	that LDLIBS is used on all platforms. Thanks to Dan Nicholson
4406cdb9d93SMartin Mares	for the suggestion.
4416cdb9d93SMartin Mares
4426cdb9d93SMartin Mares2007-10-19  Martin Mares <[email protected]>
4436cdb9d93SMartin Mares
444a404b115SMartin Mares	* Released as 2.2.8.
445a404b115SMartin Mares
4463de798bdSMartin Mares	* pci.ids: Revised class codes to match Conventional PCI 3.0 specs.
4473de798bdSMartin Mares	Added a couple of new ones, renumbered `ADMA continuous operation'
4483de798bdSMartin Mares	prog-if to 0x30 (even the old SATA Class Code ECN doesn't mention
4493de798bdSMartin Mares	0x40) and renumbered the satellite communication controllers.
4503de798bdSMartin Mares
4512d2c4810SMartin Mares	* lib/header.h: Include `PCI hot-plug' and `Secure device'
452f7c76ec5SMartin Mares	capabilities from PCI 3.0 specs. Also added `SATA HBA' and
453f7c76ec5SMartin Mares	`Advanced features' caps from various ECN's.
4542d2c4810SMartin Mares
455fa2273caSMartin Mares	* lspci.c: All known capabilities have at least their name displayed
456fa2273caSMartin Mares	now. When we are unable to decode them completely, we signalize it
457fa2273caSMartin Mares	with a `<?>' mark.
458fa2273caSMartin Mares
459fa2273caSMartin Mares	* lspci.man: Document `<?>' and also mention that extended config
460fa2273caSMartin Mares	space is currently available only with the linux_sysfs back-end.
461fa2273caSMartin Mares
46231c9bb28SMartin Mares	* lspci.c: Decode the Debug port capability (per EHCI 0.96 spec).
46331c9bb28SMartin Mares
464a387042eSMartin Mares	* lspci.c: Big code cleanup: re-arranged functions in the code,
465a387042eSMartin Mares	renamed everything related to capabilities to cap_* and
466a387042eSMartin Mares	all options except verbose to opt_*.
467a387042eSMartin Mares
4689c79fcc4SMartin Mares2007-10-14  Martin Mares <[email protected]>
4699c79fcc4SMartin Mares
4709c79fcc4SMartin Mares	* lib/[fno]bsd-*: Removed extraneous braces.
4719c79fcc4SMartin Mares
472d5b4cd14SMartin Mares2007-10-12  Martin Mares <[email protected]>
473d5b4cd14SMartin Mares
474d5b4cd14SMartin Mares	* Capability loop detection introduced 2.2.7 did not work
475d5b4cd14SMartin Mares	  properly with extended capabilities. Fixed.
476d5b4cd14SMartin Mares
477594de878SMartin Mares2007-10-05  Martin Mares <[email protected]>
478594de878SMartin Mares
4798a23eadcSMartin Mares	* Released as 2.2.7.
4808a23eadcSMartin Mares
481594de878SMartin Mares	* lspci.c (show_caps, show_ext_caps): Detect and report loops in
482594de878SMartin Mares	capability lists.
483594de878SMartin Mares
4848a23eadcSMartin Mares	* lspci.c, lib/header.h: Finished decoding of the PCI Express
4858a23eadcSMartin Mares	capability. The extended capabilities remain undecoded for now,
4868a23eadcSMartin Mares	but at least the list of them has been updated to reflect the
4878a23eadcSMartin Mares	current PCI Express 2.0 spec.
4888a23eadcSMartin Mares
4898a23eadcSMartin Mares	* lspci.c, lib/header.h: Decode new bits of traditional registers
4908a23eadcSMartin Mares	as defined by PCIE / PCI-X. This includes discard timers in the bridge
4918a23eadcSMartin Mares	control register and INTx enable/status in device control/status
4928a23eadcSMartin Mares	registers.
4938a23eadcSMartin Mares
4948a23eadcSMartin Mares	* lib/fbsd-device.c: Support domains on new FreeBSD's. Contributed
4958a23eadcSMartin Mares	by Marius Strobl.
4968a23eadcSMartin Mares
49799091df9SMartin Mares2007-09-12  Hasso Tepper <[email protected]>
49899091df9SMartin Mares
49999091df9SMartin Mares	* Extended the fbsd-device backend to run on Dragonfly BSD.
50099091df9SMartin Mares
50199091df9SMartin Mares	* lspci.c: alloca() is declared in <stdlib.h> on BSD's, not <alloca.h>.
50299091df9SMartin Mares
50309156b3bSMartin Mares2007-09-03  Martin Mares <[email protected]>
50409156b3bSMartin Mares
50509156b3bSMartin Mares	* Resurrected the Windows port, including cross-compilation by MinGW.
50609156b3bSMartin Mares	Patch by Samuel Bronson <[email protected]>.
50709156b3bSMartin Mares
508325a3c50SMartin Mares2007-08-31  Martin Mares <[email protected]>
509325a3c50SMartin Mares
510325a3c50SMartin Mares	* Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to allow
511325a3c50SMartin Mares	cross-compilation.
512325a3c50SMartin Mares
513a2322147SMartin Mares2007-08-27  Martin Mares  <[email protected]>
514a2322147SMartin Mares
515a2322147SMartin Mares	* lib/names.c (pci_open): When calling gzopen(), use "rb" file mode
516a2322147SMartin Mares	instead of "r". This is needed on DOS systems, where this function
517a2322147SMartin Mares	somewhat illogically uses the binary flag for the compressed file
518a2322147SMartin Mares	instead of the decompressed stream inside, where binariness really
519a2322147SMartin Mares	matters.
520a2322147SMartin Mares
5214f2c5b94SMartin Mares2007-08-14  Martin Mares  <[email protected]>
5224f2c5b94SMartin Mares
5234f2c5b94SMartin Mares	* lspci.c (show_ht): Added decoding of Hypertransport MSI mapping capability,
5244f2c5b94SMartin Mares	based on a patch by Jason Gunthorpe.
5254f2c5b94SMartin Mares
5264f2c5b94SMartin Mares	* tests/cap-MSI-mapping: Added a test case. I plan to add test cases
5274f2c5b94SMartin Mares	(which are dumps of config space) for all new features.
5284f2c5b94SMartin Mares
5290d7f5331SMartin Mares2007-06-20  Martin Mares  <[email protected]>
5300d7f5331SMartin Mares
5317cebe481SMartin Mares	* Released as 2.2.6.
5327cebe481SMartin Mares
5330d7f5331SMartin Mares	* Makefile: Added an "install-lib" target. Thanks to Dan Nicholson
5340d7f5331SMartin Mares	for a patch.
5350d7f5331SMartin Mares
5367cebe481SMartin Mares	* Makefile, lib/Makefile: Generate and install pkg-config file
5377cebe481SMartin Mares	for libpci. Again by Dan Nicholson.
5387cebe481SMartin Mares
5390d7f5331SMartin Mares2007-06-20  Thomas Schwinge  <[email protected]>
5400d7f5331SMartin Mares
5410d7f5331SMartin Mares	* lib/i386-io-hurd.h: Rewritten for new Hurd kernels.
5420d7f5331SMartin Mares
5436e4a45edSMartin Mares2007-05-04  Martin Mares  <[email protected]>
5446e4a45edSMartin Mares
54555c89179SMartin Mares	* Released as 2.2.5.
54655c89179SMartin Mares
5476e4a45edSMartin Mares	* pci.ids: Updated to the current snapshot of the database.
5486e4a45edSMartin Mares
549d0b07542SMartin Mares2007-02-14  Martin Mares  <[email protected]>
550d0b07542SMartin Mares
551d0b07542SMartin Mares	* lspci.c (show_express): Added PCI/PCI-X to PCI-Express Bridge type.
552d0b07542SMartin Mares	Patch by Mark Glines.
553d0b07542SMartin Mares
5543df35926SMartin Mares2007-02-09  Martin Mares  <[email protected]>
5553df35926SMartin Mares
5563df35926SMartin Mares	* pci.ids: Updated to the current snapshot of the database.
5573df35926SMartin Mares
558e49ed044SMartin Mares2007-02-06  Martin Mares  <[email protected]>
559e49ed044SMartin Mares
5601ac3a99dSMartin Mares	* Replaced bzero() by memset() everywhere, it's better to lose a tiny
5611ac3a99dSMartin Mares	bit of readability than maintain hacks to make it work on various systems.
5621ac3a99dSMartin Mares
563b0eb18ccSMartin Mares	* lib/configure: tr on Solaris is a bit weird and it requires `[A-Z]'
564b0eb18ccSMartin Mares	instead of `A-Z'. Fortunately, the extra brackets don't hurt otherwise.
565b0eb18ccSMartin Mares
566e49ed044SMartin Mares	* lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise
567e49ed044SMartin Mares	integer types.
568e49ed044SMartin Mares
5699de2768cSMartin Mares2007-02-04  Martin Mares  <[email protected]>
5709de2768cSMartin Mares
5719de2768cSMartin Mares	* lspci.c: alloca() needs <alloca.h>.
5729de2768cSMartin Mares
573d19394dbSMartin Mares2006-09-17  Martin Mares  <[email protected]>
574d19394dbSMartin Mares
575d19394dbSMartin Mares	* lib/dump.c: Fixed a couple of bugs in the dump backend which caused
576d19394dbSMartin Mares	devices with domains or with extended config space to be read incorrectly.
577d19394dbSMartin Mares	Also, dumps with partial lines are allowed now.
578d19394dbSMartin Mares
579934e7e36SMartin Mares2006-09-10  Martin Mares  <[email protected]>
580934e7e36SMartin Mares
581f09856deSMartin Mares	* pci.ids: Updated to the current database snapshot.
582f09856deSMartin Mares
583934e7e36SMartin Mares	* lspci.c (scan_device): If an error occurs when reading the standard config
584934e7e36SMartin Mares	header of a device, report it and ignore the device and return with exit
585934e7e36SMartin Mares	code 2 at the end.
586934e7e36SMartin Mares
587b2055313SMartin Mares2006-09-09  Martin Mares  <[email protected]>
588b2055313SMartin Mares
589fb260653SMartin Mares	* Released as 2.2.4.
590fb260653SMartin Mares
5911865e2ddSMartin Mares	* maint/release: Remind the maintainer about the current PCI_LIB_VERSION.
5921865e2ddSMartin Mares
593028dffb2SMartin Mares	* lib/pci.h: Updated PCI_LIB_VERSION.
594028dffb2SMartin Mares
59513081e57SMartin Mares	* lspci.c (show_machine): In the `-m' mode, do proper shell escaping
59613081e57SMartin Mares	if the fields printed contain quotes or backslashes.
59713081e57SMartin Mares
5983fd6b4d2SMartin Mares	* lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse
5993fd6b4d2SMartin Mares	of the `Device' tag for two different purposes.
6003fd6b4d2SMartin Mares
601840d09aeSMartin Mares	* Makefile: Moved all system-dependent decisions to lib/configure,
602840d09aeSMartin Mares	since config.mk is included in the top-level Makefile anyway.
603840d09aeSMartin Mares
6042100f710SMartin Mares	* lib/configure: When configuring for Linux, ignore the kernel version
6052100f710SMartin Mares	and always build all access methods.
6062100f710SMartin Mares
6073e9c7a18SMartin Mares	* Makefile (CFLAGS): Removed -Winline, it's not needed and triggers
6083e9c7a18SMartin Mares	at many non-interesting places with gcc 3.4.
6093e9c7a18SMartin Mares
61094db5c82SMartin Mares	* Whitespace cleanup of all source files.
61194db5c82SMartin Mares
612cc062b4aSMartin Mares	* The pci.ids file can be stored compressed if zlib is available.
613cc062b4aSMartin Mares	Added transparent decompression to lib/names.c, modified update-pciids.sh
614cc062b4aSMartin Mares	to keep the file compressed if applicable, updated Makefiles.
615cc062b4aSMartin Mares	Based on a patch by Matthew Wilcox, but all the bugs are mine.
616cc062b4aSMartin Mares
617f4ddb8d3SMartin Mares	* Makefile, README: Allow installation to be done to a different directory
618f4ddb8d3SMartin Mares	from the one we will eventually be placed in by setting DESTDIR.
619f4ddb8d3SMartin Mares	Patch by Matthew Wilcox.
620f4ddb8d3SMartin Mares
62116e37012SMartin Mares	* Added .gitignore files.
62216e37012SMartin Mares
623c7f5314dSMartin Mares	* Makefile (clean): Clean *.orig, too.
624c7f5314dSMartin Mares
625afebde01SMartin Mares	* Cleaned up usage of `char' and `byte'.
626afebde01SMartin Mares
627fd54ccebSMartin Mares	* lib/header.h: PCI_CLASS_DOCKING_OTHER should be 0x0a80, not 0x0a01.
628fd54ccebSMartin Mares
629b2055313SMartin Mares	* lib/header.h: Added PCI_CLASS_xxx constants for all classes currently
630b2055313SMartin Mares	defined in the pci.ids file.
631b2055313SMartin Mares
6324254d153SMartin Mares2006-08-01  Martin Mares  <[email protected]>
6334254d153SMartin Mares
6344254d153SMartin Mares	* lib/i386-io-hurd.h: Fixed a silly typo.
6354254d153SMartin Mares
6361c5cc9b5SMartin Mares2006-07-30  Martin Mares  <[email protected]>
6371c5cc9b5SMartin Mares
63838a9e3c3SMartin Mares	* lib/Makefile: Added a missing rule for obsd-device.o.
63938a9e3c3SMartin Mares
640c7ddfa3eSMartin Mares	* lspci.c, lib/header.h: Added support for MSI per-vector masking.
641c7ddfa3eSMartin Mares	Contributed by Petr Vandrovec.
642c7ddfa3eSMartin Mares
643248a04f8SMartin Mares	* lspci.c, lib/header.h: Added support for the `bridge subsystem ID'
644248a04f8SMartin Mares	capability. Contributed by Petr Vandrovec.
645248a04f8SMartin Mares
646f29dcc87SMartin Mares	* lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable
647f29dcc87SMartin Mares	memory windows. Fix by Petr Vandrovec.
648f29dcc87SMartin Mares
6498eab3bffSMartin Mares	* maint/release.pm: Exclude .git directory from releases.
6508eab3bffSMartin Mares
651d305d704SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Report failures during port access
652d305d704SMartin Mares	initialization by a->warn() instead of calling printf() or perror()
653d305d704SMartin Mares	directly.
654d305d704SMartin Mares
6559007a292SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Moved the logic which keeps track of
6569007a292SMartin Mares	the port access state to generic code.
6579007a292SMartin Mares
658bd20d5b5SMartin Mares	* lib/i386-io-hurd.h: Ask the kernel for I/O port access appropriately.
659bd20d5b5SMartin Mares	Contributed by Thomas Schwinge and Samuel Thibault.
660bd20d5b5SMartin Mares
66173750606SMartin Mares	* lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module.
66273750606SMartin Mares
663d71daa45SMartin Mares	* lib/header.h: Whitespace cleanups.
664d71daa45SMartin Mares
6651c5cc9b5SMartin Mares	* lib/i386-io-windows.h: Fixed indentation and spelling.
6661c5cc9b5SMartin Mares
6671c5cc9b5SMartin Mares	* README.Windows: Mention that WinIO.dll is needed and where to get it.
6681c5cc9b5SMartin Mares
669c2b144efSMartin Mares2006-06-27  Martin Mares  <[email protected]>
670c2b144efSMartin Mares
67114d4f989SMartin Mares	* lib/Makefile, Makefile: Added rules for building and cleaning the example.
67214d4f989SMartin Mares
67314d4f989SMartin Mares	* lib/example.c: Show how to use PCI_FILL_CLASS and used another register
67414d4f989SMartin Mares	for demonstrating the config space accesses. The example is still very
67514d4f989SMartin Mares	incomplete, though.
67614d4f989SMartin Mares
677c2b144efSMartin Mares	* lib/pci.h, lib/generic.c: Added PCI_FILL_CLASS.
678c2b144efSMartin Mares
679c2b144efSMartin Mares	* lib/sysfs.c: Fetch device ID and class from sysfs, because they can
680c2b144efSMartin Mares	be modified by kernel fixups.
681c2b144efSMartin Mares
682c2b144efSMartin Mares	* lspci.c: Use PCI_FILL_CLASS. Thanks to Matthew Willcox for the patch.
683c2b144efSMartin Mares
684bc2eed2dSMartin Mares2006-06-03  Martin Mares  <[email protected]>
685bc2eed2dSMartin Mares
686bc2eed2dSMartin Mares	* lspci.c: Introduced the -nn switch. Thanks to David N. Welton
687bc2eed2dSMartin Mares	for the idea.
688bc2eed2dSMartin Mares
689bc2eed2dSMartin Mares	* lib/names.c (pci_lookup_name): Introduced PCI_LOOKUP_MIXED and
690bc2eed2dSMartin Mares	cleaned up the name selection code.
691bc2eed2dSMartin Mares
692c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): If PCI_LOOKUP_NO_NUMBERS is given,
693c72eeddeSMartin Mares	pci_access->numeric_ids is ignored.
694c72eeddeSMartin Mares
695c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): When class is identified and
696c72eeddeSMartin Mares	subclass isn't, display class name and subclass number.
697c72eeddeSMartin Mares
6982f294d4bSMartin Mares2006-05-31  Martin Mares  <[email protected]>
6992f294d4bSMartin Mares
7002f294d4bSMartin Mares	* setpci.c (main): Don't crash when an invalid width is specified.
7012f294d4bSMartin Mares
70281afa98cSMartin Mares	* lspci.c, setpci.c, common.c: die() now uses the right program
70381afa98cSMartin Mares	name when printing an error message.
70481afa98cSMartin Mares
7050ac282f2SMartin Mares2006-05-19  Martin Mares  <[email protected]>
7060ac282f2SMartin Mares
7070ac282f2SMartin Mares	* README: Mention the public GIT tree.
7080ac282f2SMartin Mares
7090ac282f2SMartin Mares	* README: Updated the list of ports.
7100ac282f2SMartin Mares
711d1058e9dSMartin Mares2006-05-10  Martin Mares  <[email protected]>
712d1058e9dSMartin Mares
713d1058e9dSMartin Mares	* lib/configure, lib/fbsd-device.c: Added support for GNU/kFreeBSD.
714d1058e9dSMartin Mares	Thanks to Petr Salinger for the patch.
715d1058e9dSMartin Mares
716abf8d505SMartin Mares2006-05-05  Martin Mares  <[email protected]>
717abf8d505SMartin Mares
7182ae2d1aeSMartin Mares	* Released as 2.2.3.
7192ae2d1aeSMartin Mares
7202ae2d1aeSMartin Mares	* lspci.c (scan_device): The -D switch didn't work as intended
7212ae2d1aeSMartin Mares	in -m mode.
7222ae2d1aeSMartin Mares
7232ae2d1aeSMartin Mares2006-05-05  Martin Mares  <[email protected]>
7242ae2d1aeSMartin Mares
7251d5cf727SMartin Mares	* Released as 2.2.2.
7261d5cf727SMartin Mares
7278a830168SMartin Mares	* pci.ids: Updated to the current database snapshot.
7288a830168SMartin Mares
729b6359063SMartin Mares	* lib/obsd-device.c (and other files in lib/*): Added OpenBSD
730b6359063SMartin Mares	interface by Matthieu Herrb <[email protected]>, based on
731b6359063SMartin Mares	the existing FreeBSD interface.
732b6359063SMartin Mares
733abf8d505SMartin Mares	* Moved pciutils to a GIT repository, which now contains merged
734abf8d505SMartin Mares	history from both CVS and Arch. Good bye, TLA!
735abf8d505SMartin Mares
7366ac70402SMartin Mares2006-03-21  Martin Mares  <[email protected]>
7376ac70402SMartin Mares
7382a124daeSMartin Mares	* lspci.c (show_slot_name): Avoid the previous changes in default
7392a124daeSMartin Mares	display of domain name when in machine-readable mode. However, `-D'
7402a124daeSMartin Mares	forces domain display even there.
7412a124daeSMartin Mares
7426ac70402SMartin Mares	* lspci.man: Added a warning on -m being the only format, which is
7436ac70402SMartin Mares	guaranteed to be stable between lspci versions.
7446ac70402SMartin Mares
7451bbdea17SMartin Mares2006-03-13  Martin Mares  <[email protected]>
7461bbdea17SMartin Mares
747af61eb25SMartin Mares	* lspci.man: Documented the -D switch.
748af61eb25SMartin Mares
749af61eb25SMartin Mares	* lspci.c (show_slot_name, scan_device): If there are multiple PCI
750af61eb25SMartin Mares	domains or if the `-D' switch is used, show the domain number for
751af61eb25SMartin Mares	all devices.
752af61eb25SMartin Mares
7537a61b93cSMartin Mares	* lspci.c (show_verbose): Report cache line size in bytes.
7547a61b93cSMartin Mares
7551bbdea17SMartin Mares	* update-pciids.sh: Use curl if available. Patch by Matthew Wilcox.
7561bbdea17SMartin Mares
7570e78ef8aSMartin Mares2006-01-04  Martin Mares  <[email protected]>
7580e78ef8aSMartin Mares
7590e78ef8aSMartin Mares	* lspci.c (show_express_link): Fixed decoding of link status register.
7600e78ef8aSMartin Mares	Thanks to Roland Dreier for his report.
7610e78ef8aSMartin Mares
762e6859953SMartin Mares2005-12-12  Martin Mares  <[email protected]>
763e6859953SMartin Mares
764e6859953SMartin Mares	* lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow
765e6859953SMartin Mares	at least read-only access. Patch by Pavel Celeda <[email protected]>.
766e6859953SMartin Mares
767e6859953SMartin Mares	* Makefile: Corrected library path on NetBSD.
768e6859953SMartin Mares
769a99c0d69SMartin Mares2005-11-26  Martin Mares  <[email protected]>
770a99c0d69SMartin Mares
771e4af70c6SMartin Mares	* Released as 2.2.1.
772e4af70c6SMartin Mares
773a99c0d69SMartin Mares	* lspci.c (show_machine): Subsystem vendors were printed incorrectly
774a99c0d69SMartin Mares	in machine-readable modes. Thanks to Pavel Celeda for a bug report.
775a99c0d69SMartin Mares
776f23fd3fcSMartin Mares2005-10-11  Martin Mares  <[email protected]>
777f23fd3fcSMartin Mares
778f23fd3fcSMartin Mares	* lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it.
779f23fd3fcSMartin Mares
78015296723SMartin Mares2005-09-21  Martin Mares  <[email protected]>
78115296723SMartin Mares
78215296723SMartin Mares	* Released as 2.2.0.
78315296723SMartin Mares
78440b6d93fSMartin Mares	* pci.ids: Updated copyright header.
78540b6d93fSMartin Mares
78615296723SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported
78715296723SMartin Mares	64-bit addresses, they are now always supported.
78815296723SMartin Mares
78915296723SMartin Mares	* lspci.c (show_bases): Corrected printing of 64-bit addresses
79015296723SMartin Mares	in bus-centric mode.
79115296723SMartin Mares
79215296723SMartin Mares	* lib/configure: Enable 64-bit addresses on all Linux systems.
79315296723SMartin Mares
79415296723SMartin Mares	* lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they
79515296723SMartin Mares	are shorter.
79615296723SMartin Mares
797224707baSMartin Mares2005-09-11  Martin Mares  <[email protected]>
798224707baSMartin Mares
799224707baSMartin Mares	* Released as 2.1.99-test11.
800224707baSMartin Mares
801224707baSMartin Mares	* lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls.
802224707baSMartin Mares
803aeaca5d3SMartin Mares2005-09-10  Martin Mares  <[email protected]>
804aeaca5d3SMartin Mares
805224707baSMartin Mares	* Released as 2.1.99-test10.
806224707baSMartin Mares
80763e6f2e0SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
80863e6f2e0SMartin Mares
809043ebdeeSMartin Mares	* update-pciids.sh: Changed the default URL for downloading pci.ids
810043ebdeeSMartin Mares	to http://pciids.sourceforge.net/v2.2/pci.ids.
811043ebdeeSMartin Mares
812043ebdeeSMartin Mares	* lib/pci.h (PCI_LIB_VERSION): Added version identifier.
813043ebdeeSMartin Mares
814aeaca5d3SMartin Mares	* lib/names.c: Rewritten the name database module almost from scratch.
815aeaca5d3SMartin Mares	Everything is much cleaner and there are hopefully no more memory leaks;
816aeaca5d3SMartin Mares	pci_lookup_name() now uses varargs in a backward compatible fashion.
817aeaca5d3SMartin Mares	Introduced PCI_LOOKUP_NO_NUMBERS.
818aeaca5d3SMartin Mares
819aeaca5d3SMartin Mares	The new code supports subsystem entries not tied to a specific device.
820aeaca5d3SMartin Mares	I had to extend the format of pci.ids in order to support it, so I have
821aeaca5d3SMartin Mares	extended the idea of the "C" (class) blocks and introduced "S" blocks
822aeaca5d3SMartin Mares	for subsystems. To avoid doing more incompatible changes in the future,
823aeaca5d3SMartin Mares	the parser skips unknown single-letter blocks without reporting errors.
824aeaca5d3SMartin Mares
825121c76c9SMartin Mares2005-08-23  Martin Mares  <[email protected]>
826121c76c9SMartin Mares
82754e13765SMartin Mares	* Released as 2.1.99-test9.
82854e13765SMartin Mares
82954e13765SMartin Mares	* Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent
83054e13765SMartin Mares	gcc versions when optimizing anyway.
83154e13765SMartin Mares
83254e13765SMartin Mares	* Made the path to pci.ids customizable and independent on the SHAREDIR.
83354e13765SMartin Mares	Just override IDSDIR in the top-level Makefile.
83454e13765SMartin Mares
83554e13765SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
83654e13765SMartin Mares
83784d437d6SMartin Mares	* lspci.man, setpci.man: Improved the man pages. Documented all access
83884d437d6SMartin Mares	methods and which operations are privileged.
83984d437d6SMartin Mares
84084d437d6SMartin Mares	* lspci.c: Another rewrite of config register caching, now also including
84184d437d6SMartin Mares	lots of internal checks. It should be now perfectly able to cope with
84284d437d6SMartin Mares	portions of the configuration space being inaccessible, for example
84384d437d6SMartin Mares	due to insufficient access rights.
84484d437d6SMartin Mares
8453b8bf739SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X
8463b8bf739SMartin Mares	capabilities. Includes partial support for PCI-X 2.0 (probably incomplete
8473b8bf739SMartin Mares	as I haven't seen the spec).
8483b8bf739SMartin Mares
8493b8bf739SMartin Mares	* lspci.c: Quell warnings about unused parameters.
8503b8bf739SMartin Mares
85184d437d6SMartin Mares	* lspci.c: Removed C++ comments.
85284d437d6SMartin Mares
8533b8bf739SMartin Mares	* lib/header.h: Merged definitions of extended capabilities and some new
8543b8bf739SMartin Mares	PCI-X capability bits from linux-2.6.11/include/pci.h.
8553b8bf739SMartin Mares
8563b8bf739SMartin Mares	* lspci.c (show_caps): Try to scan extended capabilities only if the
8573b8bf739SMartin Mares	device has either PCI-X or PCI Express capability in its normal capability
8583b8bf739SMartin Mares	list.
8593b8bf739SMartin Mares
860f7821e53SMartin Mares	* lib/dump.c (dump_init): Reading of dumps works again. The dump reader
861f7821e53SMartin Mares	now also remembers how much data it has read and refuses attempts to
862f7821e53SMartin Mares	access more than that.
863ea4e5f5dSMartin Mares
86446ea554dSMartin Mares	* setpci.man, lspci.c, README: prefer spelling "buses" over "busses".
86546ea554dSMartin Mares
8668afaab22SMartin Mares	* lspci.c: If alloca() is not available, use xmalloc(), not malloc().
8678afaab22SMartin Mares
868121c76c9SMartin Mares	* lib/configure: Added x86_64 on Linux.
869121c76c9SMartin Mares
870c1c2c30eSMartin Mares2005-08-22  Martin Mares  <[email protected]>
871c1c2c30eSMartin Mares
872b9ca9147SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters.
873b9ca9147SMartin Mares	Thanks to Matthew Wilcox for bug report.
874b9ca9147SMartin Mares
875c1c2c30eSMartin Mares	* lspci.c: Corrected spelling of "Hz" (it was "hz" at several places).
876b9ca9147SMartin Mares	Thanks to Krzysztof Oledzki for pointing that out.
877c1c2c30eSMartin Mares
87826542a0bSMartin Mares2004-08-19  Martin Mares  <[email protected]>
87926542a0bSMartin Mares
88026542a0bSMartin Mares	* pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism,
88126542a0bSMartin Mares	because pciutils by default install to /usr/sbin. Update.
88226542a0bSMartin Mares
8836aa54f1bSMartin Mares2004-08-13  Martin Mares  <[email protected]>
8846aa54f1bSMartin Mares
885aabb0a92SMartin Mares	* Released as 2.1.99-test8.
886aabb0a92SMartin Mares
887f31412d1SMartin Mares	* lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are
888f31412d1SMartin Mares	no longer exported to the outside world.
889f31412d1SMartin Mares
890ee7d8384SMartin Mares	* README.Windows: Updated.
891ee7d8384SMartin Mares
892ee7d8384SMartin Mares	* maint/release: Substitute version number in win32/config.h.
893ee7d8384SMartin Mares
894ee7d8384SMartin Mares	* win32/config.h: Added.
895ee7d8384SMartin Mares
896ee7d8384SMartin Mares	* lib/sysdep.h (bzero, strcasecmp): are macros on Windows.
897ee7d8384SMartin Mares
898ee7d8384SMartin Mares	* compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU
899ee7d8384SMartin Mares	C library for use on systems where the default libraries lack
900ee7d8384SMartin Mares	proper getopt. Currently used by the Windows port.
901ee7d8384SMartin Mares
902ee7d8384SMartin Mares	* lib/sysdep.h, lib/types.h: Updates of the Windows port from
903ee7d8384SMartin Mares	Alexander Stock.
904ee7d8384SMartin Mares
905489233b4SMartin Mares	* lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define
906489233b4SMartin Mares	its own u8, u16, u32, byte and word types and uses what the user
907489233b4SMartin Mares	has supplied instead. With this change, all namespace clashes should
908489233b4SMartin Mares	be gone.
909489233b4SMartin Mares
910489233b4SMartin Mares	* Makefile, lib/Makefile: Updated dependencies.
911489233b4SMartin Mares
912489233b4SMartin Mares	* pciutils.h: Include lib/sysdep.h and move NONRET et al. there.
913489233b4SMartin Mares
914489233b4SMartin Mares	* lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because
915489233b4SMartin Mares	it is included unconditionally in lib/types.h.
916489233b4SMartin Mares
917489233b4SMartin Mares	* Moved system-dependent stuff from lib/internal.h to lib/sysdep.h,
918489233b4SMartin Mares	which is also used by the utilities. Also moved type declarations
919489233b4SMartin Mares	from lib/pci.h to lib/types.h.
920489233b4SMartin Mares
921489233b4SMartin Mares	* All files: Prepend a "PCI_" prefix in front of all configuration
922489233b4SMartin Mares	defines to avoid namespace clashes. CAVEAT: If there is any libpci
923489233b4SMartin Mares	application using the (undocumented) defines, it has to be updated.
924489233b4SMartin Mares
925489233b4SMartin Mares	* lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing
926489233b4SMartin Mares	headers with the kernel a couple of years ago.
927489233b4SMartin Mares
9289bb4b4eaSMartin Mares	* lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6.
9299bb4b4eaSMartin Mares
9306aa54f1bSMartin Mares	* lspci.c (show_rom): Use the same logic for printing disabled
9316aa54f1bSMartin Mares	or unassigned ROM's as we do in show_bases() for the other BAR's.
9326aa54f1bSMartin Mares
9336aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Better reaction to
9346aa54f1bSMartin Mares	invalid 64-bit addresses. Also d->hdrtype should not include
9356aa54f1bSMartin Mares	bit 7, which caused mysterious errors on multi-function devices.
9366aa54f1bSMartin Mares
9376aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Fill in base addresses
9386aa54f1bSMartin Mares	even if the regions are known to be disabled. It is the client's
9396aa54f1bSMartin Mares	job to interpret them. (And it is not a trivial job if you want
9406aa54f1bSMartin Mares	to do it correctly, since you need to check I/O and memory enables
9416aa54f1bSMartin Mares	on all upstream bridges, too.) However, it could be interesting to
9426aa54f1bSMartin Mares	introduce functions for interpreting the addresses and even for
9436aa54f1bSMartin Mares	mapping the regions and doing I/O on them.
9446aa54f1bSMartin Mares
94580e6c636SMartin Mares2004-07-30  Martin Mares  <[email protected]>
94680e6c636SMartin Mares
94780e6c636SMartin Mares	* lspci.c: HyperTransport improvements from Maciej.
94880e6c636SMartin Mares
949d6324891SMartin Mares2004-07-11  Martin Mares  <[email protected]>
950d6324891SMartin Mares
951d6324891SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Arguments now correspond
952d6324891SMartin Mares	to the format string. [Patch by Bill Nottingham]
953d6324891SMartin Mares
954ec25b52dSMartin Mares2004-07-05  Martin Mares  <[email protected]>
955ec25b52dSMartin Mares
956362be683SMartin Mares	* Released as 2.1.99-test7.
957362be683SMartin Mares
958ec25b52dSMartin Mares	* lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but
959ec25b52dSMartin Mares	ended up with rewriting the fetching mechanism to be fully dynamic,
960ec25b52dSMartin Mares	but avoid reading config space registers not explicitly requested.
961ec25b52dSMartin Mares
962ec25b52dSMartin Mares2004-06-29  Matthew Wilcox <[email protected]>
963ec25b52dSMartin Mares
964ec25b52dSMartin Mares	* lspci.c: More work on PCI Express dumping.
965ec25b52dSMartin Mares
966ec25b52dSMartin Mares	* lib/header.h: Updated PCI Express capability definitions.
967ec25b52dSMartin Mares
968ec25b52dSMartin Mares	* lib/proc.c (proc_read): Removed bogus warning.
969ec25b52dSMartin Mares
970ec25b52dSMartin Mares	* common.c (xrealloc): Introduced.
971ec25b52dSMartin Mares
972ec25b52dSMartin Mares	* lspci.man: Added -xxxx.
973ec25b52dSMartin Mares
97409817437SMartin Mares2004-06-27  Martin Mares  <[email protected]>
97509817437SMartin Mares
976d1fa27ebSMartin Mares	* Released as 2.1.99-test6.
977d1fa27ebSMartin Mares
9784d67aa89SMartin Mares	* lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap.
9794d67aa89SMartin Mares	Patch by Roland Dreier <[email protected]>, cleaned up by me.
9804d67aa89SMartin Mares
9814d67aa89SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch()
9824d67aa89SMartin Mares	failures.
9834d67aa89SMartin Mares
9844d67aa89SMartin Mares	* lib/header.h: Added PCI Express extended capabilities. Again by Matthew.
9854d67aa89SMartin Mares
9864d67aa89SMartin Mares	* lspci.c (show_express): Added dumping of PCI Express cap.
9874d67aa89SMartin Mares	Patch by Matthew Wilcox.
9884d67aa89SMartin Mares
9894d67aa89SMartin Mares	* lib/header.h: Added a list of PCI 3.0 capabilities and also details
9904d67aa89SMartin Mares	on PCI Express caps. Patch by Matthew Wilcox <[email protected]>.
9914d67aa89SMartin Mares
99209817437SMartin Mares	* lspci.c (check_root): Gone. No explicit checks for root are needed,
99309817437SMartin Mares	report correct errors reported by the libpci instead.
99409817437SMartin Mares
99509817437SMartin Mares	* lspci.c: Added dumping of the extended config space on "-xxxx".
99609817437SMartin Mares	Better caching of config registers.
99709817437SMartin Mares
99809817437SMartin Mares	* setpci.c (main): Allow access to whole 4096 bytes of the config space.
99909817437SMartin Mares
100009817437SMartin Mares	* lib/sysfs.c, lib/proc.c: Don't print error messages on short reads,
100109817437SMartin Mares	just return the appropriate error code.
100209817437SMartin Mares
100309817437SMartin Mares	* lib: Added support for extended (4096-byte) configuration space,
100409817437SMartin Mares	currently implemented only in Linux proc and sysfs access methods
100509817437SMartin Mares	and of course in the dump reader.
100609817437SMartin Mares
10070d656226SMartin Mares2004-05-29  Martin Mares  <[email protected]>
10080d656226SMartin Mares
1009c0eece92SMartin Mares	* Released as 2.1.99-test5.
1010c0eece92SMartin Mares
1011a2413560SMartin Mares	* lib/pci.h: Windows don't have the standard u_int* types.
1012a2413560SMartin Mares
1013a2413560SMartin Mares	* lib/internal.h: <sys/param.h> required on Windows for endianity
1014a2413560SMartin Mares	macros.
1015a2413560SMartin Mares
1016a2413560SMartin Mares	* lib/i386-ports.c: Connected i386-io-windows.h.
1017a2413560SMartin Mares
1018a2413560SMartin Mares	* lspci.c (check_root): geteuid() is not available on Windows.
1019a2413560SMartin Mares
1020a2413560SMartin Mares	* lib/i386-io-windows.h: Added Windows port contributed by Alexander
1021a2413560SMartin Mares	Stock <[email protected]>.
1022a2413560SMartin Mares
1023a2413560SMartin Mares	* lib/configure: Hopefully fixed SunOS port broken by various
1024a2413560SMartin Mares	changes to the configure script.
1025a2413560SMartin Mares
10260d656226SMartin Mares	* Makefile, lib/configure: Cross-compilation support, patch by Maciej.
10270d656226SMartin Mares
1028138c0385SMartin Mares2004-05-28  Martin Mares  <[email protected]>
1029138c0385SMartin Mares
10309f490382SMartin Mares	* Released as 2.1.99-test4.
10319f490382SMartin Mares
1032cce2caacSMartin Mares	* lspci.c (show_verbose): Header type 1 is probably legal for all
1033cce2caacSMartin Mares	types of bridges, not only for PCI-to-PCI bridges.
1034cce2caacSMartin Mares
1035b569ef09SMartin Mares	* lspci.c (format_agp_rate): Write "x16", not "x@".
1036b569ef09SMartin Mares	(show_agp): rate[] could overflow.
1037b569ef09SMartin Mares	Bugs reported by Jakub Bogusz <[email protected]>.
1038b569ef09SMartin Mares
1039bfc4fe7aSMartin Mares	* lspci.c (show_ht_*): Show HyperTransport capability with all its
1040bfc4fe7aSMartin Mares	details. Once again code by Maciej simplified (i.e., possibly broken)
1041bfc4fe7aSMartin Mares	by me.
1042bfc4fe7aSMartin Mares
1043bfc4fe7aSMartin Mares	* lib/header.h: Added declarations of HyperTransport capability.
1044bfc4fe7aSMartin Mares	Again thanks to Maciej.
1045bfc4fe7aSMartin Mares
1046138c0385SMartin Mares	* lspci.c: Decode all bits of the secondary status word in type 1 headers.
1047138c0385SMartin Mares	Thanks to Maciej W. Rozycki <[email protected]> for the patch.
1048138c0385SMartin Mares
10498fc75dbcSMartin Mares2003-12-27  Martin Mares  <[email protected]>
10508fc75dbcSMartin Mares
105181abd2a7SMartin Mares	* Released as 2.1.99-test3.
105281abd2a7SMartin Mares
10531f7c91ccSMartin Mares	* lspci.man, setpci.man: Document domains and correct spelling.
10541f7c91ccSMartin Mares
10551f7c91ccSMartin Mares	* lib/dump.c (dump_init): Added ability to read domain numbers.
10561f7c91ccSMartin Mares
105784c8d1bbSMartin Mares	* lspci.c: Devices in domains different from 0 have their slot number
10581f7c91ccSMartin Mares	printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains
10591f7c91ccSMartin Mares	as well.
106084c8d1bbSMartin Mares
106184c8d1bbSMartin Mares	* lib/filter.c: Slot filters understand domains.
106284c8d1bbSMartin Mares
106384c8d1bbSMartin Mares	* lib/generic.c: Mention the domain in slot numbers in all error messages.
106484c8d1bbSMartin Mares
106584c8d1bbSMartin Mares	* lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong.
106684c8d1bbSMartin Mares
106784c8d1bbSMartin Mares	* lib/access.c (pci_get_dev): Added support for domains.
106884c8d1bbSMartin Mares
106984c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config
107084c8d1bbSMartin Mares	registers (or to be precise, leave it for the generic parts of the pcilib
107184c8d1bbSMartin Mares	to do so) instead of reading them from the sysfs. It's faster this way.
107284c8d1bbSMartin Mares
107384c8d1bbSMartin Mares	* lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal
107484c8d1bbSMartin Mares	variable. Better read it from the config registers (it's cached anyway).
107584c8d1bbSMartin Mares
107684c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype.
107784c8d1bbSMartin Mares	  lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it.
107884c8d1bbSMartin Mares	  Saves lots of unnecessary file accesses.
107984c8d1bbSMartin Mares
108011f7b31bSMartin Mares	* lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter
108111f7b31bSMartin Mares	is not supported by all C libraries.
108211f7b31bSMartin Mares
108311f7b31bSMartin Mares	* Makefile: Always enter the lib directory (remember that we don't have
108411f7b31bSMartin Mares	full dependecies for the library in the top-level Makefile; hmmm, another
108511f7b31bSMartin Mares	thing to rewrite some day).
108611f7b31bSMartin Mares
108711f7b31bSMartin Mares	* lib/sysfs.c: Added Linux sysfs access method based on the patch
108811f7b31bSMartin Mares	written by Matthew Wilcox <[email protected]>.
108911f7b31bSMartin Mares
109011f7b31bSMartin Mares	* lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc".
109111f7b31bSMartin Mares
109211f7b31bSMartin Mares	* lib/pread.h: The hacks to support pread on various versions
109311f7b31bSMartin Mares	of Linux libc moved there.
109411f7b31bSMartin Mares
109511f7b31bSMartin Mares	* lib/proc.c (proc_setup): The return value of snprintf() varies
109611f7b31bSMartin Mares	between glibc versions, so we need to check both for a negative
109711f7b31bSMartin Mares	values and for too large values.
109811f7b31bSMartin Mares
10994284af58SMartin Mares	* Removed last few references to the "Linux PCI Utilities", the
11004284af58SMartin Mares	package is pretty cross-platform now :)
11014284af58SMartin Mares
11024284af58SMartin Mares2003-12-27  Martin Mares  <[email protected]>
11034284af58SMartin Mares
1104ab12277eSMartin Mares	* Released as 2.1.99-test2.
1105ab12277eSMartin Mares
1106ab12277eSMartin Mares	* README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the
1107ab12277eSMartin Mares	release scripts insert the current version. "make release" is gone.
1108ab12277eSMartin Mares
1109ab12277eSMartin Mares	* maint/release, maint/release.pm: Added a new system of scripts for
1110ab12277eSMartin Mares	making releases including inter-version diffs etc.
1111ab12277eSMartin Mares
1112ab12277eSMartin Mares	* Makefile: Cleaned up.
1113ab12277eSMartin Mares
1114ab12277eSMartin Mares	* lib/fbsd-device.c: I patched another copy of this file by mistake,
1115ab12277eSMartin Mares	this time the version checks should be right.
1116ab12277eSMartin Mares
1117ab12277eSMartin Mares2003-12-27  Martin Mares  <[email protected]>
1118ab12277eSMartin Mares
11196d722cd6SMartin Mares	* Released as 2.1.99-test1.
11206d722cd6SMartin Mares
1121dd33246aSMartin Mares	* pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
1122dd33246aSMartin Mares	Remove shadows of the syscall access method which was never
1123dd33246aSMartin Mares	implemented.
1124dd33246aSMartin Mares
112580b3121aSMartin Mares	* update-pciids.sh: Try to preserve permissions of the old file
112680b3121aSMartin Mares	if chmod supports --reference. Should close Debian Bug #223740.
112780b3121aSMartin Mares
11286aea909aSMartin Mares	* lib/proc.c (proc_setup): Increased path name length limit to 1024.
11296aea909aSMartin Mares	Thanks for Redhat and Mandrake for inspiration.
11306aea909aSMartin Mares
11316aea909aSMartin Mares	* lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
11326aea909aSMartin Mares	Grabbed from Redhat (Fedora) patches.
11336aea909aSMartin Mares
11346aea909aSMartin Mares2003-12-27  Martin Mares  <[email protected]>
11356aea909aSMartin Mares
1136f701ff47SMartin Mares	Merged bug fixes from Debian patches:
1137f701ff47SMartin Mares
1138f701ff47SMartin Mares	* lspci.c (show_verbose): "Cache Line Size" should be capitalized.
1139f701ff47SMartin Mares
1140f701ff47SMartin Mares	* lspci.c (show_pcix_nobridge): Added a missing newline.
1141f701ff47SMartin Mares
11422240db8cSMartin Mares	* lib/proc.c (proc_scan): When reading the header type, don't
11432240db8cSMartin Mares	forget to clear the topmost bit indicating that the device has
1144f701ff47SMartin Mares	multiple functions.
11452240db8cSMartin Mares
11462240db8cSMartin Mares2003-12-27  Martin Mares  <[email protected]>
11472240db8cSMartin Mares
114845902995SMartin Mares	Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]>
114945902995SMartin Mares	for the patches:
115045902995SMartin Mares
115145902995SMartin Mares	* lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
115245902995SMartin Mares	* lib/fbsd-device.c: Select the right set of system includes according
115345902995SMartin Mares	to __FreeBSD_version.
115445902995SMartin Mares
115545902995SMartin Mares2003-12-27  Martin Mares  <[email protected]>
115645902995SMartin Mares
11578fc75dbcSMartin Mares	Merged support for Solaris on i386 by Bill Moore <[email protected]>
11588fc75dbcSMartin Mares	and cleaned up:
11598fc75dbcSMartin Mares
11608fc75dbcSMartin Mares	* lib/configure: Recognize SunOS.
11618fc75dbcSMartin Mares	* lib/internal.h: Learn how to recognize byte order on SunOS.
11628fc75dbcSMartin Mares	* lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
11638fc75dbcSMartin Mares	* lib/i386-io-linux.h: Linux specific part.
11648fc75dbcSMartin Mares	* lib/i386-io-hurd.h: GNU/Hurd specific part.
11658fc75dbcSMartin Mares	* lib/i386-io-sunos.h: SunOS specific part.
11668fc75dbcSMartin Mares
11679739916eSMartin Mares2003-12-26  Martin Mares  <[email protected]>
11689739916eSMartin Mares
11699739916eSMartin Mares	* lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly.
11709739916eSMartin Mares
11719739916eSMartin Mares	* lib/pci.h: Types declared in <sys/types.h> should be usable on all
11729739916eSMartin Mares	platforms we currently support, so kill the forest of #ifdef's and
11739739916eSMartin Mares	use them in all cases.
11749739916eSMartin Mares
11759739916eSMartin Mares	* lib/pci.h: Use ULONG_MASK to decide whether we should use long
11769739916eSMartin Mares	or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS.
11779739916eSMartin Mares	Define format strings for addresses, port numbers and IRQ numbers
11789739916eSMartin Mares	directly in pci.h.
11799739916eSMartin Mares
11809739916eSMartin Mares	* lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses.
11819739916eSMartin Mares
118280459c65SMartin Mares2003-12-26  Marco Gerards  <[email protected]>
118380459c65SMartin Mares
118480459c65SMartin Mares	Added support for the GNU Hurd (cleaned up by Martin Mares):
118580459c65SMartin Mares
118680459c65SMartin Mares	* lib/configure [GNU]: Use the i386 ports for configuration access.
118780459c65SMartin Mares	* lib/i386-ports.c: Don't call iopl() on the Hurd.
118880459c65SMartin Mares	* lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining
118980459c65SMartin Mares	u8 to u32.
119080459c65SMartin Mares
1191a85769a8SMartin Mares2003-12-26  Martin Mares  <[email protected]>
1192a85769a8SMartin Mares
11937dacd9c8SMartin Mares	* lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call
11947dacd9c8SMartin Mares	config_fetch() to ensure that the registers have been read. Thanks to
11957dacd9c8SMartin Mares	Bill Wood <[email protected]> for the patch.
11967dacd9c8SMartin Mares
11977dacd9c8SMartin Mares	* lspci.c: Ensure that failure of config_fetch() is handled correctly
11987dacd9c8SMartin Mares	at all places.
11997dacd9c8SMartin Mares
12004063c31cSMartin Mares	* lspci.man: There was one more explicit reference to /usr/share/pci.ids.
12014063c31cSMartin Mares	Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>.
12024063c31cSMartin Mares
12033fe8a38dSMartin Mares	* setpci.c (main): Better error messages.
12043fe8a38dSMartin Mares
12055f5b1a7bSMartin Mares	* setpci.c (ex_op): The demo mode should disable only writing, not reading.
12065f5b1a7bSMartin Mares
12075f5b1a7bSMartin Mares	* setpci.man: The documentation was inconsistent on what should -D do.
12085f5b1a7bSMartin Mares	Document the new behaviour.
1209b251f40bSMartin Mares
121091e37a49SMartin Mares	* pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
121191e37a49SMartin Mares	the GCC specific __attribute__((noreturn)) and killed the hack with
121291e37a49SMartin Mares	redefining __attribute__ on non-GCC compilers.
121391e37a49SMartin Mares
12144afd29d3SMartin Mares	* Makefile: Added missing dependencies. Parallel builds work now.
12154afd29d3SMartin Mares	Problem reported by Andreas Haumer <[email protected]>, but I chose
12164afd29d3SMartin Mares	a different fix.
12174afd29d3SMartin Mares
1218b0f1a03bSMartin Mares	* Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell
1219b0f1a03bSMartin Mares	command every time $(MANDIR) is referenced.
1220b0f1a03bSMartin Mares
1221b7fd8e19SMartin Mares	* lspci.c (main): The error message for `lspci -s' incorrectly mentioned
1222b7fd8e19SMartin Mares	a `-f' switch. Reported by Steve Finney <[email protected]>.
1223b7fd8e19SMartin Mares
122405bb10a2SMartin Mares	* lib/generic.c: Removed memory leak in pci_generic_bus_scan().
122505bb10a2SMartin Mares	Reported by Gary Parnes <[email protected]>.
122605bb10a2SMartin Mares
1227a832f6f1SMartin Mares	* Replaced obsolete syntax of __attribute__((unused)) in the middle of
1228a832f6f1SMartin Mares	parameter declarations (which is no longer supported by GCC 3.1) by the
1229a832f6f1SMartin Mares	current syntax (attribute at the end). Thanks to [email protected]
1230a832f6f1SMartin Mares	for reporting this problem.
1231a832f6f1SMartin Mares
1232a85769a8SMartin Mares	* Removed CVS $Id$ tags from all files.
1233a85769a8SMartin Mares
1234a85769a8SMartin Mares	* Makefile: Added some more warnings.
1235a85769a8SMartin Mares
1236b7351143SMartin Mares	* setpci.c: Cleaned up mask/value code.
1237b7351143SMartin Mares
1238b7351143SMartin Mares2003-12-08 Thayne Harbaugh <[email protected]>
1239b7351143SMartin Mares
1240b7351143SMartin Mares	* setpci.c: Individual bits to be set can be specified as <value>:<mask>.
1241b7351143SMartin Mares
12422a5d5cf9SMartin Mares2003-11-29  Martin Mares  <[email protected]>
12432a5d5cf9SMartin Mares
12442a5d5cf9SMartin Mares	* Imported the pciutils sources to my Arch repository. Good-bye, CVS.
12452a5d5cf9SMartin Mares
1246d772ef15SMartin Mares2003-01-04  Martin Mares  <[email protected]>
1247d772ef15SMartin Mares
12481b95f396SMartin Mares	* Released as 2.1.11.
12491b95f396SMartin Mares
1250c83293ebSMartin Mares	* Makefile: Changed configuration of installation directories --
1251c83293ebSMartin Mares	all paths are now set at the top of the Makefile instead of being
1252c83293ebSMartin Mares	scattered between the installation rules. The default installation
1253c83293ebSMartin Mares	now goes always to /usr/local regardless of the OS as most distributions
1254c83293ebSMartin Mares	already contain some version of pciutils and we don't want custom
1255c83293ebSMartin Mares	installations to interfere with the default ones.
1256c83293ebSMartin Mares
1257c83293ebSMartin Mares	* Makefile: Removed a couple of ancient install hacks: we no longer
1258c83293ebSMartin Mares	try to avoid overwriting a newer pci.ids file (users are now expected
1259c83293ebSMartin Mares	to use update-ids) and we don't try to remove /etc/pci.ids (a long time
1260c83293ebSMartin Mares	has passed since the last version which used it).
1261c83293ebSMartin Mares
1262e2875dcdSMartin Mares	* Makefile: Paths to pci.ids in man pages automatically get the right path.
1263e2875dcdSMartin Mares
12641b95f396SMartin Mares	* Added the update-ids utility.
12650138a2a7SMartin Mares
1266d772ef15SMartin Mares	* lib: Removed partially implemented "syscall" access method which will
1267d772ef15SMartin Mares	probably never be needed.
1268d772ef15SMartin Mares
1269eb620239SMartin Mares2002-12-27  Martin Mares  <[email protected]>
1270eb620239SMartin Mares
1271130090bdSMartin Mares	* lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe.
1272130090bdSMartin Mares
1273eb620239SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Added work-around for devices with
1274eb620239SMartin Mares	discontiguous numbering of functions. This is already present in the Linux
1275eb620239SMartin Mares	kernel for several years, but I forgot to update pciutils as well.
1276eb620239SMartin Mares
1277848b4347SMartin Mares2002-12-26  Martin Mares  <[email protected]>
1278848b4347SMartin Mares
1279579b19ffSMartin Mares	* lib/header.h, lspci.c: Dump AGP3 flags and speeds.
1280579b19ffSMartin Mares
1281579b19ffSMartin Mares	* lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header,
1282579b19ffSMartin Mares	there is no reason to prefer the kernel version.
1283579b19ffSMartin Mares
1284579b19ffSMartin Mares	* lib/proc.c (proc_scan): Don't forget to initialize hdrtype.
1285579b19ffSMartin Mares
1286848b4347SMartin Mares	* Added preliminary version of NetBSD support by Quentin Garnier
1287848b4347SMartin Mares	<[email protected]>.
1288848b4347SMartin Mares
1289f0952474SMartin Mares2002-04-06  Martin Mares  <[email protected]>
1290f0952474SMartin Mares
1291f0952474SMartin Mares	* lspci.c: Mention "-xxx" in the help.
1292f0952474SMartin Mares
1293d2f666f1SMartin Mares2002-03-30  Martin Mares  <[email protected]>
1294d2f666f1SMartin Mares
12959bd44bb0SMartin Mares	* Released as 2.1.10.
12969bd44bb0SMartin Mares
1297a33d0eb7SMartin Mares	* Removed pci.ids from the CVS as they are now maintained separately.
1298a33d0eb7SMartin Mares	They are still included in the tarball, but if you are building	pciutils
1299a33d0eb7SMartin Mares	from CVS sources or you want to get a newer ID file than the one distributed,
1300a33d0eb7SMartin Mares	just use "make update-ids" to download the most recent snapshot from
1301a33d0eb7SMartin Mares	pciids.sf.net.
1302a33d0eb7SMartin Mares
1303a33d0eb7SMartin Mares	* Makefile, README: Updated accordingly.
1304a33d0eb7SMartin Mares
1305a33d0eb7SMartin Mares	* Makefile: Added a couple of maintenance targets.
1306a33d0eb7SMartin Mares
1307a33d0eb7SMartin Mares	* maint/*: Maintainer's utilities now reside here (present only in CVS,
1308a33d0eb7SMartin Mares	not in the tarball).
1309a33d0eb7SMartin Mares
1310d2f666f1SMartin Mares	* lib/names.c (parse_name_list): End-of-line comments are no longer
1311d2f666f1SMartin Mares	supported. Hashes are now perfectly valid in all names and they start
1312d2f666f1SMartin Mares	a comment only at the start of the line.
1313d2f666f1SMartin Mares
1314ee551b73SMartin Mares2002-03-26  Martin Mares  <[email protected]>
1315ee551b73SMartin Mares
131607159913SMartin Mares	* README: Rewritten.
131707159913SMartin Mares
1318ee551b73SMartin Mares	* Makefile: When the currently installed pci.ids file is newer than
1319ee551b73SMartin Mares	the version to be installed, don't overwrite it. Suggested by
1320ee551b73SMartin Mares	Jean Delvare <[email protected]>.
1321ee551b73SMartin Mares
1322bc7b1d62SMartin Mares2002-03-24  Martin Mares  <[email protected]>
1323bc7b1d62SMartin Mares
13245f5e6f64SMartin Mares	* lspci.c (show_pcix_bridge): Added PCI-X capability display.
13255f5e6f64SMartin Mares	Contributed by Jeff Garzik <[email protected]>.
13265f5e6f64SMartin Mares
13275f5e6f64SMartin Mares	* lib/header.h: Added PCI-X stuff. Again by Jeff.
13285f5e6f64SMartin Mares
13295f5e6f64SMartin Mares	* Makefile (CFLAGS): -Werror is gone.
13305f5e6f64SMartin Mares
1331a1052f16SMartin Mares	* lspci.c (format_agp_rate): Fixed AGP rate reporting.
1332a1052f16SMartin Mares
1333bc7b1d62SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and
1334bc7b1d62SMartin Mares	function 7.
1335bc7b1d62SMartin Mares
1336bc7b1d62SMartin Mares	* lib/names.c (pci_lookup_name): When printing unknown subsystem vendor
1337bc7b1d62SMartin Mares	or device hexadecimally, don't confuse it with chip vendor/device ID.
1338bc7b1d62SMartin Mares	First reported by Marc Boucher <[email protected]>.
1339bc7b1d62SMartin Mares
1340f793990cSMartin Mares2001-11-04  Martin Mares  <[email protected]>
1341f793990cSMartin Mares
1342ee551b73SMartin Mares	* Released as 2.1.9.
1343ee551b73SMartin Mares
1344f793990cSMartin Mares	* pci.ids: Synced with the PCI ID Repository at SourceForge
1345f793990cSMartin Mares	(http://pciids.sourceforge.net/).
1346f793990cSMartin Mares
13471d174e56SMartin Mares2000-08-25  Martin Mares  <[email protected]>
13481d174e56SMartin Mares
13491d174e56SMartin Mares	* pci.ids: Updated ID's, synced with kernel 2.4.0-test7.
13501d174e56SMartin Mares
135165b4327eSMartin Mares2000-06-13  Martin Mares  <[email protected]>
135265b4327eSMartin Mares
135365b4327eSMartin Mares	* Makefile (uninstall): Fixed.
135465b4327eSMartin Mares
135565b4327eSMartin Mares	* pci.ids: ID updates.
135665b4327eSMartin Mares
13574a219d5fSMartin Mares2000-05-20  Martin Mares  <[email protected]>
13584a219d5fSMartin Mares
13594a219d5fSMartin Mares	* Released as 2.1.8.
13604a219d5fSMartin Mares
13614a219d5fSMartin Mares	* pci.ids: ID updates.
13624a219d5fSMartin Mares
13634a219d5fSMartin Mares	* lspci.c (show_verbose): Min/max latency is now printed in nanoseconds.
13644a219d5fSMartin Mares
13654a219d5fSMartin Mares2000-05-04  Martin Mares  <[email protected]>
13664a219d5fSMartin Mares
13674a219d5fSMartin Mares	* lspci.c (show_verbose): If the header type doesn't match device
13684a219d5fSMartin Mares	class, just print a warning and still use the header type, assuming
13694a219d5fSMartin Mares	bogus class info.
13704a219d5fSMartin Mares
137110c90662SMartin Mares2000-05-01  Martin Mares  <[email protected]>
137210c90662SMartin Mares
137372b9b690SMartin Mares	* lspci.c (show_pm): Updated according to PCI PM specs 1.1.
137472b9b690SMartin Mares
137510c90662SMartin Mares	* pci.ids: Updated Contemporary Control ARCnet card entries.
137610c90662SMartin Mares
137710c90662SMartin Mares	* pci.ids: Synchronized class list with latest PCI SIG documents.
137810c90662SMartin Mares
1379a239ade6SMartin Mares2000-04-29  Martin Mares  <[email protected]>
1380a239ade6SMartin Mares
1381a239ade6SMartin Mares	* lib/names.c (pci_lookup_name): Fixed the cheat.
1382a239ade6SMartin Mares
1383a239ade6SMartin Mares	* lib/internal.h: Moved UNUSED/inline hacks above all other declarations.
1384a239ade6SMartin Mares
1385a239ade6SMartin Mares	* pci.ids: Various ID updates.
1386a239ade6SMartin Mares
13872c83b860SMartin Mares2000-04-21  Martin Mares  <[email protected]>
13882c83b860SMartin Mares
13892c83b860SMartin Mares	* Released as 2.1.7.
13902c83b860SMartin Mares
13912c83b860SMartin Mares	* pciutils.spec: Added German description.
13922c83b860SMartin Mares
13932c83b860SMartin Mares	* lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's
13942c83b860SMartin Mares	are the same as device ID and just output subsystem name according to
13952c83b860SMartin Mares	device name.
13962c83b860SMartin Mares
13972c83b860SMartin Mares	* lib/proc.c: Use UNUSED instead of __attribute__((unused)).
13982c83b860SMartin Mares
13992c83b860SMartin Mares	* lib/pci.h: Added the correct typedefs for AIX.
14002c83b860SMartin Mares
14012c83b860SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Export.
14022c83b860SMartin Mares
14032c83b860SMartin Mares	* lib/configure: Detect AIX. Use "echo '...\c'" instead of
14042c83b860SMartin Mares	"echo -n" if the shell isn't bash.
14052c83b860SMartin Mares
14062c83b860SMartin Mares	* lspci.c: Avoid using alloca() if not compiled by GCC.
14072c83b860SMartin Mares	(insert_dev): Avoid returning a void value.
14082c83b860SMartin Mares
14092c83b860SMartin Mares	* Makefile: Choose which install utility to use according to
14102c83b860SMartin Mares	OS type. Also use `-o' instead of `-or' in find arguments.
14112c83b860SMartin Mares	Part of the AIX port.
14122c83b860SMartin Mares
14132c83b860SMartin Mares	* lib/aix-device.c: Added AIX low-level interface. Contributed
14142c83b860SMartin Mares	by Dave Johnson <[email protected]>, thanks a lot!
14152c83b860SMartin Mares
14162c83b860SMartin Mares	* pci.ids: Few new ID's.
14172c83b860SMartin Mares
14182c83b860SMartin Mares	* pciutils.h, lib/internal.h: Redefine __attribute__ and inline
14192c83b860SMartin Mares	when not compiled by GCC.
14202c83b860SMartin Mares
1421c1a828daSMartin Mares2000-04-17  Martin Mares  <[email protected]>
1422c1a828daSMartin Mares
1423c1a828daSMartin Mares	* Released as 2.1.6.
1424c1a828daSMartin Mares
1425c1a828daSMartin Mares	* pci.ids: Added a large batch of ID's contributed by Gunther
1426c1a828daSMartin Mares	Mayer <[email protected]> and synced the
1427c1a828daSMartin Mares	list with the 2.3.99pre6 kernel.
1428c1a828daSMartin Mares
1429e91dd3abSMartin MaresThu Mar  9 13:11:39 2000  Martin Mares  <[email protected]>
1430e91dd3abSMartin Mares
1431a80b79a9SMartin Mares	* lib/example.c: Added a simple example of how to use
1432a80b79a9SMartin Mares	the library.
1433a80b79a9SMartin Mares
143489984232SMartin Mares	* lspci.man, setpci.man: Revealed --version. Well spotted
143589984232SMartin Mares	by Adam Sulmicki.
143689984232SMartin Mares
1437e91dd3abSMartin Mares	* pci.ids: Added lots of new ID's and synced with 2.3.50.
1438e91dd3abSMartin Mares
143978d9c5e2SMartin MaresTue Feb 15 00:16:21 2000  Martin Mares  <[email protected]>
144078d9c5e2SMartin Mares
144178d9c5e2SMartin Mares	* Released as 2.1.5.
144278d9c5e2SMartin Mares
144378d9c5e2SMartin Mares	* pciutils.spec: Updated spec file from Andreas Jaeger. Now using
144478d9c5e2SMartin Mares	%{_mandir} to find the right location to install manual pages to.
144578d9c5e2SMartin Mares
144678d9c5e2SMartin Mares	* pci.ids: New ID's.
144778d9c5e2SMartin Mares
144878d9c5e2SMartin Mares	* setpci.c (main): Don't crash when `-s' or `-d' is given with
144978d9c5e2SMartin Mares	no argument.
145078d9c5e2SMartin Mares
1451f8141ae2SMartin MaresMon Jan 24 20:04:11 2000  Andreas Jaeger  <[email protected]>
1452f8141ae2SMartin Mares
1453f8141ae2SMartin Mares	* lib/i386-ports.c: Include <asm/io.h> only on systems without
1454f8141ae2SMartin Mares	glibc.
1455f8141ae2SMartin Mares
1456f8141ae2SMartin MaresMon Jan 24 11:24:43 2000  Martin Mares  <[email protected]>
1457f8141ae2SMartin Mares
1458f8141ae2SMartin Mares	* Makefile: Modified to work with the Linux FHS brain-damaged idea
1459f8141ae2SMartin Mares	of putting man pages to /usr/share/man. Now we choose either /usr/man
1460f8141ae2SMartin Mares	or /usr/share/man depending on which one exists.
1461f8141ae2SMartin Mares
146259e76e8bSMartin MaresSun Jan 23 10:52:34 2000  Martin Mares  <[email protected]>
146359e76e8bSMartin Mares
146459e76e8bSMartin Mares	* pci.ids: Synced with Linux 2.3.40.
146559e76e8bSMartin Mares
146659e76e8bSMartin Mares	* Released as version 2.1.4.
146759e76e8bSMartin Mares
14682dfd48cdSMartin MaresThu Jan 20 11:08:32 2000  Martin Mares  <[email protected]>
14692dfd48cdSMartin Mares
14702715403fSMartin Mares	* lspci.c (scan_device): Fixed bug in reading of cardbus extensions.
14712715403fSMartin Mares
147281077814SMartin Mares	* lib/proc.c: pread/pwrite fixed again, this time on libc5 :(
147381077814SMartin Mares
147481077814SMartin Mares	* lspci.c (format_agp_rate): Better formatting of AGP rates.
147581077814SMartin Mares
147681077814SMartin Mares	* pci.ids: New ID's.
147781077814SMartin Mares
14782dfd48cdSMartin Mares	* lib/configure: Added configuration for ia64 (the same as for Alpha).
14792dfd48cdSMartin Mares	Patch from Stephane Eranian <[email protected]>.
14802dfd48cdSMartin Mares
14815a258860SMartin MaresThu Jan 13 23:01:52 2000  Martin Mares  <[email protected]>
14825a258860SMartin Mares
14835a258860SMartin Mares	* Released as version 2.1.3.
14845a258860SMartin Mares
14855a258860SMartin Mares	* pci.ids: New ID's.
14865a258860SMartin Mares
14875a258860SMartin Mares	* lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli.
14885a258860SMartin Mares
14895a258860SMartin Mares	* lib/access.c: Corrected order of access methods -- it's wonderful how
14905a258860SMartin Mares	long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff.
14915a258860SMartin Mares
14920c047bbeSMartin MaresSat Dec 11 23:34:48 1999  Martin Mares  <[email protected]>
14930c047bbeSMartin Mares
14940c047bbeSMartin Mares	* Released as version 2.1.2.
14950c047bbeSMartin Mares
14960c047bbeSMartin Mares	* lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
14970c047bbeSMartin Mares
149833bc28a5SMartin MaresSat Dec  4 13:11:03 1999  Martin Mares  <[email protected]>
149933bc28a5SMartin Mares
150039231205SMartin Mares	* Released as version 2.1.1.
150139231205SMartin Mares
150233bc28a5SMartin Mares	* pci.ids: Several new ID's.
150333bc28a5SMartin Mares
150433bc28a5SMartin Mares	* setpci.c (exec_op): Don't forget to increment address after writing
150533bc28a5SMartin Mares	single value, so that `30.b=12,34,56,78' works as expected. Reported
150633bc28a5SMartin Mares	by Petr Soucek <[email protected]>.
150733bc28a5SMartin Mares
15088d047897SMartin MaresWed Nov  3 10:24:38 1999  Martin Mares  <[email protected]>
15098d047897SMartin Mares
15108d047897SMartin Mares	* lspci.c (show_terse): If prog-if is zero, but it's present in the
15118d047897SMartin Mares	ID list, show it.
15128d047897SMartin Mares
15136afc6538SMartin MaresSat Oct 30 11:06:35 1999  Martin Mares  <[email protected]>
15146afc6538SMartin Mares
15156afc6538SMartin Mares	* Released as version 2.1.
15166afc6538SMartin Mares
15176afc6538SMartin Mares	* pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in
15186afc6538SMartin Mares	lots of contributed entries.
15196afc6538SMartin Mares
15208f756113SMartin MaresThu Oct 14 10:40:12 1999  Dave Jones    <[email protected]>
15218f756113SMartin Mares
15228f756113SMartin Mares	* pci.ids: Added lots of subsystem definitions.
15238f756113SMartin Mares
1524d4798a32SMartin MaresSat Oct  9 14:32:28 1999  Martin Mares  <[email protected]>
1525d4798a32SMartin Mares
1526d4798a32SMartin Mares	* setpci.man: Better example.
1527d4798a32SMartin Mares
1528d4798a32SMartin Mares	* lspci.c: Resolve prog-if names.
1529d4798a32SMartin Mares
1530d4798a32SMartin Mares	* lib/names.c: Adapted to new pci.ids syntax.
1531d4798a32SMartin Mares
1532d4798a32SMartin Mares	* pci.ids: Reorganized the pci.ids file. Subsystems are listed
1533d4798a32SMartin Mares	under devices, classes can optionally contain prog-if information.
1534d4798a32SMartin Mares	New ID's, as usually.
1535d4798a32SMartin Mares
1536e306e911SMartin MaresWed Sep 22 09:45:24 1999  Martin Mares  <[email protected]>
1537e306e911SMartin Mares
1538e306e911SMartin Mares	* pci.ids: New ID's. As usually.
1539e306e911SMartin Mares
1540e306e911SMartin Mares	* lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows
1541e306e911SMartin Mares	unless we're vvvery verbose.
1542e306e911SMartin Mares
1543e306e911SMartin MaresMon Sep 20 11:22:54 1999  Martin Mares  <[email protected]>
1544e306e911SMartin Mares
1545e306e911SMartin Mares	* lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
1546e306e911SMartin Mares
1547e64a576cSMartin MaresTue Sep 14 09:31:01 1999  Martin Mares  <[email protected]>
1548e64a576cSMartin Mares
1549e64a576cSMartin Mares	* pci.ids: New ID's. Again.
1550e64a576cSMartin Mares
1551c36c0862SMartin MaresThu Aug  5 17:45:42 1999  Martin Mares  <[email protected]>
1552c36c0862SMartin Mares
1553c36c0862SMartin Mares	* lspci.c (show_size): Don't show size if it's zero (usually
1554c36c0862SMartin Mares	due to bus-centric mode being enabled).
1555c36c0862SMartin Mares
15561ca42433SMartin MaresTue Jul 20 13:25:09 1999  Martin Mares  <[email protected]>
15571ca42433SMartin Mares
1558168b4f46SMartin Mares	* lib/pci.h: Types are OS dependent.
1559168b4f46SMartin Mares
1560168b4f46SMartin Mares	* lib/internal.h: Byte order hacks are OS dependent.
1561168b4f46SMartin Mares
1562168b4f46SMartin Mares	* lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS.
1563168b4f46SMartin Mares
1564168b4f46SMartin Mares	* lib/Makefile, lib/access.c: Added fbsd-device target.
1565168b4f46SMartin Mares
1566168b4f46SMartin Mares	* pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
1567168b4f46SMartin Mares	incorrectly set to device ID.
1568168b4f46SMartin Mares
1569168b4f46SMartin Mares	* README: Added a note that we support FreeBSD.
1570168b4f46SMartin Mares
1571168b4f46SMartin Mares	* Makefile (PREFIX, ROOT): Set it depending on the OS.
1572168b4f46SMartin Mares	(%.8): Grrr, BSD date is not able to convert date formats the same way
1573168b4f46SMartin Mares	as GNU date does. Use sed instead.
1574168b4f46SMartin Mares	(install): Use `-c' when calling install.
1575168b4f46SMartin Mares
1576168b4f46SMartin Mares	* lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed
1577168b4f46SMartin Mares	by Jari Kirma <[email protected]>.
1578168b4f46SMartin Mares
1579bc6346dfSMartin Mares	* lib/proc.c: Rewrote the pread/pwrite things once again. Use pread
1580bc6346dfSMartin Mares	and pwrite only when we are certain it's safe (i.e., glibc 2.1
1581bc6346dfSMartin Mares	on all architectures or any libc on a i386 where we really know
1582bc6346dfSMartin Mares	how to use syscalls directly). In all other cases, emulate it
1583bc6346dfSMartin Mares	with lseek/read/write.
1584bc6346dfSMartin Mares
15851ca42433SMartin Mares	* pci.ids: Some more IDs.
15861ca42433SMartin Mares
15871ca42433SMartin MaresMon Jul 19 14:10:36 1999  Martin Mares  <[email protected]>
15881ca42433SMartin Mares
15891ca42433SMartin Mares	* pci.ids: Added IDs of parallel port controller cards as sent
15901ca42433SMartin Mares	by Tim Waugh <[email protected]>.
15911ca42433SMartin Mares
1592e95c8373SMartin MaresWed Jul  7 00:55:48 1999  Martin Mares  <[email protected]>
1593e95c8373SMartin Mares
1594e95c8373SMartin Mares	* lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS.
1595e95c8373SMartin Mares
1596e95c8373SMartin Mares	* lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and
1597e95c8373SMartin Mares	HAVE_LONG_ADDRESS.
1598e95c8373SMartin Mares
1599e95c8373SMartin Mares	* lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses
1600e95c8373SMartin Mares	are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS
1601e95c8373SMartin Mares	to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS
1602e95c8373SMartin Mares	and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS
1603e95c8373SMartin Mares	on Alpha.
1604e95c8373SMartin Mares
1605e95c8373SMartin Mares	* lspci.c (show_msi): Added dumping of the MSI capability.
1606e95c8373SMartin Mares	(show_slotid): The same for SlotID capability.
1607e95c8373SMartin Mares	(show_caps): Seperated capability dumping, because it should
1608e95c8373SMartin Mares	be used for both htype0 and htype1. Even PCI 2.2 doesn't mention
1609e95c8373SMartin Mares	layout of htype2, so I'm a bit unsure about it wrt capabilities
1610e95c8373SMartin Mares	-- they at least have to live somewhere else since address 0x34
1611e95c8373SMartin Mares	is already defined differently in htype2.
1612e95c8373SMartin Mares
1613e95c8373SMartin Mares	* lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2).
1614e95c8373SMartin Mares	(PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto.
1615e95c8373SMartin Mares	(PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2.
1616e95c8373SMartin Mares
1617e95c8373SMartin Mares	* lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers
1618e95c8373SMartin Mares	(required by the PCI 2.2 specs).
1619e95c8373SMartin Mares
1620e95c8373SMartin MaresMon Jul  5 12:45:19 1999  Martin Mares  <[email protected]>
1621e95c8373SMartin Mares
1622e95c8373SMartin Mares	* lspci.c (show_size): Added new function for dumping of region sizes.
1623e95c8373SMartin Mares	(show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled
1624e95c8373SMartin Mares	ROMs et cetera.
1625e95c8373SMartin Mares
1626e95c8373SMartin Mares	* lib/pci.h (struct pci_dev): known_fields moved to the public part
1627e95c8373SMartin Mares	of the structure.
1628e95c8373SMartin Mares
1629e95c8373SMartin Mares	* Added support for region sizes. Needs support in the kernel, because
1630e95c8373SMartin Mares	sizes have to be scanned before drivers initialize yourself. pci_fill_info()
1631e95c8373SMartin Mares	now returns a bitmask of what fields were really read.
1632e95c8373SMartin Mares
163382ce97c9SMartin MaresMon Jun 28 18:37:51 1999  Dave Jones    <[email protected]>
163482ce97c9SMartin Mares
163582ce97c9SMartin Mares	* Makefile:
163682ce97c9SMartin Mares	  Added `uninstall' target - removes all traces of pciutils.
163782ce97c9SMartin Mares	* pci.ids:
163882ce97c9SMartin Mares	  - Lots of cleanups in the ATI, S3, Adaptec vendors.
163982ce97c9SMartin Mares	  - Changed Compaq QVision 1280/p definitions, as it's not possible
164082ce97c9SMartin Mares	    to determine the revision from the device ID.
164182ce97c9SMartin Mares	  - Same for the Tseng ET4000.
164282ce97c9SMartin Mares	    The id's said I had a rev C, when it was actually a rev B.
164382ce97c9SMartin Mares	  - Removed some unnecessary strings
164482ce97c9SMartin Mares	    `PCI'. Unless it's an AGP card, it should be obvious that it's PCI.
164582ce97c9SMartin Mares	    `Ethernet card'. This should be determined from config space.
164682ce97c9SMartin Mares	  - Lots of other new vendors & devices
164782ce97c9SMartin Mares	  - Other additional small cleanups.
164882ce97c9SMartin Mares
16497bed2d83SMartin MaresMon Jun 21 22:11:10 1999  Martin Mares  <[email protected]>
16507bed2d83SMartin Mares
16517bed2d83SMartin Mares	* lib/names.c (pci_lookup_name): When device ID lookup
16527bed2d83SMartin Mares	fails, return hexadecimal device ID instead of vendor ID.
16537bed2d83SMartin Mares	Well spotted by Axel Bodemann <[email protected]>,
16547bed2d83SMartin Mares	I've just extended the fix to subsystem ID's.
16557bed2d83SMartin Mares
16565ba3a475SMartin MaresThu Jun 17 19:48:21 1999  Martin Mares  <[email protected]>
16575ba3a475SMartin Mares
16585ba3a475SMartin Mares	* lspci.c (show_agp): Bug fix from Petr Vandrovec
16595ba3a475SMartin Mares	<[email protected]>. The command register was displayed
16605ba3a475SMartin Mares	incorrectly.
16615ba3a475SMartin Mares
16625ba3a475SMartin MaresWed Jun  2 22:42:44 1999  Martin Mares  <[email protected]>
16635ba3a475SMartin Mares
16645ba3a475SMartin Mares	* lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
16655ba3a475SMartin Mares	numbers if not supplied by the libc.
16665ba3a475SMartin Mares
166755c815b5SMartin MaresWed May 19 13:24:39 1999  Martin Mares  <[email protected]>
166855c815b5SMartin Mares
166955c815b5SMartin Mares	* Released the whole package as version 2.0.
167055c815b5SMartin Mares
167155c815b5SMartin MaresFri May 14 22:42:02 1999  Martin Mares  <[email protected]>
167255c815b5SMartin Mares
167355c815b5SMartin Mares	* pci.ids: Added several new ID's contributed by people
167455c815b5SMartin Mares	on the linux-pci list.
167555c815b5SMartin Mares
1676dec16943SMartin MaresMon Apr 19 15:21:08 1999  Jakub Jelinek  <[email protected]>
1677dec16943SMartin Mares
1678dec16943SMartin Mares	* lspci.c: Display I/O addresses correctly on sparc64.
1679dec16943SMartin Mares	* lib/header.h: Ditto.
1680dec16943SMartin Mares
1681dec16943SMartin Mares	* lib/configure: On sparc set HAVE_64BIT* as well, we want
1682dec16943SMartin Mares	a binary which works on both 32bit and 64bit SPARCs.
1683dec16943SMartin Mares
1684e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999  Martin Mares  <[email protected]>
1685e33c9c7aSMartin Mares
1686e33c9c7aSMartin Mares	* lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
1687e33c9c7aSMartin Mares	<[email protected]>.
1688e33c9c7aSMartin Mares
1689e33c9c7aSMartin Mares	* pci.ids: A lot of updates from Adam J. Richter <[email protected]>.
1690e33c9c7aSMartin Mares
1691f3395cc5SMartin MaresSun Feb 28 22:26:21 1999  Martin Mares  <[email protected]>
1692f3395cc5SMartin Mares
1693f3395cc5SMartin Mares	* lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
1694f3395cc5SMartin Mares	as a multi-function device, because several single-function devices
1695f3395cc5SMartin Mares	don't decode the function bits at all.
1696f3395cc5SMartin Mares
1697f3395cc5SMartin MaresSun Feb 14 23:48:22 1999  Martin Mares  <[email protected]>
1698f3395cc5SMartin Mares
1699f3395cc5SMartin Mares	* Makefile (install): Don't use "-o root -g root" for installation
1700f3395cc5SMartin Mares	since it breaks on machines where programs are not installed by root.
1701f3395cc5SMartin Mares	Reported by Richard Gooch <[email protected]>
1702f3395cc5SMartin Mares
1703f3395cc5SMartin MaresTue Feb  9 15:54:39 1999  Martin Mares  <[email protected]>
1704f3395cc5SMartin Mares
1705f3395cc5SMartin Mares	* lspci.c (show_bases): Use new address masking macros and pciaddr_t.
1706f3395cc5SMartin Mares
1707f3395cc5SMartin Mares	* lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
1708f3395cc5SMartin Mares	or 64-bit depending on CPU.
1709f3395cc5SMartin Mares
1710f3395cc5SMartin Mares	* lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
1711f3395cc5SMartin Mares	according to bus address width.
1712f3395cc5SMartin Mares
17131c31d620SMartin MaresThu Jan 28 20:54:16 1999  Martin Mares  <[email protected]>
17141c31d620SMartin Mares
17151c31d620SMartin Mares	* Released as 1.99.4.
17161c31d620SMartin Mares
17171c31d620SMartin Mares	* lspci.c: Capability list parser now recognizes both AGP
17181c31d620SMartin Mares	registers and PCI Power Management registers (the latter
17191c31d620SMartin Mares	is mainly guesswork based on DEC/Intel 21153 bridge specs
17201c31d620SMartin Mares	since I don't have the PCI Power Management document).
17211c31d620SMartin Mares
17221c31d620SMartin Mares	* lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
17231c31d620SMartin Mares	by FLAG macro.
17241c31d620SMartin Mares
17251c31d620SMartin Mares	* lspci.c: Added bridge checks to bus mapping code.
17261c31d620SMartin Mares
17271812a795SMartin MaresWed Jan 27 14:59:16 1999  Martin Mares  <[email protected]>
17281812a795SMartin Mares
17291812a795SMartin Mares	* lspci.c: Implemented bus mapping mode (-M).
17301812a795SMartin Mares
17311812a795SMartin Mares	* lspci.c (scan_devices): Split to scan_devices() and scan_device().
17321812a795SMartin Mares	(show): Split to show() and show_device().
17331812a795SMartin Mares
17341812a795SMartin Mares	* lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
17351812a795SMartin Mares	set it to the real access method afterwards.
17361812a795SMartin Mares
17371812a795SMartin MaresMon Jan 25 23:46:13 1999  Martin Mares  <[email protected]>
17381812a795SMartin Mares
17391812a795SMartin Mares	* lib/generic.c (pci_generic_fill_info): If in buscentric mode,
17401812a795SMartin Mares	don't check PCI_COMMAND for I/O and memory enables.
17411812a795SMartin Mares
1742f6c86928SMartin MaresMon Jan 25 21:28:49 1999  Martin Mares  <[email protected]>
1743f6c86928SMartin Mares
1744f6c86928SMartin Mares	* Makefile: Added target `release' which substitutes new version
1745f6c86928SMartin Mares	number to .spec, .lsm and README. Also rewrote target `dist'.
1746f6c86928SMartin Mares
1747f6c86928SMartin Mares	* Released as 1.99.3.
1748f6c86928SMartin Mares
1749b5137411SMartin MaresSun Jan 24 22:10:36 1999  Martin Mares  <[email protected]>
1750b5137411SMartin Mares
1751d6b297d0SMartin Mares	* lib/header.h: Until kernel adopts new layout of PCI
1752d6b297d0SMartin Mares	includes (i.e., separate declaration of header structure,
1753d6b297d0SMartin Mares	functions and device IDs), which is not going to happen
1754d6b297d0SMartin Mares	before 2.3, we'll use our own definiton of the header.
1755d6b297d0SMartin Mares
1756b5137411SMartin Mares	* lspci.c (show_verbose): Display `Cap' flag in device status.
1757b5137411SMartin Mares
1758b5137411SMartin Mares	* lspci.c (show_htype0): Display capability lists whereever
1759b5137411SMartin Mares	available. The only capability name we recognize now is `AGP'.
1760b5137411SMartin Mares	Unfortunately, capabilities are stored in device-dependent
1761b5137411SMartin Mares	portion of the configuration space and are thus available
1762b5137411SMartin Mares	only to root unless you read a dump.
1763b5137411SMartin Mares
1764b5137411SMartin Mares	* lspci.c (scan_devices): Use cache instead of buffering.
1765b5137411SMartin Mares
1766b5137411SMartin Mares	* lib/buffer.c: Removed (obsoleted by the cache).
1767b5137411SMartin Mares
1768b5137411SMartin Mares	* lib/access.c: Added general caching mechanism.
1769b5137411SMartin Mares
177081ce358dSMartin MaresSat Jan 23 21:30:54 1999  Martin Mares  <[email protected]>
177181ce358dSMartin Mares
177281ce358dSMartin Mares	* pci.ids: Added few devices.
177381ce358dSMartin Mares
1774727ce158SMartin MaresFri Jan 22 19:29:31 1999  Martin Mares  <[email protected]>
1775727ce158SMartin Mares
1776727ce158SMartin Mares	* Version string is now defined in top-level Makefile, exported
1777727ce158SMartin Mares	to the configure script and also substituted to man pages.
1778727ce158SMartin Mares
1779727ce158SMartin Mares	* lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
1780727ce158SMartin Mares	(show_verbose): Rewrote interrupt display logic.
1781727ce158SMartin Mares
1782727ce158SMartin Mares	* lib/i386-ports.c: Include sys/io.h only on glibc systems.
1783727ce158SMartin Mares
1784727ce158SMartin Mares	* lib/configure: Rewrote detection of Linux versions. Now it
1785727ce158SMartin Mares	works on 2.0 kernels (only with direct/dump access, of course).
1786727ce158SMartin Mares
1787727ce158SMartin Mares	* lib/internal.h: New bytesex macros using <asm/byteorder.h>
1788727ce158SMartin Mares	whenever available.
1789727ce158SMartin Mares
1790727ce158SMartin Mares	* lib/proc.c (proc_read, proc_write): Distinguish between short
1791727ce158SMartin Mares	read/write and real errors.
1792727ce158SMartin Mares
1793727ce158SMartin Mares	* lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
1794727ce158SMartin Mares	libpci respects buscentric mode automatically.
1795727ce158SMartin Mares
1796727ce158SMartin Mares	* lspci.c (show_hex_dump): For CardBus bridges, print out 128
1797727ce158SMartin Mares	bytes of header (the whole standard part).
1798727ce158SMartin Mares
1799727ce158SMartin Mares	* common.c: pcilib options are now all uppercase. Also moved
1800727ce158SMartin Mares	PCI access debugging option here.
1801727ce158SMartin Mares
1802727ce158SMartin Mares	* Released as 1.99.2.
1803727ce158SMartin Mares
1804727ce158SMartin MaresWed Jan 20 22:50:35 1999  Martin Mares  <[email protected]>
1805727ce158SMartin Mares
1806727ce158SMartin Mares	* Wrote configure script and rewrote Makefiles.
1807727ce158SMartin Mares
1808727ce158SMartin Mares	* Removed few unused variables.
1809727ce158SMartin Mares
1810727ce158SMartin MaresWed Jan 20 12:21:56 1999  Martin Mares  <[email protected]>
1811727ce158SMartin Mares
1812727ce158SMartin Mares	* common.c: Moved several functions used in both setpci and lspci
1813727ce158SMartin Mares	here. This includes parsing of libpci-related options.
1814727ce158SMartin Mares
1815727ce158SMartin Mares	* More library tweaks.
1816727ce158SMartin Mares
1817727ce158SMartin Mares	* filter.c, names.c: Moved to library.
1818727ce158SMartin Mares
1819727ce158SMartin Mares	* setpci: Rewritten to use the library.
1820727ce158SMartin Mares
1821727ce158SMartin Mares	* Released as 1.99.1.
1822727ce158SMartin Mares
1823727ce158SMartin MaresTue Jan 19 23:00:12 1999  Martin Mares  <[email protected]>
1824727ce158SMartin Mares
1825727ce158SMartin Mares	* lspci.c (scan_devices): For cardbus bridges, read first 128
1826727ce158SMartin Mares	bytes of config space to get full standard header.
1827727ce158SMartin Mares
1828727ce158SMartin Mares	* Makefile (CFLAGS): Removed "-Wno-unused".
1829727ce158SMartin Mares
1830727ce158SMartin Mares	* Started the "New Generation" branch and introduced the
1831727ce158SMartin Mares	PCI library.
1832727ce158SMartin Mares
1833727ce158SMartin Mares	* lspci: Rewritten to use the library.
1834727ce158SMartin Mares
18356ece6bc6SMartin MaresTue Jan 19 22:24:08 1999  Martin Mares  <[email protected]>
18366ece6bc6SMartin Mares
18376ece6bc6SMartin Mares	* Released as version 1.10.
18386ece6bc6SMartin Mares
18396ece6bc6SMartin MaresMon Jan 18 08:51:17 1999  Martin Mares  <[email protected]>
18406ece6bc6SMartin Mares
18416ece6bc6SMartin Mares	* lspci.8, setpci.8: Miscellaneous fixes as suggested by
18426ece6bc6SMartin Mares	Dag Wieers <[email protected]>.
18436ece6bc6SMartin Mares
18441212dd6dSMartin MaresSun Nov 29 20:05:56 1998  Martin Mares  <[email protected]>
18451212dd6dSMartin Mares
18461212dd6dSMartin Mares	* pciutils.spec (Name): Update from Krzysztof G. Baranowski.
18471212dd6dSMartin Mares
1848d38471fdSMartin MaresSun Nov 22 10:49:56 1998  Martin Mares  <[email protected]>
1849d38471fdSMartin Mares
1850d38471fdSMartin Mares	* Makefile, pciutils.h: Moved pci.ids to /usr/share.
1851d38471fdSMartin Mares
1852d38471fdSMartin Mares	* Released as version 1.09.
1853d38471fdSMartin Mares
1854371f605bSMartin MaresWed Nov 18 15:47:05 1998  Martin Mares  <[email protected]>
1855371f605bSMartin Mares
1856371f605bSMartin Mares	* lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
1857371f605bSMartin Mares	bridge. Thanks to Petr Vandrovec <[email protected]> for bug report.
1858371f605bSMartin Mares
185910be47abSMartin MaresFri Oct 23 18:59:19 1998  Martin Mares  <[email protected]>
186010be47abSMartin Mares
186110be47abSMartin Mares	* setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
186210be47abSMartin Mares
1863472bd340SMartin MaresMon Oct 19 21:53:30 1998  Martin Mares  <[email protected]>
1864472bd340SMartin Mares
1865472bd340SMartin Mares	* Released as version 1.08.
1866472bd340SMartin Mares
1867472bd340SMartin Mares	* setpci.c: glibc 2.1.x already defines pread() and pwrite().
1868472bd340SMartin Mares
1869472bd340SMartin Mares	* lspci.8: Changed warning about lspci -xxx.
1870472bd340SMartin Mares
1871472bd340SMartin Mares	* lspci.c: Require "-xxx" for full configuration space dump, so that
1872472bd340SMartin Mares	it's impossible to crash the machine by single typo.
1873472bd340SMartin Mares
1874472bd340SMartin Mares	* specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>).
1875472bd340SMartin Mares
1876072c77e5SMartin MaresWed Sep  9 12:03:24 1998  Martin Mares  <[email protected]>
1877072c77e5SMartin Mares
1878072c77e5SMartin Mares	* lspci.c (show_bases): Better displaying of unassigned and
1879072c77e5SMartin Mares	disabled bases. Thanks to Gabriel Paubert <[email protected]>
1880072c77e5SMartin Mares	for an idea.
1881072c77e5SMartin Mares
1882b7554856SMartin MaresWed Sep  2 10:58:01 1998  Martin Mares  <[email protected]>
1883b7554856SMartin Mares
1884b7554856SMartin Mares	* setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
1885b7554856SMartin Mares	(thanks to Geert Uytterhoeven for finding this out)
1886b7554856SMartin Mares
1887ce503b7fSMartin MaresFri Jul 17 10:43:30 1998  Martin Mares  <[email protected]>
1888ce503b7fSMartin Mares
1889ce503b7fSMartin Mares	* lspci.c (show_verbose): Print subsystem ID using the new resolver.
1890ce503b7fSMartin Mares	(show_machine): Print subsystem ID.
1891ce503b7fSMartin Mares
1892ce503b7fSMartin Mares	* names.c: New name resolution engine supporting subsystem IDs.
1893ce503b7fSMartin Mares
1894ce503b7fSMartin Mares	* Released as version 1.07.
1895ce503b7fSMartin Mares
189696e4f295SMartin MaresWed Jul 15 15:37:21 1998  Martin Mares  <[email protected]>
189796e4f295SMartin Mares
189896e4f295SMartin Mares	* lspci.c (show_htype2 etc.): Displaying of CardBus headers.
189996e4f295SMartin Mares	(show_bases): Honor the `cnt' argument.
190096e4f295SMartin Mares	(grow_tree): Parse CardBus headers in tree mode as well.
190196e4f295SMartin Mares
190296e4f295SMartin Mares	* pci.h: Updated CardBus header field description. I still don't
190396e4f295SMartin Mares	have the CardBus standard available, but OZ6832 specs contain
190496e4f295SMartin Mares	full description of all header fields supported by the chip.
190596e4f295SMartin Mares
19066ae3650aSMartin MaresTue Jun  9 22:53:59 1998  Martin Mares  <[email protected]>
19076ae3650aSMartin Mares
1908304f9a0bSMartin Mares	* Released as 1.06.
1909304f9a0bSMartin Mares
19106ae3650aSMartin Mares	* names.c (parse_name_list): Killed an unused variable.
19116ae3650aSMartin Mares
19126ae3650aSMartin Mares	* setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
19136ae3650aSMartin Mares	if they are not defined by glibc (needed for glibc built on older
19146ae3650aSMartin Mares	kernels). Ugly.
19156ae3650aSMartin Mares
19166ae3650aSMartin Mares	* setpci.c (exec_op): Fixed error messages. Thanks, Steve!
19176ae3650aSMartin Mares
19184b88a6b8SMartin MaresMon Jun  8 10:59:22 1998  Martin Mares  <[email protected]>
19194b88a6b8SMartin Mares
19204b88a6b8SMartin Mares	* Released as 1.05.
19214b88a6b8SMartin Mares
19224b88a6b8SMartin Mares	* setpci.c: Problems with pread()/pwrite() with glibc on Alpha
19234b88a6b8SMartin Mares	should be gone. Again thanks to Steve for bug report.
19244b88a6b8SMartin Mares
19254b88a6b8SMartin Mares	* filter.c (filter_parse_slot): Fixed ":x" type filters.
19264b88a6b8SMartin Mares
19274b88a6b8SMartin Mares	* pci.ids: Killed duplicate entry. Thanks to Stephen Williams
19284b88a6b8SMartin Mares	<[email protected]> for reporting this.
19294b88a6b8SMartin Mares
19304b88a6b8SMartin MaresSun Jun  7 19:27:51 1998  Martin Mares  <[email protected]>
19314b88a6b8SMartin Mares
19324b88a6b8SMartin Mares	* lspci.c (main), setpci.c (main): Implemented "--version".
19334b88a6b8SMartin Mares
19344b88a6b8SMartin Mares	* Released as 1.04.
19354b88a6b8SMartin Mares
19364b88a6b8SMartin Mares	* pciutils.h (PCIUTILS_VERSION): Added version string.
19374b88a6b8SMartin Mares
19384b88a6b8SMartin Mares	* filter.c, names.c: Extraneous #include <linux/pci.h> removed.
19394b88a6b8SMartin Mares	Thanks to Geert Uytterhoeven <[email protected]>
19404b88a6b8SMartin Mares	for bug report.
19414b88a6b8SMartin Mares
19429b306998SMartin MaresThu May 28 14:45:58 1998  Martin Mares  <[email protected]>
19439b306998SMartin Mares
19449b306998SMartin Mares	* pci.ids: More updates from Jens Maurer.
19459b306998SMartin Mares
1946b372672fSMartin MaresWed Apr 22 10:00:39 1998  Martin Mares  <[email protected]>
1947b372672fSMartin Mares
1948b372672fSMartin Mares	* pci.ids: Updates from Jens Maurer.
1949b372672fSMartin Mares
1950b2c9b373SMartin MaresSun Apr 19 11:14:25 1998  Martin Mares  <[email protected]>
1951b2c9b373SMartin Mares
1952b372672fSMartin Mares	* Released as 1.03.
1953b372672fSMartin Mares
1954b2c9b373SMartin Mares	* setpci.8: Written.
1955b2c9b373SMartin Mares
1956b2c9b373SMartin Mares	* setpci.c: Finished.
1957b2c9b373SMartin Mares
1958b2c9b373SMartin Mares	* lspci.c: Now able to fetch expansion ROM base from kernel device list
1959b2c9b373SMartin Mares	and print it if not in buscentric mode.
1960b2c9b373SMartin Mares
1961e4842ff3SMartin MaresTue Mar 31 23:11:57 1998  Martin Mares  <[email protected]>
1962e4842ff3SMartin Mares
1963e4842ff3SMartin Mares	* setpci.c: Added.
1964e4842ff3SMartin Mares
1965e4842ff3SMartin MaresSun Mar 22 15:39:08 1998  Martin Mares  <[email protected]>
1966e4842ff3SMartin Mares
1967e4842ff3SMartin Mares	* lspci.8: Updated the documentation.
1968e4842ff3SMartin Mares
1969e4842ff3SMartin Mares	* lspci.c: Modified to use the new filtering mechanism (options -f and -d).
1970e4842ff3SMartin Mares
1971e4842ff3SMartin Mares	* filter.c: Introduced new generic device filter.
1972e4842ff3SMartin Mares
1973008407bdSMartin MaresThu Mar 19 17:03:48 1998  Martin Mares  <[email protected]>
1974008407bdSMartin Mares
1975008407bdSMartin Mares	* lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
1976008407bdSMartin Mares	of PCI-to-PCI bridges in the tree format.
1977008407bdSMartin Mares
19780a33d0ecSMartin MaresSun Feb 15 10:12:25 1998  Martin Mares  <[email protected]>
19790a33d0ecSMartin Mares
19800a33d0ecSMartin Mares	* lspci.c (show_machine): Added non-verbose mode of machine-readable
19810a33d0ecSMartin Mares	dump.
19820a33d0ecSMartin Mares
19830a33d0ecSMartin Mares	* pci.ids: Updates from Jens Maurer.
19840a33d0ecSMartin Mares
19850a33d0ecSMartin Mares	* Released as version 1.02.
19860a33d0ecSMartin Mares
19870a33d0ecSMartin MaresThu Feb 12 16:53:28 1998  Martin Mares  <[email protected]>
19880a33d0ecSMartin Mares
19890a33d0ecSMartin Mares	* lspci.c: Added a "-m" switch for dumping machine-readable
19900a33d0ecSMartin Mares	configuration data (requested by Bjoern Kriews <[email protected]>).
19910a33d0ecSMartin Mares
1992fb38eee8SMartin MaresMon Feb  9 13:17:43 1998  Martin Mares  <[email protected]>
1993fb38eee8SMartin Mares
1994fb38eee8SMartin Mares	* Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
1995fb38eee8SMartin Mares	if available. This should avoid all problems with official kernel
1996fb38eee8SMartin Mares	not synchronized to newer PCI code in CVS -- standard distribution
1997fb38eee8SMartin Mares	of pciutils now contains pci.h from current CVS kernel, pciutils
1998fb38eee8SMartin Mares	in CVS contain no pci.h and use the correct kernel include.
1999fb38eee8SMartin Mares
2000fb38eee8SMartin Mares	* Makefile: Fixed installation path for man pages.
2001fb38eee8SMartin Mares
20022f48f637SMartin MaresSat Feb  7 15:15:46 1998  Martin Mares  <[email protected]>
20032f48f637SMartin Mares
20042f48f637SMartin Mares	* README: Updated.
20052f48f637SMartin Mares
20062f48f637SMartin Mares	* lspci.8: Created a man page.
20072f48f637SMartin Mares
20082f48f637SMartin Mares	* Releasing as version 1.0.
20092f48f637SMartin Mares
20102f48f637SMartin MaresTue Feb  3 20:56:00 1998  Martin Mares  <[email protected]>
20112f48f637SMartin Mares
20122f48f637SMartin Mares	* Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
20132f48f637SMartin Mares	to all the C sources. This should eliminate problems with 32-bit compilers
20142f48f637SMartin Mares	on sparc64.
20152f48f637SMartin Mares
20162f48f637SMartin Mares	* lspci.c (show_verbose): Recognize CardBus bridge header type.
20172f48f637SMartin Mares	(show_htype2): Stub routine.
20182f48f637SMartin Mares	(scan_config): Write sensible error message if the kernel denies reading of
20192f48f637SMartin Mares	upper part of the PCI config space.
2020