xref: /aosp_15_r20/external/pciutils/ChangeLog (revision c2e0c6b56a71da9abe8df5c8348fb3eb5c2c9251)
1*c2e0c6b5SAndroid Build Coastguard Worker2024-05-30  Martin Mares <[email protected]>
2*c2e0c6b5SAndroid Build Coastguard Worker
3*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.13.0.
4*c2e0c6b5SAndroid Build Coastguard Worker
5*c2e0c6b5SAndroid Build Coastguard Worker	* lspci decodes CXL 1.1 device link status information.
6*c2e0c6b5SAndroid Build Coastguard Worker	  This requires a recent kernel which exports rcd_* atributes via
7*c2e0c6b5SAndroid Build Coastguard Worker	  sysfs.
8*c2e0c6b5SAndroid Build Coastguard Worker
9*c2e0c6b5SAndroid Build Coastguard Worker	* Further development of the pcilmr (the link margining utility)
10*c2e0c6b5SAndroid Build Coastguard Worker
11*c2e0c6b5SAndroid Build Coastguard Worker	* Dump parsing supports 6-digit domain numbers.
12*c2e0c6b5SAndroid Build Coastguard Worker
13*c2e0c6b5SAndroid Build Coastguard Worker	* Bug fixes in PCIe link state reporting.
14*c2e0c6b5SAndroid Build Coastguard Worker
15*c2e0c6b5SAndroid Build Coastguard Worker	* Decode more fields in PCIe AER capability.
16*c2e0c6b5SAndroid Build Coastguard Worker
17*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed build on Linux systems with musl libc.
18*c2e0c6b5SAndroid Build Coastguard Worker
19*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids.
20*c2e0c6b5SAndroid Build Coastguard Worker
21*c2e0c6b5SAndroid Build Coastguard Worker2024-04-05  Martin Mares <[email protected]>
22*c2e0c6b5SAndroid Build Coastguard Worker
23*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.12.0.
24*c2e0c6b5SAndroid Build Coastguard Worker
25*c2e0c6b5SAndroid Build Coastguard Worker	* lspci decodes the IDE (Integrity & Data Encryption) and TEE-IO
26*c2e0c6b5SAndroid Build Coastguard Worker	  extended capabilities.
27*c2e0c6b5SAndroid Build Coastguard Worker
28*c2e0c6b5SAndroid Build Coastguard Worker	* Several bugs in back-ends for Windows were fixed and the
29*c2e0c6b5SAndroid Build Coastguard Worker	  README.Windows updated.
30*c2e0c6b5SAndroid Build Coastguard Worker
31*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed building on Haiku.
32*c2e0c6b5SAndroid Build Coastguard Worker
33*c2e0c6b5SAndroid Build Coastguard Worker	* We now use more C99 features.
34*c2e0c6b5SAndroid Build Coastguard Worker
35*c2e0c6b5SAndroid Build Coastguard Worker	* Optimization flags used for compiling individual object files
36*c2e0c6b5SAndroid Build Coastguard Worker	  should be the same as optimization flags for linking the final
37*c2e0c6b5SAndroid Build Coastguard Worker	  executable to make link-time optimization possible.
38*c2e0c6b5SAndroid Build Coastguard Worker
39*c2e0c6b5SAndroid Build Coastguard Worker	* We no longer look up subsystems in the HWDB, because there is
40*c2e0c6b5SAndroid Build Coastguard Worker	  no API for querying only the subsystem. The lookup we used
41*c2e0c6b5SAndroid Build Coastguard Worker	  previously returned a device name if there was no entry for
42*c2e0c6b5SAndroid Build Coastguard Worker	  the particular subsystem.
43*c2e0c6b5SAndroid Build Coastguard Worker
44*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids.
45*c2e0c6b5SAndroid Build Coastguard Worker
46*c2e0c6b5SAndroid Build Coastguard Worker2024-02-25  Martin Mares <[email protected]>
47*c2e0c6b5SAndroid Build Coastguard Worker
48*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.11.1.
49*c2e0c6b5SAndroid Build Coastguard Worker
50*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed wrong API version in lib/pci.h.
51*c2e0c6b5SAndroid Build Coastguard Worker
52*c2e0c6b5SAndroid Build Coastguard Worker	* Updated README.Windows.
53*c2e0c6b5SAndroid Build Coastguard Worker
54*c2e0c6b5SAndroid Build Coastguard Worker	* Fix compilation on Windows.
55*c2e0c6b5SAndroid Build Coastguard Worker
56*c2e0c6b5SAndroid Build Coastguard Worker2024-02-24  Martin Mares <[email protected]>
57*c2e0c6b5SAndroid Build Coastguard Worker
58*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.11.0.
59*c2e0c6b5SAndroid Build Coastguard Worker
60*c2e0c6b5SAndroid Build Coastguard Worker	* update-pciids now supports XZ compression. If libpci is configured
61*c2e0c6b5SAndroid Build Coastguard Worker	  with support for compression, all downloaded files are recompressed
62*c2e0c6b5SAndroid Build Coastguard Worker	  as gzip. Otherwise they are stored as plain text.
63*c2e0c6b5SAndroid Build Coastguard Worker
64*c2e0c6b5SAndroid Build Coastguard Worker	* update-pciids now sends itself as the User-Agent.
65*c2e0c6b5SAndroid Build Coastguard Worker
66*c2e0c6b5SAndroid Build Coastguard Worker	* Added a pcilmr utility for PCIe lane margining. Thanks to Nikita
67*c2e0c6b5SAndroid Build Coastguard Worker	  Proshkin for contributing it.
68*c2e0c6b5SAndroid Build Coastguard Worker
69*c2e0c6b5SAndroid Build Coastguard Worker	* Re-factored access to i386 ports on all relevant platforms.
70*c2e0c6b5SAndroid Build Coastguard Worker
71*c2e0c6b5SAndroid Build Coastguard Worker	* Added i386 port access on OpenBSD.
72*c2e0c6b5SAndroid Build Coastguard Worker
73*c2e0c6b5SAndroid Build Coastguard Worker	* Back-ends for Windows received many bug fixes and improvements.
74*c2e0c6b5SAndroid Build Coastguard Worker
75*c2e0c6b5SAndroid Build Coastguard Worker	* ECAM back-end now scans ACPI and BIOS memory faster.
76*c2e0c6b5SAndroid Build Coastguard Worker
77*c2e0c6b5SAndroid Build Coastguard Worker	* Linux systems without pread/pwrite are no longer supported
78*c2e0c6b5SAndroid Build Coastguard Worker	  as they are hopefully long gone. This helps avoid the tricky check
79*c2e0c6b5SAndroid Build Coastguard Worker	  for presence of pread which was found to fail on musl libc.
80*c2e0c6b5SAndroid Build Coastguard Worker
81*c2e0c6b5SAndroid Build Coastguard Worker	* Improved decoding of PCIe control and status registers.
82*c2e0c6b5SAndroid Build Coastguard Worker
83*c2e0c6b5SAndroid Build Coastguard Worker	* Decoding of CXL capabilities now supports up to CXL 3.0.
84*c2e0c6b5SAndroid Build Coastguard Worker
85*c2e0c6b5SAndroid Build Coastguard Worker	* lspci now displays interrupt message numbers consistently across
86*c2e0c6b5SAndroid Build Coastguard Worker	  different capabilities.
87*c2e0c6b5SAndroid Build Coastguard Worker
88*c2e0c6b5SAndroid Build Coastguard Worker	* Cache of IDs resolved via DNS, which was located in ~/.pci-ids
89*c2e0c6b5SAndroid Build Coastguard Worker	  by default, is now stored according to the XDG base directory
90*c2e0c6b5SAndroid Build Coastguard Worker	  specification in $XDG_CACHE_HOME/pci-ids.
91*c2e0c6b5SAndroid Build Coastguard Worker
92*c2e0c6b5SAndroid Build Coastguard Worker	* All source files now have SPDX license identifiers.
93*c2e0c6b5SAndroid Build Coastguard Worker
94*c2e0c6b5SAndroid Build Coastguard Worker	* Internal: The "aux" fields of structs pci_access and pci_dev
95*c2e0c6b5SAndroid Build Coastguard Worker	  reserved for use by back-ends were renamed to backend_data to better
96*c2e0c6b5SAndroid Build Coastguard Worker	  reflect their meaning.
97*c2e0c6b5SAndroid Build Coastguard Worker
98*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, various minor bug fixes and updated pci.ids.
99*c2e0c6b5SAndroid Build Coastguard Worker
100*c2e0c6b5SAndroid Build Coastguard Worker2023-05-01  Martin Mares <[email protected]>
101*c2e0c6b5SAndroid Build Coastguard Worker
102*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.10.0.
103*c2e0c6b5SAndroid Build Coastguard Worker
104*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed bug in definition of versioned symbol aliases
105*c2e0c6b5SAndroid Build Coastguard Worker	  in shared libpci, which made compiling with link-time
106*c2e0c6b5SAndroid Build Coastguard Worker	  optimization fail.
107*c2e0c6b5SAndroid Build Coastguard Worker
108*c2e0c6b5SAndroid Build Coastguard Worker	* Filters now accept "0x..." syntax for backward compatibility.
109*c2e0c6b5SAndroid Build Coastguard Worker
110*c2e0c6b5SAndroid Build Coastguard Worker	* Windows: The cfgmgr32 back-end which provides the list of devices
111*c2e0c6b5SAndroid Build Coastguard Worker	  can be combined with another back-end which provides access
112*c2e0c6b5SAndroid Build Coastguard Worker	  to configuration space.
113*c2e0c6b5SAndroid Build Coastguard Worker
114*c2e0c6b5SAndroid Build Coastguard Worker	* ECAM (Enhanced Configuration Access Mechanism), which is defined
115*c2e0c6b5SAndroid Build Coastguard Worker	  by the PCIe standard, is now supported. It requires root privileges,
116*c2e0c6b5SAndroid Build Coastguard Worker	  access to physical memory, and also manual configuration on some
117*c2e0c6b5SAndroid Build Coastguard Worker	  systems.
118*c2e0c6b5SAndroid Build Coastguard Worker
119*c2e0c6b5SAndroid Build Coastguard Worker	* lspci: Tree view now works on multi-domain systems. It now respects
120*c2e0c6b5SAndroid Build Coastguard Worker	  filters properly.
121*c2e0c6b5SAndroid Build Coastguard Worker
122*c2e0c6b5SAndroid Build Coastguard Worker	* Last but not least, pci.ids were updated to the current snapshot
123*c2e0c6b5SAndroid Build Coastguard Worker	  of the database. This includes overall cleanup of entries with
124*c2e0c6b5SAndroid Build Coastguard Worker	  non-ASCII characters in their names -- such characters are allowed,
125*c2e0c6b5SAndroid Build Coastguard Worker	  but only if they convey interesting information (e.g., umlauts
126*c2e0c6b5SAndroid Build Coastguard Worker	  in German company names, but not the "registered trade mark" sign).
127*c2e0c6b5SAndroid Build Coastguard Worker
128*c2e0c6b5SAndroid Build Coastguard Worker2022-11-20  Martin Mares <[email protected]>
129*c2e0c6b5SAndroid Build Coastguard Worker
130*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.9.0.
131*c2e0c6b5SAndroid Build Coastguard Worker
132*c2e0c6b5SAndroid Build Coastguard Worker	* We decode Compute Express Link (CXL) capabilities.
133*c2e0c6b5SAndroid Build Coastguard Worker
134*c2e0c6b5SAndroid Build Coastguard Worker	* The tree mode of lspci is now compatible with filtering options.
135*c2e0c6b5SAndroid Build Coastguard Worker
136*c2e0c6b5SAndroid Build Coastguard Worker	* When setpci is used with a named register, it checks whether
137*c2e0c6b5SAndroid Build Coastguard Worker	  the register is present in the particular header type.
138*c2e0c6b5SAndroid Build Coastguard Worker
139*c2e0c6b5SAndroid Build Coastguard Worker	* Linux: The intel-conf[12] back-ends prefer to use ioperm() instead
140*c2e0c6b5SAndroid Build Coastguard Worker	  of iopl() to gain access to I/O ports.
141*c2e0c6b5SAndroid Build Coastguard Worker
142*c2e0c6b5SAndroid Build Coastguard Worker	* Windows: We have two new back-ends thanks to Pali Rohár.
143*c2e0c6b5SAndroid Build Coastguard Worker	  One uses the NT SysDbg interface, the other uses kldbgdrv.sys
144*c2e0c6b5SAndroid Build Coastguard Worker	  (which is a part of the Microsoft WinDbg tool).
145*c2e0c6b5SAndroid Build Coastguard Worker
146*c2e0c6b5SAndroid Build Coastguard Worker	* Windows: We support building libpci as a DLL. Also, Windows
147*c2e0c6b5SAndroid Build Coastguard Worker	  binaries now include meta-data with version.
148*c2e0c6b5SAndroid Build Coastguard Worker
149*c2e0c6b5SAndroid Build Coastguard Worker	* Hurd: The Hurd back-end works again.
150*c2e0c6b5SAndroid Build Coastguard Worker
151*c2e0c6b5SAndroid Build Coastguard Worker	* mmio-conf1(-ext): Added a new back-end implementing the intel-conf1
152*c2e0c6b5SAndroid Build Coastguard Worker	  interface over MMIO. This is useful on some ARM machines, but it
153*c2e0c6b5SAndroid Build Coastguard Worker	  requires manual configuration of the MMIO addresses.
154*c2e0c6b5SAndroid Build Coastguard Worker
155*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, updated pci.ids to the current snapshot of the database.
156*c2e0c6b5SAndroid Build Coastguard Worker
157*c2e0c6b5SAndroid Build Coastguard Worker2022-04-18  Martin Mares <[email protected]>
158*c2e0c6b5SAndroid Build Coastguard Worker
159*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.8.0.
160*c2e0c6b5SAndroid Build Coastguard Worker
161*c2e0c6b5SAndroid Build Coastguard Worker	* Filters can now match devices based on partially specified
162*c2e0c6b5SAndroid Build Coastguard Worker	  class code and also on the programming interface.
163*c2e0c6b5SAndroid Build Coastguard Worker
164*c2e0c6b5SAndroid Build Coastguard Worker	* Reporting of link speeds, power limits, and virtual function tags
165*c2e0c6b5SAndroid Build Coastguard Worker	  has been updated to the current PCIe specification.
166*c2e0c6b5SAndroid Build Coastguard Worker
167*c2e0c6b5SAndroid Build Coastguard Worker	* We decode the Data Object Exchange capability.
168*c2e0c6b5SAndroid Build Coastguard Worker
169*c2e0c6b5SAndroid Build Coastguard Worker	* Bus mapping mode works in non-zero domains.
170*c2e0c6b5SAndroid Build Coastguard Worker
171*c2e0c6b5SAndroid Build Coastguard Worker	* pci_fill_info() can fetch more fields: bridge bases, programming
172*c2e0c6b5SAndroid Build Coastguard Worker	  interface, revision, subsystem vendor and device ID, OS driver,
173*c2e0c6b5SAndroid Build Coastguard Worker	  and also parent bridge. Internally, the implementation was rewritten,
174*c2e0c6b5SAndroid Build Coastguard Worker	  significantly reducing the number of corner cases to be handled.
175*c2e0c6b5SAndroid Build Coastguard Worker
176*c2e0c6b5SAndroid Build Coastguard Worker	* The Windows port was revived and greatly improved by Pali Rohár.
177*c2e0c6b5SAndroid Build Coastguard Worker	  It requires less magic to compile. More importantly, it runs on both
178*c2e0c6b5SAndroid Build Coastguard Worker	  old and recent Windows systems (see README.Windows for details).
179*c2e0c6b5SAndroid Build Coastguard Worker
180*c2e0c6b5SAndroid Build Coastguard Worker	* Added a new Windows back-end using the cfgmgr32 interface.
181*c2e0c6b5SAndroid Build Coastguard Worker	  It does not provide direct access to the configuration space,
182*c2e0c6b5SAndroid Build Coastguard Worker	  but basic information about the device is reported via pci_fill_info().
183*c2e0c6b5SAndroid Build Coastguard Worker	  For back-ends of this type, we now provide an emulated read-only
184*c2e0c6b5SAndroid Build Coastguard Worker	  config space.
185*c2e0c6b5SAndroid Build Coastguard Worker
186*c2e0c6b5SAndroid Build Coastguard Worker	* If the configuration space is not readable for some reason
187*c2e0c6b5SAndroid Build Coastguard Worker	  (e.g., the cfgmgr32 back-end, but also badly implemented sleep mode
188*c2e0c6b5SAndroid Build Coastguard Worker	  of some devices), lspci prints only information provided by the OS.
189*c2e0c6b5SAndroid Build Coastguard Worker
190*c2e0c6b5SAndroid Build Coastguard Worker	* The Hurd back-end was greatly improved thanks to Joan Lledó.
191*c2e0c6b5SAndroid Build Coastguard Worker
192*c2e0c6b5SAndroid Build Coastguard Worker	* Various minor bug fixes and improvements.
193*c2e0c6b5SAndroid Build Coastguard Worker
194*c2e0c6b5SAndroid Build Coastguard Worker	* We officially require a working C99 compiler. Sorry, MSVC.
195*c2e0c6b5SAndroid Build Coastguard Worker
196*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, updated pci.ids to the current snapshot of the database.
197*c2e0c6b5SAndroid Build Coastguard Worker
198*c2e0c6b5SAndroid Build Coastguard Worker2020-05-31  Martin Mares <[email protected]>
199*c2e0c6b5SAndroid Build Coastguard Worker
200*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.7.0.
201*c2e0c6b5SAndroid Build Coastguard Worker
202*c2e0c6b5SAndroid Build Coastguard Worker	* Added or improved the following capabilities: Designated Vendor-Specific,
203*c2e0c6b5SAndroid Build Coastguard Worker	  Compute eXpress Link, Resizable BARs, VF Resizable BARs, Link
204*c2e0c6b5SAndroid Build Coastguard Worker	  Capabilities 2, Link Status 2.
205*c2e0c6b5SAndroid Build Coastguard Worker
206*c2e0c6b5SAndroid Build Coastguard Worker	* On Linux, lspci can show IOMMU groups.
207*c2e0c6b5SAndroid Build Coastguard Worker
208*c2e0c6b5SAndroid Build Coastguard Worker	* setpci can be asked to skip bus scan and operate on a device
209*c2e0c6b5SAndroid Build Coastguard Worker	  completely specified by its domain/bus/dev/func address. This
210*c2e0c6b5SAndroid Build Coastguard Worker	  involved major internal cleanup.
211*c2e0c6b5SAndroid Build Coastguard Worker
212*c2e0c6b5SAndroid Build Coastguard Worker	* The above feature of setpci uses the pci_get_dev() function,
213*c2e0c6b5SAndroid Build Coastguard Worker	  which obtains a struct pci_dev without doing a bus scan. This was
214*c2e0c6b5SAndroid Build Coastguard Worker	  always possible, but apparently little used, because back-ends
215*c2e0c6b5SAndroid Build Coastguard Worker	  frequently choked when operating on such devices. Fixed a lot
216*c2e0c6b5SAndroid Build Coastguard Worker	  of minor bugs related to this.
217*c2e0c6b5SAndroid Build Coastguard Worker
218*c2e0c6b5SAndroid Build Coastguard Worker	* Also, back-ends which do not support domains now correctly fail when
219*c2e0c6b5SAndroid Build Coastguard Worker	  trying to access devices outside domain 0.
220*c2e0c6b5SAndroid Build Coastguard Worker
221*c2e0c6b5SAndroid Build Coastguard Worker	* Semantics of pci_fill_info() and pci_dev->known_fields was underspecified,
222*c2e0c6b5SAndroid Build Coastguard Worker	  which lead to inconsistencies between back-ends. Improved documentation
223*c2e0c6b5SAndroid Build Coastguard Worker	  to give a more precise definition and updated all back-ends to conform
224*c2e0c6b5SAndroid Build Coastguard Worker	  to it. Most importantly, pci_dev->known_fields shows all fields requested
225*c2e0c6b5SAndroid Build Coastguard Worker	  over the lifetime of the pci_dev, but never those which are not supported
226*c2e0c6b5SAndroid Build Coastguard Worker	  by the back-end.
227*c2e0c6b5SAndroid Build Coastguard Worker
228*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, updated pci.ids to the current snapshot of the database.
229*c2e0c6b5SAndroid Build Coastguard Worker
230*c2e0c6b5SAndroid Build Coastguard Worker2020-01-25  Martin Mares <[email protected]>
231*c2e0c6b5SAndroid Build Coastguard Worker
232*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.6.4.
233*c2e0c6b5SAndroid Build Coastguard Worker
234*c2e0c6b5SAndroid Build Coastguard Worker	* A new back-end for the GNU Hurd was contributed by Joan Lledó.
235*c2e0c6b5SAndroid Build Coastguard Worker
236*c2e0c6b5SAndroid Build Coastguard Worker	* When printing VPD item identifiers, non-ASCII characters are escaped.
237*c2e0c6b5SAndroid Build Coastguard Worker
238*c2e0c6b5SAndroid Build Coastguard Worker2020-01-22  Martin Mares <[email protected]>
239*c2e0c6b5SAndroid Build Coastguard Worker
240*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.6.3.
241*c2e0c6b5SAndroid Build Coastguard Worker
242*c2e0c6b5SAndroid Build Coastguard Worker	* `lspci -t' (tree mode) can be combined with `-s' to show a sub-tree.
243*c2e0c6b5SAndroid Build Coastguard Worker	  We also fixed potential buffer overflows in the tree dumper.
244*c2e0c6b5SAndroid Build Coastguard Worker
245*c2e0c6b5SAndroid Build Coastguard Worker	* Cleaned messy code for dumping of I/O, memory, and ROM regions.
246*c2e0c6b5SAndroid Build Coastguard Worker	  This helped fixing a bug, which caused some 64-bit regions to be
247*c2e0c6b5SAndroid Build Coastguard Worker	  reported as virtual. All flags are now printed after the address
248*c2e0c6b5SAndroid Build Coastguard Worker	  (previously, "[virtual]" and "[enhanced]" were before it for no good
249*c2e0c6b5SAndroid Build Coastguard Worker	  reason).
250*c2e0c6b5SAndroid Build Coastguard Worker
251*c2e0c6b5SAndroid Build Coastguard Worker	* Added pci_find_cap_nr() to the library, which handles capabilities
252*c2e0c6b5SAndroid Build Coastguard Worker	  which occur multiple times in a single device.
253*c2e0c6b5SAndroid Build Coastguard Worker
254*c2e0c6b5SAndroid Build Coastguard Worker	* Minor improvements in printing of PCIe capabilities.
255*c2e0c6b5SAndroid Build Coastguard Worker
256*c2e0c6b5SAndroid Build Coastguard Worker	* We now decode the Multicast and Secondary PCI Express extended
257*c2e0c6b5SAndroid Build Coastguard Worker	  capabilities.
258*c2e0c6b5SAndroid Build Coastguard Worker
259*c2e0c6b5SAndroid Build Coastguard Worker	* The list of capability names available to setpci was updated.
260*c2e0c6b5SAndroid Build Coastguard Worker
261*c2e0c6b5SAndroid Build Coastguard Worker	* Minor bugs were fixed in FreeBSD and Solaris ports.
262*c2e0c6b5SAndroid Build Coastguard Worker
263*c2e0c6b5SAndroid Build Coastguard Worker	* We now prefer HTTPS URLs in all documentation
264*c2e0c6b5SAndroid Build Coastguard Worker
265*c2e0c6b5SAndroid Build Coastguard Worker	* The pci.ids file has a man page.
266*c2e0c6b5SAndroid Build Coastguard Worker
267*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, updated pci.ids to the current snapshot of the database.
268*c2e0c6b5SAndroid Build Coastguard Worker
269*c2e0c6b5SAndroid Build Coastguard Worker2018-08-12  Martin Mares <[email protected]>
270*c2e0c6b5SAndroid Build Coastguard Worker
271*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.6.2.
272*c2e0c6b5SAndroid Build Coastguard Worker
273*c2e0c6b5SAndroid Build Coastguard Worker	* Added "-P" and "-PP" switches to lspci, which display the path
274*c2e0c6b5SAndroid Build Coastguard Worker	  through bridges to each device.
275*c2e0c6b5SAndroid Build Coastguard Worker
276*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed a couple of bugs in computation of bus topology. It was
277*c2e0c6b5SAndroid Build Coastguard Worker	  previously used only for the tree display, but we re-use it for
278*c2e0c6b5SAndroid Build Coastguard Worker	  computing the paths.
279*c2e0c6b5SAndroid Build Coastguard Worker
280*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, updated pci.ids to the current snapshot of the database.
281*c2e0c6b5SAndroid Build Coastguard Worker
282*c2e0c6b5SAndroid Build Coastguard Worker2018-07-12  Martin Mares <[email protected]>
283*c2e0c6b5SAndroid Build Coastguard Worker
284*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.6.1.
285*c2e0c6b5SAndroid Build Coastguard Worker
286*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed compilation issues on Linux systems with MUSL libc.
287*c2e0c6b5SAndroid Build Coastguard Worker
288*c2e0c6b5SAndroid Build Coastguard Worker2018-06-30  Martin Mares <[email protected]>
289*c2e0c6b5SAndroid Build Coastguard Worker
290*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.6.0.
291*c2e0c6b5SAndroid Build Coastguard Worker
292*c2e0c6b5SAndroid Build Coastguard Worker	* BARs reported by the OS, but not set on the device itself are
293*c2e0c6b5SAndroid Build Coastguard Worker	  reliably marked with "[virtual]".
294*c2e0c6b5SAndroid Build Coastguard Worker
295*c2e0c6b5SAndroid Build Coastguard Worker	* Library: Introduced a generic mechanism of string properties. This
296*c2e0c6b5SAndroid Build Coastguard Worker	  avoids lots of special cases and makes ABI compatibility easier.
297*c2e0c6b5SAndroid Build Coastguard Worker
298*c2e0c6b5SAndroid Build Coastguard Worker	* On Linux systems with OpenFirmware, report corresponding device tree nodes
299*c2e0c6b5SAndroid Build Coastguard Worker	  as device properties.
300*c2e0c6b5SAndroid Build Coastguard Worker
301*c2e0c6b5SAndroid Build Coastguard Worker	* VPD decoder knows several non-standard extensions.
302*c2e0c6b5SAndroid Build Coastguard Worker
303*c2e0c6b5SAndroid Build Coastguard Worker	* When PCIe link speed is less than the maximum supported by the
304*c2e0c6b5SAndroid Build Coastguard Worker	  device, it is explicitly marked as "downgraded".
305*c2e0c6b5SAndroid Build Coastguard Worker
306*c2e0c6b5SAndroid Build Coastguard Worker	* Several new capabilities are not decoded yet, but at least their
307*c2e0c6b5SAndroid Build Coastguard Worker	  names are printed.
308*c2e0c6b5SAndroid Build Coastguard Worker
309*c2e0c6b5SAndroid Build Coastguard Worker	* The Null capability is easily decoded.
310*c2e0c6b5SAndroid Build Coastguard Worker
311*c2e0c6b5SAndroid Build Coastguard Worker	* Formatting of several capabilities was cleaned up.
312*c2e0c6b5SAndroid Build Coastguard Worker
313*c2e0c6b5SAndroid Build Coastguard Worker	* The VGA16 bit in the bridge control register is now supported.
314*c2e0c6b5SAndroid Build Coastguard Worker
315*c2e0c6b5SAndroid Build Coastguard Worker	* Added a port to SylixOS. Thanks to YuJian Gong for contribution.
316*c2e0c6b5SAndroid Build Coastguard Worker
317*c2e0c6b5SAndroid Build Coastguard Worker	* Added a port to DOS/DJGPP. Thanks to Rudolf Marek for contribution.
318*c2e0c6b5SAndroid Build Coastguard Worker
319*c2e0c6b5SAndroid Build Coastguard Worker	* The order in which back-ends are probed was decoupled from the
320*c2e0c6b5SAndroid Build Coastguard Worker	  internal back-end IDs. This helps, because new back-ends must have
321*c2e0c6b5SAndroid Build Coastguard Worker	  their ID allocated at the end to keep the ABI, but they might need
322*c2e0c6b5SAndroid Build Coastguard Worker	  to be probed earlier.
323*c2e0c6b5SAndroid Build Coastguard Worker
324*c2e0c6b5SAndroid Build Coastguard Worker	* The fbsd-device back-end should work again.
325*c2e0c6b5SAndroid Build Coastguard Worker
326*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed a couple of bugs. Most notably, DeviceName was not printed.
327*c2e0c6b5SAndroid Build Coastguard Worker
328*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, updated pci.ids to the current snapshot of the database.
329*c2e0c6b5SAndroid Build Coastguard Worker
330*c2e0c6b5SAndroid Build Coastguard Worker2017-11-17  Martin Mares <[email protected]>
331*c2e0c6b5SAndroid Build Coastguard Worker
332*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.5.6.
333*c2e0c6b5SAndroid Build Coastguard Worker
334*c2e0c6b5SAndroid Build Coastguard Worker	* Improvements of the FreeBSD back-end: read-only access for non-root,
335*c2e0c6b5SAndroid Build Coastguard Worker	  support DragonFly BSD, support extended config space.
336*c2e0c6b5SAndroid Build Coastguard Worker
337*c2e0c6b5SAndroid Build Coastguard Worker	* MN VPD keyword is decoded correctly.
338*c2e0c6b5SAndroid Build Coastguard Worker
339*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, updated pci.ids to the current snapshot of the database.
340*c2e0c6b5SAndroid Build Coastguard Worker
341*c2e0c6b5SAndroid Build Coastguard Worker2017-07-05  Martin Mares <[email protected]>
342*c2e0c6b5SAndroid Build Coastguard Worker
343*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.5.5.
344*c2e0c6b5SAndroid Build Coastguard Worker
345*c2e0c6b5SAndroid Build Coastguard Worker	* Better decoding of AER capability.
346*c2e0c6b5SAndroid Build Coastguard Worker
347*c2e0c6b5SAndroid Build Coastguard Worker	* "Slot Implemented" flag is decoded for PCI/PCI-X to PCIe bridges.
348*c2e0c6b5SAndroid Build Coastguard Worker
349*c2e0c6b5SAndroid Build Coastguard Worker	* Minor fixes of decoding other capabilities.
350*c2e0c6b5SAndroid Build Coastguard Worker
351*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, updated pci.ids to the current snapshot of the database.
352*c2e0c6b5SAndroid Build Coastguard Worker
353*c2e0c6b5SAndroid Build Coastguard Worker2017-02-25  Martin Mares <[email protected]>
354*c2e0c6b5SAndroid Build Coastguard Worker
355*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.5.4.
356*c2e0c6b5SAndroid Build Coastguard Worker
357*c2e0c6b5SAndroid Build Coastguard Worker	* Previous version broke compilation on systems, for which lib/types.h
358*c2e0c6b5SAndroid Build Coastguard Worker	  did not provide a 64-bit integer type. It is provided everywhere now.
359*c2e0c6b5SAndroid Build Coastguard Worker
360*c2e0c6b5SAndroid Build Coastguard Worker2017-02-15  Martin Mares <[email protected]>
361*c2e0c6b5SAndroid Build Coastguard Worker
362*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.5.3.
363*c2e0c6b5SAndroid Build Coastguard Worker
364*c2e0c6b5SAndroid Build Coastguard Worker	* When lspci looks for Linux kernel modules, it uses the default
365*c2e0c6b5SAndroid Build Coastguard Worker	  path to module directory provided by libkmod. Previously,
366*c2e0c6b5SAndroid Build Coastguard Worker	  it tried to construct the path explicitly, which need not
367*c2e0c6b5SAndroid Build Coastguard Worker	  work on all systems.
368*c2e0c6b5SAndroid Build Coastguard Worker
369*c2e0c6b5SAndroid Build Coastguard Worker	* Improved formatting of memory and I/O ranges behind a bridge.
370*c2e0c6b5SAndroid Build Coastguard Worker
371*c2e0c6b5SAndroid Build Coastguard Worker	* PCIe link capabilities now display GEN4 speed (16GT/s).
372*c2e0c6b5SAndroid Build Coastguard Worker
373*c2e0c6b5SAndroid Build Coastguard Worker	* PCIe device capabilities now show bits related to atomic operations.
374*c2e0c6b5SAndroid Build Coastguard Worker	  Thanks to Satanand Burla for a patch.
375*c2e0c6b5SAndroid Build Coastguard Worker
376*c2e0c6b5SAndroid Build Coastguard Worker	* As usually, updated pci.ids to the current snapshot of the database.
377*c2e0c6b5SAndroid Build Coastguard Worker
378*c2e0c6b5SAndroid Build Coastguard Worker2016-10-03  Martin Mares <[email protected]>
379*c2e0c6b5SAndroid Build Coastguard Worker
380*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.5.2.
381*c2e0c6b5SAndroid Build Coastguard Worker
382*c2e0c6b5SAndroid Build Coastguard Worker	* The L1 power management capability is now decoded more
383*c2e0c6b5SAndroid Build Coastguard Worker	  thoroughly. Thanks to Rajat Jain for the patch.
384*c2e0c6b5SAndroid Build Coastguard Worker
385*c2e0c6b5SAndroid Build Coastguard Worker	* The table of configuration registers used by setpci
386*c2e0c6b5SAndroid Build Coastguard Worker	  had a bug in the definition of SUBSYSTEM_VENDOR_ID.
387*c2e0c6b5SAndroid Build Coastguard Worker
388*c2e0c6b5SAndroid Build Coastguard Worker2016-05-22  Martin Mares <[email protected]>
389*c2e0c6b5SAndroid Build Coastguard Worker
390*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.5.1.
391*c2e0c6b5SAndroid Build Coastguard Worker
392*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed symbol versioning of pci_init().
393*c2e0c6b5SAndroid Build Coastguard Worker
394*c2e0c6b5SAndroid Build Coastguard Worker2016-05-19  Martin Mares <[email protected]>
395*c2e0c6b5SAndroid Build Coastguard Worker
396*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.5.0.
397*c2e0c6b5SAndroid Build Coastguard Worker
398*c2e0c6b5SAndroid Build Coastguard Worker	* New capabilities decoded: Downstream Port Containment,
399*c2e0c6b5SAndroid Build Coastguard Worker	  Precision Time Measurement. Thanks to Keith Busch and
400*c2e0c6b5SAndroid Build Coastguard Worker	  Jonathan Yong.
401*c2e0c6b5SAndroid Build Coastguard Worker
402*c2e0c6b5SAndroid Build Coastguard Worker	* Domain numbers extended to 31 bits. This will be used by the
403*c2e0c6b5SAndroid Build Coastguard Worker	  Linux kernel on some machines in near future.
404*c2e0c6b5SAndroid Build Coastguard Worker
405*c2e0c6b5SAndroid Build Coastguard Worker	* Enhanced allocation regions are now decoded on Linux.
406*c2e0c6b5SAndroid Build Coastguard Worker
407*c2e0c6b5SAndroid Build Coastguard Worker	* The NetBSD back-end supports PCIe extended configuration space.
408*c2e0c6b5SAndroid Build Coastguard Worker
409*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the current snapshot of the database.
410*c2e0c6b5SAndroid Build Coastguard Worker
411*c2e0c6b5SAndroid Build Coastguard Worker2016-01-03  Martin Mares <[email protected]>
412*c2e0c6b5SAndroid Build Coastguard Worker
413*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.4.1.
414*c2e0c6b5SAndroid Build Coastguard Worker
415*c2e0c6b5SAndroid Build Coastguard Worker	* New capabilities decoded: Process Address Space, Page Request
416*c2e0c6b5SAndroid Build Coastguard Worker	  Interface, Enhanced Allocation. Thanks to David Daney and
417*c2e0c6b5SAndroid Build Coastguard Worker	  David Woodhouse.
418*c2e0c6b5SAndroid Build Coastguard Worker
419*c2e0c6b5SAndroid Build Coastguard Worker	* DevCap SlotPowerLimit is now decoded for all components with
420*c2e0c6b5SAndroid Build Coastguard Worker	  upstream ports.
421*c2e0c6b5SAndroid Build Coastguard Worker
422*c2e0c6b5SAndroid Build Coastguard Worker	* Database mirror at SourceForge moved to GitHub.
423*c2e0c6b5SAndroid Build Coastguard Worker
424*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the current snapshot of the database.
425*c2e0c6b5SAndroid Build Coastguard Worker
426*c2e0c6b5SAndroid Build Coastguard Worker2015-09-14  Martin Mares <[email protected]>
427*c2e0c6b5SAndroid Build Coastguard Worker
428*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.4.0.
429*c2e0c6b5SAndroid Build Coastguard Worker
430*c2e0c6b5SAndroid Build Coastguard Worker	* On Linux, we report NUMA nodes of devices.
431*c2e0c6b5SAndroid Build Coastguard Worker
432*c2e0c6b5SAndroid Build Coastguard Worker	* The sysfs back-end does not die on read errors
433*c2e0c6b5SAndroid Build Coastguard Worker	  of optional attributes. Instead, a warning is produced.
434*c2e0c6b5SAndroid Build Coastguard Worker
435*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed several minor bugs.
436*c2e0c6b5SAndroid Build Coastguard Worker
437*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the current snapshot of the database.
438*c2e0c6b5SAndroid Build Coastguard Worker
439*c2e0c6b5SAndroid Build Coastguard Worker2015-04-09  Martin Mares <[email protected]>
440*c2e0c6b5SAndroid Build Coastguard Worker
441*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.3.1.
442*c2e0c6b5SAndroid Build Coastguard Worker
443*c2e0c6b5SAndroid Build Coastguard Worker	* Removed hacks for backward compatibility with Linux libc5,
444*c2e0c6b5SAndroid Build Coastguard Worker	  which were breaking newer non-glibc Linux systems. Thanks
445*c2e0c6b5SAndroid Build Coastguard Worker	  to Felix Janda.
446*c2e0c6b5SAndroid Build Coastguard Worker
447*c2e0c6b5SAndroid Build Coastguard Worker	* Display VirtIO vendor-specific capability. Patch by Gerd
448*c2e0c6b5SAndroid Build Coastguard Worker	  Hoffmann.
449*c2e0c6b5SAndroid Build Coastguard Worker
450*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed memory leak in name cache.
451*c2e0c6b5SAndroid Build Coastguard Worker
452*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the current snapshot of the database.
453*c2e0c6b5SAndroid Build Coastguard Worker
454*c2e0c6b5SAndroid Build Coastguard Worker2014-11-10  Martin Mares <[email protected]>
455*c2e0c6b5SAndroid Build Coastguard Worker
456*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.3.0.
457*c2e0c6b5SAndroid Build Coastguard Worker	  (celebrating a one-year anniversary of the previous version :))
458*c2e0c6b5SAndroid Build Coastguard Worker
459*c2e0c6b5SAndroid Build Coastguard Worker	* Device names exported by BIOS are displayed on Linux.
460*c2e0c6b5SAndroid Build Coastguard Worker
461*c2e0c6b5SAndroid Build Coastguard Worker	* On Linux systems, HWDB is used to look up device names
462*c2e0c6b5SAndroid Build Coastguard Worker	  when our ID database gives no match. (More precisely,
463*c2e0c6b5SAndroid Build Coastguard Worker	  HWDB is consulted after local pci.ids, but before using
464*c2e0c6b5SAndroid Build Coastguard Worker	  network to query online pci.ids.) Thanks to Tom Gundersen
465*c2e0c6b5SAndroid Build Coastguard Worker	  for the initial patch.
466*c2e0c6b5SAndroid Build Coastguard Worker
467*c2e0c6b5SAndroid Build Coastguard Worker	* Added experimental back-end for OS X / Darwin. Thanks to
468*c2e0c6b5SAndroid Build Coastguard Worker	  Richard Yao for providing it.
469*c2e0c6b5SAndroid Build Coastguard Worker
470*c2e0c6b5SAndroid Build Coastguard Worker	* Filters now support matching by device class. Original
471*c2e0c6b5SAndroid Build Coastguard Worker	  patch by Matthew Wilcox, wrappers for ABI compatibility
472*c2e0c6b5SAndroid Build Coastguard Worker	  by me.
473*c2e0c6b5SAndroid Build Coastguard Worker
474*c2e0c6b5SAndroid Build Coastguard Worker	* Interrupt Pin and Interrupt Line registers are displayed
475*c2e0c6b5SAndroid Build Coastguard Worker	  for bridge devices, too.
476*c2e0c6b5SAndroid Build Coastguard Worker
477*c2e0c6b5SAndroid Build Coastguard Worker	* Several portability bugs have been fixed.
478*c2e0c6b5SAndroid Build Coastguard Worker
479*c2e0c6b5SAndroid Build Coastguard Worker	* Several typos have been fixed. Also, use of questionable
480*c2e0c6b5SAndroid Build Coastguard Worker	  constructs in man pages has been reduced.
481*c2e0c6b5SAndroid Build Coastguard Worker
482*c2e0c6b5SAndroid Build Coastguard Worker	* PCIe link capabilities now include the ASPMOptComp bit.
483*c2e0c6b5SAndroid Build Coastguard Worker
484*c2e0c6b5SAndroid Build Coastguard Worker	* The "CRS Software Visibility" bit is now decoded properly.
485*c2e0c6b5SAndroid Build Coastguard Worker
486*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the current snapshot of the database.
487*c2e0c6b5SAndroid Build Coastguard Worker
488*c2e0c6b5SAndroid Build Coastguard Worker2013-11-10  Martin Mares <[email protected]>
489*c2e0c6b5SAndroid Build Coastguard Worker
490*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.2.1.
491*c2e0c6b5SAndroid Build Coastguard Worker
492*c2e0c6b5SAndroid Build Coastguard Worker	* CardBus bridge capabilities are displayed.
493*c2e0c6b5SAndroid Build Coastguard Worker
494*c2e0c6b5SAndroid Build Coastguard Worker	* PCIe L1 PM substates are decoded.
495*c2e0c6b5SAndroid Build Coastguard Worker
496*c2e0c6b5SAndroid Build Coastguard Worker	* Various bugs were fixed in decoding of PCIe capabilities.
497*c2e0c6b5SAndroid Build Coastguard Worker
498*c2e0c6b5SAndroid Build Coastguard Worker	* The sysfs back-end does not spit out unnecessary warnings when
499*c2e0c6b5SAndroid Build Coastguard Worker	  empty slots report only a partial device address. This actually
500*c2e0c6b5SAndroid Build Coastguard Worker	  happens on IBM pSeries.
501*c2e0c6b5SAndroid Build Coastguard Worker
502*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the today's snapshot of the database.
503*c2e0c6b5SAndroid Build Coastguard Worker
504*c2e0c6b5SAndroid Build Coastguard Worker2013-04-19  Martin Mares <[email protected]>
505*c2e0c6b5SAndroid Build Coastguard Worker
506*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.2.0.
507*c2e0c6b5SAndroid Build Coastguard Worker
508*c2e0c6b5SAndroid Build Coastguard Worker	* On newer Linux systems, we use libkmod to look up kernel modules
509*c2e0c6b5SAndroid Build Coastguard Worker	  (modules.pcimap no longer exists). To facilitate this, libpci
510*c2e0c6b5SAndroid Build Coastguard Worker	  is able to look up module aliases in sysfs.
511*c2e0c6b5SAndroid Build Coastguard Worker
512*c2e0c6b5SAndroid Build Coastguard Worker	* Various minor bug fixes.
513*c2e0c6b5SAndroid Build Coastguard Worker
514*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the today's snapshot of the database.
515*c2e0c6b5SAndroid Build Coastguard Worker
516*c2e0c6b5SAndroid Build Coastguard Worker2012-06-25  Martin Mares <[email protected]>
517*c2e0c6b5SAndroid Build Coastguard Worker
518*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.10.
519*c2e0c6b5SAndroid Build Coastguard Worker
520*c2e0c6b5SAndroid Build Coastguard Worker	* Decoding of LTR/OBFF in PCIe capabilities.
521*c2e0c6b5SAndroid Build Coastguard Worker
522*c2e0c6b5SAndroid Build Coastguard Worker	* Various minor bug fixes.
523*c2e0c6b5SAndroid Build Coastguard Worker
524*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the today's snapshot of the database.
525*c2e0c6b5SAndroid Build Coastguard Worker
526*c2e0c6b5SAndroid Build Coastguard Worker2012-01-14  Martin Mares <[email protected]>
527*c2e0c6b5SAndroid Build Coastguard Worker
528*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.9.
529*c2e0c6b5SAndroid Build Coastguard Worker
530*c2e0c6b5SAndroid Build Coastguard Worker	* Updated README.
531*c2e0c6b5SAndroid Build Coastguard Worker
532*c2e0c6b5SAndroid Build Coastguard Worker	* Wherever we mention the PCI ID database, we now refer to
533*c2e0c6b5SAndroid Build Coastguard Worker	  http://pci-ids.ucw.cz/ and the sf.net site is mentioned only
534*c2e0c6b5SAndroid Build Coastguard Worker	  as a mirror. This includes update-pciids.
535*c2e0c6b5SAndroid Build Coastguard Worker
536*c2e0c6b5SAndroid Build Coastguard Worker	* Decode PCIe Gen 3 speeds and link status fields.
537*c2e0c6b5SAndroid Build Coastguard Worker
538*c2e0c6b5SAndroid Build Coastguard Worker	* Various minor bug fixes.
539*c2e0c6b5SAndroid Build Coastguard Worker
540*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the today's snapshot of the database.
541*c2e0c6b5SAndroid Build Coastguard Worker
542*c2e0c6b5SAndroid Build Coastguard Worker2011-10-02  Martin Mares <[email protected]>
543*c2e0c6b5SAndroid Build Coastguard Worker
544*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.8.
545*c2e0c6b5SAndroid Build Coastguard Worker
546*c2e0c6b5SAndroid Build Coastguard Worker	* More capabilities: Transaction Processing Hints, Latency Tolerance
547*c2e0c6b5SAndroid Build Coastguard Worker	Reporting. Thanks to Jesse Barnes.
548*c2e0c6b5SAndroid Build Coastguard Worker
549*c2e0c6b5SAndroid Build Coastguard Worker	* Added BeOS and Haiku ports. Contributed by Francois Revol.
550*c2e0c6b5SAndroid Build Coastguard Worker
551*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.pc now uses Libs.private properly.
552*c2e0c6b5SAndroid Build Coastguard Worker
553*c2e0c6b5SAndroid Build Coastguard Worker	* When we format a name and it does not fit in the buffer, we truncate
554*c2e0c6b5SAndroid Build Coastguard Worker	it instead of returning "buffer too small" instead. This works on all
555*c2e0c6b5SAndroid Build Coastguard Worker	platforms with sane (i.e., C99-compatible) snprintf().
556*c2e0c6b5SAndroid Build Coastguard Worker
557*c2e0c6b5SAndroid Build Coastguard Worker	* Various minor bug fixes.
558*c2e0c6b5SAndroid Build Coastguard Worker
559*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the today's snapshot of the database.
560*c2e0c6b5SAndroid Build Coastguard Worker
561*c2e0c6b5SAndroid Build Coastguard Worker2010-01-31  Martin Mares <[email protected]>
562*c2e0c6b5SAndroid Build Coastguard Worker
563*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.7.
564*c2e0c6b5SAndroid Build Coastguard Worker
565*c2e0c6b5SAndroid Build Coastguard Worker	* Minor improvements and bug fixes in decoding of the Virtual Channel
566*c2e0c6b5SAndroid Build Coastguard Worker	capability.
567*c2e0c6b5SAndroid Build Coastguard Worker
568*c2e0c6b5SAndroid Build Coastguard Worker2010-01-24  Martin Mares <[email protected]>
569*c2e0c6b5SAndroid Build Coastguard Worker
570*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.6.
571*c2e0c6b5SAndroid Build Coastguard Worker
572*c2e0c6b5SAndroid Build Coastguard Worker	* More capabilities decoded: Virtual Channel (except arbitration
573*c2e0c6b5SAndroid Build Coastguard Worker	tables), Root Complex Link, Vendor-Specific (header only), SATA HBA.
574*c2e0c6b5SAndroid Build Coastguard Worker
575*c2e0c6b5SAndroid Build Coastguard Worker	* All extended capabilities have their version displayed (-vv or more).
576*c2e0c6b5SAndroid Build Coastguard Worker
577*c2e0c6b5SAndroid Build Coastguard Worker2010-01-19  Martin Mares <[email protected]>
578*c2e0c6b5SAndroid Build Coastguard Worker
579*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.5.
580*c2e0c6b5SAndroid Build Coastguard Worker
581*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the today's snapshot of the database.
582*c2e0c6b5SAndroid Build Coastguard Worker
583*c2e0c6b5SAndroid Build Coastguard Worker	* When scanning extended capabilities, properly mask the lowest 2 bits,
584*c2e0c6b5SAndroid Build Coastguard Worker	  which are currently reserved. This avoids unaligned access errors on
585*c2e0c6b5SAndroid Build Coastguard Worker	  broken hardware (see tests/broken-ecaps).
586*c2e0c6b5SAndroid Build Coastguard Worker
587*c2e0c6b5SAndroid Build Coastguard Worker	* Large bar sizes are displayed in human-readable format (with units).
588*c2e0c6b5SAndroid Build Coastguard Worker	  Thanks to Matthew Wilcox.
589*c2e0c6b5SAndroid Build Coastguard Worker
590*c2e0c6b5SAndroid Build Coastguard Worker	* Physical slot information is displayed correctly for multi-function cards.
591*c2e0c6b5SAndroid Build Coastguard Worker	  Fixed by Matthew Wilcox.
592*c2e0c6b5SAndroid Build Coastguard Worker
593*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed a couple of typos everywhere.
594*c2e0c6b5SAndroid Build Coastguard Worker
595*c2e0c6b5SAndroid Build Coastguard Worker	* Library: Fixed bugs in freeing of capabilities.
596*c2e0c6b5SAndroid Build Coastguard Worker
597*c2e0c6b5SAndroid Build Coastguard Worker	* Windows back-end compiles again.
598*c2e0c6b5SAndroid Build Coastguard Worker
599*c2e0c6b5SAndroid Build Coastguard Worker2009-08-14  Martin Mares <[email protected]>
600*c2e0c6b5SAndroid Build Coastguard Worker
601*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.4.
602*c2e0c6b5SAndroid Build Coastguard Worker	  (sorry that I have missed 22/7 and released it later :-))
603*c2e0c6b5SAndroid Build Coastguard Worker
604*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the today's snapshot of the database.
605*c2e0c6b5SAndroid Build Coastguard Worker
606*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed memory and file descriptor leak in the dump back-end.
607*c2e0c6b5SAndroid Build Coastguard Worker
608*c2e0c6b5SAndroid Build Coastguard Worker	* The SR-IOV capability decoder now prints the VF BAR's.
609*c2e0c6b5SAndroid Build Coastguard Worker	Patch by Chris Wright, cleaned up by me.
610*c2e0c6b5SAndroid Build Coastguard Worker
611*c2e0c6b5SAndroid Build Coastguard Worker	* On request of certain company's lawyers, we now include a copy
612*c2e0c6b5SAndroid Build Coastguard Worker	of the GPL with our package. It seems that the pciutils are getting
613*c2e0c6b5SAndroid Build Coastguard Worker	mature if the most important bug of the month was this one ;-)
614*c2e0c6b5SAndroid Build Coastguard Worker
615*c2e0c6b5SAndroid Build Coastguard Worker2009-07-04  Martin Mares <[email protected]>
616*c2e0c6b5SAndroid Build Coastguard Worker
617*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.3.
618*c2e0c6b5SAndroid Build Coastguard Worker
619*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the current snapshot of the database.
620*c2e0c6b5SAndroid Build Coastguard Worker
621*c2e0c6b5SAndroid Build Coastguard Worker	* The VPD parser now reports unknown and vendor-defined items
622*c2e0c6b5SAndroid Build Coastguard Worker	properly. It also stops on any item in unknown format, avoiding long
623*c2e0c6b5SAndroid Build Coastguard Worker	output on bogus VPD data. Thanks to Ben Hutchings and Matthew Wilcox.
624*c2e0c6b5SAndroid Build Coastguard Worker
625*c2e0c6b5SAndroid Build Coastguard Worker	* The MSI-X table size now matches the spec. Thanks to Michael S.
626*c2e0c6b5SAndroid Build Coastguard Worker	Tsirkin.
627*c2e0c6b5SAndroid Build Coastguard Worker
628*c2e0c6b5SAndroid Build Coastguard Worker	* The Power Management capability now includes the soft reset bit.
629*c2e0c6b5SAndroid Build Coastguard Worker	Thanks to Yu Zhao.
630*c2e0c6b5SAndroid Build Coastguard Worker
631*c2e0c6b5SAndroid Build Coastguard Worker	* Decoding of the Advanced Features capability has been added.
632*c2e0c6b5SAndroid Build Coastguard Worker	Thanks to Yu Zhao.
633*c2e0c6b5SAndroid Build Coastguard Worker
634*c2e0c6b5SAndroid Build Coastguard Worker	* The whole package compiles on GNU/kFreeBSD again.
635*c2e0c6b5SAndroid Build Coastguard Worker
636*c2e0c6b5SAndroid Build Coastguard Worker	The following patches have been contributed by Matthew Wilcox:
637*c2e0c6b5SAndroid Build Coastguard Worker
638*c2e0c6b5SAndroid Build Coastguard Worker	* The procfs back-end is able to cope with /proc/bus/pci
639*c2e0c6b5SAndroid Build Coastguard Worker	containing names with domains, which occur on sparc64 and
640*c2e0c6b5SAndroid Build Coastguard Worker	possibly other architectures due to a kernel bug.
641*c2e0c6b5SAndroid Build Coastguard Worker
642*c2e0c6b5SAndroid Build Coastguard Worker	* The sysfs back-end no longer complains when a slot address
643*c2e0c6b5SAndroid Build Coastguard Worker	is missing, which happens with old versions of Linux fakephp.
644*c2e0c6b5SAndroid Build Coastguard Worker
645*c2e0c6b5SAndroid Build Coastguard Worker	* The Device Serial Number capability is printed in the right
646*c2e0c6b5SAndroid Build Coastguard Worker	byte order.
647*c2e0c6b5SAndroid Build Coastguard Worker
648*c2e0c6b5SAndroid Build Coastguard Worker	* The MSI and MSI-X capabilities are printed in a prettier way.
649*c2e0c6b5SAndroid Build Coastguard Worker
650*c2e0c6b5SAndroid Build Coastguard Worker	* The tree output mode (`lspci -t') shows domain numbers only
651*c2e0c6b5SAndroid Build Coastguard Worker	at the root, which makes the output more compact.
652*c2e0c6b5SAndroid Build Coastguard Worker
653*c2e0c6b5SAndroid Build Coastguard Worker	* Updated documentation on the bus mapping mode (`lspci -M').
654*c2e0c6b5SAndroid Build Coastguard Worker
655*c2e0c6b5SAndroid Build Coastguard Worker2009-02-01  Martin Mares <[email protected]>
656*c2e0c6b5SAndroid Build Coastguard Worker
657*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.2.
658*c2e0c6b5SAndroid Build Coastguard Worker
659*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed another silly bug in the command-line parser of setpci.
660*c2e0c6b5SAndroid Build Coastguard Worker
661*c2e0c6b5SAndroid Build Coastguard Worker2009-01-30  Martin Mares <[email protected]>
662*c2e0c6b5SAndroid Build Coastguard Worker
663*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.1.
664*c2e0c6b5SAndroid Build Coastguard Worker
665*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the current snapshot of the database.
666*c2e0c6b5SAndroid Build Coastguard Worker
667*c2e0c6b5SAndroid Build Coastguard Worker	* The configure script now sets LC_ALL to avoid being fooled by
668*c2e0c6b5SAndroid Build Coastguard Worker	locale-dependent behavior of `tr'.
669*c2e0c6b5SAndroid Build Coastguard Worker
670*c2e0c6b5SAndroid Build Coastguard Worker	* The command-line parser of setpci did sometimes segfault on invalid
671*c2e0c6b5SAndroid Build Coastguard Worker	input. Thanks to Andreas Wiese for a fix.
672*c2e0c6b5SAndroid Build Coastguard Worker
673*c2e0c6b5SAndroid Build Coastguard Worker2009-01-18  Martin Mares <[email protected]>
674*c2e0c6b5SAndroid Build Coastguard Worker
675*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.1.0.
676*c2e0c6b5SAndroid Build Coastguard Worker
677*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the current snapshot of the database.
678*c2e0c6b5SAndroid Build Coastguard Worker
679*c2e0c6b5SAndroid Build Coastguard Worker	* The Cygwin backend now works on Windows Vista. Thanks to Jonathan
680*c2e0c6b5SAndroid Build Coastguard Worker	Kotta.
681*c2e0c6b5SAndroid Build Coastguard Worker
682*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed a bug in decoding of the SR-IOV capability. Patch by Yu Zhao.
683*c2e0c6b5SAndroid Build Coastguard Worker
684*c2e0c6b5SAndroid Build Coastguard Worker	* Details of some PCIe capabilities are displayed only with -vv.
685*c2e0c6b5SAndroid Build Coastguard Worker
686*c2e0c6b5SAndroid Build Coastguard Worker	* When a BAR is reported by the OS, but not by the device (i.e.,
687*c2e0c6b5SAndroid Build Coastguard Worker	it is marked as [virtual] in lspci), the [disabled] flag is
688*c2e0c6b5SAndroid Build Coastguard Worker	suppressed, because it does not make sense in such cases.
689*c2e0c6b5SAndroid Build Coastguard Worker	Patch by Yu Zhao.
690*c2e0c6b5SAndroid Build Coastguard Worker
691*c2e0c6b5SAndroid Build Coastguard Worker2008-12-13  Martin Mares <[email protected]>
692*c2e0c6b5SAndroid Build Coastguard Worker
693*c2e0c6b5SAndroid Build Coastguard Worker	* The source code of lspci has been split to multiple files, hopefully
694*c2e0c6b5SAndroid Build Coastguard Worker	making it easier to maintain.
695*c2e0c6b5SAndroid Build Coastguard Worker
696*c2e0c6b5SAndroid Build Coastguard Worker	* The library and lspci now know about physical slot names. So far,
697*c2e0c6b5SAndroid Build Coastguard Worker	they are provided by the sysfs back-end only. Thanks go to Alex Chiang.
698*c2e0c6b5SAndroid Build Coastguard Worker
699*c2e0c6b5SAndroid Build Coastguard Worker	* When a device has the VPD (Vital Product Data) capability and the
700*c2e0c6b5SAndroid Build Coastguard Worker	VPD data are supplied by the OS, they are decoded and printed in the
701*c2e0c6b5SAndroid Build Coastguard Worker	verbose mode. This currently works only on Linux with the sysfs
702*c2e0c6b5SAndroid Build Coastguard Worker	back-end. Thanks to Ben Hutchings of Solarflare for the patch.
703*c2e0c6b5SAndroid Build Coastguard Worker
704*c2e0c6b5SAndroid Build Coastguard Worker	* `setpci --version' now works properly.
705*c2e0c6b5SAndroid Build Coastguard Worker
706*c2e0c6b5SAndroid Build Coastguard Worker	* `setpci --dumpregs' prints a table of all known names of
707*c2e0c6b5SAndroid Build Coastguard Worker	registers and capabilities. This replaces the table of registers
708*c2e0c6b5SAndroid Build Coastguard Worker	in the setpci man page.
709*c2e0c6b5SAndroid Build Coastguard Worker
710*c2e0c6b5SAndroid Build Coastguard Worker	* The dry-run mode of setpci gives better feedback.
711*c2e0c6b5SAndroid Build Coastguard Worker
712*c2e0c6b5SAndroid Build Coastguard Worker	* The setpci utility is now able to address registers stored in PCI
713*c2e0c6b5SAndroid Build Coastguard Worker	capabilities (actually it allows a more general form of relative
714*c2e0c6b5SAndroid Build Coastguard Worker	addressing).
715*c2e0c6b5SAndroid Build Coastguard Worker
716*c2e0c6b5SAndroid Build Coastguard Worker	* The library has gained functions for working with PCI capabilities.
717*c2e0c6b5SAndroid Build Coastguard Worker
718*c2e0c6b5SAndroid Build Coastguard Worker	* Address Translation Services capability is now decoded. Patch by
719*c2e0c6b5SAndroid Build Coastguard Worker	Yu Zhao.
720*c2e0c6b5SAndroid Build Coastguard Worker
721*c2e0c6b5SAndroid Build Coastguard Worker2008-11-09  Martin Mares <[email protected]>
722*c2e0c6b5SAndroid Build Coastguard Worker
723*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.0.3.
724*c2e0c6b5SAndroid Build Coastguard Worker
725*c2e0c6b5SAndroid Build Coastguard Worker	* `lspci -k' now displays the subsystem ID, too. This makes `-k'
726*c2e0c6b5SAndroid Build Coastguard Worker	show everything needed to identify the device and the available
727*c2e0c6b5SAndroid Build Coastguard Worker	drivers, which was called for by many users.
728*c2e0c6b5SAndroid Build Coastguard Worker
729*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed spelling of MSI. Patch by Matthew Wilcox.
730*c2e0c6b5SAndroid Build Coastguard Worker
731*c2e0c6b5SAndroid Build Coastguard Worker	* Better support for cross-compilation. Thanks to Alon Bar-Lev
732*c2e0c6b5SAndroid Build Coastguard Worker	for the patch.
733*c2e0c6b5SAndroid Build Coastguard Worker
734*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed printing of the AER capability. Patch by Max Asbock.
735*c2e0c6b5SAndroid Build Coastguard Worker
736*c2e0c6b5SAndroid Build Coastguard Worker	* HT 1.02 capabilities are decoded as HT 1.03. Suggested by
737*c2e0c6b5SAndroid Build Coastguard Worker	Carl-Daniel Hailfinger.
738*c2e0c6b5SAndroid Build Coastguard Worker
739*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed Cygwin build. Thanks to Steve Elliott for reporting the bug.
740*c2e0c6b5SAndroid Build Coastguard Worker
741*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the current snapshot of the database.
742*c2e0c6b5SAndroid Build Coastguard Worker
743*c2e0c6b5SAndroid Build Coastguard Worker2008-09-19  Martin Mares <[email protected]>
744*c2e0c6b5SAndroid Build Coastguard Worker
745*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.0.2.
746*c2e0c6b5SAndroid Build Coastguard Worker
747*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed a minor bug in the configure script, which caused warnings
748*c2e0c6b5SAndroid Build Coastguard Worker	about redefinition of symbols during compilation.
749*c2e0c6b5SAndroid Build Coastguard Worker
750*c2e0c6b5SAndroid Build Coastguard Worker2008-09-11  Martin Mares <[email protected]>
751*c2e0c6b5SAndroid Build Coastguard Worker
752*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.0.1.
753*c2e0c6b5SAndroid Build Coastguard Worker
754*c2e0c6b5SAndroid Build Coastguard Worker	* Updated pci.ids to the most recent snapshot.
755*c2e0c6b5SAndroid Build Coastguard Worker
756*c2e0c6b5SAndroid Build Coastguard Worker	* Added a Cygwin port. Patch by Christopher Voltz, ported to the
757*c2e0c6b5SAndroid Build Coastguard Worker	current tree by Martin Mares.
758*c2e0c6b5SAndroid Build Coastguard Worker
759*c2e0c6b5SAndroid Build Coastguard Worker	* Worked around compatibility problems with various default settings
760*c2e0c6b5SAndroid Build Coastguard Worker	of wget (we have to set --no-timestamping explicitly). Thanks to Ville
761*c2e0c6b5SAndroid Build Coastguard Worker	Skytta for pointing that out.
762*c2e0c6b5SAndroid Build Coastguard Worker
763*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed printing of MSI capabilities. Thanks to Matthew Wilcox for
764*c2e0c6b5SAndroid Build Coastguard Worker	a patch.
765*c2e0c6b5SAndroid Build Coastguard Worker
766*c2e0c6b5SAndroid Build Coastguard Worker	* Added decoding of several PCI-X capabilities: device/link/slot 2,
767*c2e0c6b5SAndroid Build Coastguard Worker	Advanced Error Reporting, Access Control Services, Alternative Routing-ID,
768*c2e0c6b5SAndroid Build Coastguard Worker	Single Root I/O Virtualization. Thanks to Yu Zhao for patches.
769*c2e0c6b5SAndroid Build Coastguard Worker
770*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed bug in filters which caused them to refuse vendor/device ID 0xffff.
771*c2e0c6b5SAndroid Build Coastguard Worker
772*c2e0c6b5SAndroid Build Coastguard Worker	* README: The linux-pci mailing list has moved to [email protected].
773*c2e0c6b5SAndroid Build Coastguard Worker
774*c2e0c6b5SAndroid Build Coastguard Worker	* Fixed several build problems: builds without PCI_USE_DNS on Linux
775*c2e0c6b5SAndroid Build Coastguard Worker	and with PCI_USE_DNS on Solaris and *BSD. Static library mode also
776*c2e0c6b5SAndroid Build Coastguard Worker	compiles again on old versions of GCC.
777*c2e0c6b5SAndroid Build Coastguard Worker
778*c2e0c6b5SAndroid Build Coastguard Worker2008-04-10  Martin Mares <[email protected]>
779*c2e0c6b5SAndroid Build Coastguard Worker
780*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 3.0.0.
781*c2e0c6b5SAndroid Build Coastguard Worker
782*c2e0c6b5SAndroid Build Coastguard Worker	* Updated API and ABI version.
783*c2e0c6b5SAndroid Build Coastguard Worker
784*c2e0c6b5SAndroid Build Coastguard Worker2008-02-20  Martin Mares <[email protected]>
785*c2e0c6b5SAndroid Build Coastguard Worker
786*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.99.1-alpha2.
787*c2e0c6b5SAndroid Build Coastguard Worker
788*c2e0c6b5SAndroid Build Coastguard Worker	* Changed the default domain for the DNS resolver.
789*c2e0c6b5SAndroid Build Coastguard Worker
790*c2e0c6b5SAndroid Build Coastguard Worker2008-02-18  Martin Mares <[email protected]>
791*c2e0c6b5SAndroid Build Coastguard Worker
792*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.99.1-alpha1.
793*c2e0c6b5SAndroid Build Coastguard Worker
794*c2e0c6b5SAndroid Build Coastguard Worker	* The makefile system has been reworked. All configuration settings
795*c2e0c6b5SAndroid Build Coastguard Worker	are now passed to the configure script in environment variables,
796*c2e0c6b5SAndroid Build Coastguard Worker	allowing for easy tweaking in the top-level Makefile. All control
797*c2e0c6b5SAndroid Build Coastguard Worker	knobs are now described in the README.
798*c2e0c6b5SAndroid Build Coastguard Worker
799*c2e0c6b5SAndroid Build Coastguard Worker	* The libpci can be built as a shared library with properly restricted
800*c2e0c6b5SAndroid Build Coastguard Worker	symbol exports. Use `make SHARED=yes' to enable that or `make SHARED=local'
801*c2e0c6b5SAndroid Build Coastguard Worker	for a local testing build (with hardwired paths to the library, so that
802*c2e0c6b5SAndroid Build Coastguard Worker	it does not need installation).
803*c2e0c6b5SAndroid Build Coastguard Worker
804*c2e0c6b5SAndroid Build Coastguard Worker	* The example program has been moved from lib/example.c to the top-level
805*c2e0c6b5SAndroid Build Coastguard Worker	directory, because it should be built exactly as the other utilities
806*c2e0c6b5SAndroid Build Coastguard Worker	are. It has been also improved slightly to educate better.
807*c2e0c6b5SAndroid Build Coastguard Worker
808*c2e0c6b5SAndroid Build Coastguard Worker	* The i386-ports method is enabled on Linux/x86_64 as well.
809*c2e0c6b5SAndroid Build Coastguard Worker
810*c2e0c6b5SAndroid Build Coastguard Worker2008-02-13  Martin Mares <[email protected]>
811*c2e0c6b5SAndroid Build Coastguard Worker
812*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.10-net2.
813*c2e0c6b5SAndroid Build Coastguard Worker
814*c2e0c6b5SAndroid Build Coastguard Worker	* Support for resolving of PCI ID's using DNS together with a local
815*c2e0c6b5SAndroid Build Coastguard Worker	cache of resolved entries has been added. See the `-q' and `-Q' options
816*c2e0c6b5SAndroid Build Coastguard Worker	of lspci.
817*c2e0c6b5SAndroid Build Coastguard Worker
818*c2e0c6b5SAndroid Build Coastguard Worker	* The library now has a generic system of settable parameters, which
819*c2e0c6b5SAndroid Build Coastguard Worker	also include settings of the DNS resolver and cache. An `-O' option
820*c2e0c6b5SAndroid Build Coastguard Worker	has been added to lspci and setpci to allow setting of these options.
821*c2e0c6b5SAndroid Build Coastguard Worker
822*c2e0c6b5SAndroid Build Coastguard Worker	* Configuration of the access methods are now specified by the new
823*c2e0c6b5SAndroid Build Coastguard Worker	parameter system, replacing the pci_access->method_params array.
824*c2e0c6b5SAndroid Build Coastguard Worker
825*c2e0c6b5SAndroid Build Coastguard Worker	* Access methods now also have sensible names and help texts and it
826*c2e0c6b5SAndroid Build Coastguard Worker	is possible to look up method ID by a name.
827*c2e0c6b5SAndroid Build Coastguard Worker
828*c2e0c6b5SAndroid Build Coastguard Worker	* An `-A' switch has been added to both lspci and setpci, allowing to
829*c2e0c6b5SAndroid Build Coastguard Worker	select an arbitrary access method. The `-P' switch (configure proc
830*c2e0c6b5SAndroid Build Coastguard Worker	backend) has been removed as it is no longer needed and I do not know
831*c2e0c6b5SAndroid Build Coastguard Worker	any its user.
832*c2e0c6b5SAndroid Build Coastguard Worker
833*c2e0c6b5SAndroid Build Coastguard Worker	* Several source files have been split for better maintainability
834*c2e0c6b5SAndroid Build Coastguard Worker	(most notably the resolving of ID's).
835*c2e0c6b5SAndroid Build Coastguard Worker
836*c2e0c6b5SAndroid Build Coastguard Worker	* Man pages and help texts have been updated. A new man page `pcilib(7)'
837*c2e0c6b5SAndroid Build Coastguard Worker	has been added and description of library options has been moved there.
838*c2e0c6b5SAndroid Build Coastguard Worker
839*c2e0c6b5SAndroid Build Coastguard Worker	* When an unknown device ID is encountered, we print `Device <id>'
840*c2e0c6b5SAndroid Build Coastguard Worker	instead of `Unknown device <id>'. It uses less space and it also
841*c2e0c6b5SAndroid Build Coastguard Worker	should reduce the number of inexperienced users complaining that
842*c2e0c6b5SAndroid Build Coastguard Worker	the device is not supported by the OS. To lookup up OS drivers,
843*c2e0c6b5SAndroid Build Coastguard Worker	use the `-k' option.
844*c2e0c6b5SAndroid Build Coastguard Worker
845*c2e0c6b5SAndroid Build Coastguard Worker	* PCI_LIB_VERSION has been bumped to 0x020299.
846*c2e0c6b5SAndroid Build Coastguard Worker
847*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: stripping of the binaries during installation can be
848*c2e0c6b5SAndroid Build Coastguard Worker	overridden by the STRIP variable.
849*c2e0c6b5SAndroid Build Coastguard Worker
850*c2e0c6b5SAndroid Build Coastguard Worker	* lib/types.h: We use the integer types from <stdint.h> if the
851*c2e0c6b5SAndroid Build Coastguard Worker	compiler claims C99 support.
852*c2e0c6b5SAndroid Build Coastguard Worker
853*c2e0c6b5SAndroid Build Coastguard Worker2008-02-11  Martin Mares <[email protected]>
854*c2e0c6b5SAndroid Build Coastguard Worker
855*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.10.
856*c2e0c6b5SAndroid Build Coastguard Worker
857*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c, setpci.c: Cleaned up the list of options.
858*c2e0c6b5SAndroid Build Coastguard Worker
859*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c: Fix displaying of errors reported by zlib.
860*c2e0c6b5SAndroid Build Coastguard Worker	Previously, the buffer containing the error message had
861*c2e0c6b5SAndroid Build Coastguard Worker	been deallocated by gzclose() before the message was printed.
862*c2e0c6b5SAndroid Build Coastguard Worker
863*c2e0c6b5SAndroid Build Coastguard Worker2008-01-07  Martin Mares <[email protected]>
864*c2e0c6b5SAndroid Build Coastguard Worker
865*c2e0c6b5SAndroid Build Coastguard Worker	* update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
866*c2e0c6b5SAndroid Build Coastguard Worker	files left by previous versions of the pciutils. Patch by Mike
867*c2e0c6b5SAndroid Build Coastguard Worker	Frysinger.
868*c2e0c6b5SAndroid Build Coastguard Worker
869*c2e0c6b5SAndroid Build Coastguard Worker	* update-pciids.man: Mention the -q switch.
870*c2e0c6b5SAndroid Build Coastguard Worker
871*c2e0c6b5SAndroid Build Coastguard Worker2007-11-29  Martin Mares <[email protected]>
872*c2e0c6b5SAndroid Build Coastguard Worker
873*c2e0c6b5SAndroid Build Coastguard Worker	* lib/dump.c: Squashed compiler warnings about code with
874*c2e0c6b5SAndroid Build Coastguard Worker	no effect (there really were surplus *'s).
875*c2e0c6b5SAndroid Build Coastguard Worker
876*c2e0c6b5SAndroid Build Coastguard Worker2007-11-06  Martin Mares <[email protected]>
877*c2e0c6b5SAndroid Build Coastguard Worker
878*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.9.
879*c2e0c6b5SAndroid Build Coastguard Worker
880*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Added a new switch `-k' which requests printing
881*c2e0c6b5SAndroid Build Coastguard Worker	of information on kernel drivers attached to each device
882*c2e0c6b5SAndroid Build Coastguard Worker	and on kernel modules reporting the ability to handle the
883*c2e0c6b5SAndroid Build Coastguard Worker	device. So far, this is supported only on Linux with the
884*c2e0c6b5SAndroid Build Coastguard Worker	sysfs back-end, so it is implemented internally in the lspci
885*c2e0c6b5SAndroid Build Coastguard Worker	instead of the libpci. Thanks to Anicka <[email protected]>
886*c2e0c6b5SAndroid Build Coastguard Worker	for help.
887*c2e0c6b5SAndroid Build Coastguard Worker
888*c2e0c6b5SAndroid Build Coastguard Worker2007-10-19  Martin Mares <[email protected]>
889*c2e0c6b5SAndroid Build Coastguard Worker
890*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS.
891*c2e0c6b5SAndroid Build Coastguard Worker	Also added an explicit pattern rule for linking to make sure
892*c2e0c6b5SAndroid Build Coastguard Worker	that LDLIBS is used on all platforms. Thanks to Dan Nicholson
893*c2e0c6b5SAndroid Build Coastguard Worker	for the suggestion.
894*c2e0c6b5SAndroid Build Coastguard Worker
895*c2e0c6b5SAndroid Build Coastguard Worker2007-10-19  Martin Mares <[email protected]>
896*c2e0c6b5SAndroid Build Coastguard Worker
897*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.8.
898*c2e0c6b5SAndroid Build Coastguard Worker
899*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Revised class codes to match Conventional PCI 3.0 specs.
900*c2e0c6b5SAndroid Build Coastguard Worker	Added a couple of new ones, renumbered `ADMA continuous operation'
901*c2e0c6b5SAndroid Build Coastguard Worker	prog-if to 0x30 (even the old SATA Class Code ECN doesn't mention
902*c2e0c6b5SAndroid Build Coastguard Worker	0x40) and renumbered the satellite communication controllers.
903*c2e0c6b5SAndroid Build Coastguard Worker
904*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Include `PCI hot-plug' and `Secure device'
905*c2e0c6b5SAndroid Build Coastguard Worker	capabilities from PCI 3.0 specs. Also added `SATA HBA' and
906*c2e0c6b5SAndroid Build Coastguard Worker	`Advanced features' caps from various ECN's.
907*c2e0c6b5SAndroid Build Coastguard Worker
908*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: All known capabilities have at least their name displayed
909*c2e0c6b5SAndroid Build Coastguard Worker	now. When we are unable to decode them completely, we signalize it
910*c2e0c6b5SAndroid Build Coastguard Worker	with a `<?>' mark.
911*c2e0c6b5SAndroid Build Coastguard Worker
912*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.man: Document `<?>' and also mention that extended config
913*c2e0c6b5SAndroid Build Coastguard Worker	space is currently available only with the linux_sysfs back-end.
914*c2e0c6b5SAndroid Build Coastguard Worker
915*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Decode the Debug port capability (per EHCI 0.96 spec).
916*c2e0c6b5SAndroid Build Coastguard Worker
917*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Big code cleanup: re-arranged functions in the code,
918*c2e0c6b5SAndroid Build Coastguard Worker	renamed everything related to capabilities to cap_* and
919*c2e0c6b5SAndroid Build Coastguard Worker	all options except verbose to opt_*.
920*c2e0c6b5SAndroid Build Coastguard Worker
921*c2e0c6b5SAndroid Build Coastguard Worker2007-10-14  Martin Mares <[email protected]>
922*c2e0c6b5SAndroid Build Coastguard Worker
923*c2e0c6b5SAndroid Build Coastguard Worker	* lib/[fno]bsd-*: Removed extraneous braces.
924*c2e0c6b5SAndroid Build Coastguard Worker
925*c2e0c6b5SAndroid Build Coastguard Worker2007-10-12  Martin Mares <[email protected]>
926*c2e0c6b5SAndroid Build Coastguard Worker
927*c2e0c6b5SAndroid Build Coastguard Worker	* Capability loop detection introduced 2.2.7 did not work
928*c2e0c6b5SAndroid Build Coastguard Worker	  properly with extended capabilities. Fixed.
929*c2e0c6b5SAndroid Build Coastguard Worker
930*c2e0c6b5SAndroid Build Coastguard Worker2007-10-05  Martin Mares <[email protected]>
931*c2e0c6b5SAndroid Build Coastguard Worker
932*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.7.
933*c2e0c6b5SAndroid Build Coastguard Worker
934*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_caps, show_ext_caps): Detect and report loops in
935*c2e0c6b5SAndroid Build Coastguard Worker	capability lists.
936*c2e0c6b5SAndroid Build Coastguard Worker
937*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c, lib/header.h: Finished decoding of the PCI Express
938*c2e0c6b5SAndroid Build Coastguard Worker	capability. The extended capabilities remain undecoded for now,
939*c2e0c6b5SAndroid Build Coastguard Worker	but at least the list of them has been updated to reflect the
940*c2e0c6b5SAndroid Build Coastguard Worker	current PCI Express 2.0 spec.
941*c2e0c6b5SAndroid Build Coastguard Worker
942*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c, lib/header.h: Decode new bits of traditional registers
943*c2e0c6b5SAndroid Build Coastguard Worker	as defined by PCIE / PCI-X. This includes discard timers in the bridge
944*c2e0c6b5SAndroid Build Coastguard Worker	control register and INTx enable/status in device control/status
945*c2e0c6b5SAndroid Build Coastguard Worker	registers.
946*c2e0c6b5SAndroid Build Coastguard Worker
947*c2e0c6b5SAndroid Build Coastguard Worker	* lib/fbsd-device.c: Support domains on new FreeBSD's. Contributed
948*c2e0c6b5SAndroid Build Coastguard Worker	by Marius Strobl.
949*c2e0c6b5SAndroid Build Coastguard Worker
950*c2e0c6b5SAndroid Build Coastguard Worker2007-09-12  Hasso Tepper <[email protected]>
951*c2e0c6b5SAndroid Build Coastguard Worker
952*c2e0c6b5SAndroid Build Coastguard Worker	* Extended the fbsd-device backend to run on Dragonfly BSD.
953*c2e0c6b5SAndroid Build Coastguard Worker
954*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: alloca() is declared in <stdlib.h> on BSD's, not <alloca.h>.
955*c2e0c6b5SAndroid Build Coastguard Worker
956*c2e0c6b5SAndroid Build Coastguard Worker2007-09-03  Martin Mares <[email protected]>
957*c2e0c6b5SAndroid Build Coastguard Worker
958*c2e0c6b5SAndroid Build Coastguard Worker	* Resurrected the Windows port, including cross-compilation by MinGW.
959*c2e0c6b5SAndroid Build Coastguard Worker	Patch by Samuel Bronson <[email protected]>.
960*c2e0c6b5SAndroid Build Coastguard Worker
961*c2e0c6b5SAndroid Build Coastguard Worker2007-08-31  Martin Mares <[email protected]>
962*c2e0c6b5SAndroid Build Coastguard Worker
963*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile, lib/Makefile: `ar' and `ranlib' can be overridden to allow
964*c2e0c6b5SAndroid Build Coastguard Worker	cross-compilation.
965*c2e0c6b5SAndroid Build Coastguard Worker
966*c2e0c6b5SAndroid Build Coastguard Worker2007-08-27  Martin Mares  <[email protected]>
967*c2e0c6b5SAndroid Build Coastguard Worker
968*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (pci_open): When calling gzopen(), use "rb" file mode
969*c2e0c6b5SAndroid Build Coastguard Worker	instead of "r". This is needed on DOS systems, where this function
970*c2e0c6b5SAndroid Build Coastguard Worker	somewhat illogically uses the binary flag for the compressed file
971*c2e0c6b5SAndroid Build Coastguard Worker	instead of the decompressed stream inside, where binariness really
972*c2e0c6b5SAndroid Build Coastguard Worker	matters.
973*c2e0c6b5SAndroid Build Coastguard Worker
974*c2e0c6b5SAndroid Build Coastguard Worker2007-08-14  Martin Mares  <[email protected]>
975*c2e0c6b5SAndroid Build Coastguard Worker
976*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_ht): Added decoding of Hypertransport MSI mapping capability,
977*c2e0c6b5SAndroid Build Coastguard Worker	based on a patch by Jason Gunthorpe.
978*c2e0c6b5SAndroid Build Coastguard Worker
979*c2e0c6b5SAndroid Build Coastguard Worker	* tests/cap-MSI-mapping: Added a test case. I plan to add test cases
980*c2e0c6b5SAndroid Build Coastguard Worker	(which are dumps of config space) for all new features.
981*c2e0c6b5SAndroid Build Coastguard Worker
982*c2e0c6b5SAndroid Build Coastguard Worker2007-06-20  Martin Mares  <[email protected]>
983*c2e0c6b5SAndroid Build Coastguard Worker
984*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.6.
985*c2e0c6b5SAndroid Build Coastguard Worker
986*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Added an "install-lib" target. Thanks to Dan Nicholson
987*c2e0c6b5SAndroid Build Coastguard Worker	for a patch.
988*c2e0c6b5SAndroid Build Coastguard Worker
989*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile, lib/Makefile: Generate and install pkg-config file
990*c2e0c6b5SAndroid Build Coastguard Worker	for libpci. Again by Dan Nicholson.
991*c2e0c6b5SAndroid Build Coastguard Worker
992*c2e0c6b5SAndroid Build Coastguard Worker2007-06-20  Thomas Schwinge  <[email protected]>
993*c2e0c6b5SAndroid Build Coastguard Worker
994*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-io-hurd.h: Rewritten for new Hurd kernels.
995*c2e0c6b5SAndroid Build Coastguard Worker
996*c2e0c6b5SAndroid Build Coastguard Worker2007-05-04  Martin Mares  <[email protected]>
997*c2e0c6b5SAndroid Build Coastguard Worker
998*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.5.
999*c2e0c6b5SAndroid Build Coastguard Worker
1000*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Updated to the current snapshot of the database.
1001*c2e0c6b5SAndroid Build Coastguard Worker
1002*c2e0c6b5SAndroid Build Coastguard Worker2007-02-14  Martin Mares  <[email protected]>
1003*c2e0c6b5SAndroid Build Coastguard Worker
1004*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_express): Added PCI/PCI-X to PCI-Express Bridge type.
1005*c2e0c6b5SAndroid Build Coastguard Worker	Patch by Mark Glines.
1006*c2e0c6b5SAndroid Build Coastguard Worker
1007*c2e0c6b5SAndroid Build Coastguard Worker2007-02-09  Martin Mares  <[email protected]>
1008*c2e0c6b5SAndroid Build Coastguard Worker
1009*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Updated to the current snapshot of the database.
1010*c2e0c6b5SAndroid Build Coastguard Worker
1011*c2e0c6b5SAndroid Build Coastguard Worker2007-02-06  Martin Mares  <[email protected]>
1012*c2e0c6b5SAndroid Build Coastguard Worker
1013*c2e0c6b5SAndroid Build Coastguard Worker	* Replaced bzero() by memset() everywhere, it's better to lose a tiny
1014*c2e0c6b5SAndroid Build Coastguard Worker	bit of readability than maintain hacks to make it work on various systems.
1015*c2e0c6b5SAndroid Build Coastguard Worker
1016*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: tr on Solaris is a bit weird and it requires `[A-Z]'
1017*c2e0c6b5SAndroid Build Coastguard Worker	instead of `A-Z'. Fortunately, the extra brackets don't hurt otherwise.
1018*c2e0c6b5SAndroid Build Coastguard Worker
1019*c2e0c6b5SAndroid Build Coastguard Worker	* lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise
1020*c2e0c6b5SAndroid Build Coastguard Worker	integer types.
1021*c2e0c6b5SAndroid Build Coastguard Worker
1022*c2e0c6b5SAndroid Build Coastguard Worker2007-02-04  Martin Mares  <[email protected]>
1023*c2e0c6b5SAndroid Build Coastguard Worker
1024*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: alloca() needs <alloca.h>.
1025*c2e0c6b5SAndroid Build Coastguard Worker
1026*c2e0c6b5SAndroid Build Coastguard Worker2006-09-17  Martin Mares  <[email protected]>
1027*c2e0c6b5SAndroid Build Coastguard Worker
1028*c2e0c6b5SAndroid Build Coastguard Worker	* lib/dump.c: Fixed a couple of bugs in the dump backend which caused
1029*c2e0c6b5SAndroid Build Coastguard Worker	devices with domains or with extended config space to be read incorrectly.
1030*c2e0c6b5SAndroid Build Coastguard Worker	Also, dumps with partial lines are allowed now.
1031*c2e0c6b5SAndroid Build Coastguard Worker
1032*c2e0c6b5SAndroid Build Coastguard Worker2006-09-10  Martin Mares  <[email protected]>
1033*c2e0c6b5SAndroid Build Coastguard Worker
1034*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Updated to the current database snapshot.
1035*c2e0c6b5SAndroid Build Coastguard Worker
1036*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (scan_device): If an error occurs when reading the standard config
1037*c2e0c6b5SAndroid Build Coastguard Worker	header of a device, report it and ignore the device and return with exit
1038*c2e0c6b5SAndroid Build Coastguard Worker	code 2 at the end.
1039*c2e0c6b5SAndroid Build Coastguard Worker
1040*c2e0c6b5SAndroid Build Coastguard Worker2006-09-09  Martin Mares  <[email protected]>
1041*c2e0c6b5SAndroid Build Coastguard Worker
1042*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.4.
1043*c2e0c6b5SAndroid Build Coastguard Worker
1044*c2e0c6b5SAndroid Build Coastguard Worker	* maint/release: Remind the maintainer about the current PCI_LIB_VERSION.
1045*c2e0c6b5SAndroid Build Coastguard Worker
1046*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h: Updated PCI_LIB_VERSION.
1047*c2e0c6b5SAndroid Build Coastguard Worker
1048*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_machine): In the `-m' mode, do proper shell escaping
1049*c2e0c6b5SAndroid Build Coastguard Worker	if the fields printed contain quotes or backslashes.
1050*c2e0c6b5SAndroid Build Coastguard Worker
1051*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse
1052*c2e0c6b5SAndroid Build Coastguard Worker	of the `Device' tag for two different purposes.
1053*c2e0c6b5SAndroid Build Coastguard Worker
1054*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Moved all system-dependent decisions to lib/configure,
1055*c2e0c6b5SAndroid Build Coastguard Worker	since config.mk is included in the top-level Makefile anyway.
1056*c2e0c6b5SAndroid Build Coastguard Worker
1057*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: When configuring for Linux, ignore the kernel version
1058*c2e0c6b5SAndroid Build Coastguard Worker	and always build all access methods.
1059*c2e0c6b5SAndroid Build Coastguard Worker
1060*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile (CFLAGS): Removed -Winline, it's not needed and triggers
1061*c2e0c6b5SAndroid Build Coastguard Worker	at many non-interesting places with gcc 3.4.
1062*c2e0c6b5SAndroid Build Coastguard Worker
1063*c2e0c6b5SAndroid Build Coastguard Worker	* Whitespace cleanup of all source files.
1064*c2e0c6b5SAndroid Build Coastguard Worker
1065*c2e0c6b5SAndroid Build Coastguard Worker	* The pci.ids file can be stored compressed if zlib is available.
1066*c2e0c6b5SAndroid Build Coastguard Worker	Added transparent decompression to lib/names.c, modified update-pciids.sh
1067*c2e0c6b5SAndroid Build Coastguard Worker	to keep the file compressed if applicable, updated Makefiles.
1068*c2e0c6b5SAndroid Build Coastguard Worker	Based on a patch by Matthew Wilcox, but all the bugs are mine.
1069*c2e0c6b5SAndroid Build Coastguard Worker
1070*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile, README: Allow installation to be done to a different directory
1071*c2e0c6b5SAndroid Build Coastguard Worker	from the one we will eventually be placed in by setting DESTDIR.
1072*c2e0c6b5SAndroid Build Coastguard Worker	Patch by Matthew Wilcox.
1073*c2e0c6b5SAndroid Build Coastguard Worker
1074*c2e0c6b5SAndroid Build Coastguard Worker	* Added .gitignore files.
1075*c2e0c6b5SAndroid Build Coastguard Worker
1076*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile (clean): Clean *.orig, too.
1077*c2e0c6b5SAndroid Build Coastguard Worker
1078*c2e0c6b5SAndroid Build Coastguard Worker	* Cleaned up usage of `char' and `byte'.
1079*c2e0c6b5SAndroid Build Coastguard Worker
1080*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: PCI_CLASS_DOCKING_OTHER should be 0x0a80, not 0x0a01.
1081*c2e0c6b5SAndroid Build Coastguard Worker
1082*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Added PCI_CLASS_xxx constants for all classes currently
1083*c2e0c6b5SAndroid Build Coastguard Worker	defined in the pci.ids file.
1084*c2e0c6b5SAndroid Build Coastguard Worker
1085*c2e0c6b5SAndroid Build Coastguard Worker2006-08-01  Martin Mares  <[email protected]>
1086*c2e0c6b5SAndroid Build Coastguard Worker
1087*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-io-hurd.h: Fixed a silly typo.
1088*c2e0c6b5SAndroid Build Coastguard Worker
1089*c2e0c6b5SAndroid Build Coastguard Worker2006-07-30  Martin Mares  <[email protected]>
1090*c2e0c6b5SAndroid Build Coastguard Worker
1091*c2e0c6b5SAndroid Build Coastguard Worker	* lib/Makefile: Added a missing rule for obsd-device.o.
1092*c2e0c6b5SAndroid Build Coastguard Worker
1093*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c, lib/header.h: Added support for MSI per-vector masking.
1094*c2e0c6b5SAndroid Build Coastguard Worker	Contributed by Petr Vandrovec.
1095*c2e0c6b5SAndroid Build Coastguard Worker
1096*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c, lib/header.h: Added support for the `bridge subsystem ID'
1097*c2e0c6b5SAndroid Build Coastguard Worker	capability. Contributed by Petr Vandrovec.
1098*c2e0c6b5SAndroid Build Coastguard Worker
1099*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable
1100*c2e0c6b5SAndroid Build Coastguard Worker	memory windows. Fix by Petr Vandrovec.
1101*c2e0c6b5SAndroid Build Coastguard Worker
1102*c2e0c6b5SAndroid Build Coastguard Worker	* maint/release.pm: Exclude .git directory from releases.
1103*c2e0c6b5SAndroid Build Coastguard Worker
1104*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-ports.c, lib/i386-io-*: Report failures during port access
1105*c2e0c6b5SAndroid Build Coastguard Worker	initialization by a->warn() instead of calling printf() or perror()
1106*c2e0c6b5SAndroid Build Coastguard Worker	directly.
1107*c2e0c6b5SAndroid Build Coastguard Worker
1108*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-ports.c, lib/i386-io-*: Moved the logic which keeps track of
1109*c2e0c6b5SAndroid Build Coastguard Worker	the port access state to generic code.
1110*c2e0c6b5SAndroid Build Coastguard Worker
1111*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-io-hurd.h: Ask the kernel for I/O port access appropriately.
1112*c2e0c6b5SAndroid Build Coastguard Worker	Contributed by Thomas Schwinge and Samuel Thibault.
1113*c2e0c6b5SAndroid Build Coastguard Worker
1114*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module.
1115*c2e0c6b5SAndroid Build Coastguard Worker
1116*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Whitespace cleanups.
1117*c2e0c6b5SAndroid Build Coastguard Worker
1118*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-io-windows.h: Fixed indentation and spelling.
1119*c2e0c6b5SAndroid Build Coastguard Worker
1120*c2e0c6b5SAndroid Build Coastguard Worker	* README.Windows: Mention that WinIO.dll is needed and where to get it.
1121*c2e0c6b5SAndroid Build Coastguard Worker
1122*c2e0c6b5SAndroid Build Coastguard Worker2006-06-27  Martin Mares  <[email protected]>
1123*c2e0c6b5SAndroid Build Coastguard Worker
1124*c2e0c6b5SAndroid Build Coastguard Worker	* lib/Makefile, Makefile: Added rules for building and cleaning the example.
1125*c2e0c6b5SAndroid Build Coastguard Worker
1126*c2e0c6b5SAndroid Build Coastguard Worker	* lib/example.c: Show how to use PCI_FILL_CLASS and used another register
1127*c2e0c6b5SAndroid Build Coastguard Worker	for demonstrating the config space accesses. The example is still very
1128*c2e0c6b5SAndroid Build Coastguard Worker	incomplete, though.
1129*c2e0c6b5SAndroid Build Coastguard Worker
1130*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h, lib/generic.c: Added PCI_FILL_CLASS.
1131*c2e0c6b5SAndroid Build Coastguard Worker
1132*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysfs.c: Fetch device ID and class from sysfs, because they can
1133*c2e0c6b5SAndroid Build Coastguard Worker	be modified by kernel fixups.
1134*c2e0c6b5SAndroid Build Coastguard Worker
1135*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Use PCI_FILL_CLASS. Thanks to Matthew Willcox for the patch.
1136*c2e0c6b5SAndroid Build Coastguard Worker
1137*c2e0c6b5SAndroid Build Coastguard Worker2006-06-03  Martin Mares  <[email protected]>
1138*c2e0c6b5SAndroid Build Coastguard Worker
1139*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Introduced the -nn switch. Thanks to David N. Welton
1140*c2e0c6b5SAndroid Build Coastguard Worker	for the idea.
1141*c2e0c6b5SAndroid Build Coastguard Worker
1142*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (pci_lookup_name): Introduced PCI_LOOKUP_MIXED and
1143*c2e0c6b5SAndroid Build Coastguard Worker	cleaned up the name selection code.
1144*c2e0c6b5SAndroid Build Coastguard Worker
1145*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (pci_lookup_name): If PCI_LOOKUP_NO_NUMBERS is given,
1146*c2e0c6b5SAndroid Build Coastguard Worker	pci_access->numeric_ids is ignored.
1147*c2e0c6b5SAndroid Build Coastguard Worker
1148*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (pci_lookup_name): When class is identified and
1149*c2e0c6b5SAndroid Build Coastguard Worker	subclass isn't, display class name and subclass number.
1150*c2e0c6b5SAndroid Build Coastguard Worker
1151*c2e0c6b5SAndroid Build Coastguard Worker2006-05-31  Martin Mares  <[email protected]>
1152*c2e0c6b5SAndroid Build Coastguard Worker
1153*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c (main): Don't crash when an invalid width is specified.
1154*c2e0c6b5SAndroid Build Coastguard Worker
1155*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c, setpci.c, common.c: die() now uses the right program
1156*c2e0c6b5SAndroid Build Coastguard Worker	name when printing an error message.
1157*c2e0c6b5SAndroid Build Coastguard Worker
1158*c2e0c6b5SAndroid Build Coastguard Worker2006-05-19  Martin Mares  <[email protected]>
1159*c2e0c6b5SAndroid Build Coastguard Worker
1160*c2e0c6b5SAndroid Build Coastguard Worker	* README: Mention the public GIT tree.
1161*c2e0c6b5SAndroid Build Coastguard Worker
1162*c2e0c6b5SAndroid Build Coastguard Worker	* README: Updated the list of ports.
1163*c2e0c6b5SAndroid Build Coastguard Worker
1164*c2e0c6b5SAndroid Build Coastguard Worker2006-05-10  Martin Mares  <[email protected]>
1165*c2e0c6b5SAndroid Build Coastguard Worker
1166*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure, lib/fbsd-device.c: Added support for GNU/kFreeBSD.
1167*c2e0c6b5SAndroid Build Coastguard Worker	Thanks to Petr Salinger for the patch.
1168*c2e0c6b5SAndroid Build Coastguard Worker
1169*c2e0c6b5SAndroid Build Coastguard Worker2006-05-05  Martin Mares  <[email protected]>
1170*c2e0c6b5SAndroid Build Coastguard Worker
1171*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.3.
1172*c2e0c6b5SAndroid Build Coastguard Worker
1173*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (scan_device): The -D switch didn't work as intended
1174*c2e0c6b5SAndroid Build Coastguard Worker	in -m mode.
1175*c2e0c6b5SAndroid Build Coastguard Worker
1176*c2e0c6b5SAndroid Build Coastguard Worker2006-05-05  Martin Mares  <[email protected]>
1177*c2e0c6b5SAndroid Build Coastguard Worker
1178*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.2.
1179*c2e0c6b5SAndroid Build Coastguard Worker
1180*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Updated to the current database snapshot.
1181*c2e0c6b5SAndroid Build Coastguard Worker
1182*c2e0c6b5SAndroid Build Coastguard Worker	* lib/obsd-device.c (and other files in lib/*): Added OpenBSD
1183*c2e0c6b5SAndroid Build Coastguard Worker	interface by Matthieu Herrb <[email protected]>, based on
1184*c2e0c6b5SAndroid Build Coastguard Worker	the existing FreeBSD interface.
1185*c2e0c6b5SAndroid Build Coastguard Worker
1186*c2e0c6b5SAndroid Build Coastguard Worker	* Moved pciutils to a GIT repository, which now contains merged
1187*c2e0c6b5SAndroid Build Coastguard Worker	history from both CVS and Arch. Good bye, TLA!
1188*c2e0c6b5SAndroid Build Coastguard Worker
1189*c2e0c6b5SAndroid Build Coastguard Worker2006-03-21  Martin Mares  <[email protected]>
1190*c2e0c6b5SAndroid Build Coastguard Worker
1191*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_slot_name): Avoid the previous changes in default
1192*c2e0c6b5SAndroid Build Coastguard Worker	display of domain name when in machine-readable mode. However, `-D'
1193*c2e0c6b5SAndroid Build Coastguard Worker	forces domain display even there.
1194*c2e0c6b5SAndroid Build Coastguard Worker
1195*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.man: Added a warning on -m being the only format, which is
1196*c2e0c6b5SAndroid Build Coastguard Worker	guaranteed to be stable between lspci versions.
1197*c2e0c6b5SAndroid Build Coastguard Worker
1198*c2e0c6b5SAndroid Build Coastguard Worker2006-03-13  Martin Mares  <[email protected]>
1199*c2e0c6b5SAndroid Build Coastguard Worker
1200*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.man: Documented the -D switch.
1201*c2e0c6b5SAndroid Build Coastguard Worker
1202*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_slot_name, scan_device): If there are multiple PCI
1203*c2e0c6b5SAndroid Build Coastguard Worker	domains or if the `-D' switch is used, show the domain number for
1204*c2e0c6b5SAndroid Build Coastguard Worker	all devices.
1205*c2e0c6b5SAndroid Build Coastguard Worker
1206*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_verbose): Report cache line size in bytes.
1207*c2e0c6b5SAndroid Build Coastguard Worker
1208*c2e0c6b5SAndroid Build Coastguard Worker	* update-pciids.sh: Use curl if available. Patch by Matthew Wilcox.
1209*c2e0c6b5SAndroid Build Coastguard Worker
1210*c2e0c6b5SAndroid Build Coastguard Worker2006-01-04  Martin Mares  <[email protected]>
1211*c2e0c6b5SAndroid Build Coastguard Worker
1212*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_express_link): Fixed decoding of link status register.
1213*c2e0c6b5SAndroid Build Coastguard Worker	Thanks to Roland Dreier for his report.
1214*c2e0c6b5SAndroid Build Coastguard Worker
1215*c2e0c6b5SAndroid Build Coastguard Worker2005-12-12  Martin Mares  <[email protected]>
1216*c2e0c6b5SAndroid Build Coastguard Worker
1217*c2e0c6b5SAndroid Build Coastguard Worker	* lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow
1218*c2e0c6b5SAndroid Build Coastguard Worker	at least read-only access. Patch by Pavel Celeda <[email protected]>.
1219*c2e0c6b5SAndroid Build Coastguard Worker
1220*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Corrected library path on NetBSD.
1221*c2e0c6b5SAndroid Build Coastguard Worker
1222*c2e0c6b5SAndroid Build Coastguard Worker2005-11-26  Martin Mares  <[email protected]>
1223*c2e0c6b5SAndroid Build Coastguard Worker
1224*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.1.
1225*c2e0c6b5SAndroid Build Coastguard Worker
1226*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_machine): Subsystem vendors were printed incorrectly
1227*c2e0c6b5SAndroid Build Coastguard Worker	in machine-readable modes. Thanks to Pavel Celeda for a bug report.
1228*c2e0c6b5SAndroid Build Coastguard Worker
1229*c2e0c6b5SAndroid Build Coastguard Worker2005-10-11  Martin Mares  <[email protected]>
1230*c2e0c6b5SAndroid Build Coastguard Worker
1231*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it.
1232*c2e0c6b5SAndroid Build Coastguard Worker
1233*c2e0c6b5SAndroid Build Coastguard Worker2005-09-21  Martin Mares  <[email protected]>
1234*c2e0c6b5SAndroid Build Coastguard Worker
1235*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.2.0.
1236*c2e0c6b5SAndroid Build Coastguard Worker
1237*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Updated copyright header.
1238*c2e0c6b5SAndroid Build Coastguard Worker
1239*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported
1240*c2e0c6b5SAndroid Build Coastguard Worker	64-bit addresses, they are now always supported.
1241*c2e0c6b5SAndroid Build Coastguard Worker
1242*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_bases): Corrected printing of 64-bit addresses
1243*c2e0c6b5SAndroid Build Coastguard Worker	in bus-centric mode.
1244*c2e0c6b5SAndroid Build Coastguard Worker
1245*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: Enable 64-bit addresses on all Linux systems.
1246*c2e0c6b5SAndroid Build Coastguard Worker
1247*c2e0c6b5SAndroid Build Coastguard Worker	* lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they
1248*c2e0c6b5SAndroid Build Coastguard Worker	are shorter.
1249*c2e0c6b5SAndroid Build Coastguard Worker
1250*c2e0c6b5SAndroid Build Coastguard Worker2005-09-11  Martin Mares  <[email protected]>
1251*c2e0c6b5SAndroid Build Coastguard Worker
1252*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test11.
1253*c2e0c6b5SAndroid Build Coastguard Worker
1254*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls.
1255*c2e0c6b5SAndroid Build Coastguard Worker
1256*c2e0c6b5SAndroid Build Coastguard Worker2005-09-10  Martin Mares  <[email protected]>
1257*c2e0c6b5SAndroid Build Coastguard Worker
1258*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test10.
1259*c2e0c6b5SAndroid Build Coastguard Worker
1260*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Synchronized with the current database snapshot.
1261*c2e0c6b5SAndroid Build Coastguard Worker
1262*c2e0c6b5SAndroid Build Coastguard Worker	* update-pciids.sh: Changed the default URL for downloading pci.ids
1263*c2e0c6b5SAndroid Build Coastguard Worker	to http://pciids.sourceforge.net/v2.2/pci.ids.
1264*c2e0c6b5SAndroid Build Coastguard Worker
1265*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h (PCI_LIB_VERSION): Added version identifier.
1266*c2e0c6b5SAndroid Build Coastguard Worker
1267*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c: Rewritten the name database module almost from scratch.
1268*c2e0c6b5SAndroid Build Coastguard Worker	Everything is much cleaner and there are hopefully no more memory leaks;
1269*c2e0c6b5SAndroid Build Coastguard Worker	pci_lookup_name() now uses varargs in a backward compatible fashion.
1270*c2e0c6b5SAndroid Build Coastguard Worker	Introduced PCI_LOOKUP_NO_NUMBERS.
1271*c2e0c6b5SAndroid Build Coastguard Worker
1272*c2e0c6b5SAndroid Build Coastguard Worker	The new code supports subsystem entries not tied to a specific device.
1273*c2e0c6b5SAndroid Build Coastguard Worker	I had to extend the format of pci.ids in order to support it, so I have
1274*c2e0c6b5SAndroid Build Coastguard Worker	extended the idea of the "C" (class) blocks and introduced "S" blocks
1275*c2e0c6b5SAndroid Build Coastguard Worker	for subsystems. To avoid doing more incompatible changes in the future,
1276*c2e0c6b5SAndroid Build Coastguard Worker	the parser skips unknown single-letter blocks without reporting errors.
1277*c2e0c6b5SAndroid Build Coastguard Worker
1278*c2e0c6b5SAndroid Build Coastguard Worker2005-08-23  Martin Mares  <[email protected]>
1279*c2e0c6b5SAndroid Build Coastguard Worker
1280*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test9.
1281*c2e0c6b5SAndroid Build Coastguard Worker
1282*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent
1283*c2e0c6b5SAndroid Build Coastguard Worker	gcc versions when optimizing anyway.
1284*c2e0c6b5SAndroid Build Coastguard Worker
1285*c2e0c6b5SAndroid Build Coastguard Worker	* Made the path to pci.ids customizable and independent on the SHAREDIR.
1286*c2e0c6b5SAndroid Build Coastguard Worker	Just override IDSDIR in the top-level Makefile.
1287*c2e0c6b5SAndroid Build Coastguard Worker
1288*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Synchronized with the current database snapshot.
1289*c2e0c6b5SAndroid Build Coastguard Worker
1290*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.man, setpci.man: Improved the man pages. Documented all access
1291*c2e0c6b5SAndroid Build Coastguard Worker	methods and which operations are privileged.
1292*c2e0c6b5SAndroid Build Coastguard Worker
1293*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Another rewrite of config register caching, now also including
1294*c2e0c6b5SAndroid Build Coastguard Worker	lots of internal checks. It should be now perfectly able to cope with
1295*c2e0c6b5SAndroid Build Coastguard Worker	portions of the configuration space being inaccessible, for example
1296*c2e0c6b5SAndroid Build Coastguard Worker	due to insufficient access rights.
1297*c2e0c6b5SAndroid Build Coastguard Worker
1298*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X
1299*c2e0c6b5SAndroid Build Coastguard Worker	capabilities. Includes partial support for PCI-X 2.0 (probably incomplete
1300*c2e0c6b5SAndroid Build Coastguard Worker	as I haven't seen the spec).
1301*c2e0c6b5SAndroid Build Coastguard Worker
1302*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Quell warnings about unused parameters.
1303*c2e0c6b5SAndroid Build Coastguard Worker
1304*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Removed C++ comments.
1305*c2e0c6b5SAndroid Build Coastguard Worker
1306*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Merged definitions of extended capabilities and some new
1307*c2e0c6b5SAndroid Build Coastguard Worker	PCI-X capability bits from linux-2.6.11/include/pci.h.
1308*c2e0c6b5SAndroid Build Coastguard Worker
1309*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_caps): Try to scan extended capabilities only if the
1310*c2e0c6b5SAndroid Build Coastguard Worker	device has either PCI-X or PCI Express capability in its normal capability
1311*c2e0c6b5SAndroid Build Coastguard Worker	list.
1312*c2e0c6b5SAndroid Build Coastguard Worker
1313*c2e0c6b5SAndroid Build Coastguard Worker	* lib/dump.c (dump_init): Reading of dumps works again. The dump reader
1314*c2e0c6b5SAndroid Build Coastguard Worker	now also remembers how much data it has read and refuses attempts to
1315*c2e0c6b5SAndroid Build Coastguard Worker	access more than that.
1316*c2e0c6b5SAndroid Build Coastguard Worker
1317*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.man, lspci.c, README: prefer spelling "buses" over "busses".
1318*c2e0c6b5SAndroid Build Coastguard Worker
1319*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: If alloca() is not available, use xmalloc(), not malloc().
1320*c2e0c6b5SAndroid Build Coastguard Worker
1321*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: Added x86_64 on Linux.
1322*c2e0c6b5SAndroid Build Coastguard Worker
1323*c2e0c6b5SAndroid Build Coastguard Worker2005-08-22  Martin Mares  <[email protected]>
1324*c2e0c6b5SAndroid Build Coastguard Worker
1325*c2e0c6b5SAndroid Build Coastguard Worker	* lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters.
1326*c2e0c6b5SAndroid Build Coastguard Worker	Thanks to Matthew Wilcox for bug report.
1327*c2e0c6b5SAndroid Build Coastguard Worker
1328*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Corrected spelling of "Hz" (it was "hz" at several places).
1329*c2e0c6b5SAndroid Build Coastguard Worker	Thanks to Krzysztof Oledzki for pointing that out.
1330*c2e0c6b5SAndroid Build Coastguard Worker
1331*c2e0c6b5SAndroid Build Coastguard Worker2004-08-19  Martin Mares  <[email protected]>
1332*c2e0c6b5SAndroid Build Coastguard Worker
1333*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism,
1334*c2e0c6b5SAndroid Build Coastguard Worker	because pciutils by default install to /usr/sbin. Update.
1335*c2e0c6b5SAndroid Build Coastguard Worker
1336*c2e0c6b5SAndroid Build Coastguard Worker2004-08-13  Martin Mares  <[email protected]>
1337*c2e0c6b5SAndroid Build Coastguard Worker
1338*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test8.
1339*c2e0c6b5SAndroid Build Coastguard Worker
1340*c2e0c6b5SAndroid Build Coastguard Worker	* lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are
1341*c2e0c6b5SAndroid Build Coastguard Worker	no longer exported to the outside world.
1342*c2e0c6b5SAndroid Build Coastguard Worker
1343*c2e0c6b5SAndroid Build Coastguard Worker	* README.Windows: Updated.
1344*c2e0c6b5SAndroid Build Coastguard Worker
1345*c2e0c6b5SAndroid Build Coastguard Worker	* maint/release: Substitute version number in win32/config.h.
1346*c2e0c6b5SAndroid Build Coastguard Worker
1347*c2e0c6b5SAndroid Build Coastguard Worker	* win32/config.h: Added.
1348*c2e0c6b5SAndroid Build Coastguard Worker
1349*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysdep.h (bzero, strcasecmp): are macros on Windows.
1350*c2e0c6b5SAndroid Build Coastguard Worker
1351*c2e0c6b5SAndroid Build Coastguard Worker	* compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU
1352*c2e0c6b5SAndroid Build Coastguard Worker	C library for use on systems where the default libraries lack
1353*c2e0c6b5SAndroid Build Coastguard Worker	proper getopt. Currently used by the Windows port.
1354*c2e0c6b5SAndroid Build Coastguard Worker
1355*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysdep.h, lib/types.h: Updates of the Windows port from
1356*c2e0c6b5SAndroid Build Coastguard Worker	Alexander Stock.
1357*c2e0c6b5SAndroid Build Coastguard Worker
1358*c2e0c6b5SAndroid Build Coastguard Worker	* lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define
1359*c2e0c6b5SAndroid Build Coastguard Worker	its own u8, u16, u32, byte and word types and uses what the user
1360*c2e0c6b5SAndroid Build Coastguard Worker	has supplied instead. With this change, all namespace clashes should
1361*c2e0c6b5SAndroid Build Coastguard Worker	be gone.
1362*c2e0c6b5SAndroid Build Coastguard Worker
1363*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile, lib/Makefile: Updated dependencies.
1364*c2e0c6b5SAndroid Build Coastguard Worker
1365*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.h: Include lib/sysdep.h and move NONRET et al. there.
1366*c2e0c6b5SAndroid Build Coastguard Worker
1367*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because
1368*c2e0c6b5SAndroid Build Coastguard Worker	it is included unconditionally in lib/types.h.
1369*c2e0c6b5SAndroid Build Coastguard Worker
1370*c2e0c6b5SAndroid Build Coastguard Worker	* Moved system-dependent stuff from lib/internal.h to lib/sysdep.h,
1371*c2e0c6b5SAndroid Build Coastguard Worker	which is also used by the utilities. Also moved type declarations
1372*c2e0c6b5SAndroid Build Coastguard Worker	from lib/pci.h to lib/types.h.
1373*c2e0c6b5SAndroid Build Coastguard Worker
1374*c2e0c6b5SAndroid Build Coastguard Worker	* All files: Prepend a "PCI_" prefix in front of all configuration
1375*c2e0c6b5SAndroid Build Coastguard Worker	defines to avoid namespace clashes. CAVEAT: If there is any libpci
1376*c2e0c6b5SAndroid Build Coastguard Worker	application using the (undocumented) defines, it has to be updated.
1377*c2e0c6b5SAndroid Build Coastguard Worker
1378*c2e0c6b5SAndroid Build Coastguard Worker	* lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing
1379*c2e0c6b5SAndroid Build Coastguard Worker	headers with the kernel a couple of years ago.
1380*c2e0c6b5SAndroid Build Coastguard Worker
1381*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6.
1382*c2e0c6b5SAndroid Build Coastguard Worker
1383*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_rom): Use the same logic for printing disabled
1384*c2e0c6b5SAndroid Build Coastguard Worker	or unassigned ROM's as we do in show_bases() for the other BAR's.
1385*c2e0c6b5SAndroid Build Coastguard Worker
1386*c2e0c6b5SAndroid Build Coastguard Worker	* lib/generic.c (pci_generic_fill_info): Better reaction to
1387*c2e0c6b5SAndroid Build Coastguard Worker	invalid 64-bit addresses. Also d->hdrtype should not include
1388*c2e0c6b5SAndroid Build Coastguard Worker	bit 7, which caused mysterious errors on multi-function devices.
1389*c2e0c6b5SAndroid Build Coastguard Worker
1390*c2e0c6b5SAndroid Build Coastguard Worker	* lib/generic.c (pci_generic_fill_info): Fill in base addresses
1391*c2e0c6b5SAndroid Build Coastguard Worker	even if the regions are known to be disabled. It is the client's
1392*c2e0c6b5SAndroid Build Coastguard Worker	job to interpret them. (And it is not a trivial job if you want
1393*c2e0c6b5SAndroid Build Coastguard Worker	to do it correctly, since you need to check I/O and memory enables
1394*c2e0c6b5SAndroid Build Coastguard Worker	on all upstream bridges, too.) However, it could be interesting to
1395*c2e0c6b5SAndroid Build Coastguard Worker	introduce functions for interpreting the addresses and even for
1396*c2e0c6b5SAndroid Build Coastguard Worker	mapping the regions and doing I/O on them.
1397*c2e0c6b5SAndroid Build Coastguard Worker
1398*c2e0c6b5SAndroid Build Coastguard Worker2004-07-30  Martin Mares  <[email protected]>
1399*c2e0c6b5SAndroid Build Coastguard Worker
1400*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: HyperTransport improvements from Maciej.
1401*c2e0c6b5SAndroid Build Coastguard Worker
1402*c2e0c6b5SAndroid Build Coastguard Worker2004-07-11  Martin Mares  <[email protected]>
1403*c2e0c6b5SAndroid Build Coastguard Worker
1404*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysfs.c (sysfs_get_resources): Arguments now correspond
1405*c2e0c6b5SAndroid Build Coastguard Worker	to the format string. [Patch by Bill Nottingham]
1406*c2e0c6b5SAndroid Build Coastguard Worker
1407*c2e0c6b5SAndroid Build Coastguard Worker2004-07-05  Martin Mares  <[email protected]>
1408*c2e0c6b5SAndroid Build Coastguard Worker
1409*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test7.
1410*c2e0c6b5SAndroid Build Coastguard Worker
1411*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but
1412*c2e0c6b5SAndroid Build Coastguard Worker	ended up with rewriting the fetching mechanism to be fully dynamic,
1413*c2e0c6b5SAndroid Build Coastguard Worker	but avoid reading config space registers not explicitly requested.
1414*c2e0c6b5SAndroid Build Coastguard Worker
1415*c2e0c6b5SAndroid Build Coastguard Worker2004-06-29  Matthew Wilcox <[email protected]>
1416*c2e0c6b5SAndroid Build Coastguard Worker
1417*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: More work on PCI Express dumping.
1418*c2e0c6b5SAndroid Build Coastguard Worker
1419*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Updated PCI Express capability definitions.
1420*c2e0c6b5SAndroid Build Coastguard Worker
1421*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c (proc_read): Removed bogus warning.
1422*c2e0c6b5SAndroid Build Coastguard Worker
1423*c2e0c6b5SAndroid Build Coastguard Worker	* common.c (xrealloc): Introduced.
1424*c2e0c6b5SAndroid Build Coastguard Worker
1425*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.man: Added -xxxx.
1426*c2e0c6b5SAndroid Build Coastguard Worker
1427*c2e0c6b5SAndroid Build Coastguard Worker2004-06-27  Martin Mares  <[email protected]>
1428*c2e0c6b5SAndroid Build Coastguard Worker
1429*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test6.
1430*c2e0c6b5SAndroid Build Coastguard Worker
1431*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap.
1432*c2e0c6b5SAndroid Build Coastguard Worker	Patch by Roland Dreier <[email protected]>, cleaned up by me.
1433*c2e0c6b5SAndroid Build Coastguard Worker
1434*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch()
1435*c2e0c6b5SAndroid Build Coastguard Worker	failures.
1436*c2e0c6b5SAndroid Build Coastguard Worker
1437*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Added PCI Express extended capabilities. Again by Matthew.
1438*c2e0c6b5SAndroid Build Coastguard Worker
1439*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_express): Added dumping of PCI Express cap.
1440*c2e0c6b5SAndroid Build Coastguard Worker	Patch by Matthew Wilcox.
1441*c2e0c6b5SAndroid Build Coastguard Worker
1442*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Added a list of PCI 3.0 capabilities and also details
1443*c2e0c6b5SAndroid Build Coastguard Worker	on PCI Express caps. Patch by Matthew Wilcox <[email protected]>.
1444*c2e0c6b5SAndroid Build Coastguard Worker
1445*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (check_root): Gone. No explicit checks for root are needed,
1446*c2e0c6b5SAndroid Build Coastguard Worker	report correct errors reported by the libpci instead.
1447*c2e0c6b5SAndroid Build Coastguard Worker
1448*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Added dumping of the extended config space on "-xxxx".
1449*c2e0c6b5SAndroid Build Coastguard Worker	Better caching of config registers.
1450*c2e0c6b5SAndroid Build Coastguard Worker
1451*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c (main): Allow access to whole 4096 bytes of the config space.
1452*c2e0c6b5SAndroid Build Coastguard Worker
1453*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysfs.c, lib/proc.c: Don't print error messages on short reads,
1454*c2e0c6b5SAndroid Build Coastguard Worker	just return the appropriate error code.
1455*c2e0c6b5SAndroid Build Coastguard Worker
1456*c2e0c6b5SAndroid Build Coastguard Worker	* lib: Added support for extended (4096-byte) configuration space,
1457*c2e0c6b5SAndroid Build Coastguard Worker	currently implemented only in Linux proc and sysfs access methods
1458*c2e0c6b5SAndroid Build Coastguard Worker	and of course in the dump reader.
1459*c2e0c6b5SAndroid Build Coastguard Worker
1460*c2e0c6b5SAndroid Build Coastguard Worker2004-05-29  Martin Mares  <[email protected]>
1461*c2e0c6b5SAndroid Build Coastguard Worker
1462*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test5.
1463*c2e0c6b5SAndroid Build Coastguard Worker
1464*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h: Windows don't have the standard u_int* types.
1465*c2e0c6b5SAndroid Build Coastguard Worker
1466*c2e0c6b5SAndroid Build Coastguard Worker	* lib/internal.h: <sys/param.h> required on Windows for endianity
1467*c2e0c6b5SAndroid Build Coastguard Worker	macros.
1468*c2e0c6b5SAndroid Build Coastguard Worker
1469*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-ports.c: Connected i386-io-windows.h.
1470*c2e0c6b5SAndroid Build Coastguard Worker
1471*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (check_root): geteuid() is not available on Windows.
1472*c2e0c6b5SAndroid Build Coastguard Worker
1473*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-io-windows.h: Added Windows port contributed by Alexander
1474*c2e0c6b5SAndroid Build Coastguard Worker	Stock <[email protected]>.
1475*c2e0c6b5SAndroid Build Coastguard Worker
1476*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: Hopefully fixed SunOS port broken by various
1477*c2e0c6b5SAndroid Build Coastguard Worker	changes to the configure script.
1478*c2e0c6b5SAndroid Build Coastguard Worker
1479*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile, lib/configure: Cross-compilation support, patch by Maciej.
1480*c2e0c6b5SAndroid Build Coastguard Worker
1481*c2e0c6b5SAndroid Build Coastguard Worker2004-05-28  Martin Mares  <[email protected]>
1482*c2e0c6b5SAndroid Build Coastguard Worker
1483*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test4.
1484*c2e0c6b5SAndroid Build Coastguard Worker
1485*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_verbose): Header type 1 is probably legal for all
1486*c2e0c6b5SAndroid Build Coastguard Worker	types of bridges, not only for PCI-to-PCI bridges.
1487*c2e0c6b5SAndroid Build Coastguard Worker
1488*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (format_agp_rate): Write "x16", not "x@".
1489*c2e0c6b5SAndroid Build Coastguard Worker	(show_agp): rate[] could overflow.
1490*c2e0c6b5SAndroid Build Coastguard Worker	Bugs reported by Jakub Bogusz <[email protected]>.
1491*c2e0c6b5SAndroid Build Coastguard Worker
1492*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_ht_*): Show HyperTransport capability with all its
1493*c2e0c6b5SAndroid Build Coastguard Worker	details. Once again code by Maciej simplified (i.e., possibly broken)
1494*c2e0c6b5SAndroid Build Coastguard Worker	by me.
1495*c2e0c6b5SAndroid Build Coastguard Worker
1496*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Added declarations of HyperTransport capability.
1497*c2e0c6b5SAndroid Build Coastguard Worker	Again thanks to Maciej.
1498*c2e0c6b5SAndroid Build Coastguard Worker
1499*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Decode all bits of the secondary status word in type 1 headers.
1500*c2e0c6b5SAndroid Build Coastguard Worker	Thanks to Maciej W. Rozycki <[email protected]> for the patch.
1501*c2e0c6b5SAndroid Build Coastguard Worker
1502*c2e0c6b5SAndroid Build Coastguard Worker2003-12-27  Martin Mares  <[email protected]>
1503*c2e0c6b5SAndroid Build Coastguard Worker
1504*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test3.
1505*c2e0c6b5SAndroid Build Coastguard Worker
1506*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.man, setpci.man: Document domains and correct spelling.
1507*c2e0c6b5SAndroid Build Coastguard Worker
1508*c2e0c6b5SAndroid Build Coastguard Worker	* lib/dump.c (dump_init): Added ability to read domain numbers.
1509*c2e0c6b5SAndroid Build Coastguard Worker
1510*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Devices in domains different from 0 have their slot number
1511*c2e0c6b5SAndroid Build Coastguard Worker	printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains
1512*c2e0c6b5SAndroid Build Coastguard Worker	as well.
1513*c2e0c6b5SAndroid Build Coastguard Worker
1514*c2e0c6b5SAndroid Build Coastguard Worker	* lib/filter.c: Slot filters understand domains.
1515*c2e0c6b5SAndroid Build Coastguard Worker
1516*c2e0c6b5SAndroid Build Coastguard Worker	* lib/generic.c: Mention the domain in slot numbers in all error messages.
1517*c2e0c6b5SAndroid Build Coastguard Worker
1518*c2e0c6b5SAndroid Build Coastguard Worker	* lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong.
1519*c2e0c6b5SAndroid Build Coastguard Worker
1520*c2e0c6b5SAndroid Build Coastguard Worker	* lib/access.c (pci_get_dev): Added support for domains.
1521*c2e0c6b5SAndroid Build Coastguard Worker
1522*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config
1523*c2e0c6b5SAndroid Build Coastguard Worker	registers (or to be precise, leave it for the generic parts of the pcilib
1524*c2e0c6b5SAndroid Build Coastguard Worker	to do so) instead of reading them from the sysfs. It's faster this way.
1525*c2e0c6b5SAndroid Build Coastguard Worker
1526*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal
1527*c2e0c6b5SAndroid Build Coastguard Worker	variable. Better read it from the config registers (it's cached anyway).
1528*c2e0c6b5SAndroid Build Coastguard Worker
1529*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype.
1530*c2e0c6b5SAndroid Build Coastguard Worker	  lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it.
1531*c2e0c6b5SAndroid Build Coastguard Worker	  Saves lots of unnecessary file accesses.
1532*c2e0c6b5SAndroid Build Coastguard Worker
1533*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter
1534*c2e0c6b5SAndroid Build Coastguard Worker	is not supported by all C libraries.
1535*c2e0c6b5SAndroid Build Coastguard Worker
1536*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Always enter the lib directory (remember that we don't have
1537*c2e0c6b5SAndroid Build Coastguard Worker	full dependencies for the library in the top-level Makefile; hmmm, another
1538*c2e0c6b5SAndroid Build Coastguard Worker	thing to rewrite some day).
1539*c2e0c6b5SAndroid Build Coastguard Worker
1540*c2e0c6b5SAndroid Build Coastguard Worker	* lib/sysfs.c: Added Linux sysfs access method based on the patch
1541*c2e0c6b5SAndroid Build Coastguard Worker	written by Matthew Wilcox <[email protected]>.
1542*c2e0c6b5SAndroid Build Coastguard Worker
1543*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc".
1544*c2e0c6b5SAndroid Build Coastguard Worker
1545*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pread.h: The hacks to support pread on various versions
1546*c2e0c6b5SAndroid Build Coastguard Worker	of Linux libc moved there.
1547*c2e0c6b5SAndroid Build Coastguard Worker
1548*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c (proc_setup): The return value of snprintf() varies
1549*c2e0c6b5SAndroid Build Coastguard Worker	between glibc versions, so we need to check both for a negative
1550*c2e0c6b5SAndroid Build Coastguard Worker	values and for too large values.
1551*c2e0c6b5SAndroid Build Coastguard Worker
1552*c2e0c6b5SAndroid Build Coastguard Worker	* Removed last few references to the "Linux PCI Utilities", the
1553*c2e0c6b5SAndroid Build Coastguard Worker	package is pretty cross-platform now :)
1554*c2e0c6b5SAndroid Build Coastguard Worker
1555*c2e0c6b5SAndroid Build Coastguard Worker2003-12-27  Martin Mares  <[email protected]>
1556*c2e0c6b5SAndroid Build Coastguard Worker
1557*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test2.
1558*c2e0c6b5SAndroid Build Coastguard Worker
1559*c2e0c6b5SAndroid Build Coastguard Worker	* README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the
1560*c2e0c6b5SAndroid Build Coastguard Worker	release scripts insert the current version. "make release" is gone.
1561*c2e0c6b5SAndroid Build Coastguard Worker
1562*c2e0c6b5SAndroid Build Coastguard Worker	* maint/release, maint/release.pm: Added a new system of scripts for
1563*c2e0c6b5SAndroid Build Coastguard Worker	making releases including inter-version diffs etc.
1564*c2e0c6b5SAndroid Build Coastguard Worker
1565*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Cleaned up.
1566*c2e0c6b5SAndroid Build Coastguard Worker
1567*c2e0c6b5SAndroid Build Coastguard Worker	* lib/fbsd-device.c: I patched another copy of this file by mistake,
1568*c2e0c6b5SAndroid Build Coastguard Worker	this time the version checks should be right.
1569*c2e0c6b5SAndroid Build Coastguard Worker
1570*c2e0c6b5SAndroid Build Coastguard Worker2003-12-27  Martin Mares  <[email protected]>
1571*c2e0c6b5SAndroid Build Coastguard Worker
1572*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.99-test1.
1573*c2e0c6b5SAndroid Build Coastguard Worker
1574*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
1575*c2e0c6b5SAndroid Build Coastguard Worker	Remove shadows of the syscall access method which was never
1576*c2e0c6b5SAndroid Build Coastguard Worker	implemented.
1577*c2e0c6b5SAndroid Build Coastguard Worker
1578*c2e0c6b5SAndroid Build Coastguard Worker	* update-pciids.sh: Try to preserve permissions of the old file
1579*c2e0c6b5SAndroid Build Coastguard Worker	if chmod supports --reference. Should close Debian Bug #223740.
1580*c2e0c6b5SAndroid Build Coastguard Worker
1581*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c (proc_setup): Increased path name length limit to 1024.
1582*c2e0c6b5SAndroid Build Coastguard Worker	Thanks for Redhat and Mandrake for inspiration.
1583*c2e0c6b5SAndroid Build Coastguard Worker
1584*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
1585*c2e0c6b5SAndroid Build Coastguard Worker	Grabbed from Redhat (Fedora) patches.
1586*c2e0c6b5SAndroid Build Coastguard Worker
1587*c2e0c6b5SAndroid Build Coastguard Worker2003-12-27  Martin Mares  <[email protected]>
1588*c2e0c6b5SAndroid Build Coastguard Worker
1589*c2e0c6b5SAndroid Build Coastguard Worker	Merged bug fixes from Debian patches:
1590*c2e0c6b5SAndroid Build Coastguard Worker
1591*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_verbose): "Cache Line Size" should be capitalized.
1592*c2e0c6b5SAndroid Build Coastguard Worker
1593*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_pcix_nobridge): Added a missing newline.
1594*c2e0c6b5SAndroid Build Coastguard Worker
1595*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c (proc_scan): When reading the header type, don't
1596*c2e0c6b5SAndroid Build Coastguard Worker	forget to clear the topmost bit indicating that the device has
1597*c2e0c6b5SAndroid Build Coastguard Worker	multiple functions.
1598*c2e0c6b5SAndroid Build Coastguard Worker
1599*c2e0c6b5SAndroid Build Coastguard Worker2003-12-27  Martin Mares  <[email protected]>
1600*c2e0c6b5SAndroid Build Coastguard Worker
1601*c2e0c6b5SAndroid Build Coastguard Worker	Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]>
1602*c2e0c6b5SAndroid Build Coastguard Worker	for the patches:
1603*c2e0c6b5SAndroid Build Coastguard Worker
1604*c2e0c6b5SAndroid Build Coastguard Worker	* lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
1605*c2e0c6b5SAndroid Build Coastguard Worker	* lib/fbsd-device.c: Select the right set of system includes according
1606*c2e0c6b5SAndroid Build Coastguard Worker	to __FreeBSD_version.
1607*c2e0c6b5SAndroid Build Coastguard Worker
1608*c2e0c6b5SAndroid Build Coastguard Worker2003-12-27  Martin Mares  <[email protected]>
1609*c2e0c6b5SAndroid Build Coastguard Worker
1610*c2e0c6b5SAndroid Build Coastguard Worker	Merged support for Solaris on i386 by Bill Moore <[email protected]>
1611*c2e0c6b5SAndroid Build Coastguard Worker	and cleaned up:
1612*c2e0c6b5SAndroid Build Coastguard Worker
1613*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: Recognize SunOS.
1614*c2e0c6b5SAndroid Build Coastguard Worker	* lib/internal.h: Learn how to recognize byte order on SunOS.
1615*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
1616*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-io-linux.h: Linux specific part.
1617*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-io-hurd.h: GNU/Hurd specific part.
1618*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-io-sunos.h: SunOS specific part.
1619*c2e0c6b5SAndroid Build Coastguard Worker
1620*c2e0c6b5SAndroid Build Coastguard Worker2003-12-26  Martin Mares  <[email protected]>
1621*c2e0c6b5SAndroid Build Coastguard Worker
1622*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly.
1623*c2e0c6b5SAndroid Build Coastguard Worker
1624*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h: Types declared in <sys/types.h> should be usable on all
1625*c2e0c6b5SAndroid Build Coastguard Worker	platforms we currently support, so kill the forest of #ifdef's and
1626*c2e0c6b5SAndroid Build Coastguard Worker	use them in all cases.
1627*c2e0c6b5SAndroid Build Coastguard Worker
1628*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h: Use ULONG_MASK to decide whether we should use long
1629*c2e0c6b5SAndroid Build Coastguard Worker	or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS.
1630*c2e0c6b5SAndroid Build Coastguard Worker	Define format strings for addresses, port numbers and IRQ numbers
1631*c2e0c6b5SAndroid Build Coastguard Worker	directly in pci.h.
1632*c2e0c6b5SAndroid Build Coastguard Worker
1633*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses.
1634*c2e0c6b5SAndroid Build Coastguard Worker
1635*c2e0c6b5SAndroid Build Coastguard Worker2003-12-26  Marco Gerards  <[email protected]>
1636*c2e0c6b5SAndroid Build Coastguard Worker
1637*c2e0c6b5SAndroid Build Coastguard Worker	Added support for the GNU Hurd (cleaned up by Martin Mares):
1638*c2e0c6b5SAndroid Build Coastguard Worker
1639*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure [GNU]: Use the i386 ports for configuration access.
1640*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-ports.c: Don't call iopl() on the Hurd.
1641*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining
1642*c2e0c6b5SAndroid Build Coastguard Worker	u8 to u32.
1643*c2e0c6b5SAndroid Build Coastguard Worker
1644*c2e0c6b5SAndroid Build Coastguard Worker2003-12-26  Martin Mares  <[email protected]>
1645*c2e0c6b5SAndroid Build Coastguard Worker
1646*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call
1647*c2e0c6b5SAndroid Build Coastguard Worker	config_fetch() to ensure that the registers have been read. Thanks to
1648*c2e0c6b5SAndroid Build Coastguard Worker	Bill Wood <[email protected]> for the patch.
1649*c2e0c6b5SAndroid Build Coastguard Worker
1650*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Ensure that failure of config_fetch() is handled correctly
1651*c2e0c6b5SAndroid Build Coastguard Worker	at all places.
1652*c2e0c6b5SAndroid Build Coastguard Worker
1653*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.man: There was one more explicit reference to /usr/share/pci.ids.
1654*c2e0c6b5SAndroid Build Coastguard Worker	Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>.
1655*c2e0c6b5SAndroid Build Coastguard Worker
1656*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c (main): Better error messages.
1657*c2e0c6b5SAndroid Build Coastguard Worker
1658*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c (ex_op): The demo mode should disable only writing, not reading.
1659*c2e0c6b5SAndroid Build Coastguard Worker
1660*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.man: The documentation was inconsistent on what should -D do.
1661*c2e0c6b5SAndroid Build Coastguard Worker	Document the new behaviour.
1662*c2e0c6b5SAndroid Build Coastguard Worker
1663*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
1664*c2e0c6b5SAndroid Build Coastguard Worker	the GCC specific __attribute__((noreturn)) and killed the hack with
1665*c2e0c6b5SAndroid Build Coastguard Worker	redefining __attribute__ on non-GCC compilers.
1666*c2e0c6b5SAndroid Build Coastguard Worker
1667*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Added missing dependencies. Parallel builds work now.
1668*c2e0c6b5SAndroid Build Coastguard Worker	Problem reported by Andreas Haumer <[email protected]>, but I chose
1669*c2e0c6b5SAndroid Build Coastguard Worker	a different fix.
1670*c2e0c6b5SAndroid Build Coastguard Worker
1671*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell
1672*c2e0c6b5SAndroid Build Coastguard Worker	command every time $(MANDIR) is referenced.
1673*c2e0c6b5SAndroid Build Coastguard Worker
1674*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (main): The error message for `lspci -s' incorrectly mentioned
1675*c2e0c6b5SAndroid Build Coastguard Worker	a `-f' switch. Reported by Steve Finney <[email protected]>.
1676*c2e0c6b5SAndroid Build Coastguard Worker
1677*c2e0c6b5SAndroid Build Coastguard Worker	* lib/generic.c: Removed memory leak in pci_generic_bus_scan().
1678*c2e0c6b5SAndroid Build Coastguard Worker	Reported by Gary Parnes <[email protected]>.
1679*c2e0c6b5SAndroid Build Coastguard Worker
1680*c2e0c6b5SAndroid Build Coastguard Worker	* Replaced obsolete syntax of __attribute__((unused)) in the middle of
1681*c2e0c6b5SAndroid Build Coastguard Worker	parameter declarations (which is no longer supported by GCC 3.1) by the
1682*c2e0c6b5SAndroid Build Coastguard Worker	current syntax (attribute at the end). Thanks to [email protected]
1683*c2e0c6b5SAndroid Build Coastguard Worker	for reporting this problem.
1684*c2e0c6b5SAndroid Build Coastguard Worker
1685*c2e0c6b5SAndroid Build Coastguard Worker	* Removed CVS $Id$ tags from all files.
1686*c2e0c6b5SAndroid Build Coastguard Worker
1687*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Added some more warnings.
1688*c2e0c6b5SAndroid Build Coastguard Worker
1689*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c: Cleaned up mask/value code.
1690*c2e0c6b5SAndroid Build Coastguard Worker
1691*c2e0c6b5SAndroid Build Coastguard Worker2003-12-08 Thayne Harbaugh <[email protected]>
1692*c2e0c6b5SAndroid Build Coastguard Worker
1693*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c: Individual bits to be set can be specified as <value>:<mask>.
1694*c2e0c6b5SAndroid Build Coastguard Worker
1695*c2e0c6b5SAndroid Build Coastguard Worker2003-11-29  Martin Mares  <[email protected]>
1696*c2e0c6b5SAndroid Build Coastguard Worker
1697*c2e0c6b5SAndroid Build Coastguard Worker	* Imported the pciutils sources to my Arch repository. Good-bye, CVS.
1698*c2e0c6b5SAndroid Build Coastguard Worker
1699*c2e0c6b5SAndroid Build Coastguard Worker2003-01-04  Martin Mares  <[email protected]>
1700*c2e0c6b5SAndroid Build Coastguard Worker
1701*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.11.
1702*c2e0c6b5SAndroid Build Coastguard Worker
1703*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Changed configuration of installation directories --
1704*c2e0c6b5SAndroid Build Coastguard Worker	all paths are now set at the top of the Makefile instead of being
1705*c2e0c6b5SAndroid Build Coastguard Worker	scattered between the installation rules. The default installation
1706*c2e0c6b5SAndroid Build Coastguard Worker	now goes always to /usr/local regardless of the OS as most distributions
1707*c2e0c6b5SAndroid Build Coastguard Worker	already contain some version of pciutils and we don't want custom
1708*c2e0c6b5SAndroid Build Coastguard Worker	installations to interfere with the default ones.
1709*c2e0c6b5SAndroid Build Coastguard Worker
1710*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Removed a couple of ancient install hacks: we no longer
1711*c2e0c6b5SAndroid Build Coastguard Worker	try to avoid overwriting a newer pci.ids file (users are now expected
1712*c2e0c6b5SAndroid Build Coastguard Worker	to use update-ids) and we don't try to remove /etc/pci.ids (a long time
1713*c2e0c6b5SAndroid Build Coastguard Worker	has passed since the last version which used it).
1714*c2e0c6b5SAndroid Build Coastguard Worker
1715*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Paths to pci.ids in man pages automatically get the right path.
1716*c2e0c6b5SAndroid Build Coastguard Worker
1717*c2e0c6b5SAndroid Build Coastguard Worker	* Added the update-ids utility.
1718*c2e0c6b5SAndroid Build Coastguard Worker
1719*c2e0c6b5SAndroid Build Coastguard Worker	* lib: Removed partially implemented "syscall" access method which will
1720*c2e0c6b5SAndroid Build Coastguard Worker	probably never be needed.
1721*c2e0c6b5SAndroid Build Coastguard Worker
1722*c2e0c6b5SAndroid Build Coastguard Worker2002-12-27  Martin Mares  <[email protected]>
1723*c2e0c6b5SAndroid Build Coastguard Worker
1724*c2e0c6b5SAndroid Build Coastguard Worker	* lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe.
1725*c2e0c6b5SAndroid Build Coastguard Worker
1726*c2e0c6b5SAndroid Build Coastguard Worker	* lib/generic.c (pci_generic_scan_bus): Added work-around for devices with
1727*c2e0c6b5SAndroid Build Coastguard Worker	discontiguous numbering of functions. This is already present in the Linux
1728*c2e0c6b5SAndroid Build Coastguard Worker	kernel for several years, but I forgot to update pciutils as well.
1729*c2e0c6b5SAndroid Build Coastguard Worker
1730*c2e0c6b5SAndroid Build Coastguard Worker2002-12-26  Martin Mares  <[email protected]>
1731*c2e0c6b5SAndroid Build Coastguard Worker
1732*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h, lspci.c: Dump AGP3 flags and speeds.
1733*c2e0c6b5SAndroid Build Coastguard Worker
1734*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header,
1735*c2e0c6b5SAndroid Build Coastguard Worker	there is no reason to prefer the kernel version.
1736*c2e0c6b5SAndroid Build Coastguard Worker
1737*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c (proc_scan): Don't forget to initialize hdrtype.
1738*c2e0c6b5SAndroid Build Coastguard Worker
1739*c2e0c6b5SAndroid Build Coastguard Worker	* Added preliminary version of NetBSD support by Quentin Garnier
1740*c2e0c6b5SAndroid Build Coastguard Worker	<[email protected]>.
1741*c2e0c6b5SAndroid Build Coastguard Worker
1742*c2e0c6b5SAndroid Build Coastguard Worker2002-04-06  Martin Mares  <[email protected]>
1743*c2e0c6b5SAndroid Build Coastguard Worker
1744*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Mention "-xxx" in the help.
1745*c2e0c6b5SAndroid Build Coastguard Worker
1746*c2e0c6b5SAndroid Build Coastguard Worker2002-03-30  Martin Mares  <[email protected]>
1747*c2e0c6b5SAndroid Build Coastguard Worker
1748*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.10.
1749*c2e0c6b5SAndroid Build Coastguard Worker
1750*c2e0c6b5SAndroid Build Coastguard Worker	* Removed pci.ids from the CVS as they are now maintained separately.
1751*c2e0c6b5SAndroid Build Coastguard Worker	They are still included in the tarball, but if you are building	pciutils
1752*c2e0c6b5SAndroid Build Coastguard Worker	from CVS sources or you want to get a newer ID file than the one distributed,
1753*c2e0c6b5SAndroid Build Coastguard Worker	just use "make update-ids" to download the most recent snapshot from
1754*c2e0c6b5SAndroid Build Coastguard Worker	pciids.sf.net.
1755*c2e0c6b5SAndroid Build Coastguard Worker
1756*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile, README: Updated accordingly.
1757*c2e0c6b5SAndroid Build Coastguard Worker
1758*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Added a couple of maintenance targets.
1759*c2e0c6b5SAndroid Build Coastguard Worker
1760*c2e0c6b5SAndroid Build Coastguard Worker	* maint/*: Maintainer's utilities now reside here (present only in CVS,
1761*c2e0c6b5SAndroid Build Coastguard Worker	not in the tarball).
1762*c2e0c6b5SAndroid Build Coastguard Worker
1763*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (parse_name_list): End-of-line comments are no longer
1764*c2e0c6b5SAndroid Build Coastguard Worker	supported. Hashes are now perfectly valid in all names and they start
1765*c2e0c6b5SAndroid Build Coastguard Worker	a comment only at the start of the line.
1766*c2e0c6b5SAndroid Build Coastguard Worker
1767*c2e0c6b5SAndroid Build Coastguard Worker2002-03-26  Martin Mares  <[email protected]>
1768*c2e0c6b5SAndroid Build Coastguard Worker
1769*c2e0c6b5SAndroid Build Coastguard Worker	* README: Rewritten.
1770*c2e0c6b5SAndroid Build Coastguard Worker
1771*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: When the currently installed pci.ids file is newer than
1772*c2e0c6b5SAndroid Build Coastguard Worker	the version to be installed, don't overwrite it. Suggested by
1773*c2e0c6b5SAndroid Build Coastguard Worker	Jean Delvare <[email protected]>.
1774*c2e0c6b5SAndroid Build Coastguard Worker
1775*c2e0c6b5SAndroid Build Coastguard Worker2002-03-24  Martin Mares  <[email protected]>
1776*c2e0c6b5SAndroid Build Coastguard Worker
1777*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_pcix_bridge): Added PCI-X capability display.
1778*c2e0c6b5SAndroid Build Coastguard Worker	Contributed by Jeff Garzik <[email protected]>.
1779*c2e0c6b5SAndroid Build Coastguard Worker
1780*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Added PCI-X stuff. Again by Jeff.
1781*c2e0c6b5SAndroid Build Coastguard Worker
1782*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile (CFLAGS): -Werror is gone.
1783*c2e0c6b5SAndroid Build Coastguard Worker
1784*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (format_agp_rate): Fixed AGP rate reporting.
1785*c2e0c6b5SAndroid Build Coastguard Worker
1786*c2e0c6b5SAndroid Build Coastguard Worker	* lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and
1787*c2e0c6b5SAndroid Build Coastguard Worker	function 7.
1788*c2e0c6b5SAndroid Build Coastguard Worker
1789*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (pci_lookup_name): When printing unknown subsystem vendor
1790*c2e0c6b5SAndroid Build Coastguard Worker	or device hexadecimally, don't confuse it with chip vendor/device ID.
1791*c2e0c6b5SAndroid Build Coastguard Worker	First reported by Marc Boucher <[email protected]>.
1792*c2e0c6b5SAndroid Build Coastguard Worker
1793*c2e0c6b5SAndroid Build Coastguard Worker2001-11-04  Martin Mares  <[email protected]>
1794*c2e0c6b5SAndroid Build Coastguard Worker
1795*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.9.
1796*c2e0c6b5SAndroid Build Coastguard Worker
1797*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Synced with the PCI ID Repository at SourceForge
1798*c2e0c6b5SAndroid Build Coastguard Worker	(http://pciids.sourceforge.net/).
1799*c2e0c6b5SAndroid Build Coastguard Worker
1800*c2e0c6b5SAndroid Build Coastguard Worker2000-08-25  Martin Mares  <[email protected]>
1801*c2e0c6b5SAndroid Build Coastguard Worker
1802*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Updated ID's, synced with kernel 2.4.0-test7.
1803*c2e0c6b5SAndroid Build Coastguard Worker
1804*c2e0c6b5SAndroid Build Coastguard Worker2000-06-13  Martin Mares  <[email protected]>
1805*c2e0c6b5SAndroid Build Coastguard Worker
1806*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile (uninstall): Fixed.
1807*c2e0c6b5SAndroid Build Coastguard Worker
1808*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: ID updates.
1809*c2e0c6b5SAndroid Build Coastguard Worker
1810*c2e0c6b5SAndroid Build Coastguard Worker2000-05-20  Martin Mares  <[email protected]>
1811*c2e0c6b5SAndroid Build Coastguard Worker
1812*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.8.
1813*c2e0c6b5SAndroid Build Coastguard Worker
1814*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: ID updates.
1815*c2e0c6b5SAndroid Build Coastguard Worker
1816*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_verbose): Min/max latency is now printed in nanoseconds.
1817*c2e0c6b5SAndroid Build Coastguard Worker
1818*c2e0c6b5SAndroid Build Coastguard Worker2000-05-04  Martin Mares  <[email protected]>
1819*c2e0c6b5SAndroid Build Coastguard Worker
1820*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_verbose): If the header type doesn't match device
1821*c2e0c6b5SAndroid Build Coastguard Worker	class, just print a warning and still use the header type, assuming
1822*c2e0c6b5SAndroid Build Coastguard Worker	bogus class info.
1823*c2e0c6b5SAndroid Build Coastguard Worker
1824*c2e0c6b5SAndroid Build Coastguard Worker2000-05-01  Martin Mares  <[email protected]>
1825*c2e0c6b5SAndroid Build Coastguard Worker
1826*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_pm): Updated according to PCI PM specs 1.1.
1827*c2e0c6b5SAndroid Build Coastguard Worker
1828*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Updated Contemporary Control ARCnet card entries.
1829*c2e0c6b5SAndroid Build Coastguard Worker
1830*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Synchronized class list with latest PCI SIG documents.
1831*c2e0c6b5SAndroid Build Coastguard Worker
1832*c2e0c6b5SAndroid Build Coastguard Worker2000-04-29  Martin Mares  <[email protected]>
1833*c2e0c6b5SAndroid Build Coastguard Worker
1834*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (pci_lookup_name): Fixed the cheat.
1835*c2e0c6b5SAndroid Build Coastguard Worker
1836*c2e0c6b5SAndroid Build Coastguard Worker	* lib/internal.h: Moved UNUSED/inline hacks above all other declarations.
1837*c2e0c6b5SAndroid Build Coastguard Worker
1838*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Various ID updates.
1839*c2e0c6b5SAndroid Build Coastguard Worker
1840*c2e0c6b5SAndroid Build Coastguard Worker2000-04-21  Martin Mares  <[email protected]>
1841*c2e0c6b5SAndroid Build Coastguard Worker
1842*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.7.
1843*c2e0c6b5SAndroid Build Coastguard Worker
1844*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.spec: Added German description.
1845*c2e0c6b5SAndroid Build Coastguard Worker
1846*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's
1847*c2e0c6b5SAndroid Build Coastguard Worker	are the same as device ID and just output subsystem name according to
1848*c2e0c6b5SAndroid Build Coastguard Worker	device name.
1849*c2e0c6b5SAndroid Build Coastguard Worker
1850*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c: Use UNUSED instead of __attribute__((unused)).
1851*c2e0c6b5SAndroid Build Coastguard Worker
1852*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h: Added the correct typedefs for AIX.
1853*c2e0c6b5SAndroid Build Coastguard Worker
1854*c2e0c6b5SAndroid Build Coastguard Worker	* lib/generic.c (pci_generic_scan_bus): Export.
1855*c2e0c6b5SAndroid Build Coastguard Worker
1856*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: Detect AIX. Use "echo '...\c'" instead of
1857*c2e0c6b5SAndroid Build Coastguard Worker	"echo -n" if the shell isn't bash.
1858*c2e0c6b5SAndroid Build Coastguard Worker
1859*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Avoid using alloca() if not compiled by GCC.
1860*c2e0c6b5SAndroid Build Coastguard Worker	(insert_dev): Avoid returning a void value.
1861*c2e0c6b5SAndroid Build Coastguard Worker
1862*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Choose which install utility to use according to
1863*c2e0c6b5SAndroid Build Coastguard Worker	OS type. Also use `-o' instead of `-or' in find arguments.
1864*c2e0c6b5SAndroid Build Coastguard Worker	Part of the AIX port.
1865*c2e0c6b5SAndroid Build Coastguard Worker
1866*c2e0c6b5SAndroid Build Coastguard Worker	* lib/aix-device.c: Added AIX low-level interface. Contributed
1867*c2e0c6b5SAndroid Build Coastguard Worker	by Dave Johnson <[email protected]>, thanks a lot!
1868*c2e0c6b5SAndroid Build Coastguard Worker
1869*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Few new ID's.
1870*c2e0c6b5SAndroid Build Coastguard Worker
1871*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.h, lib/internal.h: Redefine __attribute__ and inline
1872*c2e0c6b5SAndroid Build Coastguard Worker	when not compiled by GCC.
1873*c2e0c6b5SAndroid Build Coastguard Worker
1874*c2e0c6b5SAndroid Build Coastguard Worker2000-04-17  Martin Mares  <[email protected]>
1875*c2e0c6b5SAndroid Build Coastguard Worker
1876*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.6.
1877*c2e0c6b5SAndroid Build Coastguard Worker
1878*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Added a large batch of ID's contributed by Gunther
1879*c2e0c6b5SAndroid Build Coastguard Worker	Mayer <[email protected]> and synced the
1880*c2e0c6b5SAndroid Build Coastguard Worker	list with the 2.3.99pre6 kernel.
1881*c2e0c6b5SAndroid Build Coastguard Worker
1882*c2e0c6b5SAndroid Build Coastguard WorkerThu Mar  9 13:11:39 2000  Martin Mares  <[email protected]>
1883*c2e0c6b5SAndroid Build Coastguard Worker
1884*c2e0c6b5SAndroid Build Coastguard Worker	* lib/example.c: Added a simple example of how to use
1885*c2e0c6b5SAndroid Build Coastguard Worker	the library.
1886*c2e0c6b5SAndroid Build Coastguard Worker
1887*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.man, setpci.man: Revealed --version. Well spotted
1888*c2e0c6b5SAndroid Build Coastguard Worker	by Adam Sulmicki.
1889*c2e0c6b5SAndroid Build Coastguard Worker
1890*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Added lots of new ID's and synced with 2.3.50.
1891*c2e0c6b5SAndroid Build Coastguard Worker
1892*c2e0c6b5SAndroid Build Coastguard WorkerTue Feb 15 00:16:21 2000  Martin Mares  <[email protected]>
1893*c2e0c6b5SAndroid Build Coastguard Worker
1894*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 2.1.5.
1895*c2e0c6b5SAndroid Build Coastguard Worker
1896*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.spec: Updated spec file from Andreas Jaeger. Now using
1897*c2e0c6b5SAndroid Build Coastguard Worker	%{_mandir} to find the right location to install manual pages to.
1898*c2e0c6b5SAndroid Build Coastguard Worker
1899*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: New ID's.
1900*c2e0c6b5SAndroid Build Coastguard Worker
1901*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c (main): Don't crash when `-s' or `-d' is given with
1902*c2e0c6b5SAndroid Build Coastguard Worker	no argument.
1903*c2e0c6b5SAndroid Build Coastguard Worker
1904*c2e0c6b5SAndroid Build Coastguard WorkerMon Jan 24 20:04:11 2000  Andreas Jaeger  <[email protected]>
1905*c2e0c6b5SAndroid Build Coastguard Worker
1906*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-ports.c: Include <asm/io.h> only on systems without
1907*c2e0c6b5SAndroid Build Coastguard Worker	glibc.
1908*c2e0c6b5SAndroid Build Coastguard Worker
1909*c2e0c6b5SAndroid Build Coastguard WorkerMon Jan 24 11:24:43 2000  Martin Mares  <[email protected]>
1910*c2e0c6b5SAndroid Build Coastguard Worker
1911*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Modified to work with the Linux FHS brain-damaged idea
1912*c2e0c6b5SAndroid Build Coastguard Worker	of putting man pages to /usr/share/man. Now we choose either /usr/man
1913*c2e0c6b5SAndroid Build Coastguard Worker	or /usr/share/man depending on which one exists.
1914*c2e0c6b5SAndroid Build Coastguard Worker
1915*c2e0c6b5SAndroid Build Coastguard WorkerSun Jan 23 10:52:34 2000  Martin Mares  <[email protected]>
1916*c2e0c6b5SAndroid Build Coastguard Worker
1917*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Synced with Linux 2.3.40.
1918*c2e0c6b5SAndroid Build Coastguard Worker
1919*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 2.1.4.
1920*c2e0c6b5SAndroid Build Coastguard Worker
1921*c2e0c6b5SAndroid Build Coastguard WorkerThu Jan 20 11:08:32 2000  Martin Mares  <[email protected]>
1922*c2e0c6b5SAndroid Build Coastguard Worker
1923*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (scan_device): Fixed bug in reading of cardbus extensions.
1924*c2e0c6b5SAndroid Build Coastguard Worker
1925*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c: pread/pwrite fixed again, this time on libc5 :(
1926*c2e0c6b5SAndroid Build Coastguard Worker
1927*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (format_agp_rate): Better formatting of AGP rates.
1928*c2e0c6b5SAndroid Build Coastguard Worker
1929*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: New ID's.
1930*c2e0c6b5SAndroid Build Coastguard Worker
1931*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: Added configuration for ia64 (the same as for Alpha).
1932*c2e0c6b5SAndroid Build Coastguard Worker	Patch from Stephane Eranian <[email protected]>.
1933*c2e0c6b5SAndroid Build Coastguard Worker
1934*c2e0c6b5SAndroid Build Coastguard WorkerThu Jan 13 23:01:52 2000  Martin Mares  <[email protected]>
1935*c2e0c6b5SAndroid Build Coastguard Worker
1936*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 2.1.3.
1937*c2e0c6b5SAndroid Build Coastguard Worker
1938*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: New ID's.
1939*c2e0c6b5SAndroid Build Coastguard Worker
1940*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli.
1941*c2e0c6b5SAndroid Build Coastguard Worker
1942*c2e0c6b5SAndroid Build Coastguard Worker	* lib/access.c: Corrected order of access methods -- it's wonderful how
1943*c2e0c6b5SAndroid Build Coastguard Worker	long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff.
1944*c2e0c6b5SAndroid Build Coastguard Worker
1945*c2e0c6b5SAndroid Build Coastguard WorkerSat Dec 11 23:34:48 1999  Martin Mares  <[email protected]>
1946*c2e0c6b5SAndroid Build Coastguard Worker
1947*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 2.1.2.
1948*c2e0c6b5SAndroid Build Coastguard Worker
1949*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
1950*c2e0c6b5SAndroid Build Coastguard Worker
1951*c2e0c6b5SAndroid Build Coastguard WorkerSat Dec  4 13:11:03 1999  Martin Mares  <[email protected]>
1952*c2e0c6b5SAndroid Build Coastguard Worker
1953*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 2.1.1.
1954*c2e0c6b5SAndroid Build Coastguard Worker
1955*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Several new ID's.
1956*c2e0c6b5SAndroid Build Coastguard Worker
1957*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c (exec_op): Don't forget to increment address after writing
1958*c2e0c6b5SAndroid Build Coastguard Worker	single value, so that `30.b=12,34,56,78' works as expected. Reported
1959*c2e0c6b5SAndroid Build Coastguard Worker	by Petr Soucek <[email protected]>.
1960*c2e0c6b5SAndroid Build Coastguard Worker
1961*c2e0c6b5SAndroid Build Coastguard WorkerWed Nov  3 10:24:38 1999  Martin Mares  <[email protected]>
1962*c2e0c6b5SAndroid Build Coastguard Worker
1963*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_terse): If prog-if is zero, but it's present in the
1964*c2e0c6b5SAndroid Build Coastguard Worker	ID list, show it.
1965*c2e0c6b5SAndroid Build Coastguard Worker
1966*c2e0c6b5SAndroid Build Coastguard WorkerSat Oct 30 11:06:35 1999  Martin Mares  <[email protected]>
1967*c2e0c6b5SAndroid Build Coastguard Worker
1968*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 2.1.
1969*c2e0c6b5SAndroid Build Coastguard Worker
1970*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in
1971*c2e0c6b5SAndroid Build Coastguard Worker	lots of contributed entries.
1972*c2e0c6b5SAndroid Build Coastguard Worker
1973*c2e0c6b5SAndroid Build Coastguard WorkerThu Oct 14 10:40:12 1999  Dave Jones    <[email protected]>
1974*c2e0c6b5SAndroid Build Coastguard Worker
1975*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Added lots of subsystem definitions.
1976*c2e0c6b5SAndroid Build Coastguard Worker
1977*c2e0c6b5SAndroid Build Coastguard WorkerSat Oct  9 14:32:28 1999  Martin Mares  <[email protected]>
1978*c2e0c6b5SAndroid Build Coastguard Worker
1979*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.man: Better example.
1980*c2e0c6b5SAndroid Build Coastguard Worker
1981*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Resolve prog-if names.
1982*c2e0c6b5SAndroid Build Coastguard Worker
1983*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c: Adapted to new pci.ids syntax.
1984*c2e0c6b5SAndroid Build Coastguard Worker
1985*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Reorganized the pci.ids file. Subsystems are listed
1986*c2e0c6b5SAndroid Build Coastguard Worker	under devices, classes can optionally contain prog-if information.
1987*c2e0c6b5SAndroid Build Coastguard Worker	New ID's, as usually.
1988*c2e0c6b5SAndroid Build Coastguard Worker
1989*c2e0c6b5SAndroid Build Coastguard WorkerWed Sep 22 09:45:24 1999  Martin Mares  <[email protected]>
1990*c2e0c6b5SAndroid Build Coastguard Worker
1991*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: New ID's. As usually.
1992*c2e0c6b5SAndroid Build Coastguard Worker
1993*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows
1994*c2e0c6b5SAndroid Build Coastguard Worker	unless we're vvvery verbose.
1995*c2e0c6b5SAndroid Build Coastguard Worker
1996*c2e0c6b5SAndroid Build Coastguard WorkerMon Sep 20 11:22:54 1999  Martin Mares  <[email protected]>
1997*c2e0c6b5SAndroid Build Coastguard Worker
1998*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
1999*c2e0c6b5SAndroid Build Coastguard Worker
2000*c2e0c6b5SAndroid Build Coastguard WorkerTue Sep 14 09:31:01 1999  Martin Mares  <[email protected]>
2001*c2e0c6b5SAndroid Build Coastguard Worker
2002*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: New ID's. Again.
2003*c2e0c6b5SAndroid Build Coastguard Worker
2004*c2e0c6b5SAndroid Build Coastguard WorkerThu Aug  5 17:45:42 1999  Martin Mares  <[email protected]>
2005*c2e0c6b5SAndroid Build Coastguard Worker
2006*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_size): Don't show size if it's zero (usually
2007*c2e0c6b5SAndroid Build Coastguard Worker	due to bus-centric mode being enabled).
2008*c2e0c6b5SAndroid Build Coastguard Worker
2009*c2e0c6b5SAndroid Build Coastguard WorkerTue Jul 20 13:25:09 1999  Martin Mares  <[email protected]>
2010*c2e0c6b5SAndroid Build Coastguard Worker
2011*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h: Types are OS dependent.
2012*c2e0c6b5SAndroid Build Coastguard Worker
2013*c2e0c6b5SAndroid Build Coastguard Worker	* lib/internal.h: Byte order hacks are OS dependent.
2014*c2e0c6b5SAndroid Build Coastguard Worker
2015*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS.
2016*c2e0c6b5SAndroid Build Coastguard Worker
2017*c2e0c6b5SAndroid Build Coastguard Worker	* lib/Makefile, lib/access.c: Added fbsd-device target.
2018*c2e0c6b5SAndroid Build Coastguard Worker
2019*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
2020*c2e0c6b5SAndroid Build Coastguard Worker	incorrectly set to device ID.
2021*c2e0c6b5SAndroid Build Coastguard Worker
2022*c2e0c6b5SAndroid Build Coastguard Worker	* README: Added a note that we support FreeBSD.
2023*c2e0c6b5SAndroid Build Coastguard Worker
2024*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile (PREFIX, ROOT): Set it depending on the OS.
2025*c2e0c6b5SAndroid Build Coastguard Worker	(%.8): Grrr, BSD date is not able to convert date formats the same way
2026*c2e0c6b5SAndroid Build Coastguard Worker	as GNU date does. Use sed instead.
2027*c2e0c6b5SAndroid Build Coastguard Worker	(install): Use `-c' when calling install.
2028*c2e0c6b5SAndroid Build Coastguard Worker
2029*c2e0c6b5SAndroid Build Coastguard Worker	* lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed
2030*c2e0c6b5SAndroid Build Coastguard Worker	by Jari Kirma <[email protected]>.
2031*c2e0c6b5SAndroid Build Coastguard Worker
2032*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c: Rewrote the pread/pwrite things once again. Use pread
2033*c2e0c6b5SAndroid Build Coastguard Worker	and pwrite only when we are certain it's safe (i.e., glibc 2.1
2034*c2e0c6b5SAndroid Build Coastguard Worker	on all architectures or any libc on a i386 where we really know
2035*c2e0c6b5SAndroid Build Coastguard Worker	how to use syscalls directly). In all other cases, emulate it
2036*c2e0c6b5SAndroid Build Coastguard Worker	with lseek/read/write.
2037*c2e0c6b5SAndroid Build Coastguard Worker
2038*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Some more IDs.
2039*c2e0c6b5SAndroid Build Coastguard Worker
2040*c2e0c6b5SAndroid Build Coastguard WorkerMon Jul 19 14:10:36 1999  Martin Mares  <[email protected]>
2041*c2e0c6b5SAndroid Build Coastguard Worker
2042*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Added IDs of parallel port controller cards as sent
2043*c2e0c6b5SAndroid Build Coastguard Worker	by Tim Waugh <[email protected]>.
2044*c2e0c6b5SAndroid Build Coastguard Worker
2045*c2e0c6b5SAndroid Build Coastguard WorkerWed Jul  7 00:55:48 1999  Martin Mares  <[email protected]>
2046*c2e0c6b5SAndroid Build Coastguard Worker
2047*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS.
2048*c2e0c6b5SAndroid Build Coastguard Worker
2049*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and
2050*c2e0c6b5SAndroid Build Coastguard Worker	HAVE_LONG_ADDRESS.
2051*c2e0c6b5SAndroid Build Coastguard Worker
2052*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses
2053*c2e0c6b5SAndroid Build Coastguard Worker	are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS
2054*c2e0c6b5SAndroid Build Coastguard Worker	to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS
2055*c2e0c6b5SAndroid Build Coastguard Worker	and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS
2056*c2e0c6b5SAndroid Build Coastguard Worker	on Alpha.
2057*c2e0c6b5SAndroid Build Coastguard Worker
2058*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_msi): Added dumping of the MSI capability.
2059*c2e0c6b5SAndroid Build Coastguard Worker	(show_slotid): The same for SlotID capability.
2060*c2e0c6b5SAndroid Build Coastguard Worker	(show_caps): Separated capability dumping, because it should
2061*c2e0c6b5SAndroid Build Coastguard Worker	be used for both htype0 and htype1. Even PCI 2.2 doesn't mention
2062*c2e0c6b5SAndroid Build Coastguard Worker	layout of htype2, so I'm a bit unsure about it wrt capabilities
2063*c2e0c6b5SAndroid Build Coastguard Worker	-- they at least have to live somewhere else since address 0x34
2064*c2e0c6b5SAndroid Build Coastguard Worker	is already defined differently in htype2.
2065*c2e0c6b5SAndroid Build Coastguard Worker
2066*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2).
2067*c2e0c6b5SAndroid Build Coastguard Worker	(PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto.
2068*c2e0c6b5SAndroid Build Coastguard Worker	(PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2.
2069*c2e0c6b5SAndroid Build Coastguard Worker
2070*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers
2071*c2e0c6b5SAndroid Build Coastguard Worker	(required by the PCI 2.2 specs).
2072*c2e0c6b5SAndroid Build Coastguard Worker
2073*c2e0c6b5SAndroid Build Coastguard WorkerMon Jul  5 12:45:19 1999  Martin Mares  <[email protected]>
2074*c2e0c6b5SAndroid Build Coastguard Worker
2075*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_size): Added new function for dumping of region sizes.
2076*c2e0c6b5SAndroid Build Coastguard Worker	(show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled
2077*c2e0c6b5SAndroid Build Coastguard Worker	ROMs et cetera.
2078*c2e0c6b5SAndroid Build Coastguard Worker
2079*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h (struct pci_dev): known_fields moved to the public part
2080*c2e0c6b5SAndroid Build Coastguard Worker	of the structure.
2081*c2e0c6b5SAndroid Build Coastguard Worker
2082*c2e0c6b5SAndroid Build Coastguard Worker	* Added support for region sizes. Needs support in the kernel, because
2083*c2e0c6b5SAndroid Build Coastguard Worker	sizes have to be scanned before drivers initialize yourself. pci_fill_info()
2084*c2e0c6b5SAndroid Build Coastguard Worker	now returns a bitmask of what fields were really read.
2085*c2e0c6b5SAndroid Build Coastguard Worker
2086*c2e0c6b5SAndroid Build Coastguard WorkerMon Jun 28 18:37:51 1999  Dave Jones    <[email protected]>
2087*c2e0c6b5SAndroid Build Coastguard Worker
2088*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile:
2089*c2e0c6b5SAndroid Build Coastguard Worker	  Added `uninstall' target - removes all traces of pciutils.
2090*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids:
2091*c2e0c6b5SAndroid Build Coastguard Worker	  - Lots of cleanups in the ATI, S3, Adaptec vendors.
2092*c2e0c6b5SAndroid Build Coastguard Worker	  - Changed Compaq QVision 1280/p definitions, as it's not possible
2093*c2e0c6b5SAndroid Build Coastguard Worker	    to determine the revision from the device ID.
2094*c2e0c6b5SAndroid Build Coastguard Worker	  - Same for the Tseng ET4000.
2095*c2e0c6b5SAndroid Build Coastguard Worker	    The id's said I had a rev C, when it was actually a rev B.
2096*c2e0c6b5SAndroid Build Coastguard Worker	  - Removed some unnecessary strings
2097*c2e0c6b5SAndroid Build Coastguard Worker	    `PCI'. Unless it's an AGP card, it should be obvious that it's PCI.
2098*c2e0c6b5SAndroid Build Coastguard Worker	    `Ethernet card'. This should be determined from config space.
2099*c2e0c6b5SAndroid Build Coastguard Worker	  - Lots of other new vendors & devices
2100*c2e0c6b5SAndroid Build Coastguard Worker	  - Other additional small cleanups.
2101*c2e0c6b5SAndroid Build Coastguard Worker
2102*c2e0c6b5SAndroid Build Coastguard WorkerMon Jun 21 22:11:10 1999  Martin Mares  <[email protected]>
2103*c2e0c6b5SAndroid Build Coastguard Worker
2104*c2e0c6b5SAndroid Build Coastguard Worker	* lib/names.c (pci_lookup_name): When device ID lookup
2105*c2e0c6b5SAndroid Build Coastguard Worker	fails, return hexadecimal device ID instead of vendor ID.
2106*c2e0c6b5SAndroid Build Coastguard Worker	Well spotted by Axel Bodemann <[email protected]>,
2107*c2e0c6b5SAndroid Build Coastguard Worker	I've just extended the fix to subsystem ID's.
2108*c2e0c6b5SAndroid Build Coastguard Worker
2109*c2e0c6b5SAndroid Build Coastguard WorkerThu Jun 17 19:48:21 1999  Martin Mares  <[email protected]>
2110*c2e0c6b5SAndroid Build Coastguard Worker
2111*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_agp): Bug fix from Petr Vandrovec
2112*c2e0c6b5SAndroid Build Coastguard Worker	<[email protected]>. The command register was displayed
2113*c2e0c6b5SAndroid Build Coastguard Worker	incorrectly.
2114*c2e0c6b5SAndroid Build Coastguard Worker
2115*c2e0c6b5SAndroid Build Coastguard WorkerWed Jun  2 22:42:44 1999  Martin Mares  <[email protected]>
2116*c2e0c6b5SAndroid Build Coastguard Worker
2117*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
2118*c2e0c6b5SAndroid Build Coastguard Worker	numbers if not supplied by the libc.
2119*c2e0c6b5SAndroid Build Coastguard Worker
2120*c2e0c6b5SAndroid Build Coastguard WorkerWed May 19 13:24:39 1999  Martin Mares  <[email protected]>
2121*c2e0c6b5SAndroid Build Coastguard Worker
2122*c2e0c6b5SAndroid Build Coastguard Worker	* Released the whole package as version 2.0.
2123*c2e0c6b5SAndroid Build Coastguard Worker
2124*c2e0c6b5SAndroid Build Coastguard WorkerFri May 14 22:42:02 1999  Martin Mares  <[email protected]>
2125*c2e0c6b5SAndroid Build Coastguard Worker
2126*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Added several new ID's contributed by people
2127*c2e0c6b5SAndroid Build Coastguard Worker	on the linux-pci list.
2128*c2e0c6b5SAndroid Build Coastguard Worker
2129*c2e0c6b5SAndroid Build Coastguard WorkerMon Apr 19 15:21:08 1999  Jakub Jelinek  <[email protected]>
2130*c2e0c6b5SAndroid Build Coastguard Worker
2131*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Display I/O addresses correctly on sparc64.
2132*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Ditto.
2133*c2e0c6b5SAndroid Build Coastguard Worker
2134*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: On sparc set HAVE_64BIT* as well, we want
2135*c2e0c6b5SAndroid Build Coastguard Worker	a binary which works on both 32bit and 64bit SPARCs.
2136*c2e0c6b5SAndroid Build Coastguard Worker
2137*c2e0c6b5SAndroid Build Coastguard WorkerSun Apr 18 21:14:58 1999  Martin Mares  <[email protected]>
2138*c2e0c6b5SAndroid Build Coastguard Worker
2139*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
2140*c2e0c6b5SAndroid Build Coastguard Worker	<[email protected]>.
2141*c2e0c6b5SAndroid Build Coastguard Worker
2142*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: A lot of updates from Adam J. Richter <[email protected]>.
2143*c2e0c6b5SAndroid Build Coastguard Worker
2144*c2e0c6b5SAndroid Build Coastguard WorkerSun Feb 28 22:26:21 1999  Martin Mares  <[email protected]>
2145*c2e0c6b5SAndroid Build Coastguard Worker
2146*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
2147*c2e0c6b5SAndroid Build Coastguard Worker	as a multi-function device, because several single-function devices
2148*c2e0c6b5SAndroid Build Coastguard Worker	don't decode the function bits at all.
2149*c2e0c6b5SAndroid Build Coastguard Worker
2150*c2e0c6b5SAndroid Build Coastguard WorkerSun Feb 14 23:48:22 1999  Martin Mares  <[email protected]>
2151*c2e0c6b5SAndroid Build Coastguard Worker
2152*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile (install): Don't use "-o root -g root" for installation
2153*c2e0c6b5SAndroid Build Coastguard Worker	since it breaks on machines where programs are not installed by root.
2154*c2e0c6b5SAndroid Build Coastguard Worker	Reported by Richard Gooch <[email protected]>
2155*c2e0c6b5SAndroid Build Coastguard Worker
2156*c2e0c6b5SAndroid Build Coastguard WorkerTue Feb  9 15:54:39 1999  Martin Mares  <[email protected]>
2157*c2e0c6b5SAndroid Build Coastguard Worker
2158*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_bases): Use new address masking macros and pciaddr_t.
2159*c2e0c6b5SAndroid Build Coastguard Worker
2160*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
2161*c2e0c6b5SAndroid Build Coastguard Worker	or 64-bit depending on CPU.
2162*c2e0c6b5SAndroid Build Coastguard Worker
2163*c2e0c6b5SAndroid Build Coastguard Worker	* lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
2164*c2e0c6b5SAndroid Build Coastguard Worker	according to bus address width.
2165*c2e0c6b5SAndroid Build Coastguard Worker
2166*c2e0c6b5SAndroid Build Coastguard WorkerThu Jan 28 20:54:16 1999  Martin Mares  <[email protected]>
2167*c2e0c6b5SAndroid Build Coastguard Worker
2168*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 1.99.4.
2169*c2e0c6b5SAndroid Build Coastguard Worker
2170*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Capability list parser now recognizes both AGP
2171*c2e0c6b5SAndroid Build Coastguard Worker	registers and PCI Power Management registers (the latter
2172*c2e0c6b5SAndroid Build Coastguard Worker	is mainly guesswork based on DEC/Intel 21153 bridge specs
2173*c2e0c6b5SAndroid Build Coastguard Worker	since I don't have the PCI Power Management document).
2174*c2e0c6b5SAndroid Build Coastguard Worker
2175*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Replaced numerous occurrences of (x & flag) ? '+' : '-'
2176*c2e0c6b5SAndroid Build Coastguard Worker	by FLAG macro.
2177*c2e0c6b5SAndroid Build Coastguard Worker
2178*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Added bridge checks to bus mapping code.
2179*c2e0c6b5SAndroid Build Coastguard Worker
2180*c2e0c6b5SAndroid Build Coastguard WorkerWed Jan 27 14:59:16 1999  Martin Mares  <[email protected]>
2181*c2e0c6b5SAndroid Build Coastguard Worker
2182*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Implemented bus mapping mode (-M).
2183*c2e0c6b5SAndroid Build Coastguard Worker
2184*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (scan_devices): Split to scan_devices() and scan_device().
2185*c2e0c6b5SAndroid Build Coastguard Worker	(show): Split to show() and show_device().
2186*c2e0c6b5SAndroid Build Coastguard Worker
2187*c2e0c6b5SAndroid Build Coastguard Worker	* lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
2188*c2e0c6b5SAndroid Build Coastguard Worker	set it to the real access method afterwards.
2189*c2e0c6b5SAndroid Build Coastguard Worker
2190*c2e0c6b5SAndroid Build Coastguard WorkerMon Jan 25 23:46:13 1999  Martin Mares  <[email protected]>
2191*c2e0c6b5SAndroid Build Coastguard Worker
2192*c2e0c6b5SAndroid Build Coastguard Worker	* lib/generic.c (pci_generic_fill_info): If in buscentric mode,
2193*c2e0c6b5SAndroid Build Coastguard Worker	don't check PCI_COMMAND for I/O and memory enables.
2194*c2e0c6b5SAndroid Build Coastguard Worker
2195*c2e0c6b5SAndroid Build Coastguard WorkerMon Jan 25 21:28:49 1999  Martin Mares  <[email protected]>
2196*c2e0c6b5SAndroid Build Coastguard Worker
2197*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Added target `release' which substitutes new version
2198*c2e0c6b5SAndroid Build Coastguard Worker	number to .spec, .lsm and README. Also rewrote target `dist'.
2199*c2e0c6b5SAndroid Build Coastguard Worker
2200*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 1.99.3.
2201*c2e0c6b5SAndroid Build Coastguard Worker
2202*c2e0c6b5SAndroid Build Coastguard WorkerSun Jan 24 22:10:36 1999  Martin Mares  <[email protected]>
2203*c2e0c6b5SAndroid Build Coastguard Worker
2204*c2e0c6b5SAndroid Build Coastguard Worker	* lib/header.h: Until kernel adopts new layout of PCI
2205*c2e0c6b5SAndroid Build Coastguard Worker	includes (i.e., separate declaration of header structure,
2206*c2e0c6b5SAndroid Build Coastguard Worker	functions and device IDs), which is not going to happen
2207*c2e0c6b5SAndroid Build Coastguard Worker	before 2.3, we'll use our own definition of the header.
2208*c2e0c6b5SAndroid Build Coastguard Worker
2209*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_verbose): Display `Cap' flag in device status.
2210*c2e0c6b5SAndroid Build Coastguard Worker
2211*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_htype0): Display capability lists wherever
2212*c2e0c6b5SAndroid Build Coastguard Worker	available. The only capability name we recognize now is `AGP'.
2213*c2e0c6b5SAndroid Build Coastguard Worker	Unfortunately, capabilities are stored in device-dependent
2214*c2e0c6b5SAndroid Build Coastguard Worker	portion of the configuration space and are thus available
2215*c2e0c6b5SAndroid Build Coastguard Worker	only to root unless you read a dump.
2216*c2e0c6b5SAndroid Build Coastguard Worker
2217*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (scan_devices): Use cache instead of buffering.
2218*c2e0c6b5SAndroid Build Coastguard Worker
2219*c2e0c6b5SAndroid Build Coastguard Worker	* lib/buffer.c: Removed (obsoleted by the cache).
2220*c2e0c6b5SAndroid Build Coastguard Worker
2221*c2e0c6b5SAndroid Build Coastguard Worker	* lib/access.c: Added general caching mechanism.
2222*c2e0c6b5SAndroid Build Coastguard Worker
2223*c2e0c6b5SAndroid Build Coastguard WorkerSat Jan 23 21:30:54 1999  Martin Mares  <[email protected]>
2224*c2e0c6b5SAndroid Build Coastguard Worker
2225*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Added few devices.
2226*c2e0c6b5SAndroid Build Coastguard Worker
2227*c2e0c6b5SAndroid Build Coastguard WorkerFri Jan 22 19:29:31 1999  Martin Mares  <[email protected]>
2228*c2e0c6b5SAndroid Build Coastguard Worker
2229*c2e0c6b5SAndroid Build Coastguard Worker	* Version string is now defined in top-level Makefile, exported
2230*c2e0c6b5SAndroid Build Coastguard Worker	to the configure script and also substituted to man pages.
2231*c2e0c6b5SAndroid Build Coastguard Worker
2232*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
2233*c2e0c6b5SAndroid Build Coastguard Worker	(show_verbose): Rewrote interrupt display logic.
2234*c2e0c6b5SAndroid Build Coastguard Worker
2235*c2e0c6b5SAndroid Build Coastguard Worker	* lib/i386-ports.c: Include sys/io.h only on glibc systems.
2236*c2e0c6b5SAndroid Build Coastguard Worker
2237*c2e0c6b5SAndroid Build Coastguard Worker	* lib/configure: Rewrote detection of Linux versions. Now it
2238*c2e0c6b5SAndroid Build Coastguard Worker	works on 2.0 kernels (only with direct/dump access, of course).
2239*c2e0c6b5SAndroid Build Coastguard Worker
2240*c2e0c6b5SAndroid Build Coastguard Worker	* lib/internal.h: New bytesex macros using <asm/byteorder.h>
2241*c2e0c6b5SAndroid Build Coastguard Worker	whenever available.
2242*c2e0c6b5SAndroid Build Coastguard Worker
2243*c2e0c6b5SAndroid Build Coastguard Worker	* lib/proc.c (proc_read, proc_write): Distinguish between short
2244*c2e0c6b5SAndroid Build Coastguard Worker	read/write and real errors.
2245*c2e0c6b5SAndroid Build Coastguard Worker
2246*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
2247*c2e0c6b5SAndroid Build Coastguard Worker	libpci respects buscentric mode automatically.
2248*c2e0c6b5SAndroid Build Coastguard Worker
2249*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_hex_dump): For CardBus bridges, print out 128
2250*c2e0c6b5SAndroid Build Coastguard Worker	bytes of header (the whole standard part).
2251*c2e0c6b5SAndroid Build Coastguard Worker
2252*c2e0c6b5SAndroid Build Coastguard Worker	* common.c: pcilib options are now all uppercase. Also moved
2253*c2e0c6b5SAndroid Build Coastguard Worker	PCI access debugging option here.
2254*c2e0c6b5SAndroid Build Coastguard Worker
2255*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 1.99.2.
2256*c2e0c6b5SAndroid Build Coastguard Worker
2257*c2e0c6b5SAndroid Build Coastguard WorkerWed Jan 20 22:50:35 1999  Martin Mares  <[email protected]>
2258*c2e0c6b5SAndroid Build Coastguard Worker
2259*c2e0c6b5SAndroid Build Coastguard Worker	* Wrote configure script and rewrote Makefiles.
2260*c2e0c6b5SAndroid Build Coastguard Worker
2261*c2e0c6b5SAndroid Build Coastguard Worker	* Removed few unused variables.
2262*c2e0c6b5SAndroid Build Coastguard Worker
2263*c2e0c6b5SAndroid Build Coastguard WorkerWed Jan 20 12:21:56 1999  Martin Mares  <[email protected]>
2264*c2e0c6b5SAndroid Build Coastguard Worker
2265*c2e0c6b5SAndroid Build Coastguard Worker	* common.c: Moved several functions used in both setpci and lspci
2266*c2e0c6b5SAndroid Build Coastguard Worker	here. This includes parsing of libpci-related options.
2267*c2e0c6b5SAndroid Build Coastguard Worker
2268*c2e0c6b5SAndroid Build Coastguard Worker	* More library tweaks.
2269*c2e0c6b5SAndroid Build Coastguard Worker
2270*c2e0c6b5SAndroid Build Coastguard Worker	* filter.c, names.c: Moved to library.
2271*c2e0c6b5SAndroid Build Coastguard Worker
2272*c2e0c6b5SAndroid Build Coastguard Worker	* setpci: Rewritten to use the library.
2273*c2e0c6b5SAndroid Build Coastguard Worker
2274*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 1.99.1.
2275*c2e0c6b5SAndroid Build Coastguard Worker
2276*c2e0c6b5SAndroid Build Coastguard WorkerTue Jan 19 23:00:12 1999  Martin Mares  <[email protected]>
2277*c2e0c6b5SAndroid Build Coastguard Worker
2278*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (scan_devices): For cardbus bridges, read first 128
2279*c2e0c6b5SAndroid Build Coastguard Worker	bytes of config space to get full standard header.
2280*c2e0c6b5SAndroid Build Coastguard Worker
2281*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile (CFLAGS): Removed "-Wno-unused".
2282*c2e0c6b5SAndroid Build Coastguard Worker
2283*c2e0c6b5SAndroid Build Coastguard Worker	* Started the "New Generation" branch and introduced the
2284*c2e0c6b5SAndroid Build Coastguard Worker	PCI library.
2285*c2e0c6b5SAndroid Build Coastguard Worker
2286*c2e0c6b5SAndroid Build Coastguard Worker	* lspci: Rewritten to use the library.
2287*c2e0c6b5SAndroid Build Coastguard Worker
2288*c2e0c6b5SAndroid Build Coastguard WorkerTue Jan 19 22:24:08 1999  Martin Mares  <[email protected]>
2289*c2e0c6b5SAndroid Build Coastguard Worker
2290*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 1.10.
2291*c2e0c6b5SAndroid Build Coastguard Worker
2292*c2e0c6b5SAndroid Build Coastguard WorkerMon Jan 18 08:51:17 1999  Martin Mares  <[email protected]>
2293*c2e0c6b5SAndroid Build Coastguard Worker
2294*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.8, setpci.8: Miscellaneous fixes as suggested by
2295*c2e0c6b5SAndroid Build Coastguard Worker	Dag Wieers <[email protected]>.
2296*c2e0c6b5SAndroid Build Coastguard Worker
2297*c2e0c6b5SAndroid Build Coastguard WorkerSun Nov 29 20:05:56 1998  Martin Mares  <[email protected]>
2298*c2e0c6b5SAndroid Build Coastguard Worker
2299*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.spec (Name): Update from Krzysztof G. Baranowski.
2300*c2e0c6b5SAndroid Build Coastguard Worker
2301*c2e0c6b5SAndroid Build Coastguard WorkerSun Nov 22 10:49:56 1998  Martin Mares  <[email protected]>
2302*c2e0c6b5SAndroid Build Coastguard Worker
2303*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile, pciutils.h: Moved pci.ids to /usr/share.
2304*c2e0c6b5SAndroid Build Coastguard Worker
2305*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 1.09.
2306*c2e0c6b5SAndroid Build Coastguard Worker
2307*c2e0c6b5SAndroid Build Coastguard WorkerWed Nov 18 15:47:05 1998  Martin Mares  <[email protected]>
2308*c2e0c6b5SAndroid Build Coastguard Worker
2309*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
2310*c2e0c6b5SAndroid Build Coastguard Worker	bridge. Thanks to Petr Vandrovec <[email protected]> for bug report.
2311*c2e0c6b5SAndroid Build Coastguard Worker
2312*c2e0c6b5SAndroid Build Coastguard WorkerFri Oct 23 18:59:19 1998  Martin Mares  <[email protected]>
2313*c2e0c6b5SAndroid Build Coastguard Worker
2314*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
2315*c2e0c6b5SAndroid Build Coastguard Worker
2316*c2e0c6b5SAndroid Build Coastguard WorkerMon Oct 19 21:53:30 1998  Martin Mares  <[email protected]>
2317*c2e0c6b5SAndroid Build Coastguard Worker
2318*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 1.08.
2319*c2e0c6b5SAndroid Build Coastguard Worker
2320*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c: glibc 2.1.x already defines pread() and pwrite().
2321*c2e0c6b5SAndroid Build Coastguard Worker
2322*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.8: Changed warning about lspci -xxx.
2323*c2e0c6b5SAndroid Build Coastguard Worker
2324*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Require "-xxx" for full configuration space dump, so that
2325*c2e0c6b5SAndroid Build Coastguard Worker	it's impossible to crash the machine by single typo.
2326*c2e0c6b5SAndroid Build Coastguard Worker
2327*c2e0c6b5SAndroid Build Coastguard Worker	* specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>).
2328*c2e0c6b5SAndroid Build Coastguard Worker
2329*c2e0c6b5SAndroid Build Coastguard WorkerWed Sep  9 12:03:24 1998  Martin Mares  <[email protected]>
2330*c2e0c6b5SAndroid Build Coastguard Worker
2331*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_bases): Better displaying of unassigned and
2332*c2e0c6b5SAndroid Build Coastguard Worker	disabled bases. Thanks to Gabriel Paubert <[email protected]>
2333*c2e0c6b5SAndroid Build Coastguard Worker	for an idea.
2334*c2e0c6b5SAndroid Build Coastguard Worker
2335*c2e0c6b5SAndroid Build Coastguard WorkerWed Sep  2 10:58:01 1998  Martin Mares  <[email protected]>
2336*c2e0c6b5SAndroid Build Coastguard Worker
2337*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
2338*c2e0c6b5SAndroid Build Coastguard Worker	(thanks to Geert Uytterhoeven for finding this out)
2339*c2e0c6b5SAndroid Build Coastguard Worker
2340*c2e0c6b5SAndroid Build Coastguard WorkerFri Jul 17 10:43:30 1998  Martin Mares  <[email protected]>
2341*c2e0c6b5SAndroid Build Coastguard Worker
2342*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_verbose): Print subsystem ID using the new resolver.
2343*c2e0c6b5SAndroid Build Coastguard Worker	(show_machine): Print subsystem ID.
2344*c2e0c6b5SAndroid Build Coastguard Worker
2345*c2e0c6b5SAndroid Build Coastguard Worker	* names.c: New name resolution engine supporting subsystem IDs.
2346*c2e0c6b5SAndroid Build Coastguard Worker
2347*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 1.07.
2348*c2e0c6b5SAndroid Build Coastguard Worker
2349*c2e0c6b5SAndroid Build Coastguard WorkerWed Jul 15 15:37:21 1998  Martin Mares  <[email protected]>
2350*c2e0c6b5SAndroid Build Coastguard Worker
2351*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_htype2 etc.): Displaying of CardBus headers.
2352*c2e0c6b5SAndroid Build Coastguard Worker	(show_bases): Honor the `cnt' argument.
2353*c2e0c6b5SAndroid Build Coastguard Worker	(grow_tree): Parse CardBus headers in tree mode as well.
2354*c2e0c6b5SAndroid Build Coastguard Worker
2355*c2e0c6b5SAndroid Build Coastguard Worker	* pci.h: Updated CardBus header field description. I still don't
2356*c2e0c6b5SAndroid Build Coastguard Worker	have the CardBus standard available, but OZ6832 specs contain
2357*c2e0c6b5SAndroid Build Coastguard Worker	full description of all header fields supported by the chip.
2358*c2e0c6b5SAndroid Build Coastguard Worker
2359*c2e0c6b5SAndroid Build Coastguard WorkerTue Jun  9 22:53:59 1998  Martin Mares  <[email protected]>
2360*c2e0c6b5SAndroid Build Coastguard Worker
2361*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 1.06.
2362*c2e0c6b5SAndroid Build Coastguard Worker
2363*c2e0c6b5SAndroid Build Coastguard Worker	* names.c (parse_name_list): Killed an unused variable.
2364*c2e0c6b5SAndroid Build Coastguard Worker
2365*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
2366*c2e0c6b5SAndroid Build Coastguard Worker	if they are not defined by glibc (needed for glibc built on older
2367*c2e0c6b5SAndroid Build Coastguard Worker	kernels). Ugly.
2368*c2e0c6b5SAndroid Build Coastguard Worker
2369*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c (exec_op): Fixed error messages. Thanks, Steve!
2370*c2e0c6b5SAndroid Build Coastguard Worker
2371*c2e0c6b5SAndroid Build Coastguard WorkerMon Jun  8 10:59:22 1998  Martin Mares  <[email protected]>
2372*c2e0c6b5SAndroid Build Coastguard Worker
2373*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 1.05.
2374*c2e0c6b5SAndroid Build Coastguard Worker
2375*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c: Problems with pread()/pwrite() with glibc on Alpha
2376*c2e0c6b5SAndroid Build Coastguard Worker	should be gone. Again thanks to Steve for bug report.
2377*c2e0c6b5SAndroid Build Coastguard Worker
2378*c2e0c6b5SAndroid Build Coastguard Worker	* filter.c (filter_parse_slot): Fixed ":x" type filters.
2379*c2e0c6b5SAndroid Build Coastguard Worker
2380*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Killed duplicate entry. Thanks to Stephen Williams
2381*c2e0c6b5SAndroid Build Coastguard Worker	<[email protected]> for reporting this.
2382*c2e0c6b5SAndroid Build Coastguard Worker
2383*c2e0c6b5SAndroid Build Coastguard WorkerSun Jun  7 19:27:51 1998  Martin Mares  <[email protected]>
2384*c2e0c6b5SAndroid Build Coastguard Worker
2385*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (main), setpci.c (main): Implemented "--version".
2386*c2e0c6b5SAndroid Build Coastguard Worker
2387*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 1.04.
2388*c2e0c6b5SAndroid Build Coastguard Worker
2389*c2e0c6b5SAndroid Build Coastguard Worker	* pciutils.h (PCIUTILS_VERSION): Added version string.
2390*c2e0c6b5SAndroid Build Coastguard Worker
2391*c2e0c6b5SAndroid Build Coastguard Worker	* filter.c, names.c: Extraneous #include <linux/pci.h> removed.
2392*c2e0c6b5SAndroid Build Coastguard Worker	Thanks to Geert Uytterhoeven <[email protected]>
2393*c2e0c6b5SAndroid Build Coastguard Worker	for bug report.
2394*c2e0c6b5SAndroid Build Coastguard Worker
2395*c2e0c6b5SAndroid Build Coastguard WorkerThu May 28 14:45:58 1998  Martin Mares  <[email protected]>
2396*c2e0c6b5SAndroid Build Coastguard Worker
2397*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: More updates from Jens Maurer.
2398*c2e0c6b5SAndroid Build Coastguard Worker
2399*c2e0c6b5SAndroid Build Coastguard WorkerWed Apr 22 10:00:39 1998  Martin Mares  <[email protected]>
2400*c2e0c6b5SAndroid Build Coastguard Worker
2401*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Updates from Jens Maurer.
2402*c2e0c6b5SAndroid Build Coastguard Worker
2403*c2e0c6b5SAndroid Build Coastguard WorkerSun Apr 19 11:14:25 1998  Martin Mares  <[email protected]>
2404*c2e0c6b5SAndroid Build Coastguard Worker
2405*c2e0c6b5SAndroid Build Coastguard Worker	* Released as 1.03.
2406*c2e0c6b5SAndroid Build Coastguard Worker
2407*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.8: Written.
2408*c2e0c6b5SAndroid Build Coastguard Worker
2409*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c: Finished.
2410*c2e0c6b5SAndroid Build Coastguard Worker
2411*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Now able to fetch expansion ROM base from kernel device list
2412*c2e0c6b5SAndroid Build Coastguard Worker	and print it if not in buscentric mode.
2413*c2e0c6b5SAndroid Build Coastguard Worker
2414*c2e0c6b5SAndroid Build Coastguard WorkerTue Mar 31 23:11:57 1998  Martin Mares  <[email protected]>
2415*c2e0c6b5SAndroid Build Coastguard Worker
2416*c2e0c6b5SAndroid Build Coastguard Worker	* setpci.c: Added.
2417*c2e0c6b5SAndroid Build Coastguard Worker
2418*c2e0c6b5SAndroid Build Coastguard WorkerSun Mar 22 15:39:08 1998  Martin Mares  <[email protected]>
2419*c2e0c6b5SAndroid Build Coastguard Worker
2420*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.8: Updated the documentation.
2421*c2e0c6b5SAndroid Build Coastguard Worker
2422*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Modified to use the new filtering mechanism (options -f and -d).
2423*c2e0c6b5SAndroid Build Coastguard Worker
2424*c2e0c6b5SAndroid Build Coastguard Worker	* filter.c: Introduced new generic device filter.
2425*c2e0c6b5SAndroid Build Coastguard Worker
2426*c2e0c6b5SAndroid Build Coastguard WorkerThu Mar 19 17:03:48 1998  Martin Mares  <[email protected]>
2427*c2e0c6b5SAndroid Build Coastguard Worker
2428*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
2429*c2e0c6b5SAndroid Build Coastguard Worker	of PCI-to-PCI bridges in the tree format.
2430*c2e0c6b5SAndroid Build Coastguard Worker
2431*c2e0c6b5SAndroid Build Coastguard WorkerSun Feb 15 10:12:25 1998  Martin Mares  <[email protected]>
2432*c2e0c6b5SAndroid Build Coastguard Worker
2433*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_machine): Added non-verbose mode of machine-readable
2434*c2e0c6b5SAndroid Build Coastguard Worker	dump.
2435*c2e0c6b5SAndroid Build Coastguard Worker
2436*c2e0c6b5SAndroid Build Coastguard Worker	* pci.ids: Updates from Jens Maurer.
2437*c2e0c6b5SAndroid Build Coastguard Worker
2438*c2e0c6b5SAndroid Build Coastguard Worker	* Released as version 1.02.
2439*c2e0c6b5SAndroid Build Coastguard Worker
2440*c2e0c6b5SAndroid Build Coastguard WorkerThu Feb 12 16:53:28 1998  Martin Mares  <[email protected]>
2441*c2e0c6b5SAndroid Build Coastguard Worker
2442*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c: Added a "-m" switch for dumping machine-readable
2443*c2e0c6b5SAndroid Build Coastguard Worker	configuration data (requested by Bjoern Kriews <[email protected]>).
2444*c2e0c6b5SAndroid Build Coastguard Worker
2445*c2e0c6b5SAndroid Build Coastguard WorkerMon Feb  9 13:17:43 1998  Martin Mares  <[email protected]>
2446*c2e0c6b5SAndroid Build Coastguard Worker
2447*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
2448*c2e0c6b5SAndroid Build Coastguard Worker	if available. This should avoid all problems with official kernel
2449*c2e0c6b5SAndroid Build Coastguard Worker	not synchronized to newer PCI code in CVS -- standard distribution
2450*c2e0c6b5SAndroid Build Coastguard Worker	of pciutils now contains pci.h from current CVS kernel, pciutils
2451*c2e0c6b5SAndroid Build Coastguard Worker	in CVS contain no pci.h and use the correct kernel include.
2452*c2e0c6b5SAndroid Build Coastguard Worker
2453*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Fixed installation path for man pages.
2454*c2e0c6b5SAndroid Build Coastguard Worker
2455*c2e0c6b5SAndroid Build Coastguard WorkerSat Feb  7 15:15:46 1998  Martin Mares  <[email protected]>
2456*c2e0c6b5SAndroid Build Coastguard Worker
2457*c2e0c6b5SAndroid Build Coastguard Worker	* README: Updated.
2458*c2e0c6b5SAndroid Build Coastguard Worker
2459*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.8: Created a man page.
2460*c2e0c6b5SAndroid Build Coastguard Worker
2461*c2e0c6b5SAndroid Build Coastguard Worker	* Releasing as version 1.0.
2462*c2e0c6b5SAndroid Build Coastguard Worker
2463*c2e0c6b5SAndroid Build Coastguard WorkerTue Feb  3 20:56:00 1998  Martin Mares  <[email protected]>
2464*c2e0c6b5SAndroid Build Coastguard Worker
2465*c2e0c6b5SAndroid Build Coastguard Worker	* Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
2466*c2e0c6b5SAndroid Build Coastguard Worker	to all the C sources. This should eliminate problems with 32-bit compilers
2467*c2e0c6b5SAndroid Build Coastguard Worker	on sparc64.
2468*c2e0c6b5SAndroid Build Coastguard Worker
2469*c2e0c6b5SAndroid Build Coastguard Worker	* lspci.c (show_verbose): Recognize CardBus bridge header type.
2470*c2e0c6b5SAndroid Build Coastguard Worker	(show_htype2): Stub routine.
2471*c2e0c6b5SAndroid Build Coastguard Worker	(scan_config): Write sensible error message if the kernel denies reading of
2472*c2e0c6b5SAndroid Build Coastguard Worker	upper part of the PCI config space.
2473