xref: /pciutils/ChangeLog (revision dfd15a80)
1*dfd15a80SMartin Mares2017-07-05  Martin Mares <[email protected]>
2*dfd15a80SMartin Mares
3*dfd15a80SMartin Mares	* Released as 3.5.5.
4*dfd15a80SMartin Mares
5*dfd15a80SMartin Mares	* Better decoding of AER capability.
6*dfd15a80SMartin Mares
7*dfd15a80SMartin Mares	* "Slot Implemented" flag is decoded for PCI/PCI-X to PCIe bridges.
8*dfd15a80SMartin Mares
9*dfd15a80SMartin Mares	* Minor fixes of decoding other capabilities.
10*dfd15a80SMartin Mares
11*dfd15a80SMartin Mares	* As usually, updated pci.ids to the current snapshot of the database.
12*dfd15a80SMartin Mares
139f9e373bSMartin Mares2017-02-25  Martin Mares <[email protected]>
149f9e373bSMartin Mares
159f9e373bSMartin Mares	* Released as 3.5.4.
169f9e373bSMartin Mares
179f9e373bSMartin Mares	* Previous version broke compilation on systems, for which lib/types.h
189f9e373bSMartin Mares	  did not provide a 64-bit integer type. It is provided everywhere now.
199f9e373bSMartin Mares
202ee7d45aSMartin Mares2017-02-15  Martin Mares <[email protected]>
212ee7d45aSMartin Mares
222ee7d45aSMartin Mares	* Released as 3.5.3.
232ee7d45aSMartin Mares
242ee7d45aSMartin Mares	* When lspci looks for Linux kernel modules, it uses the default
252ee7d45aSMartin Mares	  path to module directory provided by libkmod. Previously,
262ee7d45aSMartin Mares	  it tried to construct the path explicitly, which need not
272ee7d45aSMartin Mares	  work on all systems.
282ee7d45aSMartin Mares
292ee7d45aSMartin Mares	* Improved formatting of memory and I/O ranges behind a bridge.
302ee7d45aSMartin Mares
312ee7d45aSMartin Mares	* PCIe link capabilities now display GEN4 speed (16GT/s).
322ee7d45aSMartin Mares
332ee7d45aSMartin Mares	* PCIe device capabilities now show bits related to atomic operations.
342ee7d45aSMartin Mares	  Thanks to Satanand Burla for a patch.
352ee7d45aSMartin Mares
362ee7d45aSMartin Mares	* As usually, updated pci.ids to the current snapshot of the database.
372ee7d45aSMartin Mares
384a190235SMartin Mares2016-10-03  Martin Mares <[email protected]>
394a190235SMartin Mares
404a190235SMartin Mares	* Released as 3.5.2.
414a190235SMartin Mares
424a190235SMartin Mares	* The L1 power management capability is now decoded more
434a190235SMartin Mares	  thoroughly. Thanks to Rajat Jain for the patch.
444a190235SMartin Mares
454a190235SMartin Mares	* The table of configuration registers used by setpci
464a190235SMartin Mares	  had a bug in the definition of SUBSYSTEM_VENDOR_ID.
474a190235SMartin Mares
482f8b8f9fSMartin Mares2016-05-22  Martin Mares <[email protected]>
492f8b8f9fSMartin Mares
502f8b8f9fSMartin Mares	* Released as 3.5.1.
512f8b8f9fSMartin Mares
522f8b8f9fSMartin Mares	* Fixed symbol versioning of pci_init().
532f8b8f9fSMartin Mares
54ab6ed5fdSMartin Mares2016-05-19  Martin Mares <[email protected]>
55ab6ed5fdSMartin Mares
56ab6ed5fdSMartin Mares	* Released as 3.5.0.
57ab6ed5fdSMartin Mares
58ab6ed5fdSMartin Mares	* New capabilities decoded: Downstream Port Containment,
59ab6ed5fdSMartin Mares	  Precision Time Measurement. Thanks to Keith Busch and
60ab6ed5fdSMartin Mares	  Jonathan Yong.
61ab6ed5fdSMartin Mares
62ab6ed5fdSMartin Mares	* Domain numbers extended to 31 bits. This will be used by the
63ab6ed5fdSMartin Mares	  Linux kernel on some machines in near future.
64ab6ed5fdSMartin Mares
65ab6ed5fdSMartin Mares	* Enhanced allocation regions are now decoded on Linux.
66ab6ed5fdSMartin Mares
67ab6ed5fdSMartin Mares	* The NetBSD back-end supports PCIe extended configuration space.
68ab6ed5fdSMartin Mares
69ab6ed5fdSMartin Mares	* Updated pci.ids to the current snapshot of the database.
70ab6ed5fdSMartin Mares
7137c9315cSMartin Mares2016-01-03  Martin Mares <[email protected]>
7237c9315cSMartin Mares
7337c9315cSMartin Mares	* Released as 3.4.1.
7437c9315cSMartin Mares
7537c9315cSMartin Mares	* New capabilities decoded: Process Address Space, Page Request
7637c9315cSMartin Mares	  Interface, Enhanced Allocation. Thanks to David Daney and
7737c9315cSMartin Mares	  David Woodhouse.
7837c9315cSMartin Mares
7937c9315cSMartin Mares	* DevCap SlotPowerLimit is now decoded for all components with
8037c9315cSMartin Mares	  upstream ports.
8137c9315cSMartin Mares
8237c9315cSMartin Mares	* Database mirror at SourceForge moved to GitHub.
8337c9315cSMartin Mares
8437c9315cSMartin Mares	* Updated pci.ids to the current snapshot of the database.
8537c9315cSMartin Mares
86508c53ebSMartin Mares2015-09-14  Martin Mares <[email protected]>
87508c53ebSMartin Mares
88508c53ebSMartin Mares	* Released as 3.4.0.
89508c53ebSMartin Mares
90508c53ebSMartin Mares	* On Linux, we report NUMA nodes of devices.
91508c53ebSMartin Mares
92508c53ebSMartin Mares	* The sysfs back-end does not die on read errors
93508c53ebSMartin Mares	  of optional attributes. Instead, a warning is produced.
94508c53ebSMartin Mares
95508c53ebSMartin Mares	* Fixed several minor bugs.
96508c53ebSMartin Mares
97508c53ebSMartin Mares	* Updated pci.ids to the current snapshot of the database.
98508c53ebSMartin Mares
99949f4469SMartin Mares2015-04-09  Martin Mares <[email protected]>
100949f4469SMartin Mares
101949f4469SMartin Mares	* Released as 3.3.1.
102949f4469SMartin Mares
103949f4469SMartin Mares	* Removed hacks for backward compatibility with Linux libc5,
104949f4469SMartin Mares	  which were breaking newer non-glibc Linux systems. Thanks
105949f4469SMartin Mares	  to Felix Janda.
106949f4469SMartin Mares
107949f4469SMartin Mares	* Display VirtIO vendor-specific capability. Patch by Gerd
108949f4469SMartin Mares	  Hoffmann.
109949f4469SMartin Mares
110949f4469SMartin Mares	* Fixed memory leak in name cache.
111949f4469SMartin Mares
1123bc4dd2cSMartin Mares	* Updated pci.ids to the current snapshot of the database.
1133bc4dd2cSMartin Mares
114f14d4d87SMartin Mares2014-11-10  Martin Mares <[email protected]>
115f14d4d87SMartin Mares
1161481a1caSMartin Mares	* Released as 3.3.0.
1171481a1caSMartin Mares	  (celebrating a one-year anniversary of the previous version :))
11828617b24SMartin Mares
11928617b24SMartin Mares	* Device names exported by BIOS are displayed on Linux.
12028617b24SMartin Mares
12128617b24SMartin Mares	* On Linux systems, HWDB is used to look up device names
12228617b24SMartin Mares	  when our ID database gives no match. (More precisely,
12328617b24SMartin Mares	  HWDB is consulted after local pci.ids, but before using
12428617b24SMartin Mares	  network to query online pci.ids.) Thanks to Tom Gundersen
12528617b24SMartin Mares	  for the initial patch.
12628617b24SMartin Mares
12728617b24SMartin Mares	* Added experimental back-end for OS X / Darwin. Thanks to
12828617b24SMartin Mares	  Richard Yao for providing it.
12928617b24SMartin Mares
130afb881ccSMartin Mares	* Filters now support matching by device class. Original
131afb881ccSMartin Mares	  patch by Matthew Wilcox, wrappers for ABI compatibility
132afb881ccSMartin Mares	  by me.
133afb881ccSMartin Mares
13428617b24SMartin Mares	* Interrupt Pin and Interrupt Line registers are displayed
13528617b24SMartin Mares	  for bridge devices, too.
13628617b24SMartin Mares
13728617b24SMartin Mares	* Several portability bugs have been fixed.
13828617b24SMartin Mares
13928617b24SMartin Mares	* Several typos have been fixed. Also, use of questionable
14028617b24SMartin Mares	  constructs in man pages has been reduced.
14128617b24SMartin Mares
14228617b24SMartin Mares	* PCIe link capabilities now include the ASPMOptComp bit.
14328617b24SMartin Mares
14428617b24SMartin Mares	* The "CRS Software Visibility" bit is now decoded properly.
14528617b24SMartin Mares
14628617b24SMartin Mares	* Updated pci.ids to the current snapshot of the database.
14728617b24SMartin Mares
148dc49926aSMartin Mares2013-11-10  Martin Mares <[email protected]>
149dc49926aSMartin Mares
150dc49926aSMartin Mares	* Released as 3.2.1.
151dc49926aSMartin Mares
152dc49926aSMartin Mares	* CardBus bridge capabilities are displayed.
153dc49926aSMartin Mares
154dc49926aSMartin Mares	* PCIe L1 PM substates are decoded.
155dc49926aSMartin Mares
156dc49926aSMartin Mares	* Various bugs were fixed in decoding of PCIe capabilities.
157dc49926aSMartin Mares
158dc49926aSMartin Mares	* The sysfs back-end does not spit out unnecessary warnings when
159dc49926aSMartin Mares	  empty slots report only a partial device address. This actually
160dc49926aSMartin Mares	  happens on IBM pSeries.
161dc49926aSMartin Mares
162dc49926aSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
163dc49926aSMartin Mares
1646a4909eeSMartin Mares2013-04-19  Martin Mares <[email protected]>
1656a4909eeSMartin Mares
1666a4909eeSMartin Mares	* Released as 3.2.0.
1676a4909eeSMartin Mares
1686a4909eeSMartin Mares	* On newer Linux systems, we use libkmod to look up kernel modules
16969a77b5cSMartin Mares	  (modules.pcimap no longer exists). To facilitate this, libpci
1706a4909eeSMartin Mares	  is able to look up module aliases in sysfs.
1716a4909eeSMartin Mares
1726a4909eeSMartin Mares	* Various minor bug fixes.
1736a4909eeSMartin Mares
1746a4909eeSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
1756a4909eeSMartin Mares
17627c0f3acSMartin Mares2012-06-25  Martin Mares <[email protected]>
17727c0f3acSMartin Mares
17827c0f3acSMartin Mares	* Released as 3.1.10.
17927c0f3acSMartin Mares
18027c0f3acSMartin Mares	* Decoding of LTR/OBFF in PCIe capabilities.
18127c0f3acSMartin Mares
18227c0f3acSMartin Mares	* Various minor bug fixes.
18327c0f3acSMartin Mares
18427c0f3acSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
18527c0f3acSMartin Mares
18668e5ff17SMartin Mares2012-01-14  Martin Mares <[email protected]>
18768e5ff17SMartin Mares
18868e5ff17SMartin Mares	* Released as 3.1.9.
18968e5ff17SMartin Mares
19068e5ff17SMartin Mares	* Updated README.
19168e5ff17SMartin Mares
1926a4909eeSMartin Mares	* Wherever we mention the PCI ID database, we now refer to
19368e5ff17SMartin Mares	  http://pci-ids.ucw.cz/ and the sf.net site is mentioned only
19468e5ff17SMartin Mares	  as a mirror. This includes update-pciids.
19568e5ff17SMartin Mares
19668e5ff17SMartin Mares	* Decode PCIe Gen 3 speeds and link status fields.
19768e5ff17SMartin Mares
19868e5ff17SMartin Mares	* Various minor bug fixes.
19968e5ff17SMartin Mares
20068e5ff17SMartin Mares	* Updated pci.ids to the today's snapshot of the database.
20168e5ff17SMartin Mares
202a70dab15SMartin Mares2011-10-02  Martin Mares <[email protected]>
203a70dab15SMartin Mares
204a70dab15SMartin Mares	* Released as 3.1.8.
205a70dab15SMartin Mares
206a70dab15SMartin Mares	* More capabilities: Transaction Processing Hints, Latency Tolerance
207a70dab15SMartin Mares	Reporting. Thanks to Jesse Barnes.
208a70dab15SMartin Mares
209a70dab15SMartin Mares	* Added BeOS and Haiku ports. Contributed by Francois Revol.
210a70dab15SMartin Mares
211a70dab15SMartin Mares	* pciutils.pc now uses Libs.private properly.
212a70dab15SMartin Mares
213a70dab15SMartin Mares	* When we format a name and it does not fit in the buffer, we truncate
214a70dab15SMartin Mares	it instead of returning "buffer too small" instead. This works on all
215a70dab15SMartin Mares	platforms with sane (i.e., C99-compatible) snprintf().
216a70dab15SMartin Mares
217a70dab15SMartin Mares	* Various minor bug fixes.
218a70dab15SMartin Mares
219a70dab15SMartin Mares	* Updated pci.ids to the today's snapshot of the database.
220a70dab15SMartin Mares
2216bc2bc1cSMartin Mares2010-01-31  Martin Mares <[email protected]>
2226bc2bc1cSMartin Mares
2236bc2bc1cSMartin Mares	* Released as 3.1.7.
2246bc2bc1cSMartin Mares
2256bc2bc1cSMartin Mares	* Minor improvements and bug fixes in decoding of the Virtual Channel
2266bc2bc1cSMartin Mares	capability.
2276bc2bc1cSMartin Mares
228e3a052daSMartin Mares2010-01-24  Martin Mares <[email protected]>
229e3a052daSMartin Mares
230e3a052daSMartin Mares	* Released as 3.1.6.
231e3a052daSMartin Mares
232e3a052daSMartin Mares	* More capabilities decoded: Virtual Channel (except arbitration
233e3a052daSMartin Mares	tables), Root Complex Link, Vendor-Specific (header only), SATA HBA.
234e3a052daSMartin Mares
235e3a052daSMartin Mares	* All extended capabilities have their version displayed (-vv or more).
236e3a052daSMartin Mares
2379978b6fdSMartin Mares2010-01-19  Martin Mares <[email protected]>
2389978b6fdSMartin Mares
2399978b6fdSMartin Mares	* Released as 3.1.5.
2409978b6fdSMartin Mares
2419978b6fdSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
2429978b6fdSMartin Mares
2439978b6fdSMartin Mares	* When scanning extended capabilities, properly mask the lowest 2 bits,
2449978b6fdSMartin Mares	  which are currently reserved. This avoids unaligned access errors on
2459978b6fdSMartin Mares	  broken hardware (see tests/broken-ecaps).
2469978b6fdSMartin Mares
2479978b6fdSMartin Mares	* Large bar sizes are displayed in human-readable format (with units).
2489978b6fdSMartin Mares	  Thanks to Matthew Wilcox.
2499978b6fdSMartin Mares
2509978b6fdSMartin Mares	* Physical slot information is displayed correctly for multi-function cards.
2519978b6fdSMartin Mares	  Fixed by Matthew Wilcox.
2529978b6fdSMartin Mares
2539978b6fdSMartin Mares	* Fixed a couple of typos everywhere.
2549978b6fdSMartin Mares
2559978b6fdSMartin Mares	* Library: Fixed bugs in freeing of capabilities.
2569978b6fdSMartin Mares
2579978b6fdSMartin Mares	* Windows back-end compiles again.
2589978b6fdSMartin Mares
259c67775bcSMartin Mares2009-08-14  Martin Mares <[email protected]>
260c67775bcSMartin Mares
261ebb9bc54SMartin Mares	* Released as 3.1.4.
262ebb9bc54SMartin Mares	  (sorry that I have missed 22/7 and released it later :-))
263c67775bcSMartin Mares
264c67775bcSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
265c67775bcSMartin Mares
266c67775bcSMartin Mares	* Fixed memory and file descriptor leak in the dump back-end.
267c67775bcSMartin Mares
268c67775bcSMartin Mares	* The SR-IOV capability decoder now prints the VF BAR's.
269c67775bcSMartin Mares	Patch by Chris Wright, cleaned up by me.
270c67775bcSMartin Mares
271c67775bcSMartin Mares	* On request of certain company's lawyers, we now include a copy
272c67775bcSMartin Mares	of the GPL with our package. It seems that the pciutils are getting
273c67775bcSMartin Mares	mature if the most important bug of the month was this one ;-)
274c67775bcSMartin Mares
27510df48cbSMartin Mares2009-07-04  Martin Mares <[email protected]>
27610df48cbSMartin Mares
27710df48cbSMartin Mares	* Released as 3.1.3.
27810df48cbSMartin Mares
27910df48cbSMartin Mares	* Updated pci.ids to the current snapshot of the database.
28010df48cbSMartin Mares
28110df48cbSMartin Mares	* The VPD parser now reports unknown and vendor-defined items
28210df48cbSMartin Mares	properly. It also stops on any item in unknown format, avoiding long
28310df48cbSMartin Mares	output on bogus VPD data. Thanks to Ben Hutchings and Matthew Wilcox.
28410df48cbSMartin Mares
28510df48cbSMartin Mares	* The MSI-X table size now matches the spec. Thanks to Michael S.
28610df48cbSMartin Mares	Tsirkin.
28710df48cbSMartin Mares
28810df48cbSMartin Mares	* The Power Management capability now includes the soft reset bit.
28910df48cbSMartin Mares	Thanks to Yu Zhao.
29010df48cbSMartin Mares
29110df48cbSMartin Mares	* Decoding of the Advanced Features capability has been added.
29210df48cbSMartin Mares	Thanks to Yu Zhao.
29310df48cbSMartin Mares
29410df48cbSMartin Mares	* The whole package compiles on GNU/kFreeBSD again.
29510df48cbSMartin Mares
29610df48cbSMartin Mares	The following patches have been contributed by Matthew Wilcox:
29710df48cbSMartin Mares
29810df48cbSMartin Mares	* The procfs back-end is able to cope with /proc/bus/pci
29910df48cbSMartin Mares	containing names with domains, which occur on sparc64 and
30010df48cbSMartin Mares	possibly other architectures due to a kernel bug.
30110df48cbSMartin Mares
30210df48cbSMartin Mares	* The sysfs back-end no longer complains when a slot address
30310df48cbSMartin Mares	is missing, which happens with old versions of Linux fakephp.
30410df48cbSMartin Mares
30510df48cbSMartin Mares	* The Device Serial Number capability is printed in the right
30610df48cbSMartin Mares	byte order.
30710df48cbSMartin Mares
30810df48cbSMartin Mares	* The MSI and MSI-X capabilities are printed in a prettier way.
30910df48cbSMartin Mares
31010df48cbSMartin Mares	* The tree output mode (`lspci -t') shows domain numbers only
31110df48cbSMartin Mares	at the root, which makes the output more compact.
31210df48cbSMartin Mares
31310df48cbSMartin Mares	* Updated documentation on the bus mapping mode (`lspci -M').
31410df48cbSMartin Mares
31534683007SMartin Mares2009-02-01  Martin Mares <[email protected]>
31634683007SMartin Mares
31734683007SMartin Mares	* Released as 3.1.2.
31834683007SMartin Mares
31934683007SMartin Mares	* Fixed another silly bug in the command-line parser of setpci.
32034683007SMartin Mares
321f6523e28SMartin Mares2009-01-30  Martin Mares <[email protected]>
322f6523e28SMartin Mares
323f6523e28SMartin Mares	* Released as 3.1.1.
324f6523e28SMartin Mares
325f6523e28SMartin Mares	* Updated pci.ids to the current snapshot of the database.
326f6523e28SMartin Mares
327f6523e28SMartin Mares	* The configure script now sets LC_ALL to avoid being fooled by
328f6523e28SMartin Mares	locale-dependent behavior of `tr'.
329f6523e28SMartin Mares
330f6523e28SMartin Mares	* The command-line parser of setpci did sometimes segfault on invalid
331f6523e28SMartin Mares	input. Thanks to Andreas Wiese for a fix.
332f6523e28SMartin Mares
333db557900SMartin Mares2009-01-18  Martin Mares <[email protected]>
334db557900SMartin Mares
335db557900SMartin Mares	* Released as 3.1.0.
336db557900SMartin Mares
337af358b08SMartin Mares	* Updated pci.ids to the current snapshot of the database.
338af358b08SMartin Mares
339db557900SMartin Mares	* The Cygwin backend now works on Windows Vista. Thanks to Jonathan
340db557900SMartin Mares	Kotta.
341db557900SMartin Mares
342db557900SMartin Mares	* Fixed a bug in decoding of the SR-IOV capability. Patch by Yu Zhao.
343db557900SMartin Mares
344db557900SMartin Mares	* Details of some PCIe capabilities are displayed only with -vv.
345db557900SMartin Mares
346db557900SMartin Mares	* When a BAR is reported by the OS, but not by the device (i.e.,
347db557900SMartin Mares	it is marked as [virtual] in lspci), the [disabled] flag is
348db557900SMartin Mares	suppressed, because it does not make sense in such cases.
349db557900SMartin Mares	Patch by Yu Zhao.
350db557900SMartin Mares
3512b31207aSMartin Mares2008-12-13  Martin Mares <[email protected]>
3522b31207aSMartin Mares
3532b31207aSMartin Mares	* The source code of lspci has been split to multiple files, hopefully
3542b31207aSMartin Mares	making it easier to maintain.
3552b31207aSMartin Mares
3562b31207aSMartin Mares	* The library and lspci now know about physical slot names. So far,
3572b31207aSMartin Mares	they are provided by the sysfs back-end only. Thanks go to Alex Chiang.
3582b31207aSMartin Mares
3592b31207aSMartin Mares	* When a device has the VPD (Vital Product Data) capability and the
3602b31207aSMartin Mares	VPD data are supplied by the OS, they are decoded and printed in the
3612b31207aSMartin Mares	verbose mode. This currently works only on Linux with the sysfs
3622b31207aSMartin Mares	back-end. Thanks to Ben Hutchings of Solarflare for the patch.
3632b31207aSMartin Mares
3642b31207aSMartin Mares	* `setpci --version' now works properly.
3652b31207aSMartin Mares
3664d4325f8SMartin Mares	* `setpci --dumpregs' prints a table of all known names of
3672b31207aSMartin Mares	registers and capabilities. This replaces the table of registers
3682b31207aSMartin Mares	in the setpci man page.
3692b31207aSMartin Mares
3702b31207aSMartin Mares	* The dry-run mode of setpci gives better feedback.
3712b31207aSMartin Mares
3722b31207aSMartin Mares	* The setpci utility is now able to address registers stored in PCI
3732b31207aSMartin Mares	capabilities (actually it allows a more general form of relative
3742b31207aSMartin Mares	addressing).
3752b31207aSMartin Mares
3762b31207aSMartin Mares	* The library has gained functions for working with PCI capabilities.
3772b31207aSMartin Mares
3782b31207aSMartin Mares	* Address Translation Services capability is now decoded. Patch by
3792b31207aSMartin Mares	Yu Zhao.
3802b31207aSMartin Mares
381b282435dSMartin Mares2008-11-09  Martin Mares <[email protected]>
382b282435dSMartin Mares
383b282435dSMartin Mares	* Released as 3.0.3.
384b282435dSMartin Mares
385b282435dSMartin Mares	* `lspci -k' now displays the subsystem ID, too. This makes `-k'
386b282435dSMartin Mares	show everything needed to identify the device and the available
387b282435dSMartin Mares	drivers, which was called for by many users.
388b282435dSMartin Mares
389b282435dSMartin Mares	* Fixed spelling of MSI. Patch by Matthew Wilcox.
390b282435dSMartin Mares
391b282435dSMartin Mares	* Better support for cross-compilation. Thanks to Alon Bar-Lev
392b282435dSMartin Mares	for the patch.
393b282435dSMartin Mares
394b282435dSMartin Mares	* Fixed printing of the AER capability. Patch by Max Asbock.
395b282435dSMartin Mares
396b282435dSMartin Mares	* HT 1.02 capabilities are decoded as HT 1.03. Suggested by
397b282435dSMartin Mares	Carl-Daniel Hailfinger.
398b282435dSMartin Mares
399b282435dSMartin Mares	* Fixed Cygwin build. Thanks to Steve Elliott for reporting the bug.
400b282435dSMartin Mares
401b282435dSMartin Mares	* Updated pci.ids to the current snapshot of the database.
402b282435dSMartin Mares
403daf2ef4eSMartin Mares2008-09-19  Martin Mares <[email protected]>
404daf2ef4eSMartin Mares
405daf2ef4eSMartin Mares	* Released as 3.0.2.
406daf2ef4eSMartin Mares
407daf2ef4eSMartin Mares	* Fixed a minor bug in the configure script, which caused warnings
408daf2ef4eSMartin Mares	about redefinition of symbols during compilation.
409daf2ef4eSMartin Mares
41038254178SMartin Mares2008-09-11  Martin Mares <[email protected]>
41138254178SMartin Mares
41238254178SMartin Mares	* Released as 3.0.1.
41338254178SMartin Mares
41438254178SMartin Mares	* Updated pci.ids to the most recent snapshot.
41538254178SMartin Mares
41638254178SMartin Mares	* Added a Cygwin port. Patch by Christopher Voltz, ported to the
41738254178SMartin Mares	current tree by Martin Mares.
41838254178SMartin Mares
41938254178SMartin Mares	* Worked around compatibility problems with various default settings
42038254178SMartin Mares	of wget (we have to set --no-timestamping explicitly). Thanks to Ville
42138254178SMartin Mares	Skytta for pointing that out.
42238254178SMartin Mares
42338254178SMartin Mares	* Fixed printing of MSI capabilities. Thanks to Matthew Wilcox for
42438254178SMartin Mares	a patch.
42538254178SMartin Mares
42638254178SMartin Mares	* Added decoding of several PCI-X capabilities: device/link/slot 2,
42738254178SMartin Mares	Advanced Error Reporting, Access Control Services, Alternative Routing-ID,
42838254178SMartin Mares	Single Root I/O Virtualization. Thanks to Yu Zhao for patches.
42938254178SMartin Mares
43038254178SMartin Mares	* Fixed bug in filters which caused them to refuse vendor/device ID 0xffff.
43138254178SMartin Mares
43238254178SMartin Mares	* README: The linux-pci mailing list has moved to [email protected].
43338254178SMartin Mares
43438254178SMartin Mares	* Fixed several build problems: builds without PCI_USE_DNS on Linux
43538254178SMartin Mares	and with PCI_USE_DNS on Solaris and *BSD. Static library mode also
43638254178SMartin Mares	compiles again on old versions of GCC.
43738254178SMartin Mares
438cec9f7e7SMartin Mares2008-04-10  Martin Mares <[email protected]>
439cec9f7e7SMartin Mares
440cec9f7e7SMartin Mares	* Released as 3.0.0.
441cec9f7e7SMartin Mares
442cec9f7e7SMartin Mares	* Updated API and ABI version.
443cec9f7e7SMartin Mares
444cd2f6a34SMartin Mares2008-02-20  Martin Mares <[email protected]>
445cd2f6a34SMartin Mares
446cd2f6a34SMartin Mares	* Released as 2.99.1-alpha2.
447cd2f6a34SMartin Mares
448cd2f6a34SMartin Mares	* Changed the default domain for the DNS resolver.
449cd2f6a34SMartin Mares
450165a50cbSMartin Mares2008-02-18  Martin Mares <[email protected]>
451165a50cbSMartin Mares
452165a50cbSMartin Mares	* Released as 2.99.1-alpha1.
453623234ecSMartin Mares
454a1fca487SMartin Mares	* The makefile system has been reworked. All configuration settings
455a1fca487SMartin Mares	are now passed to the configure script in environment variables,
456a1fca487SMartin Mares	allowing for easy tweaking in the top-level Makefile. All control
457a1fca487SMartin Mares	knobs are now described in the README.
458a1fca487SMartin Mares
459a1fca487SMartin Mares	* The libpci can be built as a shared library with properly restricted
460a1fca487SMartin Mares	symbol exports. Use `make SHARED=yes' to enable that or `make SHARED=local'
461a1fca487SMartin Mares	for a local testing build (with hardwired paths to the library, so that
462a1fca487SMartin Mares	it does not need installation).
463a1fca487SMartin Mares
464a1fca487SMartin Mares	* The example program has been moved from lib/example.c to the top-level
465a1fca487SMartin Mares	directory, because it should be built exactly as the other utilities
466a1fca487SMartin Mares	are. It has been also improved slightly to educate better.
467a1fca487SMartin Mares
468623234ecSMartin Mares	* The i386-ports method is enabled on Linux/x86_64 as well.
469623234ecSMartin Mares
470ae27e293SMartin Mares2008-02-13  Martin Mares <[email protected]>
471ae27e293SMartin Mares
472ae27e293SMartin Mares	* Released as 2.2.10-net2.
473ae27e293SMartin Mares
474ae27e293SMartin Mares	* Support for resolving of PCI ID's using DNS together with a local
475ae27e293SMartin Mares	cache of resolved entries has been added. See the `-q' and `-Q' options
476ae27e293SMartin Mares	of lspci.
477ae27e293SMartin Mares
478ae27e293SMartin Mares	* The library now has a generic system of settable parameters, which
479ae27e293SMartin Mares	also include settings of the DNS resolver and cache. An `-O' option
480ae27e293SMartin Mares	has been added to lspci and setpci to allow setting of these options.
481ae27e293SMartin Mares
482ae27e293SMartin Mares	* Configuration of the access methods are now specified by the new
483ae27e293SMartin Mares	parameter system, replacing the pci_access->method_params array.
484ae27e293SMartin Mares
485ae27e293SMartin Mares	* Access methods now also have sensible names and help texts and it
486ae27e293SMartin Mares	is possible to look up method ID by a name.
487ae27e293SMartin Mares
488ae27e293SMartin Mares	* An `-A' switch has been added to both lspci and setpci, allowing to
489ae27e293SMartin Mares	select an arbitrary access method. The `-P' switch (configure proc
490ae27e293SMartin Mares	backend) has been removed as it is no longer needed and I do not know
491ae27e293SMartin Mares	any its user.
492ae27e293SMartin Mares
493ae27e293SMartin Mares	* Several source files have been split for better maintainability
494ae27e293SMartin Mares	(most notably the resolving of ID's).
495ae27e293SMartin Mares
496ae27e293SMartin Mares	* Man pages and help texts have been updated. A new man page `pcilib(7)'
497ae27e293SMartin Mares	has been added and description of library options has been moved there.
498ae27e293SMartin Mares
499ae27e293SMartin Mares	* When an unknown device ID is encountered, we print `Device <id>'
500ae27e293SMartin Mares	instead of `Unknown device <id>'. It uses less space and it also
501ae27e293SMartin Mares	should reduce the number of inexperienced users complaining that
502ae27e293SMartin Mares	the device is not supported by the OS. To lookup up OS drivers,
503ae27e293SMartin Mares	use the `-k' option.
504ae27e293SMartin Mares
505ae27e293SMartin Mares	* PCI_LIB_VERSION has been bumped to 0x020299.
506ae27e293SMartin Mares
507ae27e293SMartin Mares	* Makefile: stripping of the binaries during installation can be
508ae27e293SMartin Mares	overridden by the STRIP variable.
509ae27e293SMartin Mares
510ae27e293SMartin Mares	* lib/types.h: We use the integer types from <stdint.h> if the
511ae27e293SMartin Mares	compiler claims C99 support.
512ae27e293SMartin Mares
5130fc3bd18SMartin Mares2008-02-11  Martin Mares <[email protected]>
5140fc3bd18SMartin Mares
5152466b14bSMartin Mares	* Released as 2.2.10.
5162466b14bSMartin Mares
5176add52f5SMartin Mares	* lspci.c, setpci.c: Cleaned up the list of options.
5186add52f5SMartin Mares
5190fc3bd18SMartin Mares	* lib/names.c: Fix displaying of errors reported by zlib.
5200fc3bd18SMartin Mares	Previously, the buffer containing the error message had
5210fc3bd18SMartin Mares	been deallocated by gzclose() before the message was printed.
5220fc3bd18SMartin Mares
523d26b5378SMartin Mares2008-01-07  Martin Mares <[email protected]>
524d26b5378SMartin Mares
525d26b5378SMartin Mares	* update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
526d26b5378SMartin Mares	files left by previous versions of the pciutils. Patch by Mike
527d26b5378SMartin Mares	Frysinger.
528d26b5378SMartin Mares
529d26b5378SMartin Mares	* update-pciids.man: Mention the -q switch.
530d26b5378SMartin Mares
531dc01dd60SMartin Mares2007-11-29  Martin Mares <[email protected]>
532dc01dd60SMartin Mares
533dc01dd60SMartin Mares	* lib/dump.c: Squashed compiler warnings about code with
534dc01dd60SMartin Mares	no effect (there really were surplus *'s).
535dc01dd60SMartin Mares
53611339c0dSMartin Mares2007-11-06  Martin Mares <[email protected]>
53711339c0dSMartin Mares
53813463566SMartin Mares	* Released as 2.2.9.
53913463566SMartin Mares
54011339c0dSMartin Mares	* lspci.c: Added a new switch `-k' which requests printing
54111339c0dSMartin Mares	of information on kernel drivers attached to each device
54211339c0dSMartin Mares	and on kernel modules reporting the ability to handle the
54311339c0dSMartin Mares	device. So far, this is supported only on Linux with the
54411339c0dSMartin Mares	sysfs back-end, so it is implemented internally in the lspci
54511339c0dSMartin Mares	instead of the libpci. Thanks to Anicka <[email protected]>
54611339c0dSMartin Mares	for help.
54711339c0dSMartin Mares
5483de798bdSMartin Mares2007-10-19  Martin Mares <[email protected]>
5493de798bdSMartin Mares
5506cdb9d93SMartin Mares	* Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS.
5516cdb9d93SMartin Mares	Also added an explicit pattern rule for linking to make sure
5526cdb9d93SMartin Mares	that LDLIBS is used on all platforms. Thanks to Dan Nicholson
5536cdb9d93SMartin Mares	for the suggestion.
5546cdb9d93SMartin Mares
5556cdb9d93SMartin Mares2007-10-19  Martin Mares <[email protected]>
5566cdb9d93SMartin Mares
557a404b115SMartin Mares	* Released as 2.2.8.
558a404b115SMartin Mares
5593de798bdSMartin Mares	* pci.ids: Revised class codes to match Conventional PCI 3.0 specs.
5603de798bdSMartin Mares	Added a couple of new ones, renumbered `ADMA continuous operation'
5613de798bdSMartin Mares	prog-if to 0x30 (even the old SATA Class Code ECN doesn't mention
5623de798bdSMartin Mares	0x40) and renumbered the satellite communication controllers.
5633de798bdSMartin Mares
5642d2c4810SMartin Mares	* lib/header.h: Include `PCI hot-plug' and `Secure device'
565f7c76ec5SMartin Mares	capabilities from PCI 3.0 specs. Also added `SATA HBA' and
566f7c76ec5SMartin Mares	`Advanced features' caps from various ECN's.
5672d2c4810SMartin Mares
568fa2273caSMartin Mares	* lspci.c: All known capabilities have at least their name displayed
569fa2273caSMartin Mares	now. When we are unable to decode them completely, we signalize it
570fa2273caSMartin Mares	with a `<?>' mark.
571fa2273caSMartin Mares
572fa2273caSMartin Mares	* lspci.man: Document `<?>' and also mention that extended config
573fa2273caSMartin Mares	space is currently available only with the linux_sysfs back-end.
574fa2273caSMartin Mares
57531c9bb28SMartin Mares	* lspci.c: Decode the Debug port capability (per EHCI 0.96 spec).
57631c9bb28SMartin Mares
577a387042eSMartin Mares	* lspci.c: Big code cleanup: re-arranged functions in the code,
578a387042eSMartin Mares	renamed everything related to capabilities to cap_* and
579a387042eSMartin Mares	all options except verbose to opt_*.
580a387042eSMartin Mares
5819c79fcc4SMartin Mares2007-10-14  Martin Mares <[email protected]>
5829c79fcc4SMartin Mares
5839c79fcc4SMartin Mares	* lib/[fno]bsd-*: Removed extraneous braces.
5849c79fcc4SMartin Mares
585d5b4cd14SMartin Mares2007-10-12  Martin Mares <[email protected]>
586d5b4cd14SMartin Mares
587d5b4cd14SMartin Mares	* Capability loop detection introduced 2.2.7 did not work
588d5b4cd14SMartin Mares	  properly with extended capabilities. Fixed.
589d5b4cd14SMartin Mares
590594de878SMartin Mares2007-10-05  Martin Mares <[email protected]>
591594de878SMartin Mares
5928a23eadcSMartin Mares	* Released as 2.2.7.
5938a23eadcSMartin Mares
594594de878SMartin Mares	* lspci.c (show_caps, show_ext_caps): Detect and report loops in
595594de878SMartin Mares	capability lists.
596594de878SMartin Mares
5978a23eadcSMartin Mares	* lspci.c, lib/header.h: Finished decoding of the PCI Express
5988a23eadcSMartin Mares	capability. The extended capabilities remain undecoded for now,
5998a23eadcSMartin Mares	but at least the list of them has been updated to reflect the
6008a23eadcSMartin Mares	current PCI Express 2.0 spec.
6018a23eadcSMartin Mares
6028a23eadcSMartin Mares	* lspci.c, lib/header.h: Decode new bits of traditional registers
6038a23eadcSMartin Mares	as defined by PCIE / PCI-X. This includes discard timers in the bridge
6048a23eadcSMartin Mares	control register and INTx enable/status in device control/status
6058a23eadcSMartin Mares	registers.
6068a23eadcSMartin Mares
6078a23eadcSMartin Mares	* lib/fbsd-device.c: Support domains on new FreeBSD's. Contributed
6088a23eadcSMartin Mares	by Marius Strobl.
6098a23eadcSMartin Mares
61099091df9SMartin Mares2007-09-12  Hasso Tepper <[email protected]>
61199091df9SMartin Mares
61299091df9SMartin Mares	* Extended the fbsd-device backend to run on Dragonfly BSD.
61399091df9SMartin Mares
61499091df9SMartin Mares	* lspci.c: alloca() is declared in <stdlib.h> on BSD's, not <alloca.h>.
61599091df9SMartin Mares
61609156b3bSMartin Mares2007-09-03  Martin Mares <[email protected]>
61709156b3bSMartin Mares
61809156b3bSMartin Mares	* Resurrected the Windows port, including cross-compilation by MinGW.
61909156b3bSMartin Mares	Patch by Samuel Bronson <[email protected]>.
62009156b3bSMartin Mares
621325a3c50SMartin Mares2007-08-31  Martin Mares <[email protected]>
622325a3c50SMartin Mares
623325a3c50SMartin Mares	* Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to allow
624325a3c50SMartin Mares	cross-compilation.
625325a3c50SMartin Mares
626a2322147SMartin Mares2007-08-27  Martin Mares  <[email protected]>
627a2322147SMartin Mares
628a2322147SMartin Mares	* lib/names.c (pci_open): When calling gzopen(), use "rb" file mode
629a2322147SMartin Mares	instead of "r". This is needed on DOS systems, where this function
630a2322147SMartin Mares	somewhat illogically uses the binary flag for the compressed file
631a2322147SMartin Mares	instead of the decompressed stream inside, where binariness really
632a2322147SMartin Mares	matters.
633a2322147SMartin Mares
6344f2c5b94SMartin Mares2007-08-14  Martin Mares  <[email protected]>
6354f2c5b94SMartin Mares
6364f2c5b94SMartin Mares	* lspci.c (show_ht): Added decoding of Hypertransport MSI mapping capability,
6374f2c5b94SMartin Mares	based on a patch by Jason Gunthorpe.
6384f2c5b94SMartin Mares
6394f2c5b94SMartin Mares	* tests/cap-MSI-mapping: Added a test case. I plan to add test cases
6404f2c5b94SMartin Mares	(which are dumps of config space) for all new features.
6414f2c5b94SMartin Mares
6420d7f5331SMartin Mares2007-06-20  Martin Mares  <[email protected]>
6430d7f5331SMartin Mares
6447cebe481SMartin Mares	* Released as 2.2.6.
6457cebe481SMartin Mares
6460d7f5331SMartin Mares	* Makefile: Added an "install-lib" target. Thanks to Dan Nicholson
6470d7f5331SMartin Mares	for a patch.
6480d7f5331SMartin Mares
6497cebe481SMartin Mares	* Makefile, lib/Makefile: Generate and install pkg-config file
6507cebe481SMartin Mares	for libpci. Again by Dan Nicholson.
6517cebe481SMartin Mares
6520d7f5331SMartin Mares2007-06-20  Thomas Schwinge  <[email protected]>
6530d7f5331SMartin Mares
6540d7f5331SMartin Mares	* lib/i386-io-hurd.h: Rewritten for new Hurd kernels.
6550d7f5331SMartin Mares
6566e4a45edSMartin Mares2007-05-04  Martin Mares  <[email protected]>
6576e4a45edSMartin Mares
65855c89179SMartin Mares	* Released as 2.2.5.
65955c89179SMartin Mares
6606e4a45edSMartin Mares	* pci.ids: Updated to the current snapshot of the database.
6616e4a45edSMartin Mares
662d0b07542SMartin Mares2007-02-14  Martin Mares  <[email protected]>
663d0b07542SMartin Mares
664d0b07542SMartin Mares	* lspci.c (show_express): Added PCI/PCI-X to PCI-Express Bridge type.
665d0b07542SMartin Mares	Patch by Mark Glines.
666d0b07542SMartin Mares
6673df35926SMartin Mares2007-02-09  Martin Mares  <[email protected]>
6683df35926SMartin Mares
6693df35926SMartin Mares	* pci.ids: Updated to the current snapshot of the database.
6703df35926SMartin Mares
671e49ed044SMartin Mares2007-02-06  Martin Mares  <[email protected]>
672e49ed044SMartin Mares
6731ac3a99dSMartin Mares	* Replaced bzero() by memset() everywhere, it's better to lose a tiny
6741ac3a99dSMartin Mares	bit of readability than maintain hacks to make it work on various systems.
6751ac3a99dSMartin Mares
676b0eb18ccSMartin Mares	* lib/configure: tr on Solaris is a bit weird and it requires `[A-Z]'
677b0eb18ccSMartin Mares	instead of `A-Z'. Fortunately, the extra brackets don't hurt otherwise.
678b0eb18ccSMartin Mares
679e49ed044SMartin Mares	* lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise
680e49ed044SMartin Mares	integer types.
681e49ed044SMartin Mares
6829de2768cSMartin Mares2007-02-04  Martin Mares  <[email protected]>
6839de2768cSMartin Mares
6849de2768cSMartin Mares	* lspci.c: alloca() needs <alloca.h>.
6859de2768cSMartin Mares
686d19394dbSMartin Mares2006-09-17  Martin Mares  <[email protected]>
687d19394dbSMartin Mares
688d19394dbSMartin Mares	* lib/dump.c: Fixed a couple of bugs in the dump backend which caused
689d19394dbSMartin Mares	devices with domains or with extended config space to be read incorrectly.
690d19394dbSMartin Mares	Also, dumps with partial lines are allowed now.
691d19394dbSMartin Mares
692934e7e36SMartin Mares2006-09-10  Martin Mares  <[email protected]>
693934e7e36SMartin Mares
694f09856deSMartin Mares	* pci.ids: Updated to the current database snapshot.
695f09856deSMartin Mares
696934e7e36SMartin Mares	* lspci.c (scan_device): If an error occurs when reading the standard config
697934e7e36SMartin Mares	header of a device, report it and ignore the device and return with exit
698934e7e36SMartin Mares	code 2 at the end.
699934e7e36SMartin Mares
700b2055313SMartin Mares2006-09-09  Martin Mares  <[email protected]>
701b2055313SMartin Mares
702fb260653SMartin Mares	* Released as 2.2.4.
703fb260653SMartin Mares
7041865e2ddSMartin Mares	* maint/release: Remind the maintainer about the current PCI_LIB_VERSION.
7051865e2ddSMartin Mares
706028dffb2SMartin Mares	* lib/pci.h: Updated PCI_LIB_VERSION.
707028dffb2SMartin Mares
70813081e57SMartin Mares	* lspci.c (show_machine): In the `-m' mode, do proper shell escaping
70913081e57SMartin Mares	if the fields printed contain quotes or backslashes.
71013081e57SMartin Mares
7113fd6b4d2SMartin Mares	* lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse
7123fd6b4d2SMartin Mares	of the `Device' tag for two different purposes.
7133fd6b4d2SMartin Mares
714840d09aeSMartin Mares	* Makefile: Moved all system-dependent decisions to lib/configure,
715840d09aeSMartin Mares	since config.mk is included in the top-level Makefile anyway.
716840d09aeSMartin Mares
7172100f710SMartin Mares	* lib/configure: When configuring for Linux, ignore the kernel version
7182100f710SMartin Mares	and always build all access methods.
7192100f710SMartin Mares
7203e9c7a18SMartin Mares	* Makefile (CFLAGS): Removed -Winline, it's not needed and triggers
7213e9c7a18SMartin Mares	at many non-interesting places with gcc 3.4.
7223e9c7a18SMartin Mares
72394db5c82SMartin Mares	* Whitespace cleanup of all source files.
72494db5c82SMartin Mares
725cc062b4aSMartin Mares	* The pci.ids file can be stored compressed if zlib is available.
726cc062b4aSMartin Mares	Added transparent decompression to lib/names.c, modified update-pciids.sh
727cc062b4aSMartin Mares	to keep the file compressed if applicable, updated Makefiles.
728cc062b4aSMartin Mares	Based on a patch by Matthew Wilcox, but all the bugs are mine.
729cc062b4aSMartin Mares
730f4ddb8d3SMartin Mares	* Makefile, README: Allow installation to be done to a different directory
731f4ddb8d3SMartin Mares	from the one we will eventually be placed in by setting DESTDIR.
732f4ddb8d3SMartin Mares	Patch by Matthew Wilcox.
733f4ddb8d3SMartin Mares
73416e37012SMartin Mares	* Added .gitignore files.
73516e37012SMartin Mares
736c7f5314dSMartin Mares	* Makefile (clean): Clean *.orig, too.
737c7f5314dSMartin Mares
738afebde01SMartin Mares	* Cleaned up usage of `char' and `byte'.
739afebde01SMartin Mares
740fd54ccebSMartin Mares	* lib/header.h: PCI_CLASS_DOCKING_OTHER should be 0x0a80, not 0x0a01.
741fd54ccebSMartin Mares
742b2055313SMartin Mares	* lib/header.h: Added PCI_CLASS_xxx constants for all classes currently
743b2055313SMartin Mares	defined in the pci.ids file.
744b2055313SMartin Mares
7454254d153SMartin Mares2006-08-01  Martin Mares  <[email protected]>
7464254d153SMartin Mares
7474254d153SMartin Mares	* lib/i386-io-hurd.h: Fixed a silly typo.
7484254d153SMartin Mares
7491c5cc9b5SMartin Mares2006-07-30  Martin Mares  <[email protected]>
7501c5cc9b5SMartin Mares
75138a9e3c3SMartin Mares	* lib/Makefile: Added a missing rule for obsd-device.o.
75238a9e3c3SMartin Mares
753c7ddfa3eSMartin Mares	* lspci.c, lib/header.h: Added support for MSI per-vector masking.
754c7ddfa3eSMartin Mares	Contributed by Petr Vandrovec.
755c7ddfa3eSMartin Mares
756248a04f8SMartin Mares	* lspci.c, lib/header.h: Added support for the `bridge subsystem ID'
757248a04f8SMartin Mares	capability. Contributed by Petr Vandrovec.
758248a04f8SMartin Mares
759f29dcc87SMartin Mares	* lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable
760f29dcc87SMartin Mares	memory windows. Fix by Petr Vandrovec.
761f29dcc87SMartin Mares
7628eab3bffSMartin Mares	* maint/release.pm: Exclude .git directory from releases.
7638eab3bffSMartin Mares
764d305d704SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Report failures during port access
765d305d704SMartin Mares	initialization by a->warn() instead of calling printf() or perror()
766d305d704SMartin Mares	directly.
767d305d704SMartin Mares
7689007a292SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Moved the logic which keeps track of
7699007a292SMartin Mares	the port access state to generic code.
7709007a292SMartin Mares
771bd20d5b5SMartin Mares	* lib/i386-io-hurd.h: Ask the kernel for I/O port access appropriately.
772bd20d5b5SMartin Mares	Contributed by Thomas Schwinge and Samuel Thibault.
773bd20d5b5SMartin Mares
77473750606SMartin Mares	* lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module.
77573750606SMartin Mares
776d71daa45SMartin Mares	* lib/header.h: Whitespace cleanups.
777d71daa45SMartin Mares
7781c5cc9b5SMartin Mares	* lib/i386-io-windows.h: Fixed indentation and spelling.
7791c5cc9b5SMartin Mares
7801c5cc9b5SMartin Mares	* README.Windows: Mention that WinIO.dll is needed and where to get it.
7811c5cc9b5SMartin Mares
782c2b144efSMartin Mares2006-06-27  Martin Mares  <[email protected]>
783c2b144efSMartin Mares
78414d4f989SMartin Mares	* lib/Makefile, Makefile: Added rules for building and cleaning the example.
78514d4f989SMartin Mares
78614d4f989SMartin Mares	* lib/example.c: Show how to use PCI_FILL_CLASS and used another register
78714d4f989SMartin Mares	for demonstrating the config space accesses. The example is still very
78814d4f989SMartin Mares	incomplete, though.
78914d4f989SMartin Mares
790c2b144efSMartin Mares	* lib/pci.h, lib/generic.c: Added PCI_FILL_CLASS.
791c2b144efSMartin Mares
792c2b144efSMartin Mares	* lib/sysfs.c: Fetch device ID and class from sysfs, because they can
793c2b144efSMartin Mares	be modified by kernel fixups.
794c2b144efSMartin Mares
795c2b144efSMartin Mares	* lspci.c: Use PCI_FILL_CLASS. Thanks to Matthew Willcox for the patch.
796c2b144efSMartin Mares
797bc2eed2dSMartin Mares2006-06-03  Martin Mares  <[email protected]>
798bc2eed2dSMartin Mares
799bc2eed2dSMartin Mares	* lspci.c: Introduced the -nn switch. Thanks to David N. Welton
800bc2eed2dSMartin Mares	for the idea.
801bc2eed2dSMartin Mares
802bc2eed2dSMartin Mares	* lib/names.c (pci_lookup_name): Introduced PCI_LOOKUP_MIXED and
803bc2eed2dSMartin Mares	cleaned up the name selection code.
804bc2eed2dSMartin Mares
805c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): If PCI_LOOKUP_NO_NUMBERS is given,
806c72eeddeSMartin Mares	pci_access->numeric_ids is ignored.
807c72eeddeSMartin Mares
808c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): When class is identified and
809c72eeddeSMartin Mares	subclass isn't, display class name and subclass number.
810c72eeddeSMartin Mares
8112f294d4bSMartin Mares2006-05-31  Martin Mares  <[email protected]>
8122f294d4bSMartin Mares
8132f294d4bSMartin Mares	* setpci.c (main): Don't crash when an invalid width is specified.
8142f294d4bSMartin Mares
81581afa98cSMartin Mares	* lspci.c, setpci.c, common.c: die() now uses the right program
81681afa98cSMartin Mares	name when printing an error message.
81781afa98cSMartin Mares
8180ac282f2SMartin Mares2006-05-19  Martin Mares  <[email protected]>
8190ac282f2SMartin Mares
8200ac282f2SMartin Mares	* README: Mention the public GIT tree.
8210ac282f2SMartin Mares
8220ac282f2SMartin Mares	* README: Updated the list of ports.
8230ac282f2SMartin Mares
824d1058e9dSMartin Mares2006-05-10  Martin Mares  <[email protected]>
825d1058e9dSMartin Mares
826d1058e9dSMartin Mares	* lib/configure, lib/fbsd-device.c: Added support for GNU/kFreeBSD.
827d1058e9dSMartin Mares	Thanks to Petr Salinger for the patch.
828d1058e9dSMartin Mares
829abf8d505SMartin Mares2006-05-05  Martin Mares  <[email protected]>
830abf8d505SMartin Mares
8312ae2d1aeSMartin Mares	* Released as 2.2.3.
8322ae2d1aeSMartin Mares
8332ae2d1aeSMartin Mares	* lspci.c (scan_device): The -D switch didn't work as intended
8342ae2d1aeSMartin Mares	in -m mode.
8352ae2d1aeSMartin Mares
8362ae2d1aeSMartin Mares2006-05-05  Martin Mares  <[email protected]>
8372ae2d1aeSMartin Mares
8381d5cf727SMartin Mares	* Released as 2.2.2.
8391d5cf727SMartin Mares
8408a830168SMartin Mares	* pci.ids: Updated to the current database snapshot.
8418a830168SMartin Mares
842b6359063SMartin Mares	* lib/obsd-device.c (and other files in lib/*): Added OpenBSD
843b6359063SMartin Mares	interface by Matthieu Herrb <[email protected]>, based on
844b6359063SMartin Mares	the existing FreeBSD interface.
845b6359063SMartin Mares
846abf8d505SMartin Mares	* Moved pciutils to a GIT repository, which now contains merged
847abf8d505SMartin Mares	history from both CVS and Arch. Good bye, TLA!
848abf8d505SMartin Mares
8496ac70402SMartin Mares2006-03-21  Martin Mares  <[email protected]>
8506ac70402SMartin Mares
8512a124daeSMartin Mares	* lspci.c (show_slot_name): Avoid the previous changes in default
8522a124daeSMartin Mares	display of domain name when in machine-readable mode. However, `-D'
8532a124daeSMartin Mares	forces domain display even there.
8542a124daeSMartin Mares
8556ac70402SMartin Mares	* lspci.man: Added a warning on -m being the only format, which is
8566ac70402SMartin Mares	guaranteed to be stable between lspci versions.
8576ac70402SMartin Mares
8581bbdea17SMartin Mares2006-03-13  Martin Mares  <[email protected]>
8591bbdea17SMartin Mares
860af61eb25SMartin Mares	* lspci.man: Documented the -D switch.
861af61eb25SMartin Mares
862af61eb25SMartin Mares	* lspci.c (show_slot_name, scan_device): If there are multiple PCI
863af61eb25SMartin Mares	domains or if the `-D' switch is used, show the domain number for
864af61eb25SMartin Mares	all devices.
865af61eb25SMartin Mares
8667a61b93cSMartin Mares	* lspci.c (show_verbose): Report cache line size in bytes.
8677a61b93cSMartin Mares
8681bbdea17SMartin Mares	* update-pciids.sh: Use curl if available. Patch by Matthew Wilcox.
8691bbdea17SMartin Mares
8700e78ef8aSMartin Mares2006-01-04  Martin Mares  <[email protected]>
8710e78ef8aSMartin Mares
8720e78ef8aSMartin Mares	* lspci.c (show_express_link): Fixed decoding of link status register.
8730e78ef8aSMartin Mares	Thanks to Roland Dreier for his report.
8740e78ef8aSMartin Mares
875e6859953SMartin Mares2005-12-12  Martin Mares  <[email protected]>
876e6859953SMartin Mares
877e6859953SMartin Mares	* lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow
878e6859953SMartin Mares	at least read-only access. Patch by Pavel Celeda <[email protected]>.
879e6859953SMartin Mares
880e6859953SMartin Mares	* Makefile: Corrected library path on NetBSD.
881e6859953SMartin Mares
882a99c0d69SMartin Mares2005-11-26  Martin Mares  <[email protected]>
883a99c0d69SMartin Mares
884e4af70c6SMartin Mares	* Released as 2.2.1.
885e4af70c6SMartin Mares
886a99c0d69SMartin Mares	* lspci.c (show_machine): Subsystem vendors were printed incorrectly
887a99c0d69SMartin Mares	in machine-readable modes. Thanks to Pavel Celeda for a bug report.
888a99c0d69SMartin Mares
889f23fd3fcSMartin Mares2005-10-11  Martin Mares  <[email protected]>
890f23fd3fcSMartin Mares
891f23fd3fcSMartin Mares	* lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it.
892f23fd3fcSMartin Mares
89315296723SMartin Mares2005-09-21  Martin Mares  <[email protected]>
89415296723SMartin Mares
89515296723SMartin Mares	* Released as 2.2.0.
89615296723SMartin Mares
89740b6d93fSMartin Mares	* pci.ids: Updated copyright header.
89840b6d93fSMartin Mares
89915296723SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported
90015296723SMartin Mares	64-bit addresses, they are now always supported.
90115296723SMartin Mares
90215296723SMartin Mares	* lspci.c (show_bases): Corrected printing of 64-bit addresses
90315296723SMartin Mares	in bus-centric mode.
90415296723SMartin Mares
90515296723SMartin Mares	* lib/configure: Enable 64-bit addresses on all Linux systems.
90615296723SMartin Mares
90715296723SMartin Mares	* lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they
90815296723SMartin Mares	are shorter.
90915296723SMartin Mares
910224707baSMartin Mares2005-09-11  Martin Mares  <[email protected]>
911224707baSMartin Mares
912224707baSMartin Mares	* Released as 2.1.99-test11.
913224707baSMartin Mares
914224707baSMartin Mares	* lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls.
915224707baSMartin Mares
916aeaca5d3SMartin Mares2005-09-10  Martin Mares  <[email protected]>
917aeaca5d3SMartin Mares
918224707baSMartin Mares	* Released as 2.1.99-test10.
919224707baSMartin Mares
92063e6f2e0SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
92163e6f2e0SMartin Mares
922043ebdeeSMartin Mares	* update-pciids.sh: Changed the default URL for downloading pci.ids
923043ebdeeSMartin Mares	to http://pciids.sourceforge.net/v2.2/pci.ids.
924043ebdeeSMartin Mares
925043ebdeeSMartin Mares	* lib/pci.h (PCI_LIB_VERSION): Added version identifier.
926043ebdeeSMartin Mares
927aeaca5d3SMartin Mares	* lib/names.c: Rewritten the name database module almost from scratch.
928aeaca5d3SMartin Mares	Everything is much cleaner and there are hopefully no more memory leaks;
929aeaca5d3SMartin Mares	pci_lookup_name() now uses varargs in a backward compatible fashion.
930aeaca5d3SMartin Mares	Introduced PCI_LOOKUP_NO_NUMBERS.
931aeaca5d3SMartin Mares
932aeaca5d3SMartin Mares	The new code supports subsystem entries not tied to a specific device.
933aeaca5d3SMartin Mares	I had to extend the format of pci.ids in order to support it, so I have
934aeaca5d3SMartin Mares	extended the idea of the "C" (class) blocks and introduced "S" blocks
935aeaca5d3SMartin Mares	for subsystems. To avoid doing more incompatible changes in the future,
936aeaca5d3SMartin Mares	the parser skips unknown single-letter blocks without reporting errors.
937aeaca5d3SMartin Mares
938121c76c9SMartin Mares2005-08-23  Martin Mares  <[email protected]>
939121c76c9SMartin Mares
94054e13765SMartin Mares	* Released as 2.1.99-test9.
94154e13765SMartin Mares
94254e13765SMartin Mares	* Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent
94354e13765SMartin Mares	gcc versions when optimizing anyway.
94454e13765SMartin Mares
94554e13765SMartin Mares	* Made the path to pci.ids customizable and independent on the SHAREDIR.
94654e13765SMartin Mares	Just override IDSDIR in the top-level Makefile.
94754e13765SMartin Mares
94854e13765SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
94954e13765SMartin Mares
95084d437d6SMartin Mares	* lspci.man, setpci.man: Improved the man pages. Documented all access
95184d437d6SMartin Mares	methods and which operations are privileged.
95284d437d6SMartin Mares
95384d437d6SMartin Mares	* lspci.c: Another rewrite of config register caching, now also including
95484d437d6SMartin Mares	lots of internal checks. It should be now perfectly able to cope with
95584d437d6SMartin Mares	portions of the configuration space being inaccessible, for example
95684d437d6SMartin Mares	due to insufficient access rights.
95784d437d6SMartin Mares
9583b8bf739SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X
9593b8bf739SMartin Mares	capabilities. Includes partial support for PCI-X 2.0 (probably incomplete
9603b8bf739SMartin Mares	as I haven't seen the spec).
9613b8bf739SMartin Mares
9623b8bf739SMartin Mares	* lspci.c: Quell warnings about unused parameters.
9633b8bf739SMartin Mares
96484d437d6SMartin Mares	* lspci.c: Removed C++ comments.
96584d437d6SMartin Mares
9663b8bf739SMartin Mares	* lib/header.h: Merged definitions of extended capabilities and some new
9673b8bf739SMartin Mares	PCI-X capability bits from linux-2.6.11/include/pci.h.
9683b8bf739SMartin Mares
9693b8bf739SMartin Mares	* lspci.c (show_caps): Try to scan extended capabilities only if the
9703b8bf739SMartin Mares	device has either PCI-X or PCI Express capability in its normal capability
9713b8bf739SMartin Mares	list.
9723b8bf739SMartin Mares
973f7821e53SMartin Mares	* lib/dump.c (dump_init): Reading of dumps works again. The dump reader
974f7821e53SMartin Mares	now also remembers how much data it has read and refuses attempts to
975f7821e53SMartin Mares	access more than that.
976ea4e5f5dSMartin Mares
97746ea554dSMartin Mares	* setpci.man, lspci.c, README: prefer spelling "buses" over "busses".
97846ea554dSMartin Mares
9798afaab22SMartin Mares	* lspci.c: If alloca() is not available, use xmalloc(), not malloc().
9808afaab22SMartin Mares
981121c76c9SMartin Mares	* lib/configure: Added x86_64 on Linux.
982121c76c9SMartin Mares
983c1c2c30eSMartin Mares2005-08-22  Martin Mares  <[email protected]>
984c1c2c30eSMartin Mares
985b9ca9147SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters.
986b9ca9147SMartin Mares	Thanks to Matthew Wilcox for bug report.
987b9ca9147SMartin Mares
988c1c2c30eSMartin Mares	* lspci.c: Corrected spelling of "Hz" (it was "hz" at several places).
989b9ca9147SMartin Mares	Thanks to Krzysztof Oledzki for pointing that out.
990c1c2c30eSMartin Mares
99126542a0bSMartin Mares2004-08-19  Martin Mares  <[email protected]>
99226542a0bSMartin Mares
99326542a0bSMartin Mares	* pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism,
99426542a0bSMartin Mares	because pciutils by default install to /usr/sbin. Update.
99526542a0bSMartin Mares
9966aa54f1bSMartin Mares2004-08-13  Martin Mares  <[email protected]>
9976aa54f1bSMartin Mares
998aabb0a92SMartin Mares	* Released as 2.1.99-test8.
999aabb0a92SMartin Mares
1000f31412d1SMartin Mares	* lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are
1001f31412d1SMartin Mares	no longer exported to the outside world.
1002f31412d1SMartin Mares
1003ee7d8384SMartin Mares	* README.Windows: Updated.
1004ee7d8384SMartin Mares
1005ee7d8384SMartin Mares	* maint/release: Substitute version number in win32/config.h.
1006ee7d8384SMartin Mares
1007ee7d8384SMartin Mares	* win32/config.h: Added.
1008ee7d8384SMartin Mares
1009ee7d8384SMartin Mares	* lib/sysdep.h (bzero, strcasecmp): are macros on Windows.
1010ee7d8384SMartin Mares
1011ee7d8384SMartin Mares	* compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU
1012ee7d8384SMartin Mares	C library for use on systems where the default libraries lack
1013ee7d8384SMartin Mares	proper getopt. Currently used by the Windows port.
1014ee7d8384SMartin Mares
1015ee7d8384SMartin Mares	* lib/sysdep.h, lib/types.h: Updates of the Windows port from
1016ee7d8384SMartin Mares	Alexander Stock.
1017ee7d8384SMartin Mares
1018489233b4SMartin Mares	* lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define
1019489233b4SMartin Mares	its own u8, u16, u32, byte and word types and uses what the user
1020489233b4SMartin Mares	has supplied instead. With this change, all namespace clashes should
1021489233b4SMartin Mares	be gone.
1022489233b4SMartin Mares
1023489233b4SMartin Mares	* Makefile, lib/Makefile: Updated dependencies.
1024489233b4SMartin Mares
1025489233b4SMartin Mares	* pciutils.h: Include lib/sysdep.h and move NONRET et al. there.
1026489233b4SMartin Mares
1027489233b4SMartin Mares	* lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because
1028489233b4SMartin Mares	it is included unconditionally in lib/types.h.
1029489233b4SMartin Mares
1030489233b4SMartin Mares	* Moved system-dependent stuff from lib/internal.h to lib/sysdep.h,
1031489233b4SMartin Mares	which is also used by the utilities. Also moved type declarations
1032489233b4SMartin Mares	from lib/pci.h to lib/types.h.
1033489233b4SMartin Mares
1034489233b4SMartin Mares	* All files: Prepend a "PCI_" prefix in front of all configuration
1035489233b4SMartin Mares	defines to avoid namespace clashes. CAVEAT: If there is any libpci
1036489233b4SMartin Mares	application using the (undocumented) defines, it has to be updated.
1037489233b4SMartin Mares
1038489233b4SMartin Mares	* lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing
1039489233b4SMartin Mares	headers with the kernel a couple of years ago.
1040489233b4SMartin Mares
10419bb4b4eaSMartin Mares	* lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6.
10429bb4b4eaSMartin Mares
10436aa54f1bSMartin Mares	* lspci.c (show_rom): Use the same logic for printing disabled
10446aa54f1bSMartin Mares	or unassigned ROM's as we do in show_bases() for the other BAR's.
10456aa54f1bSMartin Mares
10466aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Better reaction to
10476aa54f1bSMartin Mares	invalid 64-bit addresses. Also d->hdrtype should not include
10486aa54f1bSMartin Mares	bit 7, which caused mysterious errors on multi-function devices.
10496aa54f1bSMartin Mares
10506aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Fill in base addresses
10516aa54f1bSMartin Mares	even if the regions are known to be disabled. It is the client's
10526aa54f1bSMartin Mares	job to interpret them. (And it is not a trivial job if you want
10536aa54f1bSMartin Mares	to do it correctly, since you need to check I/O and memory enables
10546aa54f1bSMartin Mares	on all upstream bridges, too.) However, it could be interesting to
10556aa54f1bSMartin Mares	introduce functions for interpreting the addresses and even for
10566aa54f1bSMartin Mares	mapping the regions and doing I/O on them.
10576aa54f1bSMartin Mares
105880e6c636SMartin Mares2004-07-30  Martin Mares  <[email protected]>
105980e6c636SMartin Mares
106080e6c636SMartin Mares	* lspci.c: HyperTransport improvements from Maciej.
106180e6c636SMartin Mares
1062d6324891SMartin Mares2004-07-11  Martin Mares  <[email protected]>
1063d6324891SMartin Mares
1064d6324891SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Arguments now correspond
1065d6324891SMartin Mares	to the format string. [Patch by Bill Nottingham]
1066d6324891SMartin Mares
1067ec25b52dSMartin Mares2004-07-05  Martin Mares  <[email protected]>
1068ec25b52dSMartin Mares
1069362be683SMartin Mares	* Released as 2.1.99-test7.
1070362be683SMartin Mares
1071ec25b52dSMartin Mares	* lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but
1072ec25b52dSMartin Mares	ended up with rewriting the fetching mechanism to be fully dynamic,
1073ec25b52dSMartin Mares	but avoid reading config space registers not explicitly requested.
1074ec25b52dSMartin Mares
1075ec25b52dSMartin Mares2004-06-29  Matthew Wilcox <[email protected]>
1076ec25b52dSMartin Mares
1077ec25b52dSMartin Mares	* lspci.c: More work on PCI Express dumping.
1078ec25b52dSMartin Mares
1079ec25b52dSMartin Mares	* lib/header.h: Updated PCI Express capability definitions.
1080ec25b52dSMartin Mares
1081ec25b52dSMartin Mares	* lib/proc.c (proc_read): Removed bogus warning.
1082ec25b52dSMartin Mares
1083ec25b52dSMartin Mares	* common.c (xrealloc): Introduced.
1084ec25b52dSMartin Mares
1085ec25b52dSMartin Mares	* lspci.man: Added -xxxx.
1086ec25b52dSMartin Mares
108709817437SMartin Mares2004-06-27  Martin Mares  <[email protected]>
108809817437SMartin Mares
1089d1fa27ebSMartin Mares	* Released as 2.1.99-test6.
1090d1fa27ebSMartin Mares
10914d67aa89SMartin Mares	* lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap.
10924d67aa89SMartin Mares	Patch by Roland Dreier <[email protected]>, cleaned up by me.
10934d67aa89SMartin Mares
10944d67aa89SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch()
10954d67aa89SMartin Mares	failures.
10964d67aa89SMartin Mares
10974d67aa89SMartin Mares	* lib/header.h: Added PCI Express extended capabilities. Again by Matthew.
10984d67aa89SMartin Mares
10994d67aa89SMartin Mares	* lspci.c (show_express): Added dumping of PCI Express cap.
11004d67aa89SMartin Mares	Patch by Matthew Wilcox.
11014d67aa89SMartin Mares
11024d67aa89SMartin Mares	* lib/header.h: Added a list of PCI 3.0 capabilities and also details
11034d67aa89SMartin Mares	on PCI Express caps. Patch by Matthew Wilcox <[email protected]>.
11044d67aa89SMartin Mares
110509817437SMartin Mares	* lspci.c (check_root): Gone. No explicit checks for root are needed,
110609817437SMartin Mares	report correct errors reported by the libpci instead.
110709817437SMartin Mares
110809817437SMartin Mares	* lspci.c: Added dumping of the extended config space on "-xxxx".
110909817437SMartin Mares	Better caching of config registers.
111009817437SMartin Mares
111109817437SMartin Mares	* setpci.c (main): Allow access to whole 4096 bytes of the config space.
111209817437SMartin Mares
111309817437SMartin Mares	* lib/sysfs.c, lib/proc.c: Don't print error messages on short reads,
111409817437SMartin Mares	just return the appropriate error code.
111509817437SMartin Mares
111609817437SMartin Mares	* lib: Added support for extended (4096-byte) configuration space,
111709817437SMartin Mares	currently implemented only in Linux proc and sysfs access methods
111809817437SMartin Mares	and of course in the dump reader.
111909817437SMartin Mares
11200d656226SMartin Mares2004-05-29  Martin Mares  <[email protected]>
11210d656226SMartin Mares
1122c0eece92SMartin Mares	* Released as 2.1.99-test5.
1123c0eece92SMartin Mares
1124a2413560SMartin Mares	* lib/pci.h: Windows don't have the standard u_int* types.
1125a2413560SMartin Mares
1126a2413560SMartin Mares	* lib/internal.h: <sys/param.h> required on Windows for endianity
1127a2413560SMartin Mares	macros.
1128a2413560SMartin Mares
1129a2413560SMartin Mares	* lib/i386-ports.c: Connected i386-io-windows.h.
1130a2413560SMartin Mares
1131a2413560SMartin Mares	* lspci.c (check_root): geteuid() is not available on Windows.
1132a2413560SMartin Mares
1133a2413560SMartin Mares	* lib/i386-io-windows.h: Added Windows port contributed by Alexander
1134a2413560SMartin Mares	Stock <[email protected]>.
1135a2413560SMartin Mares
1136a2413560SMartin Mares	* lib/configure: Hopefully fixed SunOS port broken by various
1137a2413560SMartin Mares	changes to the configure script.
1138a2413560SMartin Mares
11390d656226SMartin Mares	* Makefile, lib/configure: Cross-compilation support, patch by Maciej.
11400d656226SMartin Mares
1141138c0385SMartin Mares2004-05-28  Martin Mares  <[email protected]>
1142138c0385SMartin Mares
11439f490382SMartin Mares	* Released as 2.1.99-test4.
11449f490382SMartin Mares
1145cce2caacSMartin Mares	* lspci.c (show_verbose): Header type 1 is probably legal for all
1146cce2caacSMartin Mares	types of bridges, not only for PCI-to-PCI bridges.
1147cce2caacSMartin Mares
1148b569ef09SMartin Mares	* lspci.c (format_agp_rate): Write "x16", not "x@".
1149b569ef09SMartin Mares	(show_agp): rate[] could overflow.
1150b569ef09SMartin Mares	Bugs reported by Jakub Bogusz <[email protected]>.
1151b569ef09SMartin Mares
1152bfc4fe7aSMartin Mares	* lspci.c (show_ht_*): Show HyperTransport capability with all its
1153bfc4fe7aSMartin Mares	details. Once again code by Maciej simplified (i.e., possibly broken)
1154bfc4fe7aSMartin Mares	by me.
1155bfc4fe7aSMartin Mares
1156bfc4fe7aSMartin Mares	* lib/header.h: Added declarations of HyperTransport capability.
1157bfc4fe7aSMartin Mares	Again thanks to Maciej.
1158bfc4fe7aSMartin Mares
1159138c0385SMartin Mares	* lspci.c: Decode all bits of the secondary status word in type 1 headers.
1160138c0385SMartin Mares	Thanks to Maciej W. Rozycki <[email protected]> for the patch.
1161138c0385SMartin Mares
11628fc75dbcSMartin Mares2003-12-27  Martin Mares  <[email protected]>
11638fc75dbcSMartin Mares
116481abd2a7SMartin Mares	* Released as 2.1.99-test3.
116581abd2a7SMartin Mares
11661f7c91ccSMartin Mares	* lspci.man, setpci.man: Document domains and correct spelling.
11671f7c91ccSMartin Mares
11681f7c91ccSMartin Mares	* lib/dump.c (dump_init): Added ability to read domain numbers.
11691f7c91ccSMartin Mares
117084c8d1bbSMartin Mares	* lspci.c: Devices in domains different from 0 have their slot number
11711f7c91ccSMartin Mares	printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains
11721f7c91ccSMartin Mares	as well.
117384c8d1bbSMartin Mares
117484c8d1bbSMartin Mares	* lib/filter.c: Slot filters understand domains.
117584c8d1bbSMartin Mares
117684c8d1bbSMartin Mares	* lib/generic.c: Mention the domain in slot numbers in all error messages.
117784c8d1bbSMartin Mares
117884c8d1bbSMartin Mares	* lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong.
117984c8d1bbSMartin Mares
118084c8d1bbSMartin Mares	* lib/access.c (pci_get_dev): Added support for domains.
118184c8d1bbSMartin Mares
118284c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config
118384c8d1bbSMartin Mares	registers (or to be precise, leave it for the generic parts of the pcilib
118484c8d1bbSMartin Mares	to do so) instead of reading them from the sysfs. It's faster this way.
118584c8d1bbSMartin Mares
118684c8d1bbSMartin Mares	* lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal
118784c8d1bbSMartin Mares	variable. Better read it from the config registers (it's cached anyway).
118884c8d1bbSMartin Mares
118984c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype.
119084c8d1bbSMartin Mares	  lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it.
119184c8d1bbSMartin Mares	  Saves lots of unnecessary file accesses.
119284c8d1bbSMartin Mares
119311f7b31bSMartin Mares	* lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter
119411f7b31bSMartin Mares	is not supported by all C libraries.
119511f7b31bSMartin Mares
119611f7b31bSMartin Mares	* Makefile: Always enter the lib directory (remember that we don't have
119711f7b31bSMartin Mares	full dependecies for the library in the top-level Makefile; hmmm, another
119811f7b31bSMartin Mares	thing to rewrite some day).
119911f7b31bSMartin Mares
120011f7b31bSMartin Mares	* lib/sysfs.c: Added Linux sysfs access method based on the patch
120111f7b31bSMartin Mares	written by Matthew Wilcox <[email protected]>.
120211f7b31bSMartin Mares
120311f7b31bSMartin Mares	* lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc".
120411f7b31bSMartin Mares
120511f7b31bSMartin Mares	* lib/pread.h: The hacks to support pread on various versions
120611f7b31bSMartin Mares	of Linux libc moved there.
120711f7b31bSMartin Mares
120811f7b31bSMartin Mares	* lib/proc.c (proc_setup): The return value of snprintf() varies
120911f7b31bSMartin Mares	between glibc versions, so we need to check both for a negative
121011f7b31bSMartin Mares	values and for too large values.
121111f7b31bSMartin Mares
12124284af58SMartin Mares	* Removed last few references to the "Linux PCI Utilities", the
12134284af58SMartin Mares	package is pretty cross-platform now :)
12144284af58SMartin Mares
12154284af58SMartin Mares2003-12-27  Martin Mares  <[email protected]>
12164284af58SMartin Mares
1217ab12277eSMartin Mares	* Released as 2.1.99-test2.
1218ab12277eSMartin Mares
1219ab12277eSMartin Mares	* README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the
1220ab12277eSMartin Mares	release scripts insert the current version. "make release" is gone.
1221ab12277eSMartin Mares
1222ab12277eSMartin Mares	* maint/release, maint/release.pm: Added a new system of scripts for
1223ab12277eSMartin Mares	making releases including inter-version diffs etc.
1224ab12277eSMartin Mares
1225ab12277eSMartin Mares	* Makefile: Cleaned up.
1226ab12277eSMartin Mares
1227ab12277eSMartin Mares	* lib/fbsd-device.c: I patched another copy of this file by mistake,
1228ab12277eSMartin Mares	this time the version checks should be right.
1229ab12277eSMartin Mares
1230ab12277eSMartin Mares2003-12-27  Martin Mares  <[email protected]>
1231ab12277eSMartin Mares
12326d722cd6SMartin Mares	* Released as 2.1.99-test1.
12336d722cd6SMartin Mares
1234dd33246aSMartin Mares	* pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
1235dd33246aSMartin Mares	Remove shadows of the syscall access method which was never
1236dd33246aSMartin Mares	implemented.
1237dd33246aSMartin Mares
123880b3121aSMartin Mares	* update-pciids.sh: Try to preserve permissions of the old file
123980b3121aSMartin Mares	if chmod supports --reference. Should close Debian Bug #223740.
124080b3121aSMartin Mares
12416aea909aSMartin Mares	* lib/proc.c (proc_setup): Increased path name length limit to 1024.
12426aea909aSMartin Mares	Thanks for Redhat and Mandrake for inspiration.
12436aea909aSMartin Mares
12446aea909aSMartin Mares	* lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
12456aea909aSMartin Mares	Grabbed from Redhat (Fedora) patches.
12466aea909aSMartin Mares
12476aea909aSMartin Mares2003-12-27  Martin Mares  <[email protected]>
12486aea909aSMartin Mares
1249f701ff47SMartin Mares	Merged bug fixes from Debian patches:
1250f701ff47SMartin Mares
1251f701ff47SMartin Mares	* lspci.c (show_verbose): "Cache Line Size" should be capitalized.
1252f701ff47SMartin Mares
1253f701ff47SMartin Mares	* lspci.c (show_pcix_nobridge): Added a missing newline.
1254f701ff47SMartin Mares
12552240db8cSMartin Mares	* lib/proc.c (proc_scan): When reading the header type, don't
12562240db8cSMartin Mares	forget to clear the topmost bit indicating that the device has
1257f701ff47SMartin Mares	multiple functions.
12582240db8cSMartin Mares
12592240db8cSMartin Mares2003-12-27  Martin Mares  <[email protected]>
12602240db8cSMartin Mares
126145902995SMartin Mares	Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]>
126245902995SMartin Mares	for the patches:
126345902995SMartin Mares
126445902995SMartin Mares	* lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
126545902995SMartin Mares	* lib/fbsd-device.c: Select the right set of system includes according
126645902995SMartin Mares	to __FreeBSD_version.
126745902995SMartin Mares
126845902995SMartin Mares2003-12-27  Martin Mares  <[email protected]>
126945902995SMartin Mares
12708fc75dbcSMartin Mares	Merged support for Solaris on i386 by Bill Moore <[email protected]>
12718fc75dbcSMartin Mares	and cleaned up:
12728fc75dbcSMartin Mares
12738fc75dbcSMartin Mares	* lib/configure: Recognize SunOS.
12748fc75dbcSMartin Mares	* lib/internal.h: Learn how to recognize byte order on SunOS.
12758fc75dbcSMartin Mares	* lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
12768fc75dbcSMartin Mares	* lib/i386-io-linux.h: Linux specific part.
12778fc75dbcSMartin Mares	* lib/i386-io-hurd.h: GNU/Hurd specific part.
12788fc75dbcSMartin Mares	* lib/i386-io-sunos.h: SunOS specific part.
12798fc75dbcSMartin Mares
12809739916eSMartin Mares2003-12-26  Martin Mares  <[email protected]>
12819739916eSMartin Mares
12829739916eSMartin Mares	* lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly.
12839739916eSMartin Mares
12849739916eSMartin Mares	* lib/pci.h: Types declared in <sys/types.h> should be usable on all
12859739916eSMartin Mares	platforms we currently support, so kill the forest of #ifdef's and
12869739916eSMartin Mares	use them in all cases.
12879739916eSMartin Mares
12889739916eSMartin Mares	* lib/pci.h: Use ULONG_MASK to decide whether we should use long
12899739916eSMartin Mares	or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS.
12909739916eSMartin Mares	Define format strings for addresses, port numbers and IRQ numbers
12919739916eSMartin Mares	directly in pci.h.
12929739916eSMartin Mares
12939739916eSMartin Mares	* lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses.
12949739916eSMartin Mares
129580459c65SMartin Mares2003-12-26  Marco Gerards  <[email protected]>
129680459c65SMartin Mares
129780459c65SMartin Mares	Added support for the GNU Hurd (cleaned up by Martin Mares):
129880459c65SMartin Mares
129980459c65SMartin Mares	* lib/configure [GNU]: Use the i386 ports for configuration access.
130080459c65SMartin Mares	* lib/i386-ports.c: Don't call iopl() on the Hurd.
130180459c65SMartin Mares	* lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining
130280459c65SMartin Mares	u8 to u32.
130380459c65SMartin Mares
1304a85769a8SMartin Mares2003-12-26  Martin Mares  <[email protected]>
1305a85769a8SMartin Mares
13067dacd9c8SMartin Mares	* lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call
13077dacd9c8SMartin Mares	config_fetch() to ensure that the registers have been read. Thanks to
13087dacd9c8SMartin Mares	Bill Wood <[email protected]> for the patch.
13097dacd9c8SMartin Mares
13107dacd9c8SMartin Mares	* lspci.c: Ensure that failure of config_fetch() is handled correctly
13117dacd9c8SMartin Mares	at all places.
13127dacd9c8SMartin Mares
13134063c31cSMartin Mares	* lspci.man: There was one more explicit reference to /usr/share/pci.ids.
13144063c31cSMartin Mares	Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>.
13154063c31cSMartin Mares
13163fe8a38dSMartin Mares	* setpci.c (main): Better error messages.
13173fe8a38dSMartin Mares
13185f5b1a7bSMartin Mares	* setpci.c (ex_op): The demo mode should disable only writing, not reading.
13195f5b1a7bSMartin Mares
13205f5b1a7bSMartin Mares	* setpci.man: The documentation was inconsistent on what should -D do.
13215f5b1a7bSMartin Mares	Document the new behaviour.
1322b251f40bSMartin Mares
132391e37a49SMartin Mares	* pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
132491e37a49SMartin Mares	the GCC specific __attribute__((noreturn)) and killed the hack with
132591e37a49SMartin Mares	redefining __attribute__ on non-GCC compilers.
132691e37a49SMartin Mares
13274afd29d3SMartin Mares	* Makefile: Added missing dependencies. Parallel builds work now.
13284afd29d3SMartin Mares	Problem reported by Andreas Haumer <[email protected]>, but I chose
13294afd29d3SMartin Mares	a different fix.
13304afd29d3SMartin Mares
1331b0f1a03bSMartin Mares	* Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell
1332b0f1a03bSMartin Mares	command every time $(MANDIR) is referenced.
1333b0f1a03bSMartin Mares
1334b7fd8e19SMartin Mares	* lspci.c (main): The error message for `lspci -s' incorrectly mentioned
1335b7fd8e19SMartin Mares	a `-f' switch. Reported by Steve Finney <[email protected]>.
1336b7fd8e19SMartin Mares
133705bb10a2SMartin Mares	* lib/generic.c: Removed memory leak in pci_generic_bus_scan().
133805bb10a2SMartin Mares	Reported by Gary Parnes <[email protected]>.
133905bb10a2SMartin Mares
1340a832f6f1SMartin Mares	* Replaced obsolete syntax of __attribute__((unused)) in the middle of
1341a832f6f1SMartin Mares	parameter declarations (which is no longer supported by GCC 3.1) by the
1342a832f6f1SMartin Mares	current syntax (attribute at the end). Thanks to [email protected]
1343a832f6f1SMartin Mares	for reporting this problem.
1344a832f6f1SMartin Mares
1345a85769a8SMartin Mares	* Removed CVS $Id$ tags from all files.
1346a85769a8SMartin Mares
1347a85769a8SMartin Mares	* Makefile: Added some more warnings.
1348a85769a8SMartin Mares
1349b7351143SMartin Mares	* setpci.c: Cleaned up mask/value code.
1350b7351143SMartin Mares
1351b7351143SMartin Mares2003-12-08 Thayne Harbaugh <[email protected]>
1352b7351143SMartin Mares
1353b7351143SMartin Mares	* setpci.c: Individual bits to be set can be specified as <value>:<mask>.
1354b7351143SMartin Mares
13552a5d5cf9SMartin Mares2003-11-29  Martin Mares  <[email protected]>
13562a5d5cf9SMartin Mares
13572a5d5cf9SMartin Mares	* Imported the pciutils sources to my Arch repository. Good-bye, CVS.
13582a5d5cf9SMartin Mares
1359d772ef15SMartin Mares2003-01-04  Martin Mares  <[email protected]>
1360d772ef15SMartin Mares
13611b95f396SMartin Mares	* Released as 2.1.11.
13621b95f396SMartin Mares
1363c83293ebSMartin Mares	* Makefile: Changed configuration of installation directories --
1364c83293ebSMartin Mares	all paths are now set at the top of the Makefile instead of being
1365c83293ebSMartin Mares	scattered between the installation rules. The default installation
1366c83293ebSMartin Mares	now goes always to /usr/local regardless of the OS as most distributions
1367c83293ebSMartin Mares	already contain some version of pciutils and we don't want custom
1368c83293ebSMartin Mares	installations to interfere with the default ones.
1369c83293ebSMartin Mares
1370c83293ebSMartin Mares	* Makefile: Removed a couple of ancient install hacks: we no longer
1371c83293ebSMartin Mares	try to avoid overwriting a newer pci.ids file (users are now expected
1372c83293ebSMartin Mares	to use update-ids) and we don't try to remove /etc/pci.ids (a long time
1373c83293ebSMartin Mares	has passed since the last version which used it).
1374c83293ebSMartin Mares
1375e2875dcdSMartin Mares	* Makefile: Paths to pci.ids in man pages automatically get the right path.
1376e2875dcdSMartin Mares
13771b95f396SMartin Mares	* Added the update-ids utility.
13780138a2a7SMartin Mares
1379d772ef15SMartin Mares	* lib: Removed partially implemented "syscall" access method which will
1380d772ef15SMartin Mares	probably never be needed.
1381d772ef15SMartin Mares
1382eb620239SMartin Mares2002-12-27  Martin Mares  <[email protected]>
1383eb620239SMartin Mares
1384130090bdSMartin Mares	* lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe.
1385130090bdSMartin Mares
1386eb620239SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Added work-around for devices with
1387eb620239SMartin Mares	discontiguous numbering of functions. This is already present in the Linux
1388eb620239SMartin Mares	kernel for several years, but I forgot to update pciutils as well.
1389eb620239SMartin Mares
1390848b4347SMartin Mares2002-12-26  Martin Mares  <[email protected]>
1391848b4347SMartin Mares
1392579b19ffSMartin Mares	* lib/header.h, lspci.c: Dump AGP3 flags and speeds.
1393579b19ffSMartin Mares
1394579b19ffSMartin Mares	* lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header,
1395579b19ffSMartin Mares	there is no reason to prefer the kernel version.
1396579b19ffSMartin Mares
1397579b19ffSMartin Mares	* lib/proc.c (proc_scan): Don't forget to initialize hdrtype.
1398579b19ffSMartin Mares
1399848b4347SMartin Mares	* Added preliminary version of NetBSD support by Quentin Garnier
1400848b4347SMartin Mares	<[email protected]>.
1401848b4347SMartin Mares
1402f0952474SMartin Mares2002-04-06  Martin Mares  <[email protected]>
1403f0952474SMartin Mares
1404f0952474SMartin Mares	* lspci.c: Mention "-xxx" in the help.
1405f0952474SMartin Mares
1406d2f666f1SMartin Mares2002-03-30  Martin Mares  <[email protected]>
1407d2f666f1SMartin Mares
14089bd44bb0SMartin Mares	* Released as 2.1.10.
14099bd44bb0SMartin Mares
1410a33d0eb7SMartin Mares	* Removed pci.ids from the CVS as they are now maintained separately.
1411a33d0eb7SMartin Mares	They are still included in the tarball, but if you are building	pciutils
1412a33d0eb7SMartin Mares	from CVS sources or you want to get a newer ID file than the one distributed,
1413a33d0eb7SMartin Mares	just use "make update-ids" to download the most recent snapshot from
1414a33d0eb7SMartin Mares	pciids.sf.net.
1415a33d0eb7SMartin Mares
1416a33d0eb7SMartin Mares	* Makefile, README: Updated accordingly.
1417a33d0eb7SMartin Mares
1418a33d0eb7SMartin Mares	* Makefile: Added a couple of maintenance targets.
1419a33d0eb7SMartin Mares
1420a33d0eb7SMartin Mares	* maint/*: Maintainer's utilities now reside here (present only in CVS,
1421a33d0eb7SMartin Mares	not in the tarball).
1422a33d0eb7SMartin Mares
1423d2f666f1SMartin Mares	* lib/names.c (parse_name_list): End-of-line comments are no longer
1424d2f666f1SMartin Mares	supported. Hashes are now perfectly valid in all names and they start
1425d2f666f1SMartin Mares	a comment only at the start of the line.
1426d2f666f1SMartin Mares
1427ee551b73SMartin Mares2002-03-26  Martin Mares  <[email protected]>
1428ee551b73SMartin Mares
142907159913SMartin Mares	* README: Rewritten.
143007159913SMartin Mares
1431ee551b73SMartin Mares	* Makefile: When the currently installed pci.ids file is newer than
1432ee551b73SMartin Mares	the version to be installed, don't overwrite it. Suggested by
1433ee551b73SMartin Mares	Jean Delvare <[email protected]>.
1434ee551b73SMartin Mares
1435bc7b1d62SMartin Mares2002-03-24  Martin Mares  <[email protected]>
1436bc7b1d62SMartin Mares
14375f5e6f64SMartin Mares	* lspci.c (show_pcix_bridge): Added PCI-X capability display.
14385f5e6f64SMartin Mares	Contributed by Jeff Garzik <[email protected]>.
14395f5e6f64SMartin Mares
14405f5e6f64SMartin Mares	* lib/header.h: Added PCI-X stuff. Again by Jeff.
14415f5e6f64SMartin Mares
14425f5e6f64SMartin Mares	* Makefile (CFLAGS): -Werror is gone.
14435f5e6f64SMartin Mares
1444a1052f16SMartin Mares	* lspci.c (format_agp_rate): Fixed AGP rate reporting.
1445a1052f16SMartin Mares
1446bc7b1d62SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and
1447bc7b1d62SMartin Mares	function 7.
1448bc7b1d62SMartin Mares
1449bc7b1d62SMartin Mares	* lib/names.c (pci_lookup_name): When printing unknown subsystem vendor
1450bc7b1d62SMartin Mares	or device hexadecimally, don't confuse it with chip vendor/device ID.
1451bc7b1d62SMartin Mares	First reported by Marc Boucher <[email protected]>.
1452bc7b1d62SMartin Mares
1453f793990cSMartin Mares2001-11-04  Martin Mares  <[email protected]>
1454f793990cSMartin Mares
1455ee551b73SMartin Mares	* Released as 2.1.9.
1456ee551b73SMartin Mares
1457f793990cSMartin Mares	* pci.ids: Synced with the PCI ID Repository at SourceForge
1458f793990cSMartin Mares	(http://pciids.sourceforge.net/).
1459f793990cSMartin Mares
14601d174e56SMartin Mares2000-08-25  Martin Mares  <[email protected]>
14611d174e56SMartin Mares
14621d174e56SMartin Mares	* pci.ids: Updated ID's, synced with kernel 2.4.0-test7.
14631d174e56SMartin Mares
146465b4327eSMartin Mares2000-06-13  Martin Mares  <[email protected]>
146565b4327eSMartin Mares
146665b4327eSMartin Mares	* Makefile (uninstall): Fixed.
146765b4327eSMartin Mares
146865b4327eSMartin Mares	* pci.ids: ID updates.
146965b4327eSMartin Mares
14704a219d5fSMartin Mares2000-05-20  Martin Mares  <[email protected]>
14714a219d5fSMartin Mares
14724a219d5fSMartin Mares	* Released as 2.1.8.
14734a219d5fSMartin Mares
14744a219d5fSMartin Mares	* pci.ids: ID updates.
14754a219d5fSMartin Mares
14764a219d5fSMartin Mares	* lspci.c (show_verbose): Min/max latency is now printed in nanoseconds.
14774a219d5fSMartin Mares
14784a219d5fSMartin Mares2000-05-04  Martin Mares  <[email protected]>
14794a219d5fSMartin Mares
14804a219d5fSMartin Mares	* lspci.c (show_verbose): If the header type doesn't match device
14814a219d5fSMartin Mares	class, just print a warning and still use the header type, assuming
14824a219d5fSMartin Mares	bogus class info.
14834a219d5fSMartin Mares
148410c90662SMartin Mares2000-05-01  Martin Mares  <[email protected]>
148510c90662SMartin Mares
148672b9b690SMartin Mares	* lspci.c (show_pm): Updated according to PCI PM specs 1.1.
148772b9b690SMartin Mares
148810c90662SMartin Mares	* pci.ids: Updated Contemporary Control ARCnet card entries.
148910c90662SMartin Mares
149010c90662SMartin Mares	* pci.ids: Synchronized class list with latest PCI SIG documents.
149110c90662SMartin Mares
1492a239ade6SMartin Mares2000-04-29  Martin Mares  <[email protected]>
1493a239ade6SMartin Mares
1494a239ade6SMartin Mares	* lib/names.c (pci_lookup_name): Fixed the cheat.
1495a239ade6SMartin Mares
1496a239ade6SMartin Mares	* lib/internal.h: Moved UNUSED/inline hacks above all other declarations.
1497a239ade6SMartin Mares
1498a239ade6SMartin Mares	* pci.ids: Various ID updates.
1499a239ade6SMartin Mares
15002c83b860SMartin Mares2000-04-21  Martin Mares  <[email protected]>
15012c83b860SMartin Mares
15022c83b860SMartin Mares	* Released as 2.1.7.
15032c83b860SMartin Mares
15042c83b860SMartin Mares	* pciutils.spec: Added German description.
15052c83b860SMartin Mares
15062c83b860SMartin Mares	* lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's
15072c83b860SMartin Mares	are the same as device ID and just output subsystem name according to
15082c83b860SMartin Mares	device name.
15092c83b860SMartin Mares
15102c83b860SMartin Mares	* lib/proc.c: Use UNUSED instead of __attribute__((unused)).
15112c83b860SMartin Mares
15122c83b860SMartin Mares	* lib/pci.h: Added the correct typedefs for AIX.
15132c83b860SMartin Mares
15142c83b860SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Export.
15152c83b860SMartin Mares
15162c83b860SMartin Mares	* lib/configure: Detect AIX. Use "echo '...\c'" instead of
15172c83b860SMartin Mares	"echo -n" if the shell isn't bash.
15182c83b860SMartin Mares
15192c83b860SMartin Mares	* lspci.c: Avoid using alloca() if not compiled by GCC.
15202c83b860SMartin Mares	(insert_dev): Avoid returning a void value.
15212c83b860SMartin Mares
15222c83b860SMartin Mares	* Makefile: Choose which install utility to use according to
15232c83b860SMartin Mares	OS type. Also use `-o' instead of `-or' in find arguments.
15242c83b860SMartin Mares	Part of the AIX port.
15252c83b860SMartin Mares
15262c83b860SMartin Mares	* lib/aix-device.c: Added AIX low-level interface. Contributed
15272c83b860SMartin Mares	by Dave Johnson <[email protected]>, thanks a lot!
15282c83b860SMartin Mares
15292c83b860SMartin Mares	* pci.ids: Few new ID's.
15302c83b860SMartin Mares
15312c83b860SMartin Mares	* pciutils.h, lib/internal.h: Redefine __attribute__ and inline
15322c83b860SMartin Mares	when not compiled by GCC.
15332c83b860SMartin Mares
1534c1a828daSMartin Mares2000-04-17  Martin Mares  <[email protected]>
1535c1a828daSMartin Mares
1536c1a828daSMartin Mares	* Released as 2.1.6.
1537c1a828daSMartin Mares
1538c1a828daSMartin Mares	* pci.ids: Added a large batch of ID's contributed by Gunther
1539c1a828daSMartin Mares	Mayer <[email protected]> and synced the
1540c1a828daSMartin Mares	list with the 2.3.99pre6 kernel.
1541c1a828daSMartin Mares
1542e91dd3abSMartin MaresThu Mar  9 13:11:39 2000  Martin Mares  <[email protected]>
1543e91dd3abSMartin Mares
1544a80b79a9SMartin Mares	* lib/example.c: Added a simple example of how to use
1545a80b79a9SMartin Mares	the library.
1546a80b79a9SMartin Mares
154789984232SMartin Mares	* lspci.man, setpci.man: Revealed --version. Well spotted
154889984232SMartin Mares	by Adam Sulmicki.
154989984232SMartin Mares
1550e91dd3abSMartin Mares	* pci.ids: Added lots of new ID's and synced with 2.3.50.
1551e91dd3abSMartin Mares
155278d9c5e2SMartin MaresTue Feb 15 00:16:21 2000  Martin Mares  <[email protected]>
155378d9c5e2SMartin Mares
155478d9c5e2SMartin Mares	* Released as 2.1.5.
155578d9c5e2SMartin Mares
155678d9c5e2SMartin Mares	* pciutils.spec: Updated spec file from Andreas Jaeger. Now using
155778d9c5e2SMartin Mares	%{_mandir} to find the right location to install manual pages to.
155878d9c5e2SMartin Mares
155978d9c5e2SMartin Mares	* pci.ids: New ID's.
156078d9c5e2SMartin Mares
156178d9c5e2SMartin Mares	* setpci.c (main): Don't crash when `-s' or `-d' is given with
156278d9c5e2SMartin Mares	no argument.
156378d9c5e2SMartin Mares
1564f8141ae2SMartin MaresMon Jan 24 20:04:11 2000  Andreas Jaeger  <[email protected]>
1565f8141ae2SMartin Mares
1566f8141ae2SMartin Mares	* lib/i386-ports.c: Include <asm/io.h> only on systems without
1567f8141ae2SMartin Mares	glibc.
1568f8141ae2SMartin Mares
1569f8141ae2SMartin MaresMon Jan 24 11:24:43 2000  Martin Mares  <[email protected]>
1570f8141ae2SMartin Mares
1571f8141ae2SMartin Mares	* Makefile: Modified to work with the Linux FHS brain-damaged idea
1572f8141ae2SMartin Mares	of putting man pages to /usr/share/man. Now we choose either /usr/man
1573f8141ae2SMartin Mares	or /usr/share/man depending on which one exists.
1574f8141ae2SMartin Mares
157559e76e8bSMartin MaresSun Jan 23 10:52:34 2000  Martin Mares  <[email protected]>
157659e76e8bSMartin Mares
157759e76e8bSMartin Mares	* pci.ids: Synced with Linux 2.3.40.
157859e76e8bSMartin Mares
157959e76e8bSMartin Mares	* Released as version 2.1.4.
158059e76e8bSMartin Mares
15812dfd48cdSMartin MaresThu Jan 20 11:08:32 2000  Martin Mares  <[email protected]>
15822dfd48cdSMartin Mares
15832715403fSMartin Mares	* lspci.c (scan_device): Fixed bug in reading of cardbus extensions.
15842715403fSMartin Mares
158581077814SMartin Mares	* lib/proc.c: pread/pwrite fixed again, this time on libc5 :(
158681077814SMartin Mares
158781077814SMartin Mares	* lspci.c (format_agp_rate): Better formatting of AGP rates.
158881077814SMartin Mares
158981077814SMartin Mares	* pci.ids: New ID's.
159081077814SMartin Mares
15912dfd48cdSMartin Mares	* lib/configure: Added configuration for ia64 (the same as for Alpha).
15922dfd48cdSMartin Mares	Patch from Stephane Eranian <[email protected]>.
15932dfd48cdSMartin Mares
15945a258860SMartin MaresThu Jan 13 23:01:52 2000  Martin Mares  <[email protected]>
15955a258860SMartin Mares
15965a258860SMartin Mares	* Released as version 2.1.3.
15975a258860SMartin Mares
15985a258860SMartin Mares	* pci.ids: New ID's.
15995a258860SMartin Mares
16005a258860SMartin Mares	* lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli.
16015a258860SMartin Mares
16025a258860SMartin Mares	* lib/access.c: Corrected order of access methods -- it's wonderful how
16035a258860SMartin Mares	long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff.
16045a258860SMartin Mares
16050c047bbeSMartin MaresSat Dec 11 23:34:48 1999  Martin Mares  <[email protected]>
16060c047bbeSMartin Mares
16070c047bbeSMartin Mares	* Released as version 2.1.2.
16080c047bbeSMartin Mares
16090c047bbeSMartin Mares	* lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
16100c047bbeSMartin Mares
161133bc28a5SMartin MaresSat Dec  4 13:11:03 1999  Martin Mares  <[email protected]>
161233bc28a5SMartin Mares
161339231205SMartin Mares	* Released as version 2.1.1.
161439231205SMartin Mares
161533bc28a5SMartin Mares	* pci.ids: Several new ID's.
161633bc28a5SMartin Mares
161733bc28a5SMartin Mares	* setpci.c (exec_op): Don't forget to increment address after writing
161833bc28a5SMartin Mares	single value, so that `30.b=12,34,56,78' works as expected. Reported
161933bc28a5SMartin Mares	by Petr Soucek <[email protected]>.
162033bc28a5SMartin Mares
16218d047897SMartin MaresWed Nov  3 10:24:38 1999  Martin Mares  <[email protected]>
16228d047897SMartin Mares
16238d047897SMartin Mares	* lspci.c (show_terse): If prog-if is zero, but it's present in the
16248d047897SMartin Mares	ID list, show it.
16258d047897SMartin Mares
16266afc6538SMartin MaresSat Oct 30 11:06:35 1999  Martin Mares  <[email protected]>
16276afc6538SMartin Mares
16286afc6538SMartin Mares	* Released as version 2.1.
16296afc6538SMartin Mares
16306afc6538SMartin Mares	* pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in
16316afc6538SMartin Mares	lots of contributed entries.
16326afc6538SMartin Mares
16338f756113SMartin MaresThu Oct 14 10:40:12 1999  Dave Jones    <[email protected]>
16348f756113SMartin Mares
16358f756113SMartin Mares	* pci.ids: Added lots of subsystem definitions.
16368f756113SMartin Mares
1637d4798a32SMartin MaresSat Oct  9 14:32:28 1999  Martin Mares  <[email protected]>
1638d4798a32SMartin Mares
1639d4798a32SMartin Mares	* setpci.man: Better example.
1640d4798a32SMartin Mares
1641d4798a32SMartin Mares	* lspci.c: Resolve prog-if names.
1642d4798a32SMartin Mares
1643d4798a32SMartin Mares	* lib/names.c: Adapted to new pci.ids syntax.
1644d4798a32SMartin Mares
1645d4798a32SMartin Mares	* pci.ids: Reorganized the pci.ids file. Subsystems are listed
1646d4798a32SMartin Mares	under devices, classes can optionally contain prog-if information.
1647d4798a32SMartin Mares	New ID's, as usually.
1648d4798a32SMartin Mares
1649e306e911SMartin MaresWed Sep 22 09:45:24 1999  Martin Mares  <[email protected]>
1650e306e911SMartin Mares
1651e306e911SMartin Mares	* pci.ids: New ID's. As usually.
1652e306e911SMartin Mares
1653e306e911SMartin Mares	* lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows
1654e306e911SMartin Mares	unless we're vvvery verbose.
1655e306e911SMartin Mares
1656e306e911SMartin MaresMon Sep 20 11:22:54 1999  Martin Mares  <[email protected]>
1657e306e911SMartin Mares
1658e306e911SMartin Mares	* lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
1659e306e911SMartin Mares
1660e64a576cSMartin MaresTue Sep 14 09:31:01 1999  Martin Mares  <[email protected]>
1661e64a576cSMartin Mares
1662e64a576cSMartin Mares	* pci.ids: New ID's. Again.
1663e64a576cSMartin Mares
1664c36c0862SMartin MaresThu Aug  5 17:45:42 1999  Martin Mares  <[email protected]>
1665c36c0862SMartin Mares
1666c36c0862SMartin Mares	* lspci.c (show_size): Don't show size if it's zero (usually
1667c36c0862SMartin Mares	due to bus-centric mode being enabled).
1668c36c0862SMartin Mares
16691ca42433SMartin MaresTue Jul 20 13:25:09 1999  Martin Mares  <[email protected]>
16701ca42433SMartin Mares
1671168b4f46SMartin Mares	* lib/pci.h: Types are OS dependent.
1672168b4f46SMartin Mares
1673168b4f46SMartin Mares	* lib/internal.h: Byte order hacks are OS dependent.
1674168b4f46SMartin Mares
1675168b4f46SMartin Mares	* lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS.
1676168b4f46SMartin Mares
1677168b4f46SMartin Mares	* lib/Makefile, lib/access.c: Added fbsd-device target.
1678168b4f46SMartin Mares
1679168b4f46SMartin Mares	* pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
1680168b4f46SMartin Mares	incorrectly set to device ID.
1681168b4f46SMartin Mares
1682168b4f46SMartin Mares	* README: Added a note that we support FreeBSD.
1683168b4f46SMartin Mares
1684168b4f46SMartin Mares	* Makefile (PREFIX, ROOT): Set it depending on the OS.
1685168b4f46SMartin Mares	(%.8): Grrr, BSD date is not able to convert date formats the same way
1686168b4f46SMartin Mares	as GNU date does. Use sed instead.
1687168b4f46SMartin Mares	(install): Use `-c' when calling install.
1688168b4f46SMartin Mares
1689168b4f46SMartin Mares	* lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed
1690168b4f46SMartin Mares	by Jari Kirma <[email protected]>.
1691168b4f46SMartin Mares
1692bc6346dfSMartin Mares	* lib/proc.c: Rewrote the pread/pwrite things once again. Use pread
1693bc6346dfSMartin Mares	and pwrite only when we are certain it's safe (i.e., glibc 2.1
1694bc6346dfSMartin Mares	on all architectures or any libc on a i386 where we really know
1695bc6346dfSMartin Mares	how to use syscalls directly). In all other cases, emulate it
1696bc6346dfSMartin Mares	with lseek/read/write.
1697bc6346dfSMartin Mares
16981ca42433SMartin Mares	* pci.ids: Some more IDs.
16991ca42433SMartin Mares
17001ca42433SMartin MaresMon Jul 19 14:10:36 1999  Martin Mares  <[email protected]>
17011ca42433SMartin Mares
17021ca42433SMartin Mares	* pci.ids: Added IDs of parallel port controller cards as sent
17031ca42433SMartin Mares	by Tim Waugh <[email protected]>.
17041ca42433SMartin Mares
1705e95c8373SMartin MaresWed Jul  7 00:55:48 1999  Martin Mares  <[email protected]>
1706e95c8373SMartin Mares
1707e95c8373SMartin Mares	* lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS.
1708e95c8373SMartin Mares
1709e95c8373SMartin Mares	* lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and
1710e95c8373SMartin Mares	HAVE_LONG_ADDRESS.
1711e95c8373SMartin Mares
1712e95c8373SMartin Mares	* lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses
1713e95c8373SMartin Mares	are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS
1714e95c8373SMartin Mares	to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS
1715e95c8373SMartin Mares	and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS
1716e95c8373SMartin Mares	on Alpha.
1717e95c8373SMartin Mares
1718e95c8373SMartin Mares	* lspci.c (show_msi): Added dumping of the MSI capability.
1719e95c8373SMartin Mares	(show_slotid): The same for SlotID capability.
1720e95c8373SMartin Mares	(show_caps): Seperated capability dumping, because it should
1721e95c8373SMartin Mares	be used for both htype0 and htype1. Even PCI 2.2 doesn't mention
1722e95c8373SMartin Mares	layout of htype2, so I'm a bit unsure about it wrt capabilities
1723e95c8373SMartin Mares	-- they at least have to live somewhere else since address 0x34
1724e95c8373SMartin Mares	is already defined differently in htype2.
1725e95c8373SMartin Mares
1726e95c8373SMartin Mares	* lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2).
1727e95c8373SMartin Mares	(PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto.
1728e95c8373SMartin Mares	(PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2.
1729e95c8373SMartin Mares
1730e95c8373SMartin Mares	* lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers
1731e95c8373SMartin Mares	(required by the PCI 2.2 specs).
1732e95c8373SMartin Mares
1733e95c8373SMartin MaresMon Jul  5 12:45:19 1999  Martin Mares  <[email protected]>
1734e95c8373SMartin Mares
1735e95c8373SMartin Mares	* lspci.c (show_size): Added new function for dumping of region sizes.
1736e95c8373SMartin Mares	(show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled
1737e95c8373SMartin Mares	ROMs et cetera.
1738e95c8373SMartin Mares
1739e95c8373SMartin Mares	* lib/pci.h (struct pci_dev): known_fields moved to the public part
1740e95c8373SMartin Mares	of the structure.
1741e95c8373SMartin Mares
1742e95c8373SMartin Mares	* Added support for region sizes. Needs support in the kernel, because
1743e95c8373SMartin Mares	sizes have to be scanned before drivers initialize yourself. pci_fill_info()
1744e95c8373SMartin Mares	now returns a bitmask of what fields were really read.
1745e95c8373SMartin Mares
174682ce97c9SMartin MaresMon Jun 28 18:37:51 1999  Dave Jones    <[email protected]>
174782ce97c9SMartin Mares
174882ce97c9SMartin Mares	* Makefile:
174982ce97c9SMartin Mares	  Added `uninstall' target - removes all traces of pciutils.
175082ce97c9SMartin Mares	* pci.ids:
175182ce97c9SMartin Mares	  - Lots of cleanups in the ATI, S3, Adaptec vendors.
175282ce97c9SMartin Mares	  - Changed Compaq QVision 1280/p definitions, as it's not possible
175382ce97c9SMartin Mares	    to determine the revision from the device ID.
175482ce97c9SMartin Mares	  - Same for the Tseng ET4000.
175582ce97c9SMartin Mares	    The id's said I had a rev C, when it was actually a rev B.
175682ce97c9SMartin Mares	  - Removed some unnecessary strings
175782ce97c9SMartin Mares	    `PCI'. Unless it's an AGP card, it should be obvious that it's PCI.
175882ce97c9SMartin Mares	    `Ethernet card'. This should be determined from config space.
175982ce97c9SMartin Mares	  - Lots of other new vendors & devices
176082ce97c9SMartin Mares	  - Other additional small cleanups.
176182ce97c9SMartin Mares
17627bed2d83SMartin MaresMon Jun 21 22:11:10 1999  Martin Mares  <[email protected]>
17637bed2d83SMartin Mares
17647bed2d83SMartin Mares	* lib/names.c (pci_lookup_name): When device ID lookup
17657bed2d83SMartin Mares	fails, return hexadecimal device ID instead of vendor ID.
17667bed2d83SMartin Mares	Well spotted by Axel Bodemann <[email protected]>,
17677bed2d83SMartin Mares	I've just extended the fix to subsystem ID's.
17687bed2d83SMartin Mares
17695ba3a475SMartin MaresThu Jun 17 19:48:21 1999  Martin Mares  <[email protected]>
17705ba3a475SMartin Mares
17715ba3a475SMartin Mares	* lspci.c (show_agp): Bug fix from Petr Vandrovec
17725ba3a475SMartin Mares	<[email protected]>. The command register was displayed
17735ba3a475SMartin Mares	incorrectly.
17745ba3a475SMartin Mares
17755ba3a475SMartin MaresWed Jun  2 22:42:44 1999  Martin Mares  <[email protected]>
17765ba3a475SMartin Mares
17775ba3a475SMartin Mares	* lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
17785ba3a475SMartin Mares	numbers if not supplied by the libc.
17795ba3a475SMartin Mares
178055c815b5SMartin MaresWed May 19 13:24:39 1999  Martin Mares  <[email protected]>
178155c815b5SMartin Mares
178255c815b5SMartin Mares	* Released the whole package as version 2.0.
178355c815b5SMartin Mares
178455c815b5SMartin MaresFri May 14 22:42:02 1999  Martin Mares  <[email protected]>
178555c815b5SMartin Mares
178655c815b5SMartin Mares	* pci.ids: Added several new ID's contributed by people
178755c815b5SMartin Mares	on the linux-pci list.
178855c815b5SMartin Mares
1789dec16943SMartin MaresMon Apr 19 15:21:08 1999  Jakub Jelinek  <[email protected]>
1790dec16943SMartin Mares
1791dec16943SMartin Mares	* lspci.c: Display I/O addresses correctly on sparc64.
1792dec16943SMartin Mares	* lib/header.h: Ditto.
1793dec16943SMartin Mares
1794dec16943SMartin Mares	* lib/configure: On sparc set HAVE_64BIT* as well, we want
1795dec16943SMartin Mares	a binary which works on both 32bit and 64bit SPARCs.
1796dec16943SMartin Mares
1797e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999  Martin Mares  <[email protected]>
1798e33c9c7aSMartin Mares
1799e33c9c7aSMartin Mares	* lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
1800e33c9c7aSMartin Mares	<[email protected]>.
1801e33c9c7aSMartin Mares
1802e33c9c7aSMartin Mares	* pci.ids: A lot of updates from Adam J. Richter <[email protected]>.
1803e33c9c7aSMartin Mares
1804f3395cc5SMartin MaresSun Feb 28 22:26:21 1999  Martin Mares  <[email protected]>
1805f3395cc5SMartin Mares
1806f3395cc5SMartin Mares	* lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
1807f3395cc5SMartin Mares	as a multi-function device, because several single-function devices
1808f3395cc5SMartin Mares	don't decode the function bits at all.
1809f3395cc5SMartin Mares
1810f3395cc5SMartin MaresSun Feb 14 23:48:22 1999  Martin Mares  <[email protected]>
1811f3395cc5SMartin Mares
1812f3395cc5SMartin Mares	* Makefile (install): Don't use "-o root -g root" for installation
1813f3395cc5SMartin Mares	since it breaks on machines where programs are not installed by root.
1814f3395cc5SMartin Mares	Reported by Richard Gooch <[email protected]>
1815f3395cc5SMartin Mares
1816f3395cc5SMartin MaresTue Feb  9 15:54:39 1999  Martin Mares  <[email protected]>
1817f3395cc5SMartin Mares
1818f3395cc5SMartin Mares	* lspci.c (show_bases): Use new address masking macros and pciaddr_t.
1819f3395cc5SMartin Mares
1820f3395cc5SMartin Mares	* lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
1821f3395cc5SMartin Mares	or 64-bit depending on CPU.
1822f3395cc5SMartin Mares
1823f3395cc5SMartin Mares	* lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
1824f3395cc5SMartin Mares	according to bus address width.
1825f3395cc5SMartin Mares
18261c31d620SMartin MaresThu Jan 28 20:54:16 1999  Martin Mares  <[email protected]>
18271c31d620SMartin Mares
18281c31d620SMartin Mares	* Released as 1.99.4.
18291c31d620SMartin Mares
18301c31d620SMartin Mares	* lspci.c: Capability list parser now recognizes both AGP
18311c31d620SMartin Mares	registers and PCI Power Management registers (the latter
18321c31d620SMartin Mares	is mainly guesswork based on DEC/Intel 21153 bridge specs
18331c31d620SMartin Mares	since I don't have the PCI Power Management document).
18341c31d620SMartin Mares
18351c31d620SMartin Mares	* lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
18361c31d620SMartin Mares	by FLAG macro.
18371c31d620SMartin Mares
18381c31d620SMartin Mares	* lspci.c: Added bridge checks to bus mapping code.
18391c31d620SMartin Mares
18401812a795SMartin MaresWed Jan 27 14:59:16 1999  Martin Mares  <[email protected]>
18411812a795SMartin Mares
18421812a795SMartin Mares	* lspci.c: Implemented bus mapping mode (-M).
18431812a795SMartin Mares
18441812a795SMartin Mares	* lspci.c (scan_devices): Split to scan_devices() and scan_device().
18451812a795SMartin Mares	(show): Split to show() and show_device().
18461812a795SMartin Mares
18471812a795SMartin Mares	* lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
18481812a795SMartin Mares	set it to the real access method afterwards.
18491812a795SMartin Mares
18501812a795SMartin MaresMon Jan 25 23:46:13 1999  Martin Mares  <[email protected]>
18511812a795SMartin Mares
18521812a795SMartin Mares	* lib/generic.c (pci_generic_fill_info): If in buscentric mode,
18531812a795SMartin Mares	don't check PCI_COMMAND for I/O and memory enables.
18541812a795SMartin Mares
1855f6c86928SMartin MaresMon Jan 25 21:28:49 1999  Martin Mares  <[email protected]>
1856f6c86928SMartin Mares
1857f6c86928SMartin Mares	* Makefile: Added target `release' which substitutes new version
1858f6c86928SMartin Mares	number to .spec, .lsm and README. Also rewrote target `dist'.
1859f6c86928SMartin Mares
1860f6c86928SMartin Mares	* Released as 1.99.3.
1861f6c86928SMartin Mares
1862b5137411SMartin MaresSun Jan 24 22:10:36 1999  Martin Mares  <[email protected]>
1863b5137411SMartin Mares
1864d6b297d0SMartin Mares	* lib/header.h: Until kernel adopts new layout of PCI
1865d6b297d0SMartin Mares	includes (i.e., separate declaration of header structure,
1866d6b297d0SMartin Mares	functions and device IDs), which is not going to happen
1867d6b297d0SMartin Mares	before 2.3, we'll use our own definiton of the header.
1868d6b297d0SMartin Mares
1869b5137411SMartin Mares	* lspci.c (show_verbose): Display `Cap' flag in device status.
1870b5137411SMartin Mares
1871b5137411SMartin Mares	* lspci.c (show_htype0): Display capability lists whereever
1872b5137411SMartin Mares	available. The only capability name we recognize now is `AGP'.
1873b5137411SMartin Mares	Unfortunately, capabilities are stored in device-dependent
1874b5137411SMartin Mares	portion of the configuration space and are thus available
1875b5137411SMartin Mares	only to root unless you read a dump.
1876b5137411SMartin Mares
1877b5137411SMartin Mares	* lspci.c (scan_devices): Use cache instead of buffering.
1878b5137411SMartin Mares
1879b5137411SMartin Mares	* lib/buffer.c: Removed (obsoleted by the cache).
1880b5137411SMartin Mares
1881b5137411SMartin Mares	* lib/access.c: Added general caching mechanism.
1882b5137411SMartin Mares
188381ce358dSMartin MaresSat Jan 23 21:30:54 1999  Martin Mares  <[email protected]>
188481ce358dSMartin Mares
188581ce358dSMartin Mares	* pci.ids: Added few devices.
188681ce358dSMartin Mares
1887727ce158SMartin MaresFri Jan 22 19:29:31 1999  Martin Mares  <[email protected]>
1888727ce158SMartin Mares
1889727ce158SMartin Mares	* Version string is now defined in top-level Makefile, exported
1890727ce158SMartin Mares	to the configure script and also substituted to man pages.
1891727ce158SMartin Mares
1892727ce158SMartin Mares	* lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
1893727ce158SMartin Mares	(show_verbose): Rewrote interrupt display logic.
1894727ce158SMartin Mares
1895727ce158SMartin Mares	* lib/i386-ports.c: Include sys/io.h only on glibc systems.
1896727ce158SMartin Mares
1897727ce158SMartin Mares	* lib/configure: Rewrote detection of Linux versions. Now it
1898727ce158SMartin Mares	works on 2.0 kernels (only with direct/dump access, of course).
1899727ce158SMartin Mares
1900727ce158SMartin Mares	* lib/internal.h: New bytesex macros using <asm/byteorder.h>
1901727ce158SMartin Mares	whenever available.
1902727ce158SMartin Mares
1903727ce158SMartin Mares	* lib/proc.c (proc_read, proc_write): Distinguish between short
1904727ce158SMartin Mares	read/write and real errors.
1905727ce158SMartin Mares
1906727ce158SMartin Mares	* lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
1907727ce158SMartin Mares	libpci respects buscentric mode automatically.
1908727ce158SMartin Mares
1909727ce158SMartin Mares	* lspci.c (show_hex_dump): For CardBus bridges, print out 128
1910727ce158SMartin Mares	bytes of header (the whole standard part).
1911727ce158SMartin Mares
1912727ce158SMartin Mares	* common.c: pcilib options are now all uppercase. Also moved
1913727ce158SMartin Mares	PCI access debugging option here.
1914727ce158SMartin Mares
1915727ce158SMartin Mares	* Released as 1.99.2.
1916727ce158SMartin Mares
1917727ce158SMartin MaresWed Jan 20 22:50:35 1999  Martin Mares  <[email protected]>
1918727ce158SMartin Mares
1919727ce158SMartin Mares	* Wrote configure script and rewrote Makefiles.
1920727ce158SMartin Mares
1921727ce158SMartin Mares	* Removed few unused variables.
1922727ce158SMartin Mares
1923727ce158SMartin MaresWed Jan 20 12:21:56 1999  Martin Mares  <[email protected]>
1924727ce158SMartin Mares
1925727ce158SMartin Mares	* common.c: Moved several functions used in both setpci and lspci
1926727ce158SMartin Mares	here. This includes parsing of libpci-related options.
1927727ce158SMartin Mares
1928727ce158SMartin Mares	* More library tweaks.
1929727ce158SMartin Mares
1930727ce158SMartin Mares	* filter.c, names.c: Moved to library.
1931727ce158SMartin Mares
1932727ce158SMartin Mares	* setpci: Rewritten to use the library.
1933727ce158SMartin Mares
1934727ce158SMartin Mares	* Released as 1.99.1.
1935727ce158SMartin Mares
1936727ce158SMartin MaresTue Jan 19 23:00:12 1999  Martin Mares  <[email protected]>
1937727ce158SMartin Mares
1938727ce158SMartin Mares	* lspci.c (scan_devices): For cardbus bridges, read first 128
1939727ce158SMartin Mares	bytes of config space to get full standard header.
1940727ce158SMartin Mares
1941727ce158SMartin Mares	* Makefile (CFLAGS): Removed "-Wno-unused".
1942727ce158SMartin Mares
1943727ce158SMartin Mares	* Started the "New Generation" branch and introduced the
1944727ce158SMartin Mares	PCI library.
1945727ce158SMartin Mares
1946727ce158SMartin Mares	* lspci: Rewritten to use the library.
1947727ce158SMartin Mares
19486ece6bc6SMartin MaresTue Jan 19 22:24:08 1999  Martin Mares  <[email protected]>
19496ece6bc6SMartin Mares
19506ece6bc6SMartin Mares	* Released as version 1.10.
19516ece6bc6SMartin Mares
19526ece6bc6SMartin MaresMon Jan 18 08:51:17 1999  Martin Mares  <[email protected]>
19536ece6bc6SMartin Mares
19546ece6bc6SMartin Mares	* lspci.8, setpci.8: Miscellaneous fixes as suggested by
19556ece6bc6SMartin Mares	Dag Wieers <[email protected]>.
19566ece6bc6SMartin Mares
19571212dd6dSMartin MaresSun Nov 29 20:05:56 1998  Martin Mares  <[email protected]>
19581212dd6dSMartin Mares
19591212dd6dSMartin Mares	* pciutils.spec (Name): Update from Krzysztof G. Baranowski.
19601212dd6dSMartin Mares
1961d38471fdSMartin MaresSun Nov 22 10:49:56 1998  Martin Mares  <[email protected]>
1962d38471fdSMartin Mares
1963d38471fdSMartin Mares	* Makefile, pciutils.h: Moved pci.ids to /usr/share.
1964d38471fdSMartin Mares
1965d38471fdSMartin Mares	* Released as version 1.09.
1966d38471fdSMartin Mares
1967371f605bSMartin MaresWed Nov 18 15:47:05 1998  Martin Mares  <[email protected]>
1968371f605bSMartin Mares
1969371f605bSMartin Mares	* lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
1970371f605bSMartin Mares	bridge. Thanks to Petr Vandrovec <[email protected]> for bug report.
1971371f605bSMartin Mares
197210be47abSMartin MaresFri Oct 23 18:59:19 1998  Martin Mares  <[email protected]>
197310be47abSMartin Mares
197410be47abSMartin Mares	* setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
197510be47abSMartin Mares
1976472bd340SMartin MaresMon Oct 19 21:53:30 1998  Martin Mares  <[email protected]>
1977472bd340SMartin Mares
1978472bd340SMartin Mares	* Released as version 1.08.
1979472bd340SMartin Mares
1980472bd340SMartin Mares	* setpci.c: glibc 2.1.x already defines pread() and pwrite().
1981472bd340SMartin Mares
1982472bd340SMartin Mares	* lspci.8: Changed warning about lspci -xxx.
1983472bd340SMartin Mares
1984472bd340SMartin Mares	* lspci.c: Require "-xxx" for full configuration space dump, so that
1985472bd340SMartin Mares	it's impossible to crash the machine by single typo.
1986472bd340SMartin Mares
1987472bd340SMartin Mares	* specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>).
1988472bd340SMartin Mares
1989072c77e5SMartin MaresWed Sep  9 12:03:24 1998  Martin Mares  <[email protected]>
1990072c77e5SMartin Mares
1991072c77e5SMartin Mares	* lspci.c (show_bases): Better displaying of unassigned and
1992072c77e5SMartin Mares	disabled bases. Thanks to Gabriel Paubert <[email protected]>
1993072c77e5SMartin Mares	for an idea.
1994072c77e5SMartin Mares
1995b7554856SMartin MaresWed Sep  2 10:58:01 1998  Martin Mares  <[email protected]>
1996b7554856SMartin Mares
1997b7554856SMartin Mares	* setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
1998b7554856SMartin Mares	(thanks to Geert Uytterhoeven for finding this out)
1999b7554856SMartin Mares
2000ce503b7fSMartin MaresFri Jul 17 10:43:30 1998  Martin Mares  <[email protected]>
2001ce503b7fSMartin Mares
2002ce503b7fSMartin Mares	* lspci.c (show_verbose): Print subsystem ID using the new resolver.
2003ce503b7fSMartin Mares	(show_machine): Print subsystem ID.
2004ce503b7fSMartin Mares
2005ce503b7fSMartin Mares	* names.c: New name resolution engine supporting subsystem IDs.
2006ce503b7fSMartin Mares
2007ce503b7fSMartin Mares	* Released as version 1.07.
2008ce503b7fSMartin Mares
200996e4f295SMartin MaresWed Jul 15 15:37:21 1998  Martin Mares  <[email protected]>
201096e4f295SMartin Mares
201196e4f295SMartin Mares	* lspci.c (show_htype2 etc.): Displaying of CardBus headers.
201296e4f295SMartin Mares	(show_bases): Honor the `cnt' argument.
201396e4f295SMartin Mares	(grow_tree): Parse CardBus headers in tree mode as well.
201496e4f295SMartin Mares
201596e4f295SMartin Mares	* pci.h: Updated CardBus header field description. I still don't
201696e4f295SMartin Mares	have the CardBus standard available, but OZ6832 specs contain
201796e4f295SMartin Mares	full description of all header fields supported by the chip.
201896e4f295SMartin Mares
20196ae3650aSMartin MaresTue Jun  9 22:53:59 1998  Martin Mares  <[email protected]>
20206ae3650aSMartin Mares
2021304f9a0bSMartin Mares	* Released as 1.06.
2022304f9a0bSMartin Mares
20236ae3650aSMartin Mares	* names.c (parse_name_list): Killed an unused variable.
20246ae3650aSMartin Mares
20256ae3650aSMartin Mares	* setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
20266ae3650aSMartin Mares	if they are not defined by glibc (needed for glibc built on older
20276ae3650aSMartin Mares	kernels). Ugly.
20286ae3650aSMartin Mares
20296ae3650aSMartin Mares	* setpci.c (exec_op): Fixed error messages. Thanks, Steve!
20306ae3650aSMartin Mares
20314b88a6b8SMartin MaresMon Jun  8 10:59:22 1998  Martin Mares  <[email protected]>
20324b88a6b8SMartin Mares
20334b88a6b8SMartin Mares	* Released as 1.05.
20344b88a6b8SMartin Mares
20354b88a6b8SMartin Mares	* setpci.c: Problems with pread()/pwrite() with glibc on Alpha
20364b88a6b8SMartin Mares	should be gone. Again thanks to Steve for bug report.
20374b88a6b8SMartin Mares
20384b88a6b8SMartin Mares	* filter.c (filter_parse_slot): Fixed ":x" type filters.
20394b88a6b8SMartin Mares
20404b88a6b8SMartin Mares	* pci.ids: Killed duplicate entry. Thanks to Stephen Williams
20414b88a6b8SMartin Mares	<[email protected]> for reporting this.
20424b88a6b8SMartin Mares
20434b88a6b8SMartin MaresSun Jun  7 19:27:51 1998  Martin Mares  <[email protected]>
20444b88a6b8SMartin Mares
20454b88a6b8SMartin Mares	* lspci.c (main), setpci.c (main): Implemented "--version".
20464b88a6b8SMartin Mares
20474b88a6b8SMartin Mares	* Released as 1.04.
20484b88a6b8SMartin Mares
20494b88a6b8SMartin Mares	* pciutils.h (PCIUTILS_VERSION): Added version string.
20504b88a6b8SMartin Mares
20514b88a6b8SMartin Mares	* filter.c, names.c: Extraneous #include <linux/pci.h> removed.
20524b88a6b8SMartin Mares	Thanks to Geert Uytterhoeven <[email protected]>
20534b88a6b8SMartin Mares	for bug report.
20544b88a6b8SMartin Mares
20559b306998SMartin MaresThu May 28 14:45:58 1998  Martin Mares  <[email protected]>
20569b306998SMartin Mares
20579b306998SMartin Mares	* pci.ids: More updates from Jens Maurer.
20589b306998SMartin Mares
2059b372672fSMartin MaresWed Apr 22 10:00:39 1998  Martin Mares  <[email protected]>
2060b372672fSMartin Mares
2061b372672fSMartin Mares	* pci.ids: Updates from Jens Maurer.
2062b372672fSMartin Mares
2063b2c9b373SMartin MaresSun Apr 19 11:14:25 1998  Martin Mares  <[email protected]>
2064b2c9b373SMartin Mares
2065b372672fSMartin Mares	* Released as 1.03.
2066b372672fSMartin Mares
2067b2c9b373SMartin Mares	* setpci.8: Written.
2068b2c9b373SMartin Mares
2069b2c9b373SMartin Mares	* setpci.c: Finished.
2070b2c9b373SMartin Mares
2071b2c9b373SMartin Mares	* lspci.c: Now able to fetch expansion ROM base from kernel device list
2072b2c9b373SMartin Mares	and print it if not in buscentric mode.
2073b2c9b373SMartin Mares
2074e4842ff3SMartin MaresTue Mar 31 23:11:57 1998  Martin Mares  <[email protected]>
2075e4842ff3SMartin Mares
2076e4842ff3SMartin Mares	* setpci.c: Added.
2077e4842ff3SMartin Mares
2078e4842ff3SMartin MaresSun Mar 22 15:39:08 1998  Martin Mares  <[email protected]>
2079e4842ff3SMartin Mares
2080e4842ff3SMartin Mares	* lspci.8: Updated the documentation.
2081e4842ff3SMartin Mares
2082e4842ff3SMartin Mares	* lspci.c: Modified to use the new filtering mechanism (options -f and -d).
2083e4842ff3SMartin Mares
2084e4842ff3SMartin Mares	* filter.c: Introduced new generic device filter.
2085e4842ff3SMartin Mares
2086008407bdSMartin MaresThu Mar 19 17:03:48 1998  Martin Mares  <[email protected]>
2087008407bdSMartin Mares
2088008407bdSMartin Mares	* lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
2089008407bdSMartin Mares	of PCI-to-PCI bridges in the tree format.
2090008407bdSMartin Mares
20910a33d0ecSMartin MaresSun Feb 15 10:12:25 1998  Martin Mares  <[email protected]>
20920a33d0ecSMartin Mares
20930a33d0ecSMartin Mares	* lspci.c (show_machine): Added non-verbose mode of machine-readable
20940a33d0ecSMartin Mares	dump.
20950a33d0ecSMartin Mares
20960a33d0ecSMartin Mares	* pci.ids: Updates from Jens Maurer.
20970a33d0ecSMartin Mares
20980a33d0ecSMartin Mares	* Released as version 1.02.
20990a33d0ecSMartin Mares
21000a33d0ecSMartin MaresThu Feb 12 16:53:28 1998  Martin Mares  <[email protected]>
21010a33d0ecSMartin Mares
21020a33d0ecSMartin Mares	* lspci.c: Added a "-m" switch for dumping machine-readable
21030a33d0ecSMartin Mares	configuration data (requested by Bjoern Kriews <[email protected]>).
21040a33d0ecSMartin Mares
2105fb38eee8SMartin MaresMon Feb  9 13:17:43 1998  Martin Mares  <[email protected]>
2106fb38eee8SMartin Mares
2107fb38eee8SMartin Mares	* Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
2108fb38eee8SMartin Mares	if available. This should avoid all problems with official kernel
2109fb38eee8SMartin Mares	not synchronized to newer PCI code in CVS -- standard distribution
2110fb38eee8SMartin Mares	of pciutils now contains pci.h from current CVS kernel, pciutils
2111fb38eee8SMartin Mares	in CVS contain no pci.h and use the correct kernel include.
2112fb38eee8SMartin Mares
2113fb38eee8SMartin Mares	* Makefile: Fixed installation path for man pages.
2114fb38eee8SMartin Mares
21152f48f637SMartin MaresSat Feb  7 15:15:46 1998  Martin Mares  <[email protected]>
21162f48f637SMartin Mares
21172f48f637SMartin Mares	* README: Updated.
21182f48f637SMartin Mares
21192f48f637SMartin Mares	* lspci.8: Created a man page.
21202f48f637SMartin Mares
21212f48f637SMartin Mares	* Releasing as version 1.0.
21222f48f637SMartin Mares
21232f48f637SMartin MaresTue Feb  3 20:56:00 1998  Martin Mares  <[email protected]>
21242f48f637SMartin Mares
21252f48f637SMartin Mares	* Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
21262f48f637SMartin Mares	to all the C sources. This should eliminate problems with 32-bit compilers
21272f48f637SMartin Mares	on sparc64.
21282f48f637SMartin Mares
21292f48f637SMartin Mares	* lspci.c (show_verbose): Recognize CardBus bridge header type.
21302f48f637SMartin Mares	(show_htype2): Stub routine.
21312f48f637SMartin Mares	(scan_config): Write sensible error message if the kernel denies reading of
21322f48f637SMartin Mares	upper part of the PCI config space.
2133