xref: /pciutils/ChangeLog (revision b3fb64ce)
1*b3fb64ceSMartin Mares2018-06-30  Martin Mares <[email protected]>
2*b3fb64ceSMartin Mares
3*b3fb64ceSMartin Mares	* Released as 3.6.0.
4*b3fb64ceSMartin Mares
5*b3fb64ceSMartin Mares	* BARs reported by the OS, but not set on the device itself are
6*b3fb64ceSMartin Mares	  reliably marked with "[virtual]".
7*b3fb64ceSMartin Mares
8*b3fb64ceSMartin Mares	* Library: Introduced a generic mechanism of string properties. This
9*b3fb64ceSMartin Mares	  avoids lots of special cases and makes ABI compatibility easier.
10*b3fb64ceSMartin Mares
11*b3fb64ceSMartin Mares	* On Linux systems with OpenFirmware, report corresponding device tree nodes
12*b3fb64ceSMartin Mares	  as device properties.
13*b3fb64ceSMartin Mares
14*b3fb64ceSMartin Mares	* VPD decoder knows several non-standard extensions.
15*b3fb64ceSMartin Mares
16*b3fb64ceSMartin Mares	* When PCIe link speed is less than the maximum supported by the
17*b3fb64ceSMartin Mares	  device, it is explicitly marked as "downgraded".
18*b3fb64ceSMartin Mares
19*b3fb64ceSMartin Mares	* Several new capabilities are not decoded yet, but at least their
20*b3fb64ceSMartin Mares	  names are printed.
21*b3fb64ceSMartin Mares
22*b3fb64ceSMartin Mares	* The Null capability is easily decoded.
23*b3fb64ceSMartin Mares
24*b3fb64ceSMartin Mares	* Formatting of several capabilities was cleaned up.
25*b3fb64ceSMartin Mares
26*b3fb64ceSMartin Mares	* The VGA16 bit in the bridge control register is now supported.
27*b3fb64ceSMartin Mares
28*b3fb64ceSMartin Mares	* Added a port to SylixOS. Thanks to YuJian Gong for contribution.
29*b3fb64ceSMartin Mares
30*b3fb64ceSMartin Mares	* Added a port to DOS/DJGPP. Thanks to Rudolf Marek for contribution.
31*b3fb64ceSMartin Mares
32*b3fb64ceSMartin Mares	* The order in which back-ends are probed was decoupled from the
33*b3fb64ceSMartin Mares	  internal back-end IDs. This helps, because new back-ends must have
34*b3fb64ceSMartin Mares	  their ID allocated at the end to keep the ABI, but they might need
35*b3fb64ceSMartin Mares	  to be proved earlier.
36*b3fb64ceSMartin Mares
37*b3fb64ceSMartin Mares	* The fbsd-device back-end should work again.
38*b3fb64ceSMartin Mares
39*b3fb64ceSMartin Mares	* Fixed a couple of bugs. Most notably, DeviceName was not printed.
40*b3fb64ceSMartin Mares
41*b3fb64ceSMartin Mares	* As usually, updated pci.ids to the current snapshot of the database.
42*b3fb64ceSMartin Mares
43b72f3827SMartin Mares2017-11-17  Martin Mares <[email protected]>
44b72f3827SMartin Mares
45b72f3827SMartin Mares	* Released as 3.5.6.
46b72f3827SMartin Mares
47b72f3827SMartin Mares	* Improvements of the FreeBSD back-end: read-only access for non-root,
48b72f3827SMartin Mares	  support DragonFly BSD, support extended config space.
49b72f3827SMartin Mares
50b72f3827SMartin Mares	* MN VPD keyword is decoded correctly.
51b72f3827SMartin Mares
52b72f3827SMartin Mares	* As usually, updated pci.ids to the current snapshot of the database.
53b72f3827SMartin Mares
54dfd15a80SMartin Mares2017-07-05  Martin Mares <[email protected]>
55dfd15a80SMartin Mares
56dfd15a80SMartin Mares	* Released as 3.5.5.
57dfd15a80SMartin Mares
58dfd15a80SMartin Mares	* Better decoding of AER capability.
59dfd15a80SMartin Mares
60dfd15a80SMartin Mares	* "Slot Implemented" flag is decoded for PCI/PCI-X to PCIe bridges.
61dfd15a80SMartin Mares
62dfd15a80SMartin Mares	* Minor fixes of decoding other capabilities.
63dfd15a80SMartin Mares
64dfd15a80SMartin Mares	* As usually, updated pci.ids to the current snapshot of the database.
65dfd15a80SMartin Mares
669f9e373bSMartin Mares2017-02-25  Martin Mares <[email protected]>
679f9e373bSMartin Mares
689f9e373bSMartin Mares	* Released as 3.5.4.
699f9e373bSMartin Mares
709f9e373bSMartin Mares	* Previous version broke compilation on systems, for which lib/types.h
719f9e373bSMartin Mares	  did not provide a 64-bit integer type. It is provided everywhere now.
729f9e373bSMartin Mares
732ee7d45aSMartin Mares2017-02-15  Martin Mares <[email protected]>
742ee7d45aSMartin Mares
752ee7d45aSMartin Mares	* Released as 3.5.3.
762ee7d45aSMartin Mares
772ee7d45aSMartin Mares	* When lspci looks for Linux kernel modules, it uses the default
782ee7d45aSMartin Mares	  path to module directory provided by libkmod. Previously,
792ee7d45aSMartin Mares	  it tried to construct the path explicitly, which need not
802ee7d45aSMartin Mares	  work on all systems.
812ee7d45aSMartin Mares
822ee7d45aSMartin Mares	* Improved formatting of memory and I/O ranges behind a bridge.
832ee7d45aSMartin Mares
842ee7d45aSMartin Mares	* PCIe link capabilities now display GEN4 speed (16GT/s).
852ee7d45aSMartin Mares
862ee7d45aSMartin Mares	* PCIe device capabilities now show bits related to atomic operations.
872ee7d45aSMartin Mares	  Thanks to Satanand Burla for a patch.
882ee7d45aSMartin Mares
892ee7d45aSMartin Mares	* As usually, updated pci.ids to the current snapshot of the database.
902ee7d45aSMartin Mares
914a190235SMartin Mares2016-10-03  Martin Mares <[email protected]>
924a190235SMartin Mares
934a190235SMartin Mares	* Released as 3.5.2.
944a190235SMartin Mares
954a190235SMartin Mares	* The L1 power management capability is now decoded more
964a190235SMartin Mares	  thoroughly. Thanks to Rajat Jain for the patch.
974a190235SMartin Mares
984a190235SMartin Mares	* The table of configuration registers used by setpci
994a190235SMartin Mares	  had a bug in the definition of SUBSYSTEM_VENDOR_ID.
1004a190235SMartin Mares
1012f8b8f9fSMartin Mares2016-05-22  Martin Mares <[email protected]>
1022f8b8f9fSMartin Mares
1032f8b8f9fSMartin Mares	* Released as 3.5.1.
1042f8b8f9fSMartin Mares
1052f8b8f9fSMartin Mares	* Fixed symbol versioning of pci_init().
1062f8b8f9fSMartin Mares
107ab6ed5fdSMartin Mares2016-05-19  Martin Mares <[email protected]>
108ab6ed5fdSMartin Mares
109ab6ed5fdSMartin Mares	* Released as 3.5.0.
110ab6ed5fdSMartin Mares
111ab6ed5fdSMartin Mares	* New capabilities decoded: Downstream Port Containment,
112ab6ed5fdSMartin Mares	  Precision Time Measurement. Thanks to Keith Busch and
113ab6ed5fdSMartin Mares	  Jonathan Yong.
114ab6ed5fdSMartin Mares
115ab6ed5fdSMartin Mares	* Domain numbers extended to 31 bits. This will be used by the
116ab6ed5fdSMartin Mares	  Linux kernel on some machines in near future.
117ab6ed5fdSMartin Mares
118ab6ed5fdSMartin Mares	* Enhanced allocation regions are now decoded on Linux.
119ab6ed5fdSMartin Mares
120ab6ed5fdSMartin Mares	* The NetBSD back-end supports PCIe extended configuration space.
121ab6ed5fdSMartin Mares
122ab6ed5fdSMartin Mares	* Updated pci.ids to the current snapshot of the database.
123ab6ed5fdSMartin Mares
12437c9315cSMartin Mares2016-01-03  Martin Mares <[email protected]>
12537c9315cSMartin Mares
12637c9315cSMartin Mares	* Released as 3.4.1.
12737c9315cSMartin Mares
12837c9315cSMartin Mares	* New capabilities decoded: Process Address Space, Page Request
12937c9315cSMartin Mares	  Interface, Enhanced Allocation. Thanks to David Daney and
13037c9315cSMartin Mares	  David Woodhouse.
13137c9315cSMartin Mares
13237c9315cSMartin Mares	* DevCap SlotPowerLimit is now decoded for all components with
13337c9315cSMartin Mares	  upstream ports.
13437c9315cSMartin Mares
13537c9315cSMartin Mares	* Database mirror at SourceForge moved to GitHub.
13637c9315cSMartin Mares
13737c9315cSMartin Mares	* Updated pci.ids to the current snapshot of the database.
13837c9315cSMartin Mares
139508c53ebSMartin Mares2015-09-14  Martin Mares <[email protected]>
140508c53ebSMartin Mares
141508c53ebSMartin Mares	* Released as 3.4.0.
142508c53ebSMartin Mares
143508c53ebSMartin Mares	* On Linux, we report NUMA nodes of devices.
144508c53ebSMartin Mares
145508c53ebSMartin Mares	* The sysfs back-end does not die on read errors
146508c53ebSMartin Mares	  of optional attributes. Instead, a warning is produced.
147508c53ebSMartin Mares
148508c53ebSMartin Mares	* Fixed several minor bugs.
149508c53ebSMartin Mares
150508c53ebSMartin Mares	* Updated pci.ids to the current snapshot of the database.
151508c53ebSMartin Mares
152949f4469SMartin Mares2015-04-09  Martin Mares <[email protected]>
153949f4469SMartin Mares
154949f4469SMartin Mares	* Released as 3.3.1.
155949f4469SMartin Mares
156949f4469SMartin Mares	* Removed hacks for backward compatibility with Linux libc5,
157949f4469SMartin Mares	  which were breaking newer non-glibc Linux systems. Thanks
158949f4469SMartin Mares	  to Felix Janda.
159949f4469SMartin Mares
160949f4469SMartin Mares	* Display VirtIO vendor-specific capability. Patch by Gerd
161949f4469SMartin Mares	  Hoffmann.
162949f4469SMartin Mares
163949f4469SMartin Mares	* Fixed memory leak in name cache.
164949f4469SMartin Mares
1653bc4dd2cSMartin Mares	* Updated pci.ids to the current snapshot of the database.
1663bc4dd2cSMartin Mares
167f14d4d87SMartin Mares2014-11-10  Martin Mares <[email protected]>
168f14d4d87SMartin Mares
1691481a1caSMartin Mares	* Released as 3.3.0.
1701481a1caSMartin Mares	  (celebrating a one-year anniversary of the previous version :))
17128617b24SMartin Mares
17228617b24SMartin Mares	* Device names exported by BIOS are displayed on Linux.
17328617b24SMartin Mares
17428617b24SMartin Mares	* On Linux systems, HWDB is used to look up device names
17528617b24SMartin Mares	  when our ID database gives no match. (More precisely,
17628617b24SMartin Mares	  HWDB is consulted after local pci.ids, but before using
17728617b24SMartin Mares	  network to query online pci.ids.) Thanks to Tom Gundersen
17828617b24SMartin Mares	  for the initial patch.
17928617b24SMartin Mares
18028617b24SMartin Mares	* Added experimental back-end for OS X / Darwin. Thanks to
18128617b24SMartin Mares	  Richard Yao for providing it.
18228617b24SMartin Mares
183afb881ccSMartin Mares	* Filters now support matching by device class. Original
184afb881ccSMartin Mares	  patch by Matthew Wilcox, wrappers for ABI compatibility
185afb881ccSMartin Mares	  by me.
186afb881ccSMartin Mares
18728617b24SMartin Mares	* Interrupt Pin and Interrupt Line registers are displayed
18828617b24SMartin Mares	  for bridge devices, too.
18928617b24SMartin Mares
19028617b24SMartin Mares	* Several portability bugs have been fixed.
19128617b24SMartin Mares
19228617b24SMartin Mares	* Several typos have been fixed. Also, use of questionable
19328617b24SMartin Mares	  constructs in man pages has been reduced.
19428617b24SMartin Mares
19528617b24SMartin Mares	* PCIe link capabilities now include the ASPMOptComp bit.
19628617b24SMartin Mares
19728617b24SMartin Mares	* The "CRS Software Visibility" bit is now decoded properly.
19828617b24SMartin Mares
19928617b24SMartin Mares	* Updated pci.ids to the current snapshot of the database.
20028617b24SMartin Mares
201dc49926aSMartin Mares2013-11-10  Martin Mares <[email protected]>
202dc49926aSMartin Mares
203dc49926aSMartin Mares	* Released as 3.2.1.
204dc49926aSMartin Mares
205dc49926aSMartin Mares	* CardBus bridge capabilities are displayed.
206dc49926aSMartin Mares
207dc49926aSMartin Mares	* PCIe L1 PM substates are decoded.
208dc49926aSMartin Mares
209dc49926aSMartin Mares	* Various bugs were fixed in decoding of PCIe capabilities.
210dc49926aSMartin Mares
211dc49926aSMartin Mares	* The sysfs back-end does not spit out unnecessary warnings when
212dc49926aSMartin Mares	  empty slots report only a partial device address. This actually
213dc49926aSMartin Mares	  happens on IBM pSeries.
214dc49926aSMartin Mares
215dc49926aSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
216dc49926aSMartin Mares
2176a4909eeSMartin Mares2013-04-19  Martin Mares <[email protected]>
2186a4909eeSMartin Mares
2196a4909eeSMartin Mares	* Released as 3.2.0.
2206a4909eeSMartin Mares
2216a4909eeSMartin Mares	* On newer Linux systems, we use libkmod to look up kernel modules
22269a77b5cSMartin Mares	  (modules.pcimap no longer exists). To facilitate this, libpci
2236a4909eeSMartin Mares	  is able to look up module aliases in sysfs.
2246a4909eeSMartin Mares
2256a4909eeSMartin Mares	* Various minor bug fixes.
2266a4909eeSMartin Mares
2276a4909eeSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
2286a4909eeSMartin Mares
22927c0f3acSMartin Mares2012-06-25  Martin Mares <[email protected]>
23027c0f3acSMartin Mares
23127c0f3acSMartin Mares	* Released as 3.1.10.
23227c0f3acSMartin Mares
23327c0f3acSMartin Mares	* Decoding of LTR/OBFF in PCIe capabilities.
23427c0f3acSMartin Mares
23527c0f3acSMartin Mares	* Various minor bug fixes.
23627c0f3acSMartin Mares
23727c0f3acSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
23827c0f3acSMartin Mares
23968e5ff17SMartin Mares2012-01-14  Martin Mares <[email protected]>
24068e5ff17SMartin Mares
24168e5ff17SMartin Mares	* Released as 3.1.9.
24268e5ff17SMartin Mares
24368e5ff17SMartin Mares	* Updated README.
24468e5ff17SMartin Mares
2456a4909eeSMartin Mares	* Wherever we mention the PCI ID database, we now refer to
24668e5ff17SMartin Mares	  http://pci-ids.ucw.cz/ and the sf.net site is mentioned only
24768e5ff17SMartin Mares	  as a mirror. This includes update-pciids.
24868e5ff17SMartin Mares
24968e5ff17SMartin Mares	* Decode PCIe Gen 3 speeds and link status fields.
25068e5ff17SMartin Mares
25168e5ff17SMartin Mares	* Various minor bug fixes.
25268e5ff17SMartin Mares
25368e5ff17SMartin Mares	* Updated pci.ids to the today's snapshot of the database.
25468e5ff17SMartin Mares
255a70dab15SMartin Mares2011-10-02  Martin Mares <[email protected]>
256a70dab15SMartin Mares
257a70dab15SMartin Mares	* Released as 3.1.8.
258a70dab15SMartin Mares
259a70dab15SMartin Mares	* More capabilities: Transaction Processing Hints, Latency Tolerance
260a70dab15SMartin Mares	Reporting. Thanks to Jesse Barnes.
261a70dab15SMartin Mares
262a70dab15SMartin Mares	* Added BeOS and Haiku ports. Contributed by Francois Revol.
263a70dab15SMartin Mares
264a70dab15SMartin Mares	* pciutils.pc now uses Libs.private properly.
265a70dab15SMartin Mares
266a70dab15SMartin Mares	* When we format a name and it does not fit in the buffer, we truncate
267a70dab15SMartin Mares	it instead of returning "buffer too small" instead. This works on all
268a70dab15SMartin Mares	platforms with sane (i.e., C99-compatible) snprintf().
269a70dab15SMartin Mares
270a70dab15SMartin Mares	* Various minor bug fixes.
271a70dab15SMartin Mares
272a70dab15SMartin Mares	* Updated pci.ids to the today's snapshot of the database.
273a70dab15SMartin Mares
2746bc2bc1cSMartin Mares2010-01-31  Martin Mares <[email protected]>
2756bc2bc1cSMartin Mares
2766bc2bc1cSMartin Mares	* Released as 3.1.7.
2776bc2bc1cSMartin Mares
2786bc2bc1cSMartin Mares	* Minor improvements and bug fixes in decoding of the Virtual Channel
2796bc2bc1cSMartin Mares	capability.
2806bc2bc1cSMartin Mares
281e3a052daSMartin Mares2010-01-24  Martin Mares <[email protected]>
282e3a052daSMartin Mares
283e3a052daSMartin Mares	* Released as 3.1.6.
284e3a052daSMartin Mares
285e3a052daSMartin Mares	* More capabilities decoded: Virtual Channel (except arbitration
286e3a052daSMartin Mares	tables), Root Complex Link, Vendor-Specific (header only), SATA HBA.
287e3a052daSMartin Mares
288e3a052daSMartin Mares	* All extended capabilities have their version displayed (-vv or more).
289e3a052daSMartin Mares
2909978b6fdSMartin Mares2010-01-19  Martin Mares <[email protected]>
2919978b6fdSMartin Mares
2929978b6fdSMartin Mares	* Released as 3.1.5.
2939978b6fdSMartin Mares
2949978b6fdSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
2959978b6fdSMartin Mares
2969978b6fdSMartin Mares	* When scanning extended capabilities, properly mask the lowest 2 bits,
2979978b6fdSMartin Mares	  which are currently reserved. This avoids unaligned access errors on
2989978b6fdSMartin Mares	  broken hardware (see tests/broken-ecaps).
2999978b6fdSMartin Mares
3009978b6fdSMartin Mares	* Large bar sizes are displayed in human-readable format (with units).
3019978b6fdSMartin Mares	  Thanks to Matthew Wilcox.
3029978b6fdSMartin Mares
3039978b6fdSMartin Mares	* Physical slot information is displayed correctly for multi-function cards.
3049978b6fdSMartin Mares	  Fixed by Matthew Wilcox.
3059978b6fdSMartin Mares
3069978b6fdSMartin Mares	* Fixed a couple of typos everywhere.
3079978b6fdSMartin Mares
3089978b6fdSMartin Mares	* Library: Fixed bugs in freeing of capabilities.
3099978b6fdSMartin Mares
3109978b6fdSMartin Mares	* Windows back-end compiles again.
3119978b6fdSMartin Mares
312c67775bcSMartin Mares2009-08-14  Martin Mares <[email protected]>
313c67775bcSMartin Mares
314ebb9bc54SMartin Mares	* Released as 3.1.4.
315ebb9bc54SMartin Mares	  (sorry that I have missed 22/7 and released it later :-))
316c67775bcSMartin Mares
317c67775bcSMartin Mares	* Updated pci.ids to the today's snapshot of the database.
318c67775bcSMartin Mares
319c67775bcSMartin Mares	* Fixed memory and file descriptor leak in the dump back-end.
320c67775bcSMartin Mares
321c67775bcSMartin Mares	* The SR-IOV capability decoder now prints the VF BAR's.
322c67775bcSMartin Mares	Patch by Chris Wright, cleaned up by me.
323c67775bcSMartin Mares
324c67775bcSMartin Mares	* On request of certain company's lawyers, we now include a copy
325c67775bcSMartin Mares	of the GPL with our package. It seems that the pciutils are getting
326c67775bcSMartin Mares	mature if the most important bug of the month was this one ;-)
327c67775bcSMartin Mares
32810df48cbSMartin Mares2009-07-04  Martin Mares <[email protected]>
32910df48cbSMartin Mares
33010df48cbSMartin Mares	* Released as 3.1.3.
33110df48cbSMartin Mares
33210df48cbSMartin Mares	* Updated pci.ids to the current snapshot of the database.
33310df48cbSMartin Mares
33410df48cbSMartin Mares	* The VPD parser now reports unknown and vendor-defined items
33510df48cbSMartin Mares	properly. It also stops on any item in unknown format, avoiding long
33610df48cbSMartin Mares	output on bogus VPD data. Thanks to Ben Hutchings and Matthew Wilcox.
33710df48cbSMartin Mares
33810df48cbSMartin Mares	* The MSI-X table size now matches the spec. Thanks to Michael S.
33910df48cbSMartin Mares	Tsirkin.
34010df48cbSMartin Mares
34110df48cbSMartin Mares	* The Power Management capability now includes the soft reset bit.
34210df48cbSMartin Mares	Thanks to Yu Zhao.
34310df48cbSMartin Mares
34410df48cbSMartin Mares	* Decoding of the Advanced Features capability has been added.
34510df48cbSMartin Mares	Thanks to Yu Zhao.
34610df48cbSMartin Mares
34710df48cbSMartin Mares	* The whole package compiles on GNU/kFreeBSD again.
34810df48cbSMartin Mares
34910df48cbSMartin Mares	The following patches have been contributed by Matthew Wilcox:
35010df48cbSMartin Mares
35110df48cbSMartin Mares	* The procfs back-end is able to cope with /proc/bus/pci
35210df48cbSMartin Mares	containing names with domains, which occur on sparc64 and
35310df48cbSMartin Mares	possibly other architectures due to a kernel bug.
35410df48cbSMartin Mares
35510df48cbSMartin Mares	* The sysfs back-end no longer complains when a slot address
35610df48cbSMartin Mares	is missing, which happens with old versions of Linux fakephp.
35710df48cbSMartin Mares
35810df48cbSMartin Mares	* The Device Serial Number capability is printed in the right
35910df48cbSMartin Mares	byte order.
36010df48cbSMartin Mares
36110df48cbSMartin Mares	* The MSI and MSI-X capabilities are printed in a prettier way.
36210df48cbSMartin Mares
36310df48cbSMartin Mares	* The tree output mode (`lspci -t') shows domain numbers only
36410df48cbSMartin Mares	at the root, which makes the output more compact.
36510df48cbSMartin Mares
36610df48cbSMartin Mares	* Updated documentation on the bus mapping mode (`lspci -M').
36710df48cbSMartin Mares
36834683007SMartin Mares2009-02-01  Martin Mares <[email protected]>
36934683007SMartin Mares
37034683007SMartin Mares	* Released as 3.1.2.
37134683007SMartin Mares
37234683007SMartin Mares	* Fixed another silly bug in the command-line parser of setpci.
37334683007SMartin Mares
374f6523e28SMartin Mares2009-01-30  Martin Mares <[email protected]>
375f6523e28SMartin Mares
376f6523e28SMartin Mares	* Released as 3.1.1.
377f6523e28SMartin Mares
378f6523e28SMartin Mares	* Updated pci.ids to the current snapshot of the database.
379f6523e28SMartin Mares
380f6523e28SMartin Mares	* The configure script now sets LC_ALL to avoid being fooled by
381f6523e28SMartin Mares	locale-dependent behavior of `tr'.
382f6523e28SMartin Mares
383f6523e28SMartin Mares	* The command-line parser of setpci did sometimes segfault on invalid
384f6523e28SMartin Mares	input. Thanks to Andreas Wiese for a fix.
385f6523e28SMartin Mares
386db557900SMartin Mares2009-01-18  Martin Mares <[email protected]>
387db557900SMartin Mares
388db557900SMartin Mares	* Released as 3.1.0.
389db557900SMartin Mares
390af358b08SMartin Mares	* Updated pci.ids to the current snapshot of the database.
391af358b08SMartin Mares
392db557900SMartin Mares	* The Cygwin backend now works on Windows Vista. Thanks to Jonathan
393db557900SMartin Mares	Kotta.
394db557900SMartin Mares
395db557900SMartin Mares	* Fixed a bug in decoding of the SR-IOV capability. Patch by Yu Zhao.
396db557900SMartin Mares
397db557900SMartin Mares	* Details of some PCIe capabilities are displayed only with -vv.
398db557900SMartin Mares
399db557900SMartin Mares	* When a BAR is reported by the OS, but not by the device (i.e.,
400db557900SMartin Mares	it is marked as [virtual] in lspci), the [disabled] flag is
401db557900SMartin Mares	suppressed, because it does not make sense in such cases.
402db557900SMartin Mares	Patch by Yu Zhao.
403db557900SMartin Mares
4042b31207aSMartin Mares2008-12-13  Martin Mares <[email protected]>
4052b31207aSMartin Mares
4062b31207aSMartin Mares	* The source code of lspci has been split to multiple files, hopefully
4072b31207aSMartin Mares	making it easier to maintain.
4082b31207aSMartin Mares
4092b31207aSMartin Mares	* The library and lspci now know about physical slot names. So far,
4102b31207aSMartin Mares	they are provided by the sysfs back-end only. Thanks go to Alex Chiang.
4112b31207aSMartin Mares
4122b31207aSMartin Mares	* When a device has the VPD (Vital Product Data) capability and the
4132b31207aSMartin Mares	VPD data are supplied by the OS, they are decoded and printed in the
4142b31207aSMartin Mares	verbose mode. This currently works only on Linux with the sysfs
4152b31207aSMartin Mares	back-end. Thanks to Ben Hutchings of Solarflare for the patch.
4162b31207aSMartin Mares
4172b31207aSMartin Mares	* `setpci --version' now works properly.
4182b31207aSMartin Mares
4194d4325f8SMartin Mares	* `setpci --dumpregs' prints a table of all known names of
4202b31207aSMartin Mares	registers and capabilities. This replaces the table of registers
4212b31207aSMartin Mares	in the setpci man page.
4222b31207aSMartin Mares
4232b31207aSMartin Mares	* The dry-run mode of setpci gives better feedback.
4242b31207aSMartin Mares
4252b31207aSMartin Mares	* The setpci utility is now able to address registers stored in PCI
4262b31207aSMartin Mares	capabilities (actually it allows a more general form of relative
4272b31207aSMartin Mares	addressing).
4282b31207aSMartin Mares
4292b31207aSMartin Mares	* The library has gained functions for working with PCI capabilities.
4302b31207aSMartin Mares
4312b31207aSMartin Mares	* Address Translation Services capability is now decoded. Patch by
4322b31207aSMartin Mares	Yu Zhao.
4332b31207aSMartin Mares
434b282435dSMartin Mares2008-11-09  Martin Mares <[email protected]>
435b282435dSMartin Mares
436b282435dSMartin Mares	* Released as 3.0.3.
437b282435dSMartin Mares
438b282435dSMartin Mares	* `lspci -k' now displays the subsystem ID, too. This makes `-k'
439b282435dSMartin Mares	show everything needed to identify the device and the available
440b282435dSMartin Mares	drivers, which was called for by many users.
441b282435dSMartin Mares
442b282435dSMartin Mares	* Fixed spelling of MSI. Patch by Matthew Wilcox.
443b282435dSMartin Mares
444b282435dSMartin Mares	* Better support for cross-compilation. Thanks to Alon Bar-Lev
445b282435dSMartin Mares	for the patch.
446b282435dSMartin Mares
447b282435dSMartin Mares	* Fixed printing of the AER capability. Patch by Max Asbock.
448b282435dSMartin Mares
449b282435dSMartin Mares	* HT 1.02 capabilities are decoded as HT 1.03. Suggested by
450b282435dSMartin Mares	Carl-Daniel Hailfinger.
451b282435dSMartin Mares
452b282435dSMartin Mares	* Fixed Cygwin build. Thanks to Steve Elliott for reporting the bug.
453b282435dSMartin Mares
454b282435dSMartin Mares	* Updated pci.ids to the current snapshot of the database.
455b282435dSMartin Mares
456daf2ef4eSMartin Mares2008-09-19  Martin Mares <[email protected]>
457daf2ef4eSMartin Mares
458daf2ef4eSMartin Mares	* Released as 3.0.2.
459daf2ef4eSMartin Mares
460daf2ef4eSMartin Mares	* Fixed a minor bug in the configure script, which caused warnings
461daf2ef4eSMartin Mares	about redefinition of symbols during compilation.
462daf2ef4eSMartin Mares
46338254178SMartin Mares2008-09-11  Martin Mares <[email protected]>
46438254178SMartin Mares
46538254178SMartin Mares	* Released as 3.0.1.
46638254178SMartin Mares
46738254178SMartin Mares	* Updated pci.ids to the most recent snapshot.
46838254178SMartin Mares
46938254178SMartin Mares	* Added a Cygwin port. Patch by Christopher Voltz, ported to the
47038254178SMartin Mares	current tree by Martin Mares.
47138254178SMartin Mares
47238254178SMartin Mares	* Worked around compatibility problems with various default settings
47338254178SMartin Mares	of wget (we have to set --no-timestamping explicitly). Thanks to Ville
47438254178SMartin Mares	Skytta for pointing that out.
47538254178SMartin Mares
47638254178SMartin Mares	* Fixed printing of MSI capabilities. Thanks to Matthew Wilcox for
47738254178SMartin Mares	a patch.
47838254178SMartin Mares
47938254178SMartin Mares	* Added decoding of several PCI-X capabilities: device/link/slot 2,
48038254178SMartin Mares	Advanced Error Reporting, Access Control Services, Alternative Routing-ID,
48138254178SMartin Mares	Single Root I/O Virtualization. Thanks to Yu Zhao for patches.
48238254178SMartin Mares
48338254178SMartin Mares	* Fixed bug in filters which caused them to refuse vendor/device ID 0xffff.
48438254178SMartin Mares
48538254178SMartin Mares	* README: The linux-pci mailing list has moved to [email protected].
48638254178SMartin Mares
48738254178SMartin Mares	* Fixed several build problems: builds without PCI_USE_DNS on Linux
48838254178SMartin Mares	and with PCI_USE_DNS on Solaris and *BSD. Static library mode also
48938254178SMartin Mares	compiles again on old versions of GCC.
49038254178SMartin Mares
491cec9f7e7SMartin Mares2008-04-10  Martin Mares <[email protected]>
492cec9f7e7SMartin Mares
493cec9f7e7SMartin Mares	* Released as 3.0.0.
494cec9f7e7SMartin Mares
495cec9f7e7SMartin Mares	* Updated API and ABI version.
496cec9f7e7SMartin Mares
497cd2f6a34SMartin Mares2008-02-20  Martin Mares <[email protected]>
498cd2f6a34SMartin Mares
499cd2f6a34SMartin Mares	* Released as 2.99.1-alpha2.
500cd2f6a34SMartin Mares
501cd2f6a34SMartin Mares	* Changed the default domain for the DNS resolver.
502cd2f6a34SMartin Mares
503165a50cbSMartin Mares2008-02-18  Martin Mares <[email protected]>
504165a50cbSMartin Mares
505165a50cbSMartin Mares	* Released as 2.99.1-alpha1.
506623234ecSMartin Mares
507a1fca487SMartin Mares	* The makefile system has been reworked. All configuration settings
508a1fca487SMartin Mares	are now passed to the configure script in environment variables,
509a1fca487SMartin Mares	allowing for easy tweaking in the top-level Makefile. All control
510a1fca487SMartin Mares	knobs are now described in the README.
511a1fca487SMartin Mares
512a1fca487SMartin Mares	* The libpci can be built as a shared library with properly restricted
513a1fca487SMartin Mares	symbol exports. Use `make SHARED=yes' to enable that or `make SHARED=local'
514a1fca487SMartin Mares	for a local testing build (with hardwired paths to the library, so that
515a1fca487SMartin Mares	it does not need installation).
516a1fca487SMartin Mares
517a1fca487SMartin Mares	* The example program has been moved from lib/example.c to the top-level
518a1fca487SMartin Mares	directory, because it should be built exactly as the other utilities
519a1fca487SMartin Mares	are. It has been also improved slightly to educate better.
520a1fca487SMartin Mares
521623234ecSMartin Mares	* The i386-ports method is enabled on Linux/x86_64 as well.
522623234ecSMartin Mares
523ae27e293SMartin Mares2008-02-13  Martin Mares <[email protected]>
524ae27e293SMartin Mares
525ae27e293SMartin Mares	* Released as 2.2.10-net2.
526ae27e293SMartin Mares
527ae27e293SMartin Mares	* Support for resolving of PCI ID's using DNS together with a local
528ae27e293SMartin Mares	cache of resolved entries has been added. See the `-q' and `-Q' options
529ae27e293SMartin Mares	of lspci.
530ae27e293SMartin Mares
531ae27e293SMartin Mares	* The library now has a generic system of settable parameters, which
532ae27e293SMartin Mares	also include settings of the DNS resolver and cache. An `-O' option
533ae27e293SMartin Mares	has been added to lspci and setpci to allow setting of these options.
534ae27e293SMartin Mares
535ae27e293SMartin Mares	* Configuration of the access methods are now specified by the new
536ae27e293SMartin Mares	parameter system, replacing the pci_access->method_params array.
537ae27e293SMartin Mares
538ae27e293SMartin Mares	* Access methods now also have sensible names and help texts and it
539ae27e293SMartin Mares	is possible to look up method ID by a name.
540ae27e293SMartin Mares
541ae27e293SMartin Mares	* An `-A' switch has been added to both lspci and setpci, allowing to
542ae27e293SMartin Mares	select an arbitrary access method. The `-P' switch (configure proc
543ae27e293SMartin Mares	backend) has been removed as it is no longer needed and I do not know
544ae27e293SMartin Mares	any its user.
545ae27e293SMartin Mares
546ae27e293SMartin Mares	* Several source files have been split for better maintainability
547ae27e293SMartin Mares	(most notably the resolving of ID's).
548ae27e293SMartin Mares
549ae27e293SMartin Mares	* Man pages and help texts have been updated. A new man page `pcilib(7)'
550ae27e293SMartin Mares	has been added and description of library options has been moved there.
551ae27e293SMartin Mares
552ae27e293SMartin Mares	* When an unknown device ID is encountered, we print `Device <id>'
553ae27e293SMartin Mares	instead of `Unknown device <id>'. It uses less space and it also
554ae27e293SMartin Mares	should reduce the number of inexperienced users complaining that
555ae27e293SMartin Mares	the device is not supported by the OS. To lookup up OS drivers,
556ae27e293SMartin Mares	use the `-k' option.
557ae27e293SMartin Mares
558ae27e293SMartin Mares	* PCI_LIB_VERSION has been bumped to 0x020299.
559ae27e293SMartin Mares
560ae27e293SMartin Mares	* Makefile: stripping of the binaries during installation can be
561ae27e293SMartin Mares	overridden by the STRIP variable.
562ae27e293SMartin Mares
563ae27e293SMartin Mares	* lib/types.h: We use the integer types from <stdint.h> if the
564ae27e293SMartin Mares	compiler claims C99 support.
565ae27e293SMartin Mares
5660fc3bd18SMartin Mares2008-02-11  Martin Mares <[email protected]>
5670fc3bd18SMartin Mares
5682466b14bSMartin Mares	* Released as 2.2.10.
5692466b14bSMartin Mares
5706add52f5SMartin Mares	* lspci.c, setpci.c: Cleaned up the list of options.
5716add52f5SMartin Mares
5720fc3bd18SMartin Mares	* lib/names.c: Fix displaying of errors reported by zlib.
5730fc3bd18SMartin Mares	Previously, the buffer containing the error message had
5740fc3bd18SMartin Mares	been deallocated by gzclose() before the message was printed.
5750fc3bd18SMartin Mares
576d26b5378SMartin Mares2008-01-07  Martin Mares <[email protected]>
577d26b5378SMartin Mares
578d26b5378SMartin Mares	* update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
579d26b5378SMartin Mares	files left by previous versions of the pciutils. Patch by Mike
580d26b5378SMartin Mares	Frysinger.
581d26b5378SMartin Mares
582d26b5378SMartin Mares	* update-pciids.man: Mention the -q switch.
583d26b5378SMartin Mares
584dc01dd60SMartin Mares2007-11-29  Martin Mares <[email protected]>
585dc01dd60SMartin Mares
586dc01dd60SMartin Mares	* lib/dump.c: Squashed compiler warnings about code with
587dc01dd60SMartin Mares	no effect (there really were surplus *'s).
588dc01dd60SMartin Mares
58911339c0dSMartin Mares2007-11-06  Martin Mares <[email protected]>
59011339c0dSMartin Mares
59113463566SMartin Mares	* Released as 2.2.9.
59213463566SMartin Mares
59311339c0dSMartin Mares	* lspci.c: Added a new switch `-k' which requests printing
59411339c0dSMartin Mares	of information on kernel drivers attached to each device
59511339c0dSMartin Mares	and on kernel modules reporting the ability to handle the
59611339c0dSMartin Mares	device. So far, this is supported only on Linux with the
59711339c0dSMartin Mares	sysfs back-end, so it is implemented internally in the lspci
59811339c0dSMartin Mares	instead of the libpci. Thanks to Anicka <[email protected]>
59911339c0dSMartin Mares	for help.
60011339c0dSMartin Mares
6013de798bdSMartin Mares2007-10-19  Martin Mares <[email protected]>
6023de798bdSMartin Mares
6036cdb9d93SMartin Mares	* Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS.
6046cdb9d93SMartin Mares	Also added an explicit pattern rule for linking to make sure
6056cdb9d93SMartin Mares	that LDLIBS is used on all platforms. Thanks to Dan Nicholson
6066cdb9d93SMartin Mares	for the suggestion.
6076cdb9d93SMartin Mares
6086cdb9d93SMartin Mares2007-10-19  Martin Mares <[email protected]>
6096cdb9d93SMartin Mares
610a404b115SMartin Mares	* Released as 2.2.8.
611a404b115SMartin Mares
6123de798bdSMartin Mares	* pci.ids: Revised class codes to match Conventional PCI 3.0 specs.
6133de798bdSMartin Mares	Added a couple of new ones, renumbered `ADMA continuous operation'
6143de798bdSMartin Mares	prog-if to 0x30 (even the old SATA Class Code ECN doesn't mention
6153de798bdSMartin Mares	0x40) and renumbered the satellite communication controllers.
6163de798bdSMartin Mares
6172d2c4810SMartin Mares	* lib/header.h: Include `PCI hot-plug' and `Secure device'
618f7c76ec5SMartin Mares	capabilities from PCI 3.0 specs. Also added `SATA HBA' and
619f7c76ec5SMartin Mares	`Advanced features' caps from various ECN's.
6202d2c4810SMartin Mares
621fa2273caSMartin Mares	* lspci.c: All known capabilities have at least their name displayed
622fa2273caSMartin Mares	now. When we are unable to decode them completely, we signalize it
623fa2273caSMartin Mares	with a `<?>' mark.
624fa2273caSMartin Mares
625fa2273caSMartin Mares	* lspci.man: Document `<?>' and also mention that extended config
626fa2273caSMartin Mares	space is currently available only with the linux_sysfs back-end.
627fa2273caSMartin Mares
62831c9bb28SMartin Mares	* lspci.c: Decode the Debug port capability (per EHCI 0.96 spec).
62931c9bb28SMartin Mares
630a387042eSMartin Mares	* lspci.c: Big code cleanup: re-arranged functions in the code,
631a387042eSMartin Mares	renamed everything related to capabilities to cap_* and
632a387042eSMartin Mares	all options except verbose to opt_*.
633a387042eSMartin Mares
6349c79fcc4SMartin Mares2007-10-14  Martin Mares <[email protected]>
6359c79fcc4SMartin Mares
6369c79fcc4SMartin Mares	* lib/[fno]bsd-*: Removed extraneous braces.
6379c79fcc4SMartin Mares
638d5b4cd14SMartin Mares2007-10-12  Martin Mares <[email protected]>
639d5b4cd14SMartin Mares
640d5b4cd14SMartin Mares	* Capability loop detection introduced 2.2.7 did not work
641d5b4cd14SMartin Mares	  properly with extended capabilities. Fixed.
642d5b4cd14SMartin Mares
643594de878SMartin Mares2007-10-05  Martin Mares <[email protected]>
644594de878SMartin Mares
6458a23eadcSMartin Mares	* Released as 2.2.7.
6468a23eadcSMartin Mares
647594de878SMartin Mares	* lspci.c (show_caps, show_ext_caps): Detect and report loops in
648594de878SMartin Mares	capability lists.
649594de878SMartin Mares
6508a23eadcSMartin Mares	* lspci.c, lib/header.h: Finished decoding of the PCI Express
6518a23eadcSMartin Mares	capability. The extended capabilities remain undecoded for now,
6528a23eadcSMartin Mares	but at least the list of them has been updated to reflect the
6538a23eadcSMartin Mares	current PCI Express 2.0 spec.
6548a23eadcSMartin Mares
6558a23eadcSMartin Mares	* lspci.c, lib/header.h: Decode new bits of traditional registers
6568a23eadcSMartin Mares	as defined by PCIE / PCI-X. This includes discard timers in the bridge
6578a23eadcSMartin Mares	control register and INTx enable/status in device control/status
6588a23eadcSMartin Mares	registers.
6598a23eadcSMartin Mares
6608a23eadcSMartin Mares	* lib/fbsd-device.c: Support domains on new FreeBSD's. Contributed
6618a23eadcSMartin Mares	by Marius Strobl.
6628a23eadcSMartin Mares
66399091df9SMartin Mares2007-09-12  Hasso Tepper <[email protected]>
66499091df9SMartin Mares
66599091df9SMartin Mares	* Extended the fbsd-device backend to run on Dragonfly BSD.
66699091df9SMartin Mares
66799091df9SMartin Mares	* lspci.c: alloca() is declared in <stdlib.h> on BSD's, not <alloca.h>.
66899091df9SMartin Mares
66909156b3bSMartin Mares2007-09-03  Martin Mares <[email protected]>
67009156b3bSMartin Mares
67109156b3bSMartin Mares	* Resurrected the Windows port, including cross-compilation by MinGW.
67209156b3bSMartin Mares	Patch by Samuel Bronson <[email protected]>.
67309156b3bSMartin Mares
674325a3c50SMartin Mares2007-08-31  Martin Mares <[email protected]>
675325a3c50SMartin Mares
676325a3c50SMartin Mares	* Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to allow
677325a3c50SMartin Mares	cross-compilation.
678325a3c50SMartin Mares
679a2322147SMartin Mares2007-08-27  Martin Mares  <[email protected]>
680a2322147SMartin Mares
681a2322147SMartin Mares	* lib/names.c (pci_open): When calling gzopen(), use "rb" file mode
682a2322147SMartin Mares	instead of "r". This is needed on DOS systems, where this function
683a2322147SMartin Mares	somewhat illogically uses the binary flag for the compressed file
684a2322147SMartin Mares	instead of the decompressed stream inside, where binariness really
685a2322147SMartin Mares	matters.
686a2322147SMartin Mares
6874f2c5b94SMartin Mares2007-08-14  Martin Mares  <[email protected]>
6884f2c5b94SMartin Mares
6894f2c5b94SMartin Mares	* lspci.c (show_ht): Added decoding of Hypertransport MSI mapping capability,
6904f2c5b94SMartin Mares	based on a patch by Jason Gunthorpe.
6914f2c5b94SMartin Mares
6924f2c5b94SMartin Mares	* tests/cap-MSI-mapping: Added a test case. I plan to add test cases
6934f2c5b94SMartin Mares	(which are dumps of config space) for all new features.
6944f2c5b94SMartin Mares
6950d7f5331SMartin Mares2007-06-20  Martin Mares  <[email protected]>
6960d7f5331SMartin Mares
6977cebe481SMartin Mares	* Released as 2.2.6.
6987cebe481SMartin Mares
6990d7f5331SMartin Mares	* Makefile: Added an "install-lib" target. Thanks to Dan Nicholson
7000d7f5331SMartin Mares	for a patch.
7010d7f5331SMartin Mares
7027cebe481SMartin Mares	* Makefile, lib/Makefile: Generate and install pkg-config file
7037cebe481SMartin Mares	for libpci. Again by Dan Nicholson.
7047cebe481SMartin Mares
7050d7f5331SMartin Mares2007-06-20  Thomas Schwinge  <[email protected]>
7060d7f5331SMartin Mares
7070d7f5331SMartin Mares	* lib/i386-io-hurd.h: Rewritten for new Hurd kernels.
7080d7f5331SMartin Mares
7096e4a45edSMartin Mares2007-05-04  Martin Mares  <[email protected]>
7106e4a45edSMartin Mares
71155c89179SMartin Mares	* Released as 2.2.5.
71255c89179SMartin Mares
7136e4a45edSMartin Mares	* pci.ids: Updated to the current snapshot of the database.
7146e4a45edSMartin Mares
715d0b07542SMartin Mares2007-02-14  Martin Mares  <[email protected]>
716d0b07542SMartin Mares
717d0b07542SMartin Mares	* lspci.c (show_express): Added PCI/PCI-X to PCI-Express Bridge type.
718d0b07542SMartin Mares	Patch by Mark Glines.
719d0b07542SMartin Mares
7203df35926SMartin Mares2007-02-09  Martin Mares  <[email protected]>
7213df35926SMartin Mares
7223df35926SMartin Mares	* pci.ids: Updated to the current snapshot of the database.
7233df35926SMartin Mares
724e49ed044SMartin Mares2007-02-06  Martin Mares  <[email protected]>
725e49ed044SMartin Mares
7261ac3a99dSMartin Mares	* Replaced bzero() by memset() everywhere, it's better to lose a tiny
7271ac3a99dSMartin Mares	bit of readability than maintain hacks to make it work on various systems.
7281ac3a99dSMartin Mares
729b0eb18ccSMartin Mares	* lib/configure: tr on Solaris is a bit weird and it requires `[A-Z]'
730b0eb18ccSMartin Mares	instead of `A-Z'. Fortunately, the extra brackets don't hurt otherwise.
731b0eb18ccSMartin Mares
732e49ed044SMartin Mares	* lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise
733e49ed044SMartin Mares	integer types.
734e49ed044SMartin Mares
7359de2768cSMartin Mares2007-02-04  Martin Mares  <[email protected]>
7369de2768cSMartin Mares
7379de2768cSMartin Mares	* lspci.c: alloca() needs <alloca.h>.
7389de2768cSMartin Mares
739d19394dbSMartin Mares2006-09-17  Martin Mares  <[email protected]>
740d19394dbSMartin Mares
741d19394dbSMartin Mares	* lib/dump.c: Fixed a couple of bugs in the dump backend which caused
742d19394dbSMartin Mares	devices with domains or with extended config space to be read incorrectly.
743d19394dbSMartin Mares	Also, dumps with partial lines are allowed now.
744d19394dbSMartin Mares
745934e7e36SMartin Mares2006-09-10  Martin Mares  <[email protected]>
746934e7e36SMartin Mares
747f09856deSMartin Mares	* pci.ids: Updated to the current database snapshot.
748f09856deSMartin Mares
749934e7e36SMartin Mares	* lspci.c (scan_device): If an error occurs when reading the standard config
750934e7e36SMartin Mares	header of a device, report it and ignore the device and return with exit
751934e7e36SMartin Mares	code 2 at the end.
752934e7e36SMartin Mares
753b2055313SMartin Mares2006-09-09  Martin Mares  <[email protected]>
754b2055313SMartin Mares
755fb260653SMartin Mares	* Released as 2.2.4.
756fb260653SMartin Mares
7571865e2ddSMartin Mares	* maint/release: Remind the maintainer about the current PCI_LIB_VERSION.
7581865e2ddSMartin Mares
759028dffb2SMartin Mares	* lib/pci.h: Updated PCI_LIB_VERSION.
760028dffb2SMartin Mares
76113081e57SMartin Mares	* lspci.c (show_machine): In the `-m' mode, do proper shell escaping
76213081e57SMartin Mares	if the fields printed contain quotes or backslashes.
76313081e57SMartin Mares
7643fd6b4d2SMartin Mares	* lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse
7653fd6b4d2SMartin Mares	of the `Device' tag for two different purposes.
7663fd6b4d2SMartin Mares
767840d09aeSMartin Mares	* Makefile: Moved all system-dependent decisions to lib/configure,
768840d09aeSMartin Mares	since config.mk is included in the top-level Makefile anyway.
769840d09aeSMartin Mares
7702100f710SMartin Mares	* lib/configure: When configuring for Linux, ignore the kernel version
7712100f710SMartin Mares	and always build all access methods.
7722100f710SMartin Mares
7733e9c7a18SMartin Mares	* Makefile (CFLAGS): Removed -Winline, it's not needed and triggers
7743e9c7a18SMartin Mares	at many non-interesting places with gcc 3.4.
7753e9c7a18SMartin Mares
77694db5c82SMartin Mares	* Whitespace cleanup of all source files.
77794db5c82SMartin Mares
778cc062b4aSMartin Mares	* The pci.ids file can be stored compressed if zlib is available.
779cc062b4aSMartin Mares	Added transparent decompression to lib/names.c, modified update-pciids.sh
780cc062b4aSMartin Mares	to keep the file compressed if applicable, updated Makefiles.
781cc062b4aSMartin Mares	Based on a patch by Matthew Wilcox, but all the bugs are mine.
782cc062b4aSMartin Mares
783f4ddb8d3SMartin Mares	* Makefile, README: Allow installation to be done to a different directory
784f4ddb8d3SMartin Mares	from the one we will eventually be placed in by setting DESTDIR.
785f4ddb8d3SMartin Mares	Patch by Matthew Wilcox.
786f4ddb8d3SMartin Mares
78716e37012SMartin Mares	* Added .gitignore files.
78816e37012SMartin Mares
789c7f5314dSMartin Mares	* Makefile (clean): Clean *.orig, too.
790c7f5314dSMartin Mares
791afebde01SMartin Mares	* Cleaned up usage of `char' and `byte'.
792afebde01SMartin Mares
793fd54ccebSMartin Mares	* lib/header.h: PCI_CLASS_DOCKING_OTHER should be 0x0a80, not 0x0a01.
794fd54ccebSMartin Mares
795b2055313SMartin Mares	* lib/header.h: Added PCI_CLASS_xxx constants for all classes currently
796b2055313SMartin Mares	defined in the pci.ids file.
797b2055313SMartin Mares
7984254d153SMartin Mares2006-08-01  Martin Mares  <[email protected]>
7994254d153SMartin Mares
8004254d153SMartin Mares	* lib/i386-io-hurd.h: Fixed a silly typo.
8014254d153SMartin Mares
8021c5cc9b5SMartin Mares2006-07-30  Martin Mares  <[email protected]>
8031c5cc9b5SMartin Mares
80438a9e3c3SMartin Mares	* lib/Makefile: Added a missing rule for obsd-device.o.
80538a9e3c3SMartin Mares
806c7ddfa3eSMartin Mares	* lspci.c, lib/header.h: Added support for MSI per-vector masking.
807c7ddfa3eSMartin Mares	Contributed by Petr Vandrovec.
808c7ddfa3eSMartin Mares
809248a04f8SMartin Mares	* lspci.c, lib/header.h: Added support for the `bridge subsystem ID'
810248a04f8SMartin Mares	capability. Contributed by Petr Vandrovec.
811248a04f8SMartin Mares
812f29dcc87SMartin Mares	* lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable
813f29dcc87SMartin Mares	memory windows. Fix by Petr Vandrovec.
814f29dcc87SMartin Mares
8158eab3bffSMartin Mares	* maint/release.pm: Exclude .git directory from releases.
8168eab3bffSMartin Mares
817d305d704SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Report failures during port access
818d305d704SMartin Mares	initialization by a->warn() instead of calling printf() or perror()
819d305d704SMartin Mares	directly.
820d305d704SMartin Mares
8219007a292SMartin Mares	* lib/i386-ports.c, lib/i386-io-*: Moved the logic which keeps track of
8229007a292SMartin Mares	the port access state to generic code.
8239007a292SMartin Mares
824bd20d5b5SMartin Mares	* lib/i386-io-hurd.h: Ask the kernel for I/O port access appropriately.
825bd20d5b5SMartin Mares	Contributed by Thomas Schwinge and Samuel Thibault.
826bd20d5b5SMartin Mares
82773750606SMartin Mares	* lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module.
82873750606SMartin Mares
829d71daa45SMartin Mares	* lib/header.h: Whitespace cleanups.
830d71daa45SMartin Mares
8311c5cc9b5SMartin Mares	* lib/i386-io-windows.h: Fixed indentation and spelling.
8321c5cc9b5SMartin Mares
8331c5cc9b5SMartin Mares	* README.Windows: Mention that WinIO.dll is needed and where to get it.
8341c5cc9b5SMartin Mares
835c2b144efSMartin Mares2006-06-27  Martin Mares  <[email protected]>
836c2b144efSMartin Mares
83714d4f989SMartin Mares	* lib/Makefile, Makefile: Added rules for building and cleaning the example.
83814d4f989SMartin Mares
83914d4f989SMartin Mares	* lib/example.c: Show how to use PCI_FILL_CLASS and used another register
84014d4f989SMartin Mares	for demonstrating the config space accesses. The example is still very
84114d4f989SMartin Mares	incomplete, though.
84214d4f989SMartin Mares
843c2b144efSMartin Mares	* lib/pci.h, lib/generic.c: Added PCI_FILL_CLASS.
844c2b144efSMartin Mares
845c2b144efSMartin Mares	* lib/sysfs.c: Fetch device ID and class from sysfs, because they can
846c2b144efSMartin Mares	be modified by kernel fixups.
847c2b144efSMartin Mares
848c2b144efSMartin Mares	* lspci.c: Use PCI_FILL_CLASS. Thanks to Matthew Willcox for the patch.
849c2b144efSMartin Mares
850bc2eed2dSMartin Mares2006-06-03  Martin Mares  <[email protected]>
851bc2eed2dSMartin Mares
852bc2eed2dSMartin Mares	* lspci.c: Introduced the -nn switch. Thanks to David N. Welton
853bc2eed2dSMartin Mares	for the idea.
854bc2eed2dSMartin Mares
855bc2eed2dSMartin Mares	* lib/names.c (pci_lookup_name): Introduced PCI_LOOKUP_MIXED and
856bc2eed2dSMartin Mares	cleaned up the name selection code.
857bc2eed2dSMartin Mares
858c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): If PCI_LOOKUP_NO_NUMBERS is given,
859c72eeddeSMartin Mares	pci_access->numeric_ids is ignored.
860c72eeddeSMartin Mares
861c72eeddeSMartin Mares	* lib/names.c (pci_lookup_name): When class is identified and
862c72eeddeSMartin Mares	subclass isn't, display class name and subclass number.
863c72eeddeSMartin Mares
8642f294d4bSMartin Mares2006-05-31  Martin Mares  <[email protected]>
8652f294d4bSMartin Mares
8662f294d4bSMartin Mares	* setpci.c (main): Don't crash when an invalid width is specified.
8672f294d4bSMartin Mares
86881afa98cSMartin Mares	* lspci.c, setpci.c, common.c: die() now uses the right program
86981afa98cSMartin Mares	name when printing an error message.
87081afa98cSMartin Mares
8710ac282f2SMartin Mares2006-05-19  Martin Mares  <[email protected]>
8720ac282f2SMartin Mares
8730ac282f2SMartin Mares	* README: Mention the public GIT tree.
8740ac282f2SMartin Mares
8750ac282f2SMartin Mares	* README: Updated the list of ports.
8760ac282f2SMartin Mares
877d1058e9dSMartin Mares2006-05-10  Martin Mares  <[email protected]>
878d1058e9dSMartin Mares
879d1058e9dSMartin Mares	* lib/configure, lib/fbsd-device.c: Added support for GNU/kFreeBSD.
880d1058e9dSMartin Mares	Thanks to Petr Salinger for the patch.
881d1058e9dSMartin Mares
882abf8d505SMartin Mares2006-05-05  Martin Mares  <[email protected]>
883abf8d505SMartin Mares
8842ae2d1aeSMartin Mares	* Released as 2.2.3.
8852ae2d1aeSMartin Mares
8862ae2d1aeSMartin Mares	* lspci.c (scan_device): The -D switch didn't work as intended
8872ae2d1aeSMartin Mares	in -m mode.
8882ae2d1aeSMartin Mares
8892ae2d1aeSMartin Mares2006-05-05  Martin Mares  <[email protected]>
8902ae2d1aeSMartin Mares
8911d5cf727SMartin Mares	* Released as 2.2.2.
8921d5cf727SMartin Mares
8938a830168SMartin Mares	* pci.ids: Updated to the current database snapshot.
8948a830168SMartin Mares
895b6359063SMartin Mares	* lib/obsd-device.c (and other files in lib/*): Added OpenBSD
896b6359063SMartin Mares	interface by Matthieu Herrb <[email protected]>, based on
897b6359063SMartin Mares	the existing FreeBSD interface.
898b6359063SMartin Mares
899abf8d505SMartin Mares	* Moved pciutils to a GIT repository, which now contains merged
900abf8d505SMartin Mares	history from both CVS and Arch. Good bye, TLA!
901abf8d505SMartin Mares
9026ac70402SMartin Mares2006-03-21  Martin Mares  <[email protected]>
9036ac70402SMartin Mares
9042a124daeSMartin Mares	* lspci.c (show_slot_name): Avoid the previous changes in default
9052a124daeSMartin Mares	display of domain name when in machine-readable mode. However, `-D'
9062a124daeSMartin Mares	forces domain display even there.
9072a124daeSMartin Mares
9086ac70402SMartin Mares	* lspci.man: Added a warning on -m being the only format, which is
9096ac70402SMartin Mares	guaranteed to be stable between lspci versions.
9106ac70402SMartin Mares
9111bbdea17SMartin Mares2006-03-13  Martin Mares  <[email protected]>
9121bbdea17SMartin Mares
913af61eb25SMartin Mares	* lspci.man: Documented the -D switch.
914af61eb25SMartin Mares
915af61eb25SMartin Mares	* lspci.c (show_slot_name, scan_device): If there are multiple PCI
916af61eb25SMartin Mares	domains or if the `-D' switch is used, show the domain number for
917af61eb25SMartin Mares	all devices.
918af61eb25SMartin Mares
9197a61b93cSMartin Mares	* lspci.c (show_verbose): Report cache line size in bytes.
9207a61b93cSMartin Mares
9211bbdea17SMartin Mares	* update-pciids.sh: Use curl if available. Patch by Matthew Wilcox.
9221bbdea17SMartin Mares
9230e78ef8aSMartin Mares2006-01-04  Martin Mares  <[email protected]>
9240e78ef8aSMartin Mares
9250e78ef8aSMartin Mares	* lspci.c (show_express_link): Fixed decoding of link status register.
9260e78ef8aSMartin Mares	Thanks to Roland Dreier for his report.
9270e78ef8aSMartin Mares
928e6859953SMartin Mares2005-12-12  Martin Mares  <[email protected]>
929e6859953SMartin Mares
930e6859953SMartin Mares	* lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow
931e6859953SMartin Mares	at least read-only access. Patch by Pavel Celeda <[email protected]>.
932e6859953SMartin Mares
933e6859953SMartin Mares	* Makefile: Corrected library path on NetBSD.
934e6859953SMartin Mares
935a99c0d69SMartin Mares2005-11-26  Martin Mares  <[email protected]>
936a99c0d69SMartin Mares
937e4af70c6SMartin Mares	* Released as 2.2.1.
938e4af70c6SMartin Mares
939a99c0d69SMartin Mares	* lspci.c (show_machine): Subsystem vendors were printed incorrectly
940a99c0d69SMartin Mares	in machine-readable modes. Thanks to Pavel Celeda for a bug report.
941a99c0d69SMartin Mares
942f23fd3fcSMartin Mares2005-10-11  Martin Mares  <[email protected]>
943f23fd3fcSMartin Mares
944f23fd3fcSMartin Mares	* lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it.
945f23fd3fcSMartin Mares
94615296723SMartin Mares2005-09-21  Martin Mares  <[email protected]>
94715296723SMartin Mares
94815296723SMartin Mares	* Released as 2.2.0.
94915296723SMartin Mares
95040b6d93fSMartin Mares	* pci.ids: Updated copyright header.
95140b6d93fSMartin Mares
95215296723SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported
95315296723SMartin Mares	64-bit addresses, they are now always supported.
95415296723SMartin Mares
95515296723SMartin Mares	* lspci.c (show_bases): Corrected printing of 64-bit addresses
95615296723SMartin Mares	in bus-centric mode.
95715296723SMartin Mares
95815296723SMartin Mares	* lib/configure: Enable 64-bit addresses on all Linux systems.
95915296723SMartin Mares
96015296723SMartin Mares	* lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they
96115296723SMartin Mares	are shorter.
96215296723SMartin Mares
963224707baSMartin Mares2005-09-11  Martin Mares  <[email protected]>
964224707baSMartin Mares
965224707baSMartin Mares	* Released as 2.1.99-test11.
966224707baSMartin Mares
967224707baSMartin Mares	* lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls.
968224707baSMartin Mares
969aeaca5d3SMartin Mares2005-09-10  Martin Mares  <[email protected]>
970aeaca5d3SMartin Mares
971224707baSMartin Mares	* Released as 2.1.99-test10.
972224707baSMartin Mares
97363e6f2e0SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
97463e6f2e0SMartin Mares
975043ebdeeSMartin Mares	* update-pciids.sh: Changed the default URL for downloading pci.ids
976043ebdeeSMartin Mares	to http://pciids.sourceforge.net/v2.2/pci.ids.
977043ebdeeSMartin Mares
978043ebdeeSMartin Mares	* lib/pci.h (PCI_LIB_VERSION): Added version identifier.
979043ebdeeSMartin Mares
980aeaca5d3SMartin Mares	* lib/names.c: Rewritten the name database module almost from scratch.
981aeaca5d3SMartin Mares	Everything is much cleaner and there are hopefully no more memory leaks;
982aeaca5d3SMartin Mares	pci_lookup_name() now uses varargs in a backward compatible fashion.
983aeaca5d3SMartin Mares	Introduced PCI_LOOKUP_NO_NUMBERS.
984aeaca5d3SMartin Mares
985aeaca5d3SMartin Mares	The new code supports subsystem entries not tied to a specific device.
986aeaca5d3SMartin Mares	I had to extend the format of pci.ids in order to support it, so I have
987aeaca5d3SMartin Mares	extended the idea of the "C" (class) blocks and introduced "S" blocks
988aeaca5d3SMartin Mares	for subsystems. To avoid doing more incompatible changes in the future,
989aeaca5d3SMartin Mares	the parser skips unknown single-letter blocks without reporting errors.
990aeaca5d3SMartin Mares
991121c76c9SMartin Mares2005-08-23  Martin Mares  <[email protected]>
992121c76c9SMartin Mares
99354e13765SMartin Mares	* Released as 2.1.99-test9.
99454e13765SMartin Mares
99554e13765SMartin Mares	* Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent
99654e13765SMartin Mares	gcc versions when optimizing anyway.
99754e13765SMartin Mares
99854e13765SMartin Mares	* Made the path to pci.ids customizable and independent on the SHAREDIR.
99954e13765SMartin Mares	Just override IDSDIR in the top-level Makefile.
100054e13765SMartin Mares
100154e13765SMartin Mares	* pci.ids: Synchronized with the current database snapshot.
100254e13765SMartin Mares
100384d437d6SMartin Mares	* lspci.man, setpci.man: Improved the man pages. Documented all access
100484d437d6SMartin Mares	methods and which operations are privileged.
100584d437d6SMartin Mares
100684d437d6SMartin Mares	* lspci.c: Another rewrite of config register caching, now also including
100784d437d6SMartin Mares	lots of internal checks. It should be now perfectly able to cope with
100884d437d6SMartin Mares	portions of the configuration space being inaccessible, for example
100984d437d6SMartin Mares	due to insufficient access rights.
101084d437d6SMartin Mares
10113b8bf739SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X
10123b8bf739SMartin Mares	capabilities. Includes partial support for PCI-X 2.0 (probably incomplete
10133b8bf739SMartin Mares	as I haven't seen the spec).
10143b8bf739SMartin Mares
10153b8bf739SMartin Mares	* lspci.c: Quell warnings about unused parameters.
10163b8bf739SMartin Mares
101784d437d6SMartin Mares	* lspci.c: Removed C++ comments.
101884d437d6SMartin Mares
10193b8bf739SMartin Mares	* lib/header.h: Merged definitions of extended capabilities and some new
10203b8bf739SMartin Mares	PCI-X capability bits from linux-2.6.11/include/pci.h.
10213b8bf739SMartin Mares
10223b8bf739SMartin Mares	* lspci.c (show_caps): Try to scan extended capabilities only if the
10233b8bf739SMartin Mares	device has either PCI-X or PCI Express capability in its normal capability
10243b8bf739SMartin Mares	list.
10253b8bf739SMartin Mares
1026f7821e53SMartin Mares	* lib/dump.c (dump_init): Reading of dumps works again. The dump reader
1027f7821e53SMartin Mares	now also remembers how much data it has read and refuses attempts to
1028f7821e53SMartin Mares	access more than that.
1029ea4e5f5dSMartin Mares
103046ea554dSMartin Mares	* setpci.man, lspci.c, README: prefer spelling "buses" over "busses".
103146ea554dSMartin Mares
10328afaab22SMartin Mares	* lspci.c: If alloca() is not available, use xmalloc(), not malloc().
10338afaab22SMartin Mares
1034121c76c9SMartin Mares	* lib/configure: Added x86_64 on Linux.
1035121c76c9SMartin Mares
1036c1c2c30eSMartin Mares2005-08-22  Martin Mares  <[email protected]>
1037c1c2c30eSMartin Mares
1038b9ca9147SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters.
1039b9ca9147SMartin Mares	Thanks to Matthew Wilcox for bug report.
1040b9ca9147SMartin Mares
1041c1c2c30eSMartin Mares	* lspci.c: Corrected spelling of "Hz" (it was "hz" at several places).
1042b9ca9147SMartin Mares	Thanks to Krzysztof Oledzki for pointing that out.
1043c1c2c30eSMartin Mares
104426542a0bSMartin Mares2004-08-19  Martin Mares  <[email protected]>
104526542a0bSMartin Mares
104626542a0bSMartin Mares	* pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism,
104726542a0bSMartin Mares	because pciutils by default install to /usr/sbin. Update.
104826542a0bSMartin Mares
10496aa54f1bSMartin Mares2004-08-13  Martin Mares  <[email protected]>
10506aa54f1bSMartin Mares
1051aabb0a92SMartin Mares	* Released as 2.1.99-test8.
1052aabb0a92SMartin Mares
1053f31412d1SMartin Mares	* lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are
1054f31412d1SMartin Mares	no longer exported to the outside world.
1055f31412d1SMartin Mares
1056ee7d8384SMartin Mares	* README.Windows: Updated.
1057ee7d8384SMartin Mares
1058ee7d8384SMartin Mares	* maint/release: Substitute version number in win32/config.h.
1059ee7d8384SMartin Mares
1060ee7d8384SMartin Mares	* win32/config.h: Added.
1061ee7d8384SMartin Mares
1062ee7d8384SMartin Mares	* lib/sysdep.h (bzero, strcasecmp): are macros on Windows.
1063ee7d8384SMartin Mares
1064ee7d8384SMartin Mares	* compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU
1065ee7d8384SMartin Mares	C library for use on systems where the default libraries lack
1066ee7d8384SMartin Mares	proper getopt. Currently used by the Windows port.
1067ee7d8384SMartin Mares
1068ee7d8384SMartin Mares	* lib/sysdep.h, lib/types.h: Updates of the Windows port from
1069ee7d8384SMartin Mares	Alexander Stock.
1070ee7d8384SMartin Mares
1071489233b4SMartin Mares	* lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define
1072489233b4SMartin Mares	its own u8, u16, u32, byte and word types and uses what the user
1073489233b4SMartin Mares	has supplied instead. With this change, all namespace clashes should
1074489233b4SMartin Mares	be gone.
1075489233b4SMartin Mares
1076489233b4SMartin Mares	* Makefile, lib/Makefile: Updated dependencies.
1077489233b4SMartin Mares
1078489233b4SMartin Mares	* pciutils.h: Include lib/sysdep.h and move NONRET et al. there.
1079489233b4SMartin Mares
1080489233b4SMartin Mares	* lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because
1081489233b4SMartin Mares	it is included unconditionally in lib/types.h.
1082489233b4SMartin Mares
1083489233b4SMartin Mares	* Moved system-dependent stuff from lib/internal.h to lib/sysdep.h,
1084489233b4SMartin Mares	which is also used by the utilities. Also moved type declarations
1085489233b4SMartin Mares	from lib/pci.h to lib/types.h.
1086489233b4SMartin Mares
1087489233b4SMartin Mares	* All files: Prepend a "PCI_" prefix in front of all configuration
1088489233b4SMartin Mares	defines to avoid namespace clashes. CAVEAT: If there is any libpci
1089489233b4SMartin Mares	application using the (undocumented) defines, it has to be updated.
1090489233b4SMartin Mares
1091489233b4SMartin Mares	* lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing
1092489233b4SMartin Mares	headers with the kernel a couple of years ago.
1093489233b4SMartin Mares
10949bb4b4eaSMartin Mares	* lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6.
10959bb4b4eaSMartin Mares
10966aa54f1bSMartin Mares	* lspci.c (show_rom): Use the same logic for printing disabled
10976aa54f1bSMartin Mares	or unassigned ROM's as we do in show_bases() for the other BAR's.
10986aa54f1bSMartin Mares
10996aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Better reaction to
11006aa54f1bSMartin Mares	invalid 64-bit addresses. Also d->hdrtype should not include
11016aa54f1bSMartin Mares	bit 7, which caused mysterious errors on multi-function devices.
11026aa54f1bSMartin Mares
11036aa54f1bSMartin Mares	* lib/generic.c (pci_generic_fill_info): Fill in base addresses
11046aa54f1bSMartin Mares	even if the regions are known to be disabled. It is the client's
11056aa54f1bSMartin Mares	job to interpret them. (And it is not a trivial job if you want
11066aa54f1bSMartin Mares	to do it correctly, since you need to check I/O and memory enables
11076aa54f1bSMartin Mares	on all upstream bridges, too.) However, it could be interesting to
11086aa54f1bSMartin Mares	introduce functions for interpreting the addresses and even for
11096aa54f1bSMartin Mares	mapping the regions and doing I/O on them.
11106aa54f1bSMartin Mares
111180e6c636SMartin Mares2004-07-30  Martin Mares  <[email protected]>
111280e6c636SMartin Mares
111380e6c636SMartin Mares	* lspci.c: HyperTransport improvements from Maciej.
111480e6c636SMartin Mares
1115d6324891SMartin Mares2004-07-11  Martin Mares  <[email protected]>
1116d6324891SMartin Mares
1117d6324891SMartin Mares	* lib/sysfs.c (sysfs_get_resources): Arguments now correspond
1118d6324891SMartin Mares	to the format string. [Patch by Bill Nottingham]
1119d6324891SMartin Mares
1120ec25b52dSMartin Mares2004-07-05  Martin Mares  <[email protected]>
1121ec25b52dSMartin Mares
1122362be683SMartin Mares	* Released as 2.1.99-test7.
1123362be683SMartin Mares
1124ec25b52dSMartin Mares	* lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but
1125ec25b52dSMartin Mares	ended up with rewriting the fetching mechanism to be fully dynamic,
1126ec25b52dSMartin Mares	but avoid reading config space registers not explicitly requested.
1127ec25b52dSMartin Mares
1128ec25b52dSMartin Mares2004-06-29  Matthew Wilcox <[email protected]>
1129ec25b52dSMartin Mares
1130ec25b52dSMartin Mares	* lspci.c: More work on PCI Express dumping.
1131ec25b52dSMartin Mares
1132ec25b52dSMartin Mares	* lib/header.h: Updated PCI Express capability definitions.
1133ec25b52dSMartin Mares
1134ec25b52dSMartin Mares	* lib/proc.c (proc_read): Removed bogus warning.
1135ec25b52dSMartin Mares
1136ec25b52dSMartin Mares	* common.c (xrealloc): Introduced.
1137ec25b52dSMartin Mares
1138ec25b52dSMartin Mares	* lspci.man: Added -xxxx.
1139ec25b52dSMartin Mares
114009817437SMartin Mares2004-06-27  Martin Mares  <[email protected]>
114109817437SMartin Mares
1142d1fa27ebSMartin Mares	* Released as 2.1.99-test6.
1143d1fa27ebSMartin Mares
11444d67aa89SMartin Mares	* lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap.
11454d67aa89SMartin Mares	Patch by Roland Dreier <[email protected]>, cleaned up by me.
11464d67aa89SMartin Mares
11474d67aa89SMartin Mares	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch()
11484d67aa89SMartin Mares	failures.
11494d67aa89SMartin Mares
11504d67aa89SMartin Mares	* lib/header.h: Added PCI Express extended capabilities. Again by Matthew.
11514d67aa89SMartin Mares
11524d67aa89SMartin Mares	* lspci.c (show_express): Added dumping of PCI Express cap.
11534d67aa89SMartin Mares	Patch by Matthew Wilcox.
11544d67aa89SMartin Mares
11554d67aa89SMartin Mares	* lib/header.h: Added a list of PCI 3.0 capabilities and also details
11564d67aa89SMartin Mares	on PCI Express caps. Patch by Matthew Wilcox <[email protected]>.
11574d67aa89SMartin Mares
115809817437SMartin Mares	* lspci.c (check_root): Gone. No explicit checks for root are needed,
115909817437SMartin Mares	report correct errors reported by the libpci instead.
116009817437SMartin Mares
116109817437SMartin Mares	* lspci.c: Added dumping of the extended config space on "-xxxx".
116209817437SMartin Mares	Better caching of config registers.
116309817437SMartin Mares
116409817437SMartin Mares	* setpci.c (main): Allow access to whole 4096 bytes of the config space.
116509817437SMartin Mares
116609817437SMartin Mares	* lib/sysfs.c, lib/proc.c: Don't print error messages on short reads,
116709817437SMartin Mares	just return the appropriate error code.
116809817437SMartin Mares
116909817437SMartin Mares	* lib: Added support for extended (4096-byte) configuration space,
117009817437SMartin Mares	currently implemented only in Linux proc and sysfs access methods
117109817437SMartin Mares	and of course in the dump reader.
117209817437SMartin Mares
11730d656226SMartin Mares2004-05-29  Martin Mares  <[email protected]>
11740d656226SMartin Mares
1175c0eece92SMartin Mares	* Released as 2.1.99-test5.
1176c0eece92SMartin Mares
1177a2413560SMartin Mares	* lib/pci.h: Windows don't have the standard u_int* types.
1178a2413560SMartin Mares
1179a2413560SMartin Mares	* lib/internal.h: <sys/param.h> required on Windows for endianity
1180a2413560SMartin Mares	macros.
1181a2413560SMartin Mares
1182a2413560SMartin Mares	* lib/i386-ports.c: Connected i386-io-windows.h.
1183a2413560SMartin Mares
1184a2413560SMartin Mares	* lspci.c (check_root): geteuid() is not available on Windows.
1185a2413560SMartin Mares
1186a2413560SMartin Mares	* lib/i386-io-windows.h: Added Windows port contributed by Alexander
1187a2413560SMartin Mares	Stock <[email protected]>.
1188a2413560SMartin Mares
1189a2413560SMartin Mares	* lib/configure: Hopefully fixed SunOS port broken by various
1190a2413560SMartin Mares	changes to the configure script.
1191a2413560SMartin Mares
11920d656226SMartin Mares	* Makefile, lib/configure: Cross-compilation support, patch by Maciej.
11930d656226SMartin Mares
1194138c0385SMartin Mares2004-05-28  Martin Mares  <[email protected]>
1195138c0385SMartin Mares
11969f490382SMartin Mares	* Released as 2.1.99-test4.
11979f490382SMartin Mares
1198cce2caacSMartin Mares	* lspci.c (show_verbose): Header type 1 is probably legal for all
1199cce2caacSMartin Mares	types of bridges, not only for PCI-to-PCI bridges.
1200cce2caacSMartin Mares
1201b569ef09SMartin Mares	* lspci.c (format_agp_rate): Write "x16", not "x@".
1202b569ef09SMartin Mares	(show_agp): rate[] could overflow.
1203b569ef09SMartin Mares	Bugs reported by Jakub Bogusz <[email protected]>.
1204b569ef09SMartin Mares
1205bfc4fe7aSMartin Mares	* lspci.c (show_ht_*): Show HyperTransport capability with all its
1206bfc4fe7aSMartin Mares	details. Once again code by Maciej simplified (i.e., possibly broken)
1207bfc4fe7aSMartin Mares	by me.
1208bfc4fe7aSMartin Mares
1209bfc4fe7aSMartin Mares	* lib/header.h: Added declarations of HyperTransport capability.
1210bfc4fe7aSMartin Mares	Again thanks to Maciej.
1211bfc4fe7aSMartin Mares
1212138c0385SMartin Mares	* lspci.c: Decode all bits of the secondary status word in type 1 headers.
1213138c0385SMartin Mares	Thanks to Maciej W. Rozycki <[email protected]> for the patch.
1214138c0385SMartin Mares
12158fc75dbcSMartin Mares2003-12-27  Martin Mares  <[email protected]>
12168fc75dbcSMartin Mares
121781abd2a7SMartin Mares	* Released as 2.1.99-test3.
121881abd2a7SMartin Mares
12191f7c91ccSMartin Mares	* lspci.man, setpci.man: Document domains and correct spelling.
12201f7c91ccSMartin Mares
12211f7c91ccSMartin Mares	* lib/dump.c (dump_init): Added ability to read domain numbers.
12221f7c91ccSMartin Mares
122384c8d1bbSMartin Mares	* lspci.c: Devices in domains different from 0 have their slot number
12241f7c91ccSMartin Mares	printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains
12251f7c91ccSMartin Mares	as well.
122684c8d1bbSMartin Mares
122784c8d1bbSMartin Mares	* lib/filter.c: Slot filters understand domains.
122884c8d1bbSMartin Mares
122984c8d1bbSMartin Mares	* lib/generic.c: Mention the domain in slot numbers in all error messages.
123084c8d1bbSMartin Mares
123184c8d1bbSMartin Mares	* lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong.
123284c8d1bbSMartin Mares
123384c8d1bbSMartin Mares	* lib/access.c (pci_get_dev): Added support for domains.
123484c8d1bbSMartin Mares
123584c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config
123684c8d1bbSMartin Mares	registers (or to be precise, leave it for the generic parts of the pcilib
123784c8d1bbSMartin Mares	to do so) instead of reading them from the sysfs. It's faster this way.
123884c8d1bbSMartin Mares
123984c8d1bbSMartin Mares	* lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal
124084c8d1bbSMartin Mares	variable. Better read it from the config registers (it's cached anyway).
124184c8d1bbSMartin Mares
124284c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype.
124384c8d1bbSMartin Mares	  lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it.
124484c8d1bbSMartin Mares	  Saves lots of unnecessary file accesses.
124584c8d1bbSMartin Mares
124611f7b31bSMartin Mares	* lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter
124711f7b31bSMartin Mares	is not supported by all C libraries.
124811f7b31bSMartin Mares
124911f7b31bSMartin Mares	* Makefile: Always enter the lib directory (remember that we don't have
125011f7b31bSMartin Mares	full dependecies for the library in the top-level Makefile; hmmm, another
125111f7b31bSMartin Mares	thing to rewrite some day).
125211f7b31bSMartin Mares
125311f7b31bSMartin Mares	* lib/sysfs.c: Added Linux sysfs access method based on the patch
125411f7b31bSMartin Mares	written by Matthew Wilcox <[email protected]>.
125511f7b31bSMartin Mares
125611f7b31bSMartin Mares	* lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc".
125711f7b31bSMartin Mares
125811f7b31bSMartin Mares	* lib/pread.h: The hacks to support pread on various versions
125911f7b31bSMartin Mares	of Linux libc moved there.
126011f7b31bSMartin Mares
126111f7b31bSMartin Mares	* lib/proc.c (proc_setup): The return value of snprintf() varies
126211f7b31bSMartin Mares	between glibc versions, so we need to check both for a negative
126311f7b31bSMartin Mares	values and for too large values.
126411f7b31bSMartin Mares
12654284af58SMartin Mares	* Removed last few references to the "Linux PCI Utilities", the
12664284af58SMartin Mares	package is pretty cross-platform now :)
12674284af58SMartin Mares
12684284af58SMartin Mares2003-12-27  Martin Mares  <[email protected]>
12694284af58SMartin Mares
1270ab12277eSMartin Mares	* Released as 2.1.99-test2.
1271ab12277eSMartin Mares
1272ab12277eSMartin Mares	* README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the
1273ab12277eSMartin Mares	release scripts insert the current version. "make release" is gone.
1274ab12277eSMartin Mares
1275ab12277eSMartin Mares	* maint/release, maint/release.pm: Added a new system of scripts for
1276ab12277eSMartin Mares	making releases including inter-version diffs etc.
1277ab12277eSMartin Mares
1278ab12277eSMartin Mares	* Makefile: Cleaned up.
1279ab12277eSMartin Mares
1280ab12277eSMartin Mares	* lib/fbsd-device.c: I patched another copy of this file by mistake,
1281ab12277eSMartin Mares	this time the version checks should be right.
1282ab12277eSMartin Mares
1283ab12277eSMartin Mares2003-12-27  Martin Mares  <[email protected]>
1284ab12277eSMartin Mares
12856d722cd6SMartin Mares	* Released as 2.1.99-test1.
12866d722cd6SMartin Mares
1287dd33246aSMartin Mares	* pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
1288dd33246aSMartin Mares	Remove shadows of the syscall access method which was never
1289dd33246aSMartin Mares	implemented.
1290dd33246aSMartin Mares
129180b3121aSMartin Mares	* update-pciids.sh: Try to preserve permissions of the old file
129280b3121aSMartin Mares	if chmod supports --reference. Should close Debian Bug #223740.
129380b3121aSMartin Mares
12946aea909aSMartin Mares	* lib/proc.c (proc_setup): Increased path name length limit to 1024.
12956aea909aSMartin Mares	Thanks for Redhat and Mandrake for inspiration.
12966aea909aSMartin Mares
12976aea909aSMartin Mares	* lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
12986aea909aSMartin Mares	Grabbed from Redhat (Fedora) patches.
12996aea909aSMartin Mares
13006aea909aSMartin Mares2003-12-27  Martin Mares  <[email protected]>
13016aea909aSMartin Mares
1302f701ff47SMartin Mares	Merged bug fixes from Debian patches:
1303f701ff47SMartin Mares
1304f701ff47SMartin Mares	* lspci.c (show_verbose): "Cache Line Size" should be capitalized.
1305f701ff47SMartin Mares
1306f701ff47SMartin Mares	* lspci.c (show_pcix_nobridge): Added a missing newline.
1307f701ff47SMartin Mares
13082240db8cSMartin Mares	* lib/proc.c (proc_scan): When reading the header type, don't
13092240db8cSMartin Mares	forget to clear the topmost bit indicating that the device has
1310f701ff47SMartin Mares	multiple functions.
13112240db8cSMartin Mares
13122240db8cSMartin Mares2003-12-27  Martin Mares  <[email protected]>
13132240db8cSMartin Mares
131445902995SMartin Mares	Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]>
131545902995SMartin Mares	for the patches:
131645902995SMartin Mares
131745902995SMartin Mares	* lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
131845902995SMartin Mares	* lib/fbsd-device.c: Select the right set of system includes according
131945902995SMartin Mares	to __FreeBSD_version.
132045902995SMartin Mares
132145902995SMartin Mares2003-12-27  Martin Mares  <[email protected]>
132245902995SMartin Mares
13238fc75dbcSMartin Mares	Merged support for Solaris on i386 by Bill Moore <[email protected]>
13248fc75dbcSMartin Mares	and cleaned up:
13258fc75dbcSMartin Mares
13268fc75dbcSMartin Mares	* lib/configure: Recognize SunOS.
13278fc75dbcSMartin Mares	* lib/internal.h: Learn how to recognize byte order on SunOS.
13288fc75dbcSMartin Mares	* lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
13298fc75dbcSMartin Mares	* lib/i386-io-linux.h: Linux specific part.
13308fc75dbcSMartin Mares	* lib/i386-io-hurd.h: GNU/Hurd specific part.
13318fc75dbcSMartin Mares	* lib/i386-io-sunos.h: SunOS specific part.
13328fc75dbcSMartin Mares
13339739916eSMartin Mares2003-12-26  Martin Mares  <[email protected]>
13349739916eSMartin Mares
13359739916eSMartin Mares	* lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly.
13369739916eSMartin Mares
13379739916eSMartin Mares	* lib/pci.h: Types declared in <sys/types.h> should be usable on all
13389739916eSMartin Mares	platforms we currently support, so kill the forest of #ifdef's and
13399739916eSMartin Mares	use them in all cases.
13409739916eSMartin Mares
13419739916eSMartin Mares	* lib/pci.h: Use ULONG_MASK to decide whether we should use long
13429739916eSMartin Mares	or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS.
13439739916eSMartin Mares	Define format strings for addresses, port numbers and IRQ numbers
13449739916eSMartin Mares	directly in pci.h.
13459739916eSMartin Mares
13469739916eSMartin Mares	* lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses.
13479739916eSMartin Mares
134880459c65SMartin Mares2003-12-26  Marco Gerards  <[email protected]>
134980459c65SMartin Mares
135080459c65SMartin Mares	Added support for the GNU Hurd (cleaned up by Martin Mares):
135180459c65SMartin Mares
135280459c65SMartin Mares	* lib/configure [GNU]: Use the i386 ports for configuration access.
135380459c65SMartin Mares	* lib/i386-ports.c: Don't call iopl() on the Hurd.
135480459c65SMartin Mares	* lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining
135580459c65SMartin Mares	u8 to u32.
135680459c65SMartin Mares
1357a85769a8SMartin Mares2003-12-26  Martin Mares  <[email protected]>
1358a85769a8SMartin Mares
13597dacd9c8SMartin Mares	* lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call
13607dacd9c8SMartin Mares	config_fetch() to ensure that the registers have been read. Thanks to
13617dacd9c8SMartin Mares	Bill Wood <[email protected]> for the patch.
13627dacd9c8SMartin Mares
13637dacd9c8SMartin Mares	* lspci.c: Ensure that failure of config_fetch() is handled correctly
13647dacd9c8SMartin Mares	at all places.
13657dacd9c8SMartin Mares
13664063c31cSMartin Mares	* lspci.man: There was one more explicit reference to /usr/share/pci.ids.
13674063c31cSMartin Mares	Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>.
13684063c31cSMartin Mares
13693fe8a38dSMartin Mares	* setpci.c (main): Better error messages.
13703fe8a38dSMartin Mares
13715f5b1a7bSMartin Mares	* setpci.c (ex_op): The demo mode should disable only writing, not reading.
13725f5b1a7bSMartin Mares
13735f5b1a7bSMartin Mares	* setpci.man: The documentation was inconsistent on what should -D do.
13745f5b1a7bSMartin Mares	Document the new behaviour.
1375b251f40bSMartin Mares
137691e37a49SMartin Mares	* pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
137791e37a49SMartin Mares	the GCC specific __attribute__((noreturn)) and killed the hack with
137891e37a49SMartin Mares	redefining __attribute__ on non-GCC compilers.
137991e37a49SMartin Mares
13804afd29d3SMartin Mares	* Makefile: Added missing dependencies. Parallel builds work now.
13814afd29d3SMartin Mares	Problem reported by Andreas Haumer <[email protected]>, but I chose
13824afd29d3SMartin Mares	a different fix.
13834afd29d3SMartin Mares
1384b0f1a03bSMartin Mares	* Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell
1385b0f1a03bSMartin Mares	command every time $(MANDIR) is referenced.
1386b0f1a03bSMartin Mares
1387b7fd8e19SMartin Mares	* lspci.c (main): The error message for `lspci -s' incorrectly mentioned
1388b7fd8e19SMartin Mares	a `-f' switch. Reported by Steve Finney <[email protected]>.
1389b7fd8e19SMartin Mares
139005bb10a2SMartin Mares	* lib/generic.c: Removed memory leak in pci_generic_bus_scan().
139105bb10a2SMartin Mares	Reported by Gary Parnes <[email protected]>.
139205bb10a2SMartin Mares
1393a832f6f1SMartin Mares	* Replaced obsolete syntax of __attribute__((unused)) in the middle of
1394a832f6f1SMartin Mares	parameter declarations (which is no longer supported by GCC 3.1) by the
1395a832f6f1SMartin Mares	current syntax (attribute at the end). Thanks to [email protected]
1396a832f6f1SMartin Mares	for reporting this problem.
1397a832f6f1SMartin Mares
1398a85769a8SMartin Mares	* Removed CVS $Id$ tags from all files.
1399a85769a8SMartin Mares
1400a85769a8SMartin Mares	* Makefile: Added some more warnings.
1401a85769a8SMartin Mares
1402b7351143SMartin Mares	* setpci.c: Cleaned up mask/value code.
1403b7351143SMartin Mares
1404b7351143SMartin Mares2003-12-08 Thayne Harbaugh <[email protected]>
1405b7351143SMartin Mares
1406b7351143SMartin Mares	* setpci.c: Individual bits to be set can be specified as <value>:<mask>.
1407b7351143SMartin Mares
14082a5d5cf9SMartin Mares2003-11-29  Martin Mares  <[email protected]>
14092a5d5cf9SMartin Mares
14102a5d5cf9SMartin Mares	* Imported the pciutils sources to my Arch repository. Good-bye, CVS.
14112a5d5cf9SMartin Mares
1412d772ef15SMartin Mares2003-01-04  Martin Mares  <[email protected]>
1413d772ef15SMartin Mares
14141b95f396SMartin Mares	* Released as 2.1.11.
14151b95f396SMartin Mares
1416c83293ebSMartin Mares	* Makefile: Changed configuration of installation directories --
1417c83293ebSMartin Mares	all paths are now set at the top of the Makefile instead of being
1418c83293ebSMartin Mares	scattered between the installation rules. The default installation
1419c83293ebSMartin Mares	now goes always to /usr/local regardless of the OS as most distributions
1420c83293ebSMartin Mares	already contain some version of pciutils and we don't want custom
1421c83293ebSMartin Mares	installations to interfere with the default ones.
1422c83293ebSMartin Mares
1423c83293ebSMartin Mares	* Makefile: Removed a couple of ancient install hacks: we no longer
1424c83293ebSMartin Mares	try to avoid overwriting a newer pci.ids file (users are now expected
1425c83293ebSMartin Mares	to use update-ids) and we don't try to remove /etc/pci.ids (a long time
1426c83293ebSMartin Mares	has passed since the last version which used it).
1427c83293ebSMartin Mares
1428e2875dcdSMartin Mares	* Makefile: Paths to pci.ids in man pages automatically get the right path.
1429e2875dcdSMartin Mares
14301b95f396SMartin Mares	* Added the update-ids utility.
14310138a2a7SMartin Mares
1432d772ef15SMartin Mares	* lib: Removed partially implemented "syscall" access method which will
1433d772ef15SMartin Mares	probably never be needed.
1434d772ef15SMartin Mares
1435eb620239SMartin Mares2002-12-27  Martin Mares  <[email protected]>
1436eb620239SMartin Mares
1437130090bdSMartin Mares	* lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe.
1438130090bdSMartin Mares
1439eb620239SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Added work-around for devices with
1440eb620239SMartin Mares	discontiguous numbering of functions. This is already present in the Linux
1441eb620239SMartin Mares	kernel for several years, but I forgot to update pciutils as well.
1442eb620239SMartin Mares
1443848b4347SMartin Mares2002-12-26  Martin Mares  <[email protected]>
1444848b4347SMartin Mares
1445579b19ffSMartin Mares	* lib/header.h, lspci.c: Dump AGP3 flags and speeds.
1446579b19ffSMartin Mares
1447579b19ffSMartin Mares	* lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header,
1448579b19ffSMartin Mares	there is no reason to prefer the kernel version.
1449579b19ffSMartin Mares
1450579b19ffSMartin Mares	* lib/proc.c (proc_scan): Don't forget to initialize hdrtype.
1451579b19ffSMartin Mares
1452848b4347SMartin Mares	* Added preliminary version of NetBSD support by Quentin Garnier
1453848b4347SMartin Mares	<[email protected]>.
1454848b4347SMartin Mares
1455f0952474SMartin Mares2002-04-06  Martin Mares  <[email protected]>
1456f0952474SMartin Mares
1457f0952474SMartin Mares	* lspci.c: Mention "-xxx" in the help.
1458f0952474SMartin Mares
1459d2f666f1SMartin Mares2002-03-30  Martin Mares  <[email protected]>
1460d2f666f1SMartin Mares
14619bd44bb0SMartin Mares	* Released as 2.1.10.
14629bd44bb0SMartin Mares
1463a33d0eb7SMartin Mares	* Removed pci.ids from the CVS as they are now maintained separately.
1464a33d0eb7SMartin Mares	They are still included in the tarball, but if you are building	pciutils
1465a33d0eb7SMartin Mares	from CVS sources or you want to get a newer ID file than the one distributed,
1466a33d0eb7SMartin Mares	just use "make update-ids" to download the most recent snapshot from
1467a33d0eb7SMartin Mares	pciids.sf.net.
1468a33d0eb7SMartin Mares
1469a33d0eb7SMartin Mares	* Makefile, README: Updated accordingly.
1470a33d0eb7SMartin Mares
1471a33d0eb7SMartin Mares	* Makefile: Added a couple of maintenance targets.
1472a33d0eb7SMartin Mares
1473a33d0eb7SMartin Mares	* maint/*: Maintainer's utilities now reside here (present only in CVS,
1474a33d0eb7SMartin Mares	not in the tarball).
1475a33d0eb7SMartin Mares
1476d2f666f1SMartin Mares	* lib/names.c (parse_name_list): End-of-line comments are no longer
1477d2f666f1SMartin Mares	supported. Hashes are now perfectly valid in all names and they start
1478d2f666f1SMartin Mares	a comment only at the start of the line.
1479d2f666f1SMartin Mares
1480ee551b73SMartin Mares2002-03-26  Martin Mares  <[email protected]>
1481ee551b73SMartin Mares
148207159913SMartin Mares	* README: Rewritten.
148307159913SMartin Mares
1484ee551b73SMartin Mares	* Makefile: When the currently installed pci.ids file is newer than
1485ee551b73SMartin Mares	the version to be installed, don't overwrite it. Suggested by
1486ee551b73SMartin Mares	Jean Delvare <[email protected]>.
1487ee551b73SMartin Mares
1488bc7b1d62SMartin Mares2002-03-24  Martin Mares  <[email protected]>
1489bc7b1d62SMartin Mares
14905f5e6f64SMartin Mares	* lspci.c (show_pcix_bridge): Added PCI-X capability display.
14915f5e6f64SMartin Mares	Contributed by Jeff Garzik <[email protected]>.
14925f5e6f64SMartin Mares
14935f5e6f64SMartin Mares	* lib/header.h: Added PCI-X stuff. Again by Jeff.
14945f5e6f64SMartin Mares
14955f5e6f64SMartin Mares	* Makefile (CFLAGS): -Werror is gone.
14965f5e6f64SMartin Mares
1497a1052f16SMartin Mares	* lspci.c (format_agp_rate): Fixed AGP rate reporting.
1498a1052f16SMartin Mares
1499bc7b1d62SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and
1500bc7b1d62SMartin Mares	function 7.
1501bc7b1d62SMartin Mares
1502bc7b1d62SMartin Mares	* lib/names.c (pci_lookup_name): When printing unknown subsystem vendor
1503bc7b1d62SMartin Mares	or device hexadecimally, don't confuse it with chip vendor/device ID.
1504bc7b1d62SMartin Mares	First reported by Marc Boucher <[email protected]>.
1505bc7b1d62SMartin Mares
1506f793990cSMartin Mares2001-11-04  Martin Mares  <[email protected]>
1507f793990cSMartin Mares
1508ee551b73SMartin Mares	* Released as 2.1.9.
1509ee551b73SMartin Mares
1510f793990cSMartin Mares	* pci.ids: Synced with the PCI ID Repository at SourceForge
1511f793990cSMartin Mares	(http://pciids.sourceforge.net/).
1512f793990cSMartin Mares
15131d174e56SMartin Mares2000-08-25  Martin Mares  <[email protected]>
15141d174e56SMartin Mares
15151d174e56SMartin Mares	* pci.ids: Updated ID's, synced with kernel 2.4.0-test7.
15161d174e56SMartin Mares
151765b4327eSMartin Mares2000-06-13  Martin Mares  <[email protected]>
151865b4327eSMartin Mares
151965b4327eSMartin Mares	* Makefile (uninstall): Fixed.
152065b4327eSMartin Mares
152165b4327eSMartin Mares	* pci.ids: ID updates.
152265b4327eSMartin Mares
15234a219d5fSMartin Mares2000-05-20  Martin Mares  <[email protected]>
15244a219d5fSMartin Mares
15254a219d5fSMartin Mares	* Released as 2.1.8.
15264a219d5fSMartin Mares
15274a219d5fSMartin Mares	* pci.ids: ID updates.
15284a219d5fSMartin Mares
15294a219d5fSMartin Mares	* lspci.c (show_verbose): Min/max latency is now printed in nanoseconds.
15304a219d5fSMartin Mares
15314a219d5fSMartin Mares2000-05-04  Martin Mares  <[email protected]>
15324a219d5fSMartin Mares
15334a219d5fSMartin Mares	* lspci.c (show_verbose): If the header type doesn't match device
15344a219d5fSMartin Mares	class, just print a warning and still use the header type, assuming
15354a219d5fSMartin Mares	bogus class info.
15364a219d5fSMartin Mares
153710c90662SMartin Mares2000-05-01  Martin Mares  <[email protected]>
153810c90662SMartin Mares
153972b9b690SMartin Mares	* lspci.c (show_pm): Updated according to PCI PM specs 1.1.
154072b9b690SMartin Mares
154110c90662SMartin Mares	* pci.ids: Updated Contemporary Control ARCnet card entries.
154210c90662SMartin Mares
154310c90662SMartin Mares	* pci.ids: Synchronized class list with latest PCI SIG documents.
154410c90662SMartin Mares
1545a239ade6SMartin Mares2000-04-29  Martin Mares  <[email protected]>
1546a239ade6SMartin Mares
1547a239ade6SMartin Mares	* lib/names.c (pci_lookup_name): Fixed the cheat.
1548a239ade6SMartin Mares
1549a239ade6SMartin Mares	* lib/internal.h: Moved UNUSED/inline hacks above all other declarations.
1550a239ade6SMartin Mares
1551a239ade6SMartin Mares	* pci.ids: Various ID updates.
1552a239ade6SMartin Mares
15532c83b860SMartin Mares2000-04-21  Martin Mares  <[email protected]>
15542c83b860SMartin Mares
15552c83b860SMartin Mares	* Released as 2.1.7.
15562c83b860SMartin Mares
15572c83b860SMartin Mares	* pciutils.spec: Added German description.
15582c83b860SMartin Mares
15592c83b860SMartin Mares	* lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's
15602c83b860SMartin Mares	are the same as device ID and just output subsystem name according to
15612c83b860SMartin Mares	device name.
15622c83b860SMartin Mares
15632c83b860SMartin Mares	* lib/proc.c: Use UNUSED instead of __attribute__((unused)).
15642c83b860SMartin Mares
15652c83b860SMartin Mares	* lib/pci.h: Added the correct typedefs for AIX.
15662c83b860SMartin Mares
15672c83b860SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Export.
15682c83b860SMartin Mares
15692c83b860SMartin Mares	* lib/configure: Detect AIX. Use "echo '...\c'" instead of
15702c83b860SMartin Mares	"echo -n" if the shell isn't bash.
15712c83b860SMartin Mares
15722c83b860SMartin Mares	* lspci.c: Avoid using alloca() if not compiled by GCC.
15732c83b860SMartin Mares	(insert_dev): Avoid returning a void value.
15742c83b860SMartin Mares
15752c83b860SMartin Mares	* Makefile: Choose which install utility to use according to
15762c83b860SMartin Mares	OS type. Also use `-o' instead of `-or' in find arguments.
15772c83b860SMartin Mares	Part of the AIX port.
15782c83b860SMartin Mares
15792c83b860SMartin Mares	* lib/aix-device.c: Added AIX low-level interface. Contributed
15802c83b860SMartin Mares	by Dave Johnson <[email protected]>, thanks a lot!
15812c83b860SMartin Mares
15822c83b860SMartin Mares	* pci.ids: Few new ID's.
15832c83b860SMartin Mares
15842c83b860SMartin Mares	* pciutils.h, lib/internal.h: Redefine __attribute__ and inline
15852c83b860SMartin Mares	when not compiled by GCC.
15862c83b860SMartin Mares
1587c1a828daSMartin Mares2000-04-17  Martin Mares  <[email protected]>
1588c1a828daSMartin Mares
1589c1a828daSMartin Mares	* Released as 2.1.6.
1590c1a828daSMartin Mares
1591c1a828daSMartin Mares	* pci.ids: Added a large batch of ID's contributed by Gunther
1592c1a828daSMartin Mares	Mayer <[email protected]> and synced the
1593c1a828daSMartin Mares	list with the 2.3.99pre6 kernel.
1594c1a828daSMartin Mares
1595e91dd3abSMartin MaresThu Mar  9 13:11:39 2000  Martin Mares  <[email protected]>
1596e91dd3abSMartin Mares
1597a80b79a9SMartin Mares	* lib/example.c: Added a simple example of how to use
1598a80b79a9SMartin Mares	the library.
1599a80b79a9SMartin Mares
160089984232SMartin Mares	* lspci.man, setpci.man: Revealed --version. Well spotted
160189984232SMartin Mares	by Adam Sulmicki.
160289984232SMartin Mares
1603e91dd3abSMartin Mares	* pci.ids: Added lots of new ID's and synced with 2.3.50.
1604e91dd3abSMartin Mares
160578d9c5e2SMartin MaresTue Feb 15 00:16:21 2000  Martin Mares  <[email protected]>
160678d9c5e2SMartin Mares
160778d9c5e2SMartin Mares	* Released as 2.1.5.
160878d9c5e2SMartin Mares
160978d9c5e2SMartin Mares	* pciutils.spec: Updated spec file from Andreas Jaeger. Now using
161078d9c5e2SMartin Mares	%{_mandir} to find the right location to install manual pages to.
161178d9c5e2SMartin Mares
161278d9c5e2SMartin Mares	* pci.ids: New ID's.
161378d9c5e2SMartin Mares
161478d9c5e2SMartin Mares	* setpci.c (main): Don't crash when `-s' or `-d' is given with
161578d9c5e2SMartin Mares	no argument.
161678d9c5e2SMartin Mares
1617f8141ae2SMartin MaresMon Jan 24 20:04:11 2000  Andreas Jaeger  <[email protected]>
1618f8141ae2SMartin Mares
1619f8141ae2SMartin Mares	* lib/i386-ports.c: Include <asm/io.h> only on systems without
1620f8141ae2SMartin Mares	glibc.
1621f8141ae2SMartin Mares
1622f8141ae2SMartin MaresMon Jan 24 11:24:43 2000  Martin Mares  <[email protected]>
1623f8141ae2SMartin Mares
1624f8141ae2SMartin Mares	* Makefile: Modified to work with the Linux FHS brain-damaged idea
1625f8141ae2SMartin Mares	of putting man pages to /usr/share/man. Now we choose either /usr/man
1626f8141ae2SMartin Mares	or /usr/share/man depending on which one exists.
1627f8141ae2SMartin Mares
162859e76e8bSMartin MaresSun Jan 23 10:52:34 2000  Martin Mares  <[email protected]>
162959e76e8bSMartin Mares
163059e76e8bSMartin Mares	* pci.ids: Synced with Linux 2.3.40.
163159e76e8bSMartin Mares
163259e76e8bSMartin Mares	* Released as version 2.1.4.
163359e76e8bSMartin Mares
16342dfd48cdSMartin MaresThu Jan 20 11:08:32 2000  Martin Mares  <[email protected]>
16352dfd48cdSMartin Mares
16362715403fSMartin Mares	* lspci.c (scan_device): Fixed bug in reading of cardbus extensions.
16372715403fSMartin Mares
163881077814SMartin Mares	* lib/proc.c: pread/pwrite fixed again, this time on libc5 :(
163981077814SMartin Mares
164081077814SMartin Mares	* lspci.c (format_agp_rate): Better formatting of AGP rates.
164181077814SMartin Mares
164281077814SMartin Mares	* pci.ids: New ID's.
164381077814SMartin Mares
16442dfd48cdSMartin Mares	* lib/configure: Added configuration for ia64 (the same as for Alpha).
16452dfd48cdSMartin Mares	Patch from Stephane Eranian <[email protected]>.
16462dfd48cdSMartin Mares
16475a258860SMartin MaresThu Jan 13 23:01:52 2000  Martin Mares  <[email protected]>
16485a258860SMartin Mares
16495a258860SMartin Mares	* Released as version 2.1.3.
16505a258860SMartin Mares
16515a258860SMartin Mares	* pci.ids: New ID's.
16525a258860SMartin Mares
16535a258860SMartin Mares	* lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli.
16545a258860SMartin Mares
16555a258860SMartin Mares	* lib/access.c: Corrected order of access methods -- it's wonderful how
16565a258860SMartin Mares	long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff.
16575a258860SMartin Mares
16580c047bbeSMartin MaresSat Dec 11 23:34:48 1999  Martin Mares  <[email protected]>
16590c047bbeSMartin Mares
16600c047bbeSMartin Mares	* Released as version 2.1.2.
16610c047bbeSMartin Mares
16620c047bbeSMartin Mares	* lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
16630c047bbeSMartin Mares
166433bc28a5SMartin MaresSat Dec  4 13:11:03 1999  Martin Mares  <[email protected]>
166533bc28a5SMartin Mares
166639231205SMartin Mares	* Released as version 2.1.1.
166739231205SMartin Mares
166833bc28a5SMartin Mares	* pci.ids: Several new ID's.
166933bc28a5SMartin Mares
167033bc28a5SMartin Mares	* setpci.c (exec_op): Don't forget to increment address after writing
167133bc28a5SMartin Mares	single value, so that `30.b=12,34,56,78' works as expected. Reported
167233bc28a5SMartin Mares	by Petr Soucek <[email protected]>.
167333bc28a5SMartin Mares
16748d047897SMartin MaresWed Nov  3 10:24:38 1999  Martin Mares  <[email protected]>
16758d047897SMartin Mares
16768d047897SMartin Mares	* lspci.c (show_terse): If prog-if is zero, but it's present in the
16778d047897SMartin Mares	ID list, show it.
16788d047897SMartin Mares
16796afc6538SMartin MaresSat Oct 30 11:06:35 1999  Martin Mares  <[email protected]>
16806afc6538SMartin Mares
16816afc6538SMartin Mares	* Released as version 2.1.
16826afc6538SMartin Mares
16836afc6538SMartin Mares	* pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in
16846afc6538SMartin Mares	lots of contributed entries.
16856afc6538SMartin Mares
16868f756113SMartin MaresThu Oct 14 10:40:12 1999  Dave Jones    <[email protected]>
16878f756113SMartin Mares
16888f756113SMartin Mares	* pci.ids: Added lots of subsystem definitions.
16898f756113SMartin Mares
1690d4798a32SMartin MaresSat Oct  9 14:32:28 1999  Martin Mares  <[email protected]>
1691d4798a32SMartin Mares
1692d4798a32SMartin Mares	* setpci.man: Better example.
1693d4798a32SMartin Mares
1694d4798a32SMartin Mares	* lspci.c: Resolve prog-if names.
1695d4798a32SMartin Mares
1696d4798a32SMartin Mares	* lib/names.c: Adapted to new pci.ids syntax.
1697d4798a32SMartin Mares
1698d4798a32SMartin Mares	* pci.ids: Reorganized the pci.ids file. Subsystems are listed
1699d4798a32SMartin Mares	under devices, classes can optionally contain prog-if information.
1700d4798a32SMartin Mares	New ID's, as usually.
1701d4798a32SMartin Mares
1702e306e911SMartin MaresWed Sep 22 09:45:24 1999  Martin Mares  <[email protected]>
1703e306e911SMartin Mares
1704e306e911SMartin Mares	* pci.ids: New ID's. As usually.
1705e306e911SMartin Mares
1706e306e911SMartin Mares	* lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows
1707e306e911SMartin Mares	unless we're vvvery verbose.
1708e306e911SMartin Mares
1709e306e911SMartin MaresMon Sep 20 11:22:54 1999  Martin Mares  <[email protected]>
1710e306e911SMartin Mares
1711e306e911SMartin Mares	* lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
1712e306e911SMartin Mares
1713e64a576cSMartin MaresTue Sep 14 09:31:01 1999  Martin Mares  <[email protected]>
1714e64a576cSMartin Mares
1715e64a576cSMartin Mares	* pci.ids: New ID's. Again.
1716e64a576cSMartin Mares
1717c36c0862SMartin MaresThu Aug  5 17:45:42 1999  Martin Mares  <[email protected]>
1718c36c0862SMartin Mares
1719c36c0862SMartin Mares	* lspci.c (show_size): Don't show size if it's zero (usually
1720c36c0862SMartin Mares	due to bus-centric mode being enabled).
1721c36c0862SMartin Mares
17221ca42433SMartin MaresTue Jul 20 13:25:09 1999  Martin Mares  <[email protected]>
17231ca42433SMartin Mares
1724168b4f46SMartin Mares	* lib/pci.h: Types are OS dependent.
1725168b4f46SMartin Mares
1726168b4f46SMartin Mares	* lib/internal.h: Byte order hacks are OS dependent.
1727168b4f46SMartin Mares
1728168b4f46SMartin Mares	* lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS.
1729168b4f46SMartin Mares
1730168b4f46SMartin Mares	* lib/Makefile, lib/access.c: Added fbsd-device target.
1731168b4f46SMartin Mares
1732168b4f46SMartin Mares	* pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
1733168b4f46SMartin Mares	incorrectly set to device ID.
1734168b4f46SMartin Mares
1735168b4f46SMartin Mares	* README: Added a note that we support FreeBSD.
1736168b4f46SMartin Mares
1737168b4f46SMartin Mares	* Makefile (PREFIX, ROOT): Set it depending on the OS.
1738168b4f46SMartin Mares	(%.8): Grrr, BSD date is not able to convert date formats the same way
1739168b4f46SMartin Mares	as GNU date does. Use sed instead.
1740168b4f46SMartin Mares	(install): Use `-c' when calling install.
1741168b4f46SMartin Mares
1742168b4f46SMartin Mares	* lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed
1743168b4f46SMartin Mares	by Jari Kirma <[email protected]>.
1744168b4f46SMartin Mares
1745bc6346dfSMartin Mares	* lib/proc.c: Rewrote the pread/pwrite things once again. Use pread
1746bc6346dfSMartin Mares	and pwrite only when we are certain it's safe (i.e., glibc 2.1
1747bc6346dfSMartin Mares	on all architectures or any libc on a i386 where we really know
1748bc6346dfSMartin Mares	how to use syscalls directly). In all other cases, emulate it
1749bc6346dfSMartin Mares	with lseek/read/write.
1750bc6346dfSMartin Mares
17511ca42433SMartin Mares	* pci.ids: Some more IDs.
17521ca42433SMartin Mares
17531ca42433SMartin MaresMon Jul 19 14:10:36 1999  Martin Mares  <[email protected]>
17541ca42433SMartin Mares
17551ca42433SMartin Mares	* pci.ids: Added IDs of parallel port controller cards as sent
17561ca42433SMartin Mares	by Tim Waugh <[email protected]>.
17571ca42433SMartin Mares
1758e95c8373SMartin MaresWed Jul  7 00:55:48 1999  Martin Mares  <[email protected]>
1759e95c8373SMartin Mares
1760e95c8373SMartin Mares	* lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS.
1761e95c8373SMartin Mares
1762e95c8373SMartin Mares	* lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and
1763e95c8373SMartin Mares	HAVE_LONG_ADDRESS.
1764e95c8373SMartin Mares
1765e95c8373SMartin Mares	* lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses
1766e95c8373SMartin Mares	are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS
1767e95c8373SMartin Mares	to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS
1768e95c8373SMartin Mares	and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS
1769e95c8373SMartin Mares	on Alpha.
1770e95c8373SMartin Mares
1771e95c8373SMartin Mares	* lspci.c (show_msi): Added dumping of the MSI capability.
1772e95c8373SMartin Mares	(show_slotid): The same for SlotID capability.
1773e95c8373SMartin Mares	(show_caps): Seperated capability dumping, because it should
1774e95c8373SMartin Mares	be used for both htype0 and htype1. Even PCI 2.2 doesn't mention
1775e95c8373SMartin Mares	layout of htype2, so I'm a bit unsure about it wrt capabilities
1776e95c8373SMartin Mares	-- they at least have to live somewhere else since address 0x34
1777e95c8373SMartin Mares	is already defined differently in htype2.
1778e95c8373SMartin Mares
1779e95c8373SMartin Mares	* lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2).
1780e95c8373SMartin Mares	(PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto.
1781e95c8373SMartin Mares	(PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2.
1782e95c8373SMartin Mares
1783e95c8373SMartin Mares	* lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers
1784e95c8373SMartin Mares	(required by the PCI 2.2 specs).
1785e95c8373SMartin Mares
1786e95c8373SMartin MaresMon Jul  5 12:45:19 1999  Martin Mares  <[email protected]>
1787e95c8373SMartin Mares
1788e95c8373SMartin Mares	* lspci.c (show_size): Added new function for dumping of region sizes.
1789e95c8373SMartin Mares	(show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled
1790e95c8373SMartin Mares	ROMs et cetera.
1791e95c8373SMartin Mares
1792e95c8373SMartin Mares	* lib/pci.h (struct pci_dev): known_fields moved to the public part
1793e95c8373SMartin Mares	of the structure.
1794e95c8373SMartin Mares
1795e95c8373SMartin Mares	* Added support for region sizes. Needs support in the kernel, because
1796e95c8373SMartin Mares	sizes have to be scanned before drivers initialize yourself. pci_fill_info()
1797e95c8373SMartin Mares	now returns a bitmask of what fields were really read.
1798e95c8373SMartin Mares
179982ce97c9SMartin MaresMon Jun 28 18:37:51 1999  Dave Jones    <[email protected]>
180082ce97c9SMartin Mares
180182ce97c9SMartin Mares	* Makefile:
180282ce97c9SMartin Mares	  Added `uninstall' target - removes all traces of pciutils.
180382ce97c9SMartin Mares	* pci.ids:
180482ce97c9SMartin Mares	  - Lots of cleanups in the ATI, S3, Adaptec vendors.
180582ce97c9SMartin Mares	  - Changed Compaq QVision 1280/p definitions, as it's not possible
180682ce97c9SMartin Mares	    to determine the revision from the device ID.
180782ce97c9SMartin Mares	  - Same for the Tseng ET4000.
180882ce97c9SMartin Mares	    The id's said I had a rev C, when it was actually a rev B.
180982ce97c9SMartin Mares	  - Removed some unnecessary strings
181082ce97c9SMartin Mares	    `PCI'. Unless it's an AGP card, it should be obvious that it's PCI.
181182ce97c9SMartin Mares	    `Ethernet card'. This should be determined from config space.
181282ce97c9SMartin Mares	  - Lots of other new vendors & devices
181382ce97c9SMartin Mares	  - Other additional small cleanups.
181482ce97c9SMartin Mares
18157bed2d83SMartin MaresMon Jun 21 22:11:10 1999  Martin Mares  <[email protected]>
18167bed2d83SMartin Mares
18177bed2d83SMartin Mares	* lib/names.c (pci_lookup_name): When device ID lookup
18187bed2d83SMartin Mares	fails, return hexadecimal device ID instead of vendor ID.
18197bed2d83SMartin Mares	Well spotted by Axel Bodemann <[email protected]>,
18207bed2d83SMartin Mares	I've just extended the fix to subsystem ID's.
18217bed2d83SMartin Mares
18225ba3a475SMartin MaresThu Jun 17 19:48:21 1999  Martin Mares  <[email protected]>
18235ba3a475SMartin Mares
18245ba3a475SMartin Mares	* lspci.c (show_agp): Bug fix from Petr Vandrovec
18255ba3a475SMartin Mares	<[email protected]>. The command register was displayed
18265ba3a475SMartin Mares	incorrectly.
18275ba3a475SMartin Mares
18285ba3a475SMartin MaresWed Jun  2 22:42:44 1999  Martin Mares  <[email protected]>
18295ba3a475SMartin Mares
18305ba3a475SMartin Mares	* lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
18315ba3a475SMartin Mares	numbers if not supplied by the libc.
18325ba3a475SMartin Mares
183355c815b5SMartin MaresWed May 19 13:24:39 1999  Martin Mares  <[email protected]>
183455c815b5SMartin Mares
183555c815b5SMartin Mares	* Released the whole package as version 2.0.
183655c815b5SMartin Mares
183755c815b5SMartin MaresFri May 14 22:42:02 1999  Martin Mares  <[email protected]>
183855c815b5SMartin Mares
183955c815b5SMartin Mares	* pci.ids: Added several new ID's contributed by people
184055c815b5SMartin Mares	on the linux-pci list.
184155c815b5SMartin Mares
1842dec16943SMartin MaresMon Apr 19 15:21:08 1999  Jakub Jelinek  <[email protected]>
1843dec16943SMartin Mares
1844dec16943SMartin Mares	* lspci.c: Display I/O addresses correctly on sparc64.
1845dec16943SMartin Mares	* lib/header.h: Ditto.
1846dec16943SMartin Mares
1847dec16943SMartin Mares	* lib/configure: On sparc set HAVE_64BIT* as well, we want
1848dec16943SMartin Mares	a binary which works on both 32bit and 64bit SPARCs.
1849dec16943SMartin Mares
1850e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999  Martin Mares  <[email protected]>
1851e33c9c7aSMartin Mares
1852e33c9c7aSMartin Mares	* lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
1853e33c9c7aSMartin Mares	<[email protected]>.
1854e33c9c7aSMartin Mares
1855e33c9c7aSMartin Mares	* pci.ids: A lot of updates from Adam J. Richter <[email protected]>.
1856e33c9c7aSMartin Mares
1857f3395cc5SMartin MaresSun Feb 28 22:26:21 1999  Martin Mares  <[email protected]>
1858f3395cc5SMartin Mares
1859f3395cc5SMartin Mares	* lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
1860f3395cc5SMartin Mares	as a multi-function device, because several single-function devices
1861f3395cc5SMartin Mares	don't decode the function bits at all.
1862f3395cc5SMartin Mares
1863f3395cc5SMartin MaresSun Feb 14 23:48:22 1999  Martin Mares  <[email protected]>
1864f3395cc5SMartin Mares
1865f3395cc5SMartin Mares	* Makefile (install): Don't use "-o root -g root" for installation
1866f3395cc5SMartin Mares	since it breaks on machines where programs are not installed by root.
1867f3395cc5SMartin Mares	Reported by Richard Gooch <[email protected]>
1868f3395cc5SMartin Mares
1869f3395cc5SMartin MaresTue Feb  9 15:54:39 1999  Martin Mares  <[email protected]>
1870f3395cc5SMartin Mares
1871f3395cc5SMartin Mares	* lspci.c (show_bases): Use new address masking macros and pciaddr_t.
1872f3395cc5SMartin Mares
1873f3395cc5SMartin Mares	* lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
1874f3395cc5SMartin Mares	or 64-bit depending on CPU.
1875f3395cc5SMartin Mares
1876f3395cc5SMartin Mares	* lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
1877f3395cc5SMartin Mares	according to bus address width.
1878f3395cc5SMartin Mares
18791c31d620SMartin MaresThu Jan 28 20:54:16 1999  Martin Mares  <[email protected]>
18801c31d620SMartin Mares
18811c31d620SMartin Mares	* Released as 1.99.4.
18821c31d620SMartin Mares
18831c31d620SMartin Mares	* lspci.c: Capability list parser now recognizes both AGP
18841c31d620SMartin Mares	registers and PCI Power Management registers (the latter
18851c31d620SMartin Mares	is mainly guesswork based on DEC/Intel 21153 bridge specs
18861c31d620SMartin Mares	since I don't have the PCI Power Management document).
18871c31d620SMartin Mares
18881c31d620SMartin Mares	* lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
18891c31d620SMartin Mares	by FLAG macro.
18901c31d620SMartin Mares
18911c31d620SMartin Mares	* lspci.c: Added bridge checks to bus mapping code.
18921c31d620SMartin Mares
18931812a795SMartin MaresWed Jan 27 14:59:16 1999  Martin Mares  <[email protected]>
18941812a795SMartin Mares
18951812a795SMartin Mares	* lspci.c: Implemented bus mapping mode (-M).
18961812a795SMartin Mares
18971812a795SMartin Mares	* lspci.c (scan_devices): Split to scan_devices() and scan_device().
18981812a795SMartin Mares	(show): Split to show() and show_device().
18991812a795SMartin Mares
19001812a795SMartin Mares	* lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
19011812a795SMartin Mares	set it to the real access method afterwards.
19021812a795SMartin Mares
19031812a795SMartin MaresMon Jan 25 23:46:13 1999  Martin Mares  <[email protected]>
19041812a795SMartin Mares
19051812a795SMartin Mares	* lib/generic.c (pci_generic_fill_info): If in buscentric mode,
19061812a795SMartin Mares	don't check PCI_COMMAND for I/O and memory enables.
19071812a795SMartin Mares
1908f6c86928SMartin MaresMon Jan 25 21:28:49 1999  Martin Mares  <[email protected]>
1909f6c86928SMartin Mares
1910f6c86928SMartin Mares	* Makefile: Added target `release' which substitutes new version
1911f6c86928SMartin Mares	number to .spec, .lsm and README. Also rewrote target `dist'.
1912f6c86928SMartin Mares
1913f6c86928SMartin Mares	* Released as 1.99.3.
1914f6c86928SMartin Mares
1915b5137411SMartin MaresSun Jan 24 22:10:36 1999  Martin Mares  <[email protected]>
1916b5137411SMartin Mares
1917d6b297d0SMartin Mares	* lib/header.h: Until kernel adopts new layout of PCI
1918d6b297d0SMartin Mares	includes (i.e., separate declaration of header structure,
1919d6b297d0SMartin Mares	functions and device IDs), which is not going to happen
1920d6b297d0SMartin Mares	before 2.3, we'll use our own definiton of the header.
1921d6b297d0SMartin Mares
1922b5137411SMartin Mares	* lspci.c (show_verbose): Display `Cap' flag in device status.
1923b5137411SMartin Mares
1924b5137411SMartin Mares	* lspci.c (show_htype0): Display capability lists whereever
1925b5137411SMartin Mares	available. The only capability name we recognize now is `AGP'.
1926b5137411SMartin Mares	Unfortunately, capabilities are stored in device-dependent
1927b5137411SMartin Mares	portion of the configuration space and are thus available
1928b5137411SMartin Mares	only to root unless you read a dump.
1929b5137411SMartin Mares
1930b5137411SMartin Mares	* lspci.c (scan_devices): Use cache instead of buffering.
1931b5137411SMartin Mares
1932b5137411SMartin Mares	* lib/buffer.c: Removed (obsoleted by the cache).
1933b5137411SMartin Mares
1934b5137411SMartin Mares	* lib/access.c: Added general caching mechanism.
1935b5137411SMartin Mares
193681ce358dSMartin MaresSat Jan 23 21:30:54 1999  Martin Mares  <[email protected]>
193781ce358dSMartin Mares
193881ce358dSMartin Mares	* pci.ids: Added few devices.
193981ce358dSMartin Mares
1940727ce158SMartin MaresFri Jan 22 19:29:31 1999  Martin Mares  <[email protected]>
1941727ce158SMartin Mares
1942727ce158SMartin Mares	* Version string is now defined in top-level Makefile, exported
1943727ce158SMartin Mares	to the configure script and also substituted to man pages.
1944727ce158SMartin Mares
1945727ce158SMartin Mares	* lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
1946727ce158SMartin Mares	(show_verbose): Rewrote interrupt display logic.
1947727ce158SMartin Mares
1948727ce158SMartin Mares	* lib/i386-ports.c: Include sys/io.h only on glibc systems.
1949727ce158SMartin Mares
1950727ce158SMartin Mares	* lib/configure: Rewrote detection of Linux versions. Now it
1951727ce158SMartin Mares	works on 2.0 kernels (only with direct/dump access, of course).
1952727ce158SMartin Mares
1953727ce158SMartin Mares	* lib/internal.h: New bytesex macros using <asm/byteorder.h>
1954727ce158SMartin Mares	whenever available.
1955727ce158SMartin Mares
1956727ce158SMartin Mares	* lib/proc.c (proc_read, proc_write): Distinguish between short
1957727ce158SMartin Mares	read/write and real errors.
1958727ce158SMartin Mares
1959727ce158SMartin Mares	* lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
1960727ce158SMartin Mares	libpci respects buscentric mode automatically.
1961727ce158SMartin Mares
1962727ce158SMartin Mares	* lspci.c (show_hex_dump): For CardBus bridges, print out 128
1963727ce158SMartin Mares	bytes of header (the whole standard part).
1964727ce158SMartin Mares
1965727ce158SMartin Mares	* common.c: pcilib options are now all uppercase. Also moved
1966727ce158SMartin Mares	PCI access debugging option here.
1967727ce158SMartin Mares
1968727ce158SMartin Mares	* Released as 1.99.2.
1969727ce158SMartin Mares
1970727ce158SMartin MaresWed Jan 20 22:50:35 1999  Martin Mares  <[email protected]>
1971727ce158SMartin Mares
1972727ce158SMartin Mares	* Wrote configure script and rewrote Makefiles.
1973727ce158SMartin Mares
1974727ce158SMartin Mares	* Removed few unused variables.
1975727ce158SMartin Mares
1976727ce158SMartin MaresWed Jan 20 12:21:56 1999  Martin Mares  <[email protected]>
1977727ce158SMartin Mares
1978727ce158SMartin Mares	* common.c: Moved several functions used in both setpci and lspci
1979727ce158SMartin Mares	here. This includes parsing of libpci-related options.
1980727ce158SMartin Mares
1981727ce158SMartin Mares	* More library tweaks.
1982727ce158SMartin Mares
1983727ce158SMartin Mares	* filter.c, names.c: Moved to library.
1984727ce158SMartin Mares
1985727ce158SMartin Mares	* setpci: Rewritten to use the library.
1986727ce158SMartin Mares
1987727ce158SMartin Mares	* Released as 1.99.1.
1988727ce158SMartin Mares
1989727ce158SMartin MaresTue Jan 19 23:00:12 1999  Martin Mares  <[email protected]>
1990727ce158SMartin Mares
1991727ce158SMartin Mares	* lspci.c (scan_devices): For cardbus bridges, read first 128
1992727ce158SMartin Mares	bytes of config space to get full standard header.
1993727ce158SMartin Mares
1994727ce158SMartin Mares	* Makefile (CFLAGS): Removed "-Wno-unused".
1995727ce158SMartin Mares
1996727ce158SMartin Mares	* Started the "New Generation" branch and introduced the
1997727ce158SMartin Mares	PCI library.
1998727ce158SMartin Mares
1999727ce158SMartin Mares	* lspci: Rewritten to use the library.
2000727ce158SMartin Mares
20016ece6bc6SMartin MaresTue Jan 19 22:24:08 1999  Martin Mares  <[email protected]>
20026ece6bc6SMartin Mares
20036ece6bc6SMartin Mares	* Released as version 1.10.
20046ece6bc6SMartin Mares
20056ece6bc6SMartin MaresMon Jan 18 08:51:17 1999  Martin Mares  <[email protected]>
20066ece6bc6SMartin Mares
20076ece6bc6SMartin Mares	* lspci.8, setpci.8: Miscellaneous fixes as suggested by
20086ece6bc6SMartin Mares	Dag Wieers <[email protected]>.
20096ece6bc6SMartin Mares
20101212dd6dSMartin MaresSun Nov 29 20:05:56 1998  Martin Mares  <[email protected]>
20111212dd6dSMartin Mares
20121212dd6dSMartin Mares	* pciutils.spec (Name): Update from Krzysztof G. Baranowski.
20131212dd6dSMartin Mares
2014d38471fdSMartin MaresSun Nov 22 10:49:56 1998  Martin Mares  <[email protected]>
2015d38471fdSMartin Mares
2016d38471fdSMartin Mares	* Makefile, pciutils.h: Moved pci.ids to /usr/share.
2017d38471fdSMartin Mares
2018d38471fdSMartin Mares	* Released as version 1.09.
2019d38471fdSMartin Mares
2020371f605bSMartin MaresWed Nov 18 15:47:05 1998  Martin Mares  <[email protected]>
2021371f605bSMartin Mares
2022371f605bSMartin Mares	* lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
2023371f605bSMartin Mares	bridge. Thanks to Petr Vandrovec <[email protected]> for bug report.
2024371f605bSMartin Mares
202510be47abSMartin MaresFri Oct 23 18:59:19 1998  Martin Mares  <[email protected]>
202610be47abSMartin Mares
202710be47abSMartin Mares	* setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
202810be47abSMartin Mares
2029472bd340SMartin MaresMon Oct 19 21:53:30 1998  Martin Mares  <[email protected]>
2030472bd340SMartin Mares
2031472bd340SMartin Mares	* Released as version 1.08.
2032472bd340SMartin Mares
2033472bd340SMartin Mares	* setpci.c: glibc 2.1.x already defines pread() and pwrite().
2034472bd340SMartin Mares
2035472bd340SMartin Mares	* lspci.8: Changed warning about lspci -xxx.
2036472bd340SMartin Mares
2037472bd340SMartin Mares	* lspci.c: Require "-xxx" for full configuration space dump, so that
2038472bd340SMartin Mares	it's impossible to crash the machine by single typo.
2039472bd340SMartin Mares
2040472bd340SMartin Mares	* specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>).
2041472bd340SMartin Mares
2042072c77e5SMartin MaresWed Sep  9 12:03:24 1998  Martin Mares  <[email protected]>
2043072c77e5SMartin Mares
2044072c77e5SMartin Mares	* lspci.c (show_bases): Better displaying of unassigned and
2045072c77e5SMartin Mares	disabled bases. Thanks to Gabriel Paubert <[email protected]>
2046072c77e5SMartin Mares	for an idea.
2047072c77e5SMartin Mares
2048b7554856SMartin MaresWed Sep  2 10:58:01 1998  Martin Mares  <[email protected]>
2049b7554856SMartin Mares
2050b7554856SMartin Mares	* setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
2051b7554856SMartin Mares	(thanks to Geert Uytterhoeven for finding this out)
2052b7554856SMartin Mares
2053ce503b7fSMartin MaresFri Jul 17 10:43:30 1998  Martin Mares  <[email protected]>
2054ce503b7fSMartin Mares
2055ce503b7fSMartin Mares	* lspci.c (show_verbose): Print subsystem ID using the new resolver.
2056ce503b7fSMartin Mares	(show_machine): Print subsystem ID.
2057ce503b7fSMartin Mares
2058ce503b7fSMartin Mares	* names.c: New name resolution engine supporting subsystem IDs.
2059ce503b7fSMartin Mares
2060ce503b7fSMartin Mares	* Released as version 1.07.
2061ce503b7fSMartin Mares
206296e4f295SMartin MaresWed Jul 15 15:37:21 1998  Martin Mares  <[email protected]>
206396e4f295SMartin Mares
206496e4f295SMartin Mares	* lspci.c (show_htype2 etc.): Displaying of CardBus headers.
206596e4f295SMartin Mares	(show_bases): Honor the `cnt' argument.
206696e4f295SMartin Mares	(grow_tree): Parse CardBus headers in tree mode as well.
206796e4f295SMartin Mares
206896e4f295SMartin Mares	* pci.h: Updated CardBus header field description. I still don't
206996e4f295SMartin Mares	have the CardBus standard available, but OZ6832 specs contain
207096e4f295SMartin Mares	full description of all header fields supported by the chip.
207196e4f295SMartin Mares
20726ae3650aSMartin MaresTue Jun  9 22:53:59 1998  Martin Mares  <[email protected]>
20736ae3650aSMartin Mares
2074304f9a0bSMartin Mares	* Released as 1.06.
2075304f9a0bSMartin Mares
20766ae3650aSMartin Mares	* names.c (parse_name_list): Killed an unused variable.
20776ae3650aSMartin Mares
20786ae3650aSMartin Mares	* setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
20796ae3650aSMartin Mares	if they are not defined by glibc (needed for glibc built on older
20806ae3650aSMartin Mares	kernels). Ugly.
20816ae3650aSMartin Mares
20826ae3650aSMartin Mares	* setpci.c (exec_op): Fixed error messages. Thanks, Steve!
20836ae3650aSMartin Mares
20844b88a6b8SMartin MaresMon Jun  8 10:59:22 1998  Martin Mares  <[email protected]>
20854b88a6b8SMartin Mares
20864b88a6b8SMartin Mares	* Released as 1.05.
20874b88a6b8SMartin Mares
20884b88a6b8SMartin Mares	* setpci.c: Problems with pread()/pwrite() with glibc on Alpha
20894b88a6b8SMartin Mares	should be gone. Again thanks to Steve for bug report.
20904b88a6b8SMartin Mares
20914b88a6b8SMartin Mares	* filter.c (filter_parse_slot): Fixed ":x" type filters.
20924b88a6b8SMartin Mares
20934b88a6b8SMartin Mares	* pci.ids: Killed duplicate entry. Thanks to Stephen Williams
20944b88a6b8SMartin Mares	<[email protected]> for reporting this.
20954b88a6b8SMartin Mares
20964b88a6b8SMartin MaresSun Jun  7 19:27:51 1998  Martin Mares  <[email protected]>
20974b88a6b8SMartin Mares
20984b88a6b8SMartin Mares	* lspci.c (main), setpci.c (main): Implemented "--version".
20994b88a6b8SMartin Mares
21004b88a6b8SMartin Mares	* Released as 1.04.
21014b88a6b8SMartin Mares
21024b88a6b8SMartin Mares	* pciutils.h (PCIUTILS_VERSION): Added version string.
21034b88a6b8SMartin Mares
21044b88a6b8SMartin Mares	* filter.c, names.c: Extraneous #include <linux/pci.h> removed.
21054b88a6b8SMartin Mares	Thanks to Geert Uytterhoeven <[email protected]>
21064b88a6b8SMartin Mares	for bug report.
21074b88a6b8SMartin Mares
21089b306998SMartin MaresThu May 28 14:45:58 1998  Martin Mares  <[email protected]>
21099b306998SMartin Mares
21109b306998SMartin Mares	* pci.ids: More updates from Jens Maurer.
21119b306998SMartin Mares
2112b372672fSMartin MaresWed Apr 22 10:00:39 1998  Martin Mares  <[email protected]>
2113b372672fSMartin Mares
2114b372672fSMartin Mares	* pci.ids: Updates from Jens Maurer.
2115b372672fSMartin Mares
2116b2c9b373SMartin MaresSun Apr 19 11:14:25 1998  Martin Mares  <[email protected]>
2117b2c9b373SMartin Mares
2118b372672fSMartin Mares	* Released as 1.03.
2119b372672fSMartin Mares
2120b2c9b373SMartin Mares	* setpci.8: Written.
2121b2c9b373SMartin Mares
2122b2c9b373SMartin Mares	* setpci.c: Finished.
2123b2c9b373SMartin Mares
2124b2c9b373SMartin Mares	* lspci.c: Now able to fetch expansion ROM base from kernel device list
2125b2c9b373SMartin Mares	and print it if not in buscentric mode.
2126b2c9b373SMartin Mares
2127e4842ff3SMartin MaresTue Mar 31 23:11:57 1998  Martin Mares  <[email protected]>
2128e4842ff3SMartin Mares
2129e4842ff3SMartin Mares	* setpci.c: Added.
2130e4842ff3SMartin Mares
2131e4842ff3SMartin MaresSun Mar 22 15:39:08 1998  Martin Mares  <[email protected]>
2132e4842ff3SMartin Mares
2133e4842ff3SMartin Mares	* lspci.8: Updated the documentation.
2134e4842ff3SMartin Mares
2135e4842ff3SMartin Mares	* lspci.c: Modified to use the new filtering mechanism (options -f and -d).
2136e4842ff3SMartin Mares
2137e4842ff3SMartin Mares	* filter.c: Introduced new generic device filter.
2138e4842ff3SMartin Mares
2139008407bdSMartin MaresThu Mar 19 17:03:48 1998  Martin Mares  <[email protected]>
2140008407bdSMartin Mares
2141008407bdSMartin Mares	* lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
2142008407bdSMartin Mares	of PCI-to-PCI bridges in the tree format.
2143008407bdSMartin Mares
21440a33d0ecSMartin MaresSun Feb 15 10:12:25 1998  Martin Mares  <[email protected]>
21450a33d0ecSMartin Mares
21460a33d0ecSMartin Mares	* lspci.c (show_machine): Added non-verbose mode of machine-readable
21470a33d0ecSMartin Mares	dump.
21480a33d0ecSMartin Mares
21490a33d0ecSMartin Mares	* pci.ids: Updates from Jens Maurer.
21500a33d0ecSMartin Mares
21510a33d0ecSMartin Mares	* Released as version 1.02.
21520a33d0ecSMartin Mares
21530a33d0ecSMartin MaresThu Feb 12 16:53:28 1998  Martin Mares  <[email protected]>
21540a33d0ecSMartin Mares
21550a33d0ecSMartin Mares	* lspci.c: Added a "-m" switch for dumping machine-readable
21560a33d0ecSMartin Mares	configuration data (requested by Bjoern Kriews <[email protected]>).
21570a33d0ecSMartin Mares
2158fb38eee8SMartin MaresMon Feb  9 13:17:43 1998  Martin Mares  <[email protected]>
2159fb38eee8SMartin Mares
2160fb38eee8SMartin Mares	* Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
2161fb38eee8SMartin Mares	if available. This should avoid all problems with official kernel
2162fb38eee8SMartin Mares	not synchronized to newer PCI code in CVS -- standard distribution
2163fb38eee8SMartin Mares	of pciutils now contains pci.h from current CVS kernel, pciutils
2164fb38eee8SMartin Mares	in CVS contain no pci.h and use the correct kernel include.
2165fb38eee8SMartin Mares
2166fb38eee8SMartin Mares	* Makefile: Fixed installation path for man pages.
2167fb38eee8SMartin Mares
21682f48f637SMartin MaresSat Feb  7 15:15:46 1998  Martin Mares  <[email protected]>
21692f48f637SMartin Mares
21702f48f637SMartin Mares	* README: Updated.
21712f48f637SMartin Mares
21722f48f637SMartin Mares	* lspci.8: Created a man page.
21732f48f637SMartin Mares
21742f48f637SMartin Mares	* Releasing as version 1.0.
21752f48f637SMartin Mares
21762f48f637SMartin MaresTue Feb  3 20:56:00 1998  Martin Mares  <[email protected]>
21772f48f637SMartin Mares
21782f48f637SMartin Mares	* Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
21792f48f637SMartin Mares	to all the C sources. This should eliminate problems with 32-bit compilers
21802f48f637SMartin Mares	on sparc64.
21812f48f637SMartin Mares
21822f48f637SMartin Mares	* lspci.c (show_verbose): Recognize CardBus bridge header type.
21832f48f637SMartin Mares	(show_htype2): Stub routine.
21842f48f637SMartin Mares	(scan_config): Write sensible error message if the kernel denies reading of
21852f48f637SMartin Mares	upper part of the PCI config space.
2186