]> git.ipfire.org Git - thirdparty/pciutils.git/blame - ChangeLog
One more fix for the syntax error checks in setpci argument parser.
[thirdparty/pciutils.git] / ChangeLog
CommitLineData
f6523e28
MM
12009-01-30 Martin Mares <mj@ucw.cz>
2
3 * Released as 3.1.1.
4
5 * Updated pci.ids to the current snapshot of the database.
6
7 * The configure script now sets LC_ALL to avoid being fooled by
8 locale-dependent behavior of `tr'.
9
10 * The command-line parser of setpci did sometimes segfault on invalid
11 input. Thanks to Andreas Wiese for a fix.
12
db557900
MM
132009-01-18 Martin Mares <mj@ucw.cz>
14
15 * Released as 3.1.0.
16
af358b08
MM
17 * Updated pci.ids to the current snapshot of the database.
18
db557900
MM
19 * The Cygwin backend now works on Windows Vista. Thanks to Jonathan
20 Kotta.
21
22 * Fixed a bug in decoding of the SR-IOV capability. Patch by Yu Zhao.
23
24 * Details of some PCIe capabilities are displayed only with -vv.
25
26 * When a BAR is reported by the OS, but not by the device (i.e.,
27 it is marked as [virtual] in lspci), the [disabled] flag is
28 suppressed, because it does not make sense in such cases.
29 Patch by Yu Zhao.
30
2b31207a
MM
312008-12-13 Martin Mares <mj@ucw.cz>
32
33 * The source code of lspci has been split to multiple files, hopefully
34 making it easier to maintain.
35
36 * The library and lspci now know about physical slot names. So far,
37 they are provided by the sysfs back-end only. Thanks go to Alex Chiang.
38
39 * When a device has the VPD (Vital Product Data) capability and the
40 VPD data are supplied by the OS, they are decoded and printed in the
41 verbose mode. This currently works only on Linux with the sysfs
42 back-end. Thanks to Ben Hutchings of Solarflare for the patch.
43
44 * `setpci --version' now works properly.
45
4d4325f8 46 * `setpci --dumpregs' prints a table of all known names of
2b31207a
MM
47 registers and capabilities. This replaces the table of registers
48 in the setpci man page.
49
50 * The dry-run mode of setpci gives better feedback.
51
52 * The setpci utility is now able to address registers stored in PCI
53 capabilities (actually it allows a more general form of relative
54 addressing).
55
56 * The library has gained functions for working with PCI capabilities.
57
58 * Address Translation Services capability is now decoded. Patch by
59 Yu Zhao.
60
b282435d
MM
612008-11-09 Martin Mares <mj@ucw.cz>
62
63 * Released as 3.0.3.
64
65 * `lspci -k' now displays the subsystem ID, too. This makes `-k'
66 show everything needed to identify the device and the available
67 drivers, which was called for by many users.
68
69 * Fixed spelling of MSI. Patch by Matthew Wilcox.
70
71 * Better support for cross-compilation. Thanks to Alon Bar-Lev
72 for the patch.
73
74 * Fixed printing of the AER capability. Patch by Max Asbock.
75
76 * HT 1.02 capabilities are decoded as HT 1.03. Suggested by
77 Carl-Daniel Hailfinger.
78
79 * Fixed Cygwin build. Thanks to Steve Elliott for reporting the bug.
80
81 * Updated pci.ids to the current snapshot of the database.
82
daf2ef4e
MM
832008-09-19 Martin Mares <mj@ucw.cz>
84
85 * Released as 3.0.2.
86
87 * Fixed a minor bug in the configure script, which caused warnings
88 about redefinition of symbols during compilation.
89
38254178
MM
902008-09-11 Martin Mares <mj@ucw.cz>
91
92 * Released as 3.0.1.
93
94 * Updated pci.ids to the most recent snapshot.
95
96 * Added a Cygwin port. Patch by Christopher Voltz, ported to the
97 current tree by Martin Mares.
98
99 * Worked around compatibility problems with various default settings
100 of wget (we have to set --no-timestamping explicitly). Thanks to Ville
101 Skytta for pointing that out.
102
103 * Fixed printing of MSI capabilities. Thanks to Matthew Wilcox for
104 a patch.
105
106 * Added decoding of several PCI-X capabilities: device/link/slot 2,
107 Advanced Error Reporting, Access Control Services, Alternative Routing-ID,
108 Single Root I/O Virtualization. Thanks to Yu Zhao for patches.
109
110 * Fixed bug in filters which caused them to refuse vendor/device ID 0xffff.
111
112 * README: The linux-pci mailing list has moved to linux-pci@vger.kernel.org.
113
114 * Fixed several build problems: builds without PCI_USE_DNS on Linux
115 and with PCI_USE_DNS on Solaris and *BSD. Static library mode also
116 compiles again on old versions of GCC.
117
cec9f7e7
MM
1182008-04-10 Martin Mares <mj@ucw.cz>
119
120 * Released as 3.0.0.
121
122 * Updated API and ABI version.
123
cd2f6a34
MM
1242008-02-20 Martin Mares <mj@ucw.cz>
125
126 * Released as 2.99.1-alpha2.
127
128 * Changed the default domain for the DNS resolver.
129
165a50cb
MM
1302008-02-18 Martin Mares <mj@ucw.cz>
131
132 * Released as 2.99.1-alpha1.
623234ec 133
a1fca487
MM
134 * The makefile system has been reworked. All configuration settings
135 are now passed to the configure script in environment variables,
136 allowing for easy tweaking in the top-level Makefile. All control
137 knobs are now described in the README.
138
139 * The libpci can be built as a shared library with properly restricted
140 symbol exports. Use `make SHARED=yes' to enable that or `make SHARED=local'
141 for a local testing build (with hardwired paths to the library, so that
142 it does not need installation).
143
144 * The example program has been moved from lib/example.c to the top-level
145 directory, because it should be built exactly as the other utilities
146 are. It has been also improved slightly to educate better.
147
623234ec
MM
148 * The i386-ports method is enabled on Linux/x86_64 as well.
149
ae27e293
MM
1502008-02-13 Martin Mares <mj@ucw.cz>
151
152 * Released as 2.2.10-net2.
153
154 * Support for resolving of PCI ID's using DNS together with a local
155 cache of resolved entries has been added. See the `-q' and `-Q' options
156 of lspci.
157
158 * The library now has a generic system of settable parameters, which
159 also include settings of the DNS resolver and cache. An `-O' option
160 has been added to lspci and setpci to allow setting of these options.
161
162 * Configuration of the access methods are now specified by the new
163 parameter system, replacing the pci_access->method_params array.
164
165 * Access methods now also have sensible names and help texts and it
166 is possible to look up method ID by a name.
167
168 * An `-A' switch has been added to both lspci and setpci, allowing to
169 select an arbitrary access method. The `-P' switch (configure proc
170 backend) has been removed as it is no longer needed and I do not know
171 any its user.
172
173 * Several source files have been split for better maintainability
174 (most notably the resolving of ID's).
175
176 * Man pages and help texts have been updated. A new man page `pcilib(7)'
177 has been added and description of library options has been moved there.
178
179 * When an unknown device ID is encountered, we print `Device <id>'
180 instead of `Unknown device <id>'. It uses less space and it also
181 should reduce the number of inexperienced users complaining that
182 the device is not supported by the OS. To lookup up OS drivers,
183 use the `-k' option.
184
185 * PCI_LIB_VERSION has been bumped to 0x020299.
186
187 * Makefile: stripping of the binaries during installation can be
188 overridden by the STRIP variable.
189
190 * lib/types.h: We use the integer types from <stdint.h> if the
191 compiler claims C99 support.
192
0fc3bd18
MM
1932008-02-11 Martin Mares <mj@ucw.cz>
194
2466b14b
MM
195 * Released as 2.2.10.
196
6add52f5
MM
197 * lspci.c, setpci.c: Cleaned up the list of options.
198
0fc3bd18
MM
199 * lib/names.c: Fix displaying of errors reported by zlib.
200 Previously, the buffer containing the error message had
201 been deallocated by gzclose() before the message was printed.
202
d26b5378
MM
2032008-01-07 Martin Mares <mj@ucw.cz>
204
205 * update-pciids.sh: Added quiet mode (-q). Clean up uncompressed
206 files left by previous versions of the pciutils. Patch by Mike
207 Frysinger.
208
209 * update-pciids.man: Mention the -q switch.
210
dc01dd60
MM
2112007-11-29 Martin Mares <mj@ucw.cz>
212
213 * lib/dump.c: Squashed compiler warnings about code with
214 no effect (there really were surplus *'s).
215
11339c0d
MM
2162007-11-06 Martin Mares <mj@ucw.cz>
217
13463566
MM
218 * Released as 2.2.9.
219
11339c0d
MM
220 * lspci.c: Added a new switch `-k' which requests printing
221 of information on kernel drivers attached to each device
222 and on kernel modules reporting the ability to handle the
223 device. So far, this is supported only on Linux with the
224 sysfs back-end, so it is implemented internally in the lspci
225 instead of the libpci. Thanks to Anicka <anicka@anicka.net>
226 for help.
227
6cdb9d93
MM
2282007-10-19 Martin Mares <mj@ucw.cz>
229
230 * Makefile, lib/Makefile: Moved -lz from LDFLAGS to LDLIBS.
231 Also added an explicit pattern rule for linking to make sure
232 that LDLIBS is used on all platforms. Thanks to Dan Nicholson
233 for the suggestion.
234
3de798bd
MM
2352007-10-19 Martin Mares <mj@ucw.cz>
236
a404b115
MM
237 * Released as 2.2.8.
238
3de798bd
MM
239 * pci.ids: Revised class codes to match Conventional PCI 3.0 specs.
240 Added a couple of new ones, renumbered `ADMA continuous operation'
241 prog-if to 0x30 (even the old SATA Class Code ECN doesn't mention
242 0x40) and renumbered the satellite communication controllers.
243
2d2c4810 244 * lib/header.h: Include `PCI hot-plug' and `Secure device'
f7c76ec5
MM
245 capabilities from PCI 3.0 specs. Also added `SATA HBA' and
246 `Advanced features' caps from various ECN's.
2d2c4810 247
fa2273ca
MM
248 * lspci.c: All known capabilities have at least their name displayed
249 now. When we are unable to decode them completely, we signalize it
250 with a `<?>' mark.
251
252 * lspci.man: Document `<?>' and also mention that extended config
253 space is currently available only with the linux_sysfs back-end.
254
31c9bb28
MM
255 * lspci.c: Decode the Debug port capability (per EHCI 0.96 spec).
256
a387042e
MM
257 * lspci.c: Big code cleanup: re-arranged functions in the code,
258 renamed everything related to capabilities to cap_* and
259 all options except verbose to opt_*.
260
9c79fcc4
MM
2612007-10-14 Martin Mares <mj@ucw.cz>
262
263 * lib/[fno]bsd-*: Removed extraneous braces.
264
d5b4cd14
MM
2652007-10-12 Martin Mares <mj@ucw.cz>
266
267 * Capability loop detection introduced 2.2.7 did not work
268 properly with extended capabilities. Fixed.
269
594de878
MM
2702007-10-05 Martin Mares <mj@ucw.cz>
271
8a23eadc
MM
272 * Released as 2.2.7.
273
594de878
MM
274 * lspci.c (show_caps, show_ext_caps): Detect and report loops in
275 capability lists.
276
8a23eadc
MM
277 * lspci.c, lib/header.h: Finished decoding of the PCI Express
278 capability. The extended capabilities remain undecoded for now,
279 but at least the list of them has been updated to reflect the
280 current PCI Express 2.0 spec.
281
282 * lspci.c, lib/header.h: Decode new bits of traditional registers
283 as defined by PCIE / PCI-X. This includes discard timers in the bridge
284 control register and INTx enable/status in device control/status
285 registers.
286
287 * lib/fbsd-device.c: Support domains on new FreeBSD's. Contributed
288 by Marius Strobl.
289
99091df9
MM
2902007-09-12 Hasso Tepper <hasso@estpak.ee>
291
292 * Extended the fbsd-device backend to run on Dragonfly BSD.
293
294 * lspci.c: alloca() is declared in <stdlib.h> on BSD's, not <alloca.h>.
295
09156b3b
MM
2962007-09-03 Martin Mares <mj@ucw.cz>
297
298 * Resurrected the Windows port, including cross-compilation by MinGW.
299 Patch by Samuel Bronson <naesten@gmail.com>.
300
325a3c50
MM
3012007-08-31 Martin Mares <mj@ucw.cz>
302
303 * Makefile, lib/Makefile: `ar' and `ranlib' can be overriden to allow
304 cross-compilation.
305
a2322147
MM
3062007-08-27 Martin Mares <mj@ucw.cz>
307
308 * lib/names.c (pci_open): When calling gzopen(), use "rb" file mode
309 instead of "r". This is needed on DOS systems, where this function
310 somewhat illogically uses the binary flag for the compressed file
311 instead of the decompressed stream inside, where binariness really
312 matters.
313
4f2c5b94
MM
3142007-08-14 Martin Mares <mj@ucw.cz>
315
316 * lspci.c (show_ht): Added decoding of Hypertransport MSI mapping capability,
317 based on a patch by Jason Gunthorpe.
318
319 * tests/cap-MSI-mapping: Added a test case. I plan to add test cases
320 (which are dumps of config space) for all new features.
321
0d7f5331
MM
3222007-06-20 Martin Mares <mj@ucw.cz>
323
7cebe481
MM
324 * Released as 2.2.6.
325
0d7f5331
MM
326 * Makefile: Added an "install-lib" target. Thanks to Dan Nicholson
327 for a patch.
328
7cebe481
MM
329 * Makefile, lib/Makefile: Generate and install pkg-config file
330 for libpci. Again by Dan Nicholson.
331
0d7f5331
MM
3322007-06-20 Thomas Schwinge <tschwinge@gnu.org>
333
334 * lib/i386-io-hurd.h: Rewritten for new Hurd kernels.
335
6e4a45ed
MM
3362007-05-04 Martin Mares <mj@ucw.cz>
337
55c89179
MM
338 * Released as 2.2.5.
339
6e4a45ed
MM
340 * pci.ids: Updated to the current snapshot of the database.
341
d0b07542
MM
3422007-02-14 Martin Mares <mj@ucw.cz>
343
344 * lspci.c (show_express): Added PCI/PCI-X to PCI-Express Bridge type.
345 Patch by Mark Glines.
346
3df35926
MM
3472007-02-09 Martin Mares <mj@ucw.cz>
348
349 * pci.ids: Updated to the current snapshot of the database.
350
e49ed044
MM
3512007-02-06 Martin Mares <mj@ucw.cz>
352
1ac3a99d
MM
353 * Replaced bzero() by memset() everywhere, it's better to lose a tiny
354 bit of readability than maintain hacks to make it work on various systems.
355
b0eb18cc
MM
356 * lib/configure: tr on Solaris is a bit weird and it requires `[A-Z]'
357 instead of `A-Z'. Fortunately, the extra brackets don't hurt otherwise.
358
e49ed044
MM
359 * lib/types.h, lib/configure: Solaris should use <stdint.h> to get precise
360 integer types.
361
9de2768c
MM
3622007-02-04 Martin Mares <mj@ucw.cz>
363
364 * lspci.c: alloca() needs <alloca.h>.
365
d19394db
MM
3662006-09-17 Martin Mares <mj@ucw.cz>
367
368 * lib/dump.c: Fixed a couple of bugs in the dump backend which caused
369 devices with domains or with extended config space to be read incorrectly.
370 Also, dumps with partial lines are allowed now.
371
934e7e36
MM
3722006-09-10 Martin Mares <mj@ucw.cz>
373
f09856de
MM
374 * pci.ids: Updated to the current database snapshot.
375
934e7e36
MM
376 * lspci.c (scan_device): If an error occurs when reading the standard config
377 header of a device, report it and ignore the device and return with exit
378 code 2 at the end.
379
b2055313 3802006-09-09 Martin Mares <mj@ucw.cz>
afebde01 381
fb260653
MM
382 * Released as 2.2.4.
383
1865e2dd
MM
384 * maint/release: Remind the maintainer about the current PCI_LIB_VERSION.
385
028dffb2
MM
386 * lib/pci.h: Updated PCI_LIB_VERSION.
387
13081e57
MM
388 * lspci.c (show_machine): In the `-m' mode, do proper shell escaping
389 if the fields printed contain quotes or backslashes.
390
3fd6b4d2
MM
391 * lspci.c (show_machine): Added a `-vmm' mode, which removes the misuse
392 of the `Device' tag for two different purposes.
393
840d09ae
MM
394 * Makefile: Moved all system-dependent decisions to lib/configure,
395 since config.mk is included in the top-level Makefile anyway.
396
2100f710
MM
397 * lib/configure: When configuring for Linux, ignore the kernel version
398 and always build all access methods.
399
3e9c7a18
MM
400 * Makefile (CFLAGS): Removed -Winline, it's not needed and triggers
401 at many non-interesting places with gcc 3.4.
402
94db5c82
MM
403 * Whitespace cleanup of all source files.
404
cc062b4a
MM
405 * The pci.ids file can be stored compressed if zlib is available.
406 Added transparent decompression to lib/names.c, modified update-pciids.sh
407 to keep the file compressed if applicable, updated Makefiles.
408 Based on a patch by Matthew Wilcox, but all the bugs are mine.
409
f4ddb8d3
MM
410 * Makefile, README: Allow installation to be done to a different directory
411 from the one we will eventually be placed in by setting DESTDIR.
412 Patch by Matthew Wilcox.
413
16e37012
MM
414 * Added .gitignore files.
415
c7f5314d
MM
416 * Makefile (clean): Clean *.orig, too.
417
afebde01 418 * Cleaned up usage of `char' and `byte'.
b2055313 419
fd54cceb
MM
420 * lib/header.h: PCI_CLASS_DOCKING_OTHER should be 0x0a80, not 0x0a01.
421
b2055313
MM
422 * lib/header.h: Added PCI_CLASS_xxx constants for all classes currently
423 defined in the pci.ids file.
424
4254d153
MM
4252006-08-01 Martin Mares <mj@ucw.cz>
426
427 * lib/i386-io-hurd.h: Fixed a silly typo.
428
1c5cc9b5
MM
4292006-07-30 Martin Mares <mj@ucw.cz>
430
38a9e3c3
MM
431 * lib/Makefile: Added a missing rule for obsd-device.o.
432
c7ddfa3e
MM
433 * lspci.c, lib/header.h: Added support for MSI per-vector masking.
434 Contributed by Petr Vandrovec.
435
248a04f8
MM
436 * lspci.c, lib/header.h: Added support for the `bridge subsystem ID'
437 capability. Contributed by Petr Vandrovec.
438
f29dcc87
MM
439 * lspci.c (show_htype1): Fixed bug in printing of 64-bit prefetchable
440 memory windows. Fix by Petr Vandrovec.
441
8eab3bff
MM
442 * maint/release.pm: Exclude .git directory from releases.
443
d305d704
MM
444 * lib/i386-ports.c, lib/i386-io-*: Report failures during port access
445 initialization by a->warn() instead of calling printf() or perror()
446 directly.
447
9007a292
MM
448 * lib/i386-ports.c, lib/i386-io-*: Moved the logic which keeps track of
449 the port access state to generic code.
450
bd20d5b5
MM
451 * lib/i386-io-hurd.h: Ask the kernel for I/O port access appropriately.
452 Contributed by Thomas Schwinge and Samuel Thibault.
453
73750606
MM
454 * lib/i386-ports.c: Define _GNU_SOURCE, it's needed by the Hurd module.
455
d71daa45
MM
456 * lib/header.h: Whitespace cleanups.
457
1c5cc9b5
MM
458 * lib/i386-io-windows.h: Fixed indentation and spelling.
459
460 * README.Windows: Mention that WinIO.dll is needed and where to get it.
461
c2b144ef
MM
4622006-06-27 Martin Mares <mj@ucw.cz>
463
14d4f989
MM
464 * lib/Makefile, Makefile: Added rules for building and cleaning the example.
465
466 * lib/example.c: Show how to use PCI_FILL_CLASS and used another register
467 for demonstrating the config space accesses. The example is still very
468 incomplete, though.
469
c2b144ef
MM
470 * lib/pci.h, lib/generic.c: Added PCI_FILL_CLASS.
471
472 * lib/sysfs.c: Fetch device ID and class from sysfs, because they can
473 be modified by kernel fixups.
474
475 * lspci.c: Use PCI_FILL_CLASS. Thanks to Matthew Willcox for the patch.
476
bc2eed2d
MM
4772006-06-03 Martin Mares <mj@ucw.cz>
478
479 * lspci.c: Introduced the -nn switch. Thanks to David N. Welton
480 for the idea.
481
482 * lib/names.c (pci_lookup_name): Introduced PCI_LOOKUP_MIXED and
483 cleaned up the name selection code.
484
c72eedde
MM
485 * lib/names.c (pci_lookup_name): If PCI_LOOKUP_NO_NUMBERS is given,
486 pci_access->numeric_ids is ignored.
487
488 * lib/names.c (pci_lookup_name): When class is identified and
489 subclass isn't, display class name and subclass number.
490
2f294d4b
MM
4912006-05-31 Martin Mares <mj@ucw.cz>
492
493 * setpci.c (main): Don't crash when an invalid width is specified.
494
81afa98c
MM
495 * lspci.c, setpci.c, common.c: die() now uses the right program
496 name when printing an error message.
497
0ac282f2
MM
4982006-05-19 Martin Mares <mj@ucw.cz>
499
500 * README: Mention the public GIT tree.
501
502 * README: Updated the list of ports.
503
d1058e9d
MM
5042006-05-10 Martin Mares <mj@ucw.cz>
505
506 * lib/configure, lib/fbsd-device.c: Added support for GNU/kFreeBSD.
507 Thanks to Petr Salinger for the patch.
508
2ae2d1ae
MM
5092006-05-05 Martin Mares <mj@ucw.cz>
510
511 * Released as 2.2.3.
512
513 * lspci.c (scan_device): The -D switch didn't work as intended
514 in -m mode.
515
abf8d505
MM
5162006-05-05 Martin Mares <mj@ucw.cz>
517
1d5cf727
MM
518 * Released as 2.2.2.
519
8a830168
MM
520 * pci.ids: Updated to the current database snapshot.
521
b6359063
MM
522 * lib/obsd-device.c (and other files in lib/*): Added OpenBSD
523 interface by Matthieu Herrb <matthieu.herrb@laas.fr>, based on
524 the existing FreeBSD interface.
525
abf8d505
MM
526 * Moved pciutils to a GIT repository, which now contains merged
527 history from both CVS and Arch. Good bye, TLA!
528
6ac70402
MM
5292006-03-21 Martin Mares <mj@ucw.cz>
530
2a124dae
MM
531 * lspci.c (show_slot_name): Avoid the previous changes in default
532 display of domain name when in machine-readable mode. However, `-D'
533 forces domain display even there.
534
6ac70402
MM
535 * lspci.man: Added a warning on -m being the only format, which is
536 guaranteed to be stable between lspci versions.
537
1bbdea17
MM
5382006-03-13 Martin Mares <mj@ucw.cz>
539
af61eb25
MM
540 * lspci.man: Documented the -D switch.
541
542 * lspci.c (show_slot_name, scan_device): If there are multiple PCI
543 domains or if the `-D' switch is used, show the domain number for
544 all devices.
545
7a61b93c
MM
546 * lspci.c (show_verbose): Report cache line size in bytes.
547
1bbdea17
MM
548 * update-pciids.sh: Use curl if available. Patch by Matthew Wilcox.
549
0e78ef8a
MM
5502006-01-04 Martin Mares <mj@ucw.cz>
551
552 * lspci.c (show_express_link): Fixed decoding of link status register.
553 Thanks to Roland Dreier for his report.
554
e6859953
MM
5552005-12-12 Martin Mares <mj@ucw.cz>
556
557 * lib/nbsd-libpci.c: If libpci is used by an ordinary user, allow
558 at least read-only access. Patch by Pavel Celeda <celeda@liberouter.org>.
559
560 * Makefile: Corrected library path on NetBSD.
561
a99c0d69
MM
5622005-11-26 Martin Mares <mj@ucw.cz>
563
e4af70c6
MM
564 * Released as 2.2.1.
565
a99c0d69
MM
566 * lspci.c (show_machine): Subsystem vendors were printed incorrectly
567 in machine-readable modes. Thanks to Pavel Celeda for a bug report.
568
f23fd3fc
MM
5692005-10-11 Martin Mares <mj@ucw.cz>
570
571 * lspci.c (new_bus): Fixed a memory leak. Thanks to Paul Sangree for reporting it.
572
15296723
MM
5732005-09-21 Martin Mares <mj@ucw.cz>
574
575 * Released as 2.2.0.
576
40b6d93f
MM
577 * pci.ids: Updated copyright header.
578
15296723
MM
579 * lib/sysfs.c (sysfs_get_resources): Removed warning about unsupported
580 64-bit addresses, they are now always supported.
581
582 * lspci.c (show_bases): Corrected printing of 64-bit addresses
583 in bus-centric mode.
584
585 * lib/configure: Enable 64-bit addresses on all Linux systems.
586
587 * lib/types.h: Don't pad 64-bit addresses to 16 xigits, only to 8 if they
588 are shorter.
589
224707ba
MM
5902005-09-11 Martin Mares <mj@ucw.cz>
591
592 * Released as 2.1.99-test11.
593
594 * lspci.c: Removed unnecessary trailing zeros in pci_lookup_name() calls.
595
aeaca5d3
MM
5962005-09-10 Martin Mares <mj@ucw.cz>
597
224707ba
MM
598 * Released as 2.1.99-test10.
599
63e6f2e0
MM
600 * pci.ids: Synchronized with the current database snapshot.
601
043ebdee
MM
602 * update-pciids.sh: Changed the default URL for downloading pci.ids
603 to http://pciids.sourceforge.net/v2.2/pci.ids.
604
605 * lib/pci.h (PCI_LIB_VERSION): Added version identifier.
606
aeaca5d3
MM
607 * lib/names.c: Rewritten the name database module almost from scratch.
608 Everything is much cleaner and there are hopefully no more memory leaks;
609 pci_lookup_name() now uses varargs in a backward compatible fashion.
610 Introduced PCI_LOOKUP_NO_NUMBERS.
611
612 The new code supports subsystem entries not tied to a specific device.
613 I had to extend the format of pci.ids in order to support it, so I have
614 extended the idea of the "C" (class) blocks and introduced "S" blocks
615 for subsystems. To avoid doing more incompatible changes in the future,
616 the parser skips unknown single-letter blocks without reporting errors.
617
121c76c9
MM
6182005-08-23 Martin Mares <mj@ucw.cz>
619
54e13765
MM
620 * Released as 2.1.99-test9.
621
622 * Makefile (OPT): Removed -fomit-frame-pointer, it's default in recent
623 gcc versions when optimizing anyway.
624
625 * Made the path to pci.ids customizable and independent on the SHAREDIR.
626 Just override IDSDIR in the top-level Makefile.
627
628 * pci.ids: Synchronized with the current database snapshot.
629
84d437d6
MM
630 * lspci.man, setpci.man: Improved the man pages. Documented all access
631 methods and which operations are privileged.
632
633 * lspci.c: Another rewrite of config register caching, now also including
634 lots of internal checks. It should be now perfectly able to cope with
635 portions of the configuration space being inaccessible, for example
636 due to insufficient access rights.
637
3b8bf739
MM
638 * lspci.c (show_pcix_nobridge, show_pcix_bridge): Cleaned up dumping of PCI-X
639 capabilities. Includes partial support for PCI-X 2.0 (probably incomplete
640 as I haven't seen the spec).
641
642 * lspci.c: Quell warnings about unused parameters.
643
84d437d6
MM
644 * lspci.c: Removed C++ comments.
645
3b8bf739
MM
646 * lib/header.h: Merged definitions of extended capabilities and some new
647 PCI-X capability bits from linux-2.6.11/include/pci.h.
648
649 * lspci.c (show_caps): Try to scan extended capabilities only if the
650 device has either PCI-X or PCI Express capability in its normal capability
651 list.
652
f7821e53
MM
653 * lib/dump.c (dump_init): Reading of dumps works again. The dump reader
654 now also remembers how much data it has read and refuses attempts to
655 access more than that.
ea4e5f5d 656
46ea554d
MM
657 * setpci.man, lspci.c, README: prefer spelling "buses" over "busses".
658
8afaab22
MM
659 * lspci.c: If alloca() is not available, use xmalloc(), not malloc().
660
121c76c9
MM
661 * lib/configure: Added x86_64 on Linux.
662
c1c2c30e
MM
6632005-08-22 Martin Mares <mj@ucw.cz>
664
b9ca9147
MM
665 * lib/filter.c (pci_filter_parse_slot): Fixed parsing of domain filters.
666 Thanks to Matthew Wilcox for bug report.
667
c1c2c30e 668 * lspci.c: Corrected spelling of "Hz" (it was "hz" at several places).
b9ca9147 669 Thanks to Krzysztof Oledzki for pointing that out.
c1c2c30e 670
26542a0b
MM
6712004-08-19 Martin Mares <mj@ucw.cz>
672
673 * pciutils.spec (%attr): Setting attributes for /sbin/* is an anachronism,
674 because pciutils by default install to /usr/sbin. Update.
675
6aa54f1b
MM
6762004-08-13 Martin Mares <mj@ucw.cz>
677
aabb0a92
MM
678 * Released as 2.1.99-test8.
679
f31412d1
MM
680 * lib/types.h, lib/pci.h, lib/sysdep.h: `byte' and `word' are
681 no longer exported to the outside world.
682
ee7d8384
MM
683 * README.Windows: Updated.
684
685 * maint/release: Substitute version number in win32/config.h.
686
687 * win32/config.h: Added.
688
689 * lib/sysdep.h (bzero, strcasecmp): are macros on Windows.
690
691 * compat/getopt.[ch]: Added copies of getopt.[ch] from the GNU
692 C library for use on systems where the default libraries lack
693 proper getopt. Currently used by the Windows port.
694
695 * lib/sysdep.h, lib/types.h: Updates of the Windows port from
696 Alexander Stock.
697
489233b4
MM
698 * lib/types.h: If PCI_HAVE_Uxx_TYPES is defined, libpci doesn't define
699 its own u8, u16, u32, byte and word types and uses what the user
700 has supplied instead. With this change, all namespace clashes should
701 be gone.
702
703 * Makefile, lib/Makefile: Updated dependencies.
704
705 * pciutils.h: Include lib/sysdep.h and move NONRET et al. there.
706
707 * lib/sysdep.h: No need to include <sys/types.h> on FreeBSD, because
708 it is included unconditionally in lib/types.h.
709
710 * Moved system-dependent stuff from lib/internal.h to lib/sysdep.h,
711 which is also used by the utilities. Also moved type declarations
712 from lib/pci.h to lib/types.h.
713
714 * All files: Prepend a "PCI_" prefix in front of all configuration
715 defines to avoid namespace clashes. CAVEAT: If there is any libpci
716 application using the (undocumented) defines, it has to be updated.
717
718 * lib/Makefile: Killed HAVE_OWN_HEADER_H, since we stopped sharing
719 headers with the kernel a couple of years ago.
720
9bb4b4ea
MM
721 * lib/sysfs.c (sysfs_get_resources): We have 7 resources, not 6.
722
6aa54f1b
MM
723 * lspci.c (show_rom): Use the same logic for printing disabled
724 or unassigned ROM's as we do in show_bases() for the other BAR's.
725
726 * lib/generic.c (pci_generic_fill_info): Better reaction to
727 invalid 64-bit addresses. Also d->hdrtype should not include
728 bit 7, which caused mysterious errors on multi-function devices.
729
730 * lib/generic.c (pci_generic_fill_info): Fill in base addresses
731 even if the regions are known to be disabled. It is the client's
732 job to interpret them. (And it is not a trivial job if you want
733 to do it correctly, since you need to check I/O and memory enables
734 on all upstream bridges, too.) However, it could be interesting to
735 introduce functions for interpreting the addresses and even for
736 mapping the regions and doing I/O on them.
737
80e6c636
MM
7382004-07-30 Martin Mares <mj@ucw.cz>
739
740 * lspci.c: HyperTransport improvements from Maciej.
741
d6324891
MM
7422004-07-11 Martin Mares <mj@ucw.cz>
743
744 * lib/sysfs.c (sysfs_get_resources): Arguments now correspond
745 to the format string. [Patch by Bill Nottingham]
746
ec25b52d
MM
7472004-07-05 Martin Mares <mj@ucw.cz>
748
362be683
MM
749 * Released as 2.1.99-test7.
750
ec25b52d
MM
751 * lspci.c (config_fetch): Wanted to merge Matthew's bug fix, but
752 ended up with rewriting the fetching mechanism to be fully dynamic,
753 but avoid reading config space registers not explicitly requested.
754
7552004-06-29 Matthew Wilcox <willy@debian.org>
756
757 * lspci.c: More work on PCI Express dumping.
758
759 * lib/header.h: Updated PCI Express capability definitions.
760
761 * lib/proc.c (proc_read): Removed bogus warning.
762
763 * common.c (xrealloc): Introduced.
764
765 * lspci.man: Added -xxxx.
766
09817437
MM
7672004-06-27 Martin Mares <mj@ucw.cz>
768
d1fa27eb
MM
769 * Released as 2.1.99-test6.
770
4d67aa89
MM
771 * lspci.c (show_msix), lib/header.h: Added dumping of MSI-X cap.
772 Patch by Roland Dreier <roland@topspin.com>, cleaned up by me.
773
774 * lspci.c (show_pcix_nobridge, show_pcix_bridge): Handle config_fetch()
775 failures.
776
777 * lib/header.h: Added PCI Express extended capabilities. Again by Matthew.
778
779 * lspci.c (show_express): Added dumping of PCI Express cap.
780 Patch by Matthew Wilcox.
781
782 * lib/header.h: Added a list of PCI 3.0 capabilities and also details
783 on PCI Express caps. Patch by Matthew Wilcox <willy@debian.org>.
784
09817437
MM
785 * lspci.c (check_root): Gone. No explicit checks for root are needed,
786 report correct errors reported by the libpci instead.
787
788 * lspci.c: Added dumping of the extended config space on "-xxxx".
789 Better caching of config registers.
790
791 * setpci.c (main): Allow access to whole 4096 bytes of the config space.
792
793 * lib/sysfs.c, lib/proc.c: Don't print error messages on short reads,
794 just return the appropriate error code.
795
796 * lib: Added support for extended (4096-byte) configuration space,
797 currently implemented only in Linux proc and sysfs access methods
798 and of course in the dump reader.
799
0d656226
MM
8002004-05-29 Martin Mares <mj@ucw.cz>
801
c0eece92
MM
802 * Released as 2.1.99-test5.
803
a2413560
MM
804 * lib/pci.h: Windows don't have the standard u_int* types.
805
806 * lib/internal.h: <sys/param.h> required on Windows for endianity
807 macros.
808
809 * lib/i386-ports.c: Connected i386-io-windows.h.
810
811 * lspci.c (check_root): geteuid() is not available on Windows.
812
813 * lib/i386-io-windows.h: Added Windows port contributed by Alexander
814 Stock <stock.alexander@gmx.de>.
815
816 * lib/configure: Hopefully fixed SunOS port broken by various
817 changes to the configure script.
818
0d656226
MM
819 * Makefile, lib/configure: Cross-compilation support, patch by Maciej.
820
138c0385
MM
8212004-05-28 Martin Mares <mj@ucw.cz>
822
9f490382
MM
823 * Released as 2.1.99-test4.
824
cce2caac
MM
825 * lspci.c (show_verbose): Header type 1 is probably legal for all
826 types of bridges, not only for PCI-to-PCI bridges.
827
b569ef09
MM
828 * lspci.c (format_agp_rate): Write "x16", not "x@".
829 (show_agp): rate[] could overflow.
830 Bugs reported by Jakub Bogusz <qboosh@pld-linux.org>.
831
bfc4fe7a
MM
832 * lspci.c (show_ht_*): Show HyperTransport capability with all its
833 details. Once again code by Maciej simplified (i.e., possibly broken)
834 by me.
835
836 * lib/header.h: Added declarations of HyperTransport capability.
837 Again thanks to Maciej.
838
138c0385
MM
839 * lspci.c: Decode all bits of the secondary status word in type 1 headers.
840 Thanks to Maciej W. Rozycki <macro@ds2.pg.gda.pl> for the patch.
841
4284af58
MM
8422003-12-27 Martin Mares <mj@ucw.cz>
843
81abd2a7
MM
844 * Released as 2.1.99-test3.
845
1f7c91cc
MM
846 * lspci.man, setpci.man: Document domains and correct spelling.
847
848 * lib/dump.c (dump_init): Added ability to read domain numbers.
849
84c8d1bb 850 * lspci.c: Devices in domains different from 0 have their slot number
1f7c91cc
MM
851 printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains
852 as well.
84c8d1bb
MM
853
854 * lib/filter.c: Slot filters understand domains.
855
856 * lib/generic.c: Mention the domain in slot numbers in all error messages.
857
858 * lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong.
859
860 * lib/access.c (pci_get_dev): Added support for domains.
861
862 * lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config
863 registers (or to be precise, leave it for the generic parts of the pcilib
864 to do so) instead of reading them from the sysfs. It's faster this way.
865
866 * lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal
867 variable. Better read it from the config registers (it's cached anyway).
868
869 * lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype.
870 lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it.
871 Saves lots of unnecessary file accesses.
872
11f7b31b
MM
873 * lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter
874 is not supported by all C libraries.
875
876 * Makefile: Always enter the lib directory (remember that we don't have
877 full dependecies for the library in the top-level Makefile; hmmm, another
878 thing to rewrite some day).
879
880 * lib/sysfs.c: Added Linux sysfs access method based on the patch
881 written by Matthew Wilcox <willy@fc.hp.com>.
882
883 * lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc".
884
885 * lib/pread.h: The hacks to support pread on various versions
886 of Linux libc moved there.
887
888 * lib/proc.c (proc_setup): The return value of snprintf() varies
889 between glibc versions, so we need to check both for a negative
890 values and for too large values.
891
4284af58
MM
892 * Removed last few references to the "Linux PCI Utilities", the
893 package is pretty cross-platform now :)
894
ab12277e
MM
8952003-12-27 Martin Mares <mj@ucw.cz>
896
897 * Released as 2.1.99-test2.
898
899 * README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the
900 release scripts insert the current version. "make release" is gone.
901
902 * maint/release, maint/release.pm: Added a new system of scripts for
903 making releases including inter-version diffs etc.
904
905 * Makefile: Cleaned up.
906
907 * lib/fbsd-device.c: I patched another copy of this file by mistake,
908 this time the version checks should be right.
909
6aea909a
MM
9102003-12-27 Martin Mares <mj@ucw.cz>
911
6d722cd6
MM
912 * Released as 2.1.99-test1.
913
dd33246a
MM
914 * pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
915 Remove shadows of the syscall access method which was never
916 implemented.
917
80b3121a
MM
918 * update-pciids.sh: Try to preserve permissions of the old file
919 if chmod supports --reference. Should close Debian Bug #223740.
920
6aea909a
MM
921 * lib/proc.c (proc_setup): Increased path name length limit to 1024.
922 Thanks for Redhat and Mandrake for inspiration.
923
924 * lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
925 Grabbed from Redhat (Fedora) patches.
926
2240db8c
MM
9272003-12-27 Martin Mares <mj@ucw.cz>
928
f701ff47
MM
929 Merged bug fixes from Debian patches:
930
931 * lspci.c (show_verbose): "Cache Line Size" should be capitalized.
932
933 * lspci.c (show_pcix_nobridge): Added a missing newline.
934
2240db8c
MM
935 * lib/proc.c (proc_scan): When reading the header type, don't
936 forget to clear the topmost bit indicating that the device has
f701ff47 937 multiple functions.
2240db8c 938
45902995
MM
9392003-12-27 Martin Mares <mj@ucw.cz>
940
941 Updated the FreeBSD port. Thanks to Samy Al Bahra <samy@kerneled.com>
942 for the patches:
943
944 * lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
945 * lib/fbsd-device.c: Select the right set of system includes according
946 to __FreeBSD_version.
947
8fc75dbc
MM
9482003-12-27 Martin Mares <mj@ucw.cz>
949
950 Merged support for Solaris on i386 by Bill Moore <billm@eng.sun.com>
951 and cleaned up:
952
953 * lib/configure: Recognize SunOS.
954 * lib/internal.h: Learn how to recognize byte order on SunOS.
955 * lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
956 * lib/i386-io-linux.h: Linux specific part.
957 * lib/i386-io-hurd.h: GNU/Hurd specific part.
958 * lib/i386-io-sunos.h: SunOS specific part.
959
9739916e
MM
9602003-12-26 Martin Mares <mj@ucw.cz>
961
962 * lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly.
963
964 * lib/pci.h: Types declared in <sys/types.h> should be usable on all
965 platforms we currently support, so kill the forest of #ifdef's and
966 use them in all cases.
967
968 * lib/pci.h: Use ULONG_MASK to decide whether we should use long
969 or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS.
970 Define format strings for addresses, port numbers and IRQ numbers
971 directly in pci.h.
972
973 * lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses.
974
80459c65
MM
9752003-12-26 Marco Gerards <metgerards@student.han.nl>
976
977 Added support for the GNU Hurd (cleaned up by Martin Mares):
978
979 * lib/configure [GNU]: Use the i386 ports for configuration access.
980 * lib/i386-ports.c: Don't call iopl() on the Hurd.
981 * lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining
982 u8 to u32.
983
a85769a8
MM
9842003-12-26 Martin Mares <mj@ucw.cz>
985
7dacd9c8
MM
986 * lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call
987 config_fetch() to ensure that the registers have been read. Thanks to
988 Bill Wood <bill.wood@hp.com> for the patch.
989
990 * lspci.c: Ensure that failure of config_fetch() is handled correctly
991 at all places.
992
4063c31c
MM
993 * lspci.man: There was one more explicit reference to /usr/share/pci.ids.
994 Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
995
3fe8a38d
MM
996 * setpci.c (main): Better error messages.
997
5f5b1a7b
MM
998 * setpci.c (ex_op): The demo mode should disable only writing, not reading.
999
1000 * setpci.man: The documentation was inconsistent on what should -D do.
1001 Document the new behaviour.
b251f40b 1002
91e37a49
MM
1003 * pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
1004 the GCC specific __attribute__((noreturn)) and killed the hack with
1005 redefining __attribute__ on non-GCC compilers.
1006
4afd29d3
MM
1007 * Makefile: Added missing dependencies. Parallel builds work now.
1008 Problem reported by Andreas Haumer <andreas@xss.co.at>, but I chose
1009 a different fix.
1010
b0f1a03b
MM
1011 * Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell
1012 command every time $(MANDIR) is referenced.
1013
b7fd8e19
MM
1014 * lspci.c (main): The error message for `lspci -s' incorrectly mentioned
1015 a `-f' switch. Reported by Steve Finney <Steve.Finney@SpirentCom.COM>.
1016
05bb10a2
MM
1017 * lib/generic.c: Removed memory leak in pci_generic_bus_scan().
1018 Reported by Gary Parnes <gary_parnes@terago.com>.
1019
a832f6f1
MM
1020 * Replaced obsolete syntax of __attribute__((unused)) in the middle of
1021 parameter declarations (which is no longer supported by GCC 3.1) by the
1022 current syntax (attribute at the end). Thanks to pixel@mandrakesoft.com
1023 for reporting this problem.
1024
a85769a8
MM
1025 * Removed CVS $Id$ tags from all files.
1026
1027 * Makefile: Added some more warnings.
1028
b7351143
MM
1029 * setpci.c: Cleaned up mask/value code.
1030
10312003-12-08 Thayne Harbaugh <tharbaugh@lnxi.com>
1032
1033 * setpci.c: Individual bits to be set can be specified as <value>:<mask>.
1034
2a5d5cf9
MM
10352003-11-29 Martin Mares <mj@ucw.cz>
1036
1037 * Imported the pciutils sources to my Arch repository. Good-bye, CVS.
1038
d772ef15
MM
10392003-01-04 Martin Mares <mj@ucw.cz>
1040
1b95f396
MM
1041 * Released as 2.1.11.
1042
c83293eb
MM
1043 * Makefile: Changed configuration of installation directories --
1044 all paths are now set at the top of the Makefile instead of being
1045 scattered between the installation rules. The default installation
1046 now goes always to /usr/local regardless of the OS as most distributions
1047 already contain some version of pciutils and we don't want custom
1048 installations to interfere with the default ones.
1049
1050 * Makefile: Removed a couple of ancient install hacks: we no longer
1051 try to avoid overwriting a newer pci.ids file (users are now expected
1052 to use update-ids) and we don't try to remove /etc/pci.ids (a long time
1053 has passed since the last version which used it).
1054
e2875dcd
MM
1055 * Makefile: Paths to pci.ids in man pages automatically get the right path.
1056
1b95f396 1057 * Added the update-ids utility.
0138a2a7 1058
d772ef15
MM
1059 * lib: Removed partially implemented "syscall" access method which will
1060 probably never be needed.
1061
eb620239
MM
10622002-12-27 Martin Mares <mj@ucw.cz>
1063
130090bd
MM
1064 * lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe.
1065
eb620239
MM
1066 * lib/generic.c (pci_generic_scan_bus): Added work-around for devices with
1067 discontiguous numbering of functions. This is already present in the Linux
1068 kernel for several years, but I forgot to update pciutils as well.
1069
848b4347
MM
10702002-12-26 Martin Mares <mj@ucw.cz>
1071
579b19ff
MM
1072 * lib/header.h, lspci.c: Dump AGP3 flags and speeds.
1073
1074 * lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header,
1075 there is no reason to prefer the kernel version.
1076
1077 * lib/proc.c (proc_scan): Don't forget to initialize hdrtype.
1078
848b4347
MM
1079 * Added preliminary version of NetBSD support by Quentin Garnier
1080 <netbsd@quatriemek.com>.
1081
f0952474
MM
10822002-04-06 Martin Mares <mj@ucw.cz>
1083
1084 * lspci.c: Mention "-xxx" in the help.
1085
d2f666f1
MM
10862002-03-30 Martin Mares <mj@ucw.cz>
1087
9bd44bb0
MM
1088 * Released as 2.1.10.
1089
a33d0eb7
MM
1090 * Removed pci.ids from the CVS as they are now maintained separately.
1091 They are still included in the tarball, but if you are building pciutils
1092 from CVS sources or you want to get a newer ID file than the one distributed,
1093 just use "make update-ids" to download the most recent snapshot from
1094 pciids.sf.net.
1095
1096 * Makefile, README: Updated accordingly.
1097
1098 * Makefile: Added a couple of maintenance targets.
1099
1100 * maint/*: Maintainer's utilities now reside here (present only in CVS,
1101 not in the tarball).
1102
d2f666f1
MM
1103 * lib/names.c (parse_name_list): End-of-line comments are no longer
1104 supported. Hashes are now perfectly valid in all names and they start
1105 a comment only at the start of the line.
1106
ee551b73
MM
11072002-03-26 Martin Mares <mj@ucw.cz>
1108
07159913
MM
1109 * README: Rewritten.
1110
ee551b73
MM
1111 * Makefile: When the currently installed pci.ids file is newer than
1112 the version to be installed, don't overwrite it. Suggested by
1113 Jean Delvare <khali@linux-fr.org>.
1114
bc7b1d62
MM
11152002-03-24 Martin Mares <mj@ucw.cz>
1116
5f5e6f64
MM
1117 * lspci.c (show_pcix_bridge): Added PCI-X capability display.
1118 Contributed by Jeff Garzik <jgarzik@mandrakesoft.com>.
1119
1120 * lib/header.h: Added PCI-X stuff. Again by Jeff.
1121
1122 * Makefile (CFLAGS): -Werror is gone.
1123
a1052f16
MM
1124 * lspci.c (format_agp_rate): Fixed AGP rate reporting.
1125
bc7b1d62
MM
1126 * lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and
1127 function 7.
1128
1129 * lib/names.c (pci_lookup_name): When printing unknown subsystem vendor
1130 or device hexadecimally, don't confuse it with chip vendor/device ID.
1131 First reported by Marc Boucher <marc@mbsi.ca>.
1132
f793990c
MM
11332001-11-04 Martin Mares <mj@ucw.cz>
1134
ee551b73
MM
1135 * Released as 2.1.9.
1136
f793990c
MM
1137 * pci.ids: Synced with the PCI ID Repository at SourceForge
1138 (http://pciids.sourceforge.net/).
1139
1d174e56
MM
11402000-08-25 Martin Mares <mj@albireo.ucw.cz>
1141
1142 * pci.ids: Updated ID's, synced with kernel 2.4.0-test7.
1143
65b4327e
MM
11442000-06-13 Martin Mares <mj@albireo.ucw.cz>
1145
1146 * Makefile (uninstall): Fixed.
1147
1148 * pci.ids: ID updates.
1149
4a219d5f
MM
11502000-05-20 Martin Mares <mj@albireo.ucw.cz>
1151
1152 * Released as 2.1.8.
1153
1154 * pci.ids: ID updates.
1155
1156 * lspci.c (show_verbose): Min/max latency is now printed in nanoseconds.
1157
11582000-05-04 Martin Mares <mj@albireo.ucw.cz>
1159
1160 * lspci.c (show_verbose): If the header type doesn't match device
1161 class, just print a warning and still use the header type, assuming
1162 bogus class info.
1163
10c90662
MM
11642000-05-01 Martin Mares <mj@albireo.ucw.cz>
1165
72b9b690
MM
1166 * lspci.c (show_pm): Updated according to PCI PM specs 1.1.
1167
10c90662
MM
1168 * pci.ids: Updated Contemporary Control ARCnet card entries.
1169
1170 * pci.ids: Synchronized class list with latest PCI SIG documents.
1171
a239ade6
MM
11722000-04-29 Martin Mares <mj@albireo.ucw.cz>
1173
1174 * lib/names.c (pci_lookup_name): Fixed the cheat.
1175
1176 * lib/internal.h: Moved UNUSED/inline hacks above all other declarations.
1177
1178 * pci.ids: Various ID updates.
1179
2c83b860
MM
11802000-04-21 Martin Mares <mj@albireo.ucw.cz>
1181
1182 * Released as 2.1.7.
1183
1184 * pciutils.spec: Added German description.
1185
1186 * lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's
1187 are the same as device ID and just output subsystem name according to
1188 device name.
1189
1190 * lib/proc.c: Use UNUSED instead of __attribute__((unused)).
1191
1192 * lib/pci.h: Added the correct typedefs for AIX.
1193
1194 * lib/generic.c (pci_generic_scan_bus): Export.
1195
1196 * lib/configure: Detect AIX. Use "echo '...\c'" instead of
1197 "echo -n" if the shell isn't bash.
1198
1199 * lspci.c: Avoid using alloca() if not compiled by GCC.
1200 (insert_dev): Avoid returning a void value.
1201
1202 * Makefile: Choose which install utility to use according to
1203 OS type. Also use `-o' instead of `-or' in find arguments.
1204 Part of the AIX port.
1205
1206 * lib/aix-device.c: Added AIX low-level interface. Contributed
1207 by Dave Johnson <ddj@brown.edu>, thanks a lot!
1208
1209 * pci.ids: Few new ID's.
1210
1211 * pciutils.h, lib/internal.h: Redefine __attribute__ and inline
1212 when not compiled by GCC.
1213
c1a828da
MM
12142000-04-17 Martin Mares <mj@albireo.ucw.cz>
1215
1216 * Released as 2.1.6.
1217
1218 * pci.ids: Added a large batch of ID's contributed by Gunther
1219 Mayer <gunther.mayer@braunschweig.netsurf.de> and synced the
1220 list with the 2.3.99pre6 kernel.
1221
e91dd3ab
MM
1222Thu Mar 9 13:11:39 2000 Martin Mares <mj@albireo.ucw.cz>
1223
a80b79a9
MM
1224 * lib/example.c: Added a simple example of how to use
1225 the library.
1226
89984232
MM
1227 * lspci.man, setpci.man: Revealed --version. Well spotted
1228 by Adam Sulmicki.
1229
e91dd3ab
MM
1230 * pci.ids: Added lots of new ID's and synced with 2.3.50.
1231
78d9c5e2
MM
1232Tue Feb 15 00:16:21 2000 Martin Mares <mj@albireo.ucw.cz>
1233
1234 * Released as 2.1.5.
1235
1236 * pciutils.spec: Updated spec file from Andreas Jaeger. Now using
1237 %{_mandir} to find the right location to install manual pages to.
1238
1239 * pci.ids: New ID's.
1240
1241 * setpci.c (main): Don't crash when `-s' or `-d' is given with
1242 no argument.
1243
f8141ae2
MM
1244Mon Jan 24 20:04:11 2000 Andreas Jaeger <aj@suse.de>
1245
1246 * lib/i386-ports.c: Include <asm/io.h> only on systems without
1247 glibc.
1248
1249Mon Jan 24 11:24:43 2000 Martin Mares <mj@albireo.ucw.cz>
1250
1251 * Makefile: Modified to work with the Linux FHS brain-damaged idea
1252 of putting man pages to /usr/share/man. Now we choose either /usr/man
1253 or /usr/share/man depending on which one exists.
1254
59e76e8b
MM
1255Sun Jan 23 10:52:34 2000 Martin Mares <mj@albireo.ucw.cz>
1256
1257 * pci.ids: Synced with Linux 2.3.40.
1258
1259 * Released as version 2.1.4.
1260
2dfd48cd
MM
1261Thu Jan 20 11:08:32 2000 Martin Mares <mj@albireo.ucw.cz>
1262
2715403f
MM
1263 * lspci.c (scan_device): Fixed bug in reading of cardbus extensions.
1264
81077814
MM
1265 * lib/proc.c: pread/pwrite fixed again, this time on libc5 :(
1266
1267 * lspci.c (format_agp_rate): Better formatting of AGP rates.
1268
1269 * pci.ids: New ID's.
1270
2dfd48cd
MM
1271 * lib/configure: Added configuration for ia64 (the same as for Alpha).
1272 Patch from Stephane Eranian <eranian@cello.hpl.hp.com>.
1273
5a258860
MM
1274Thu Jan 13 23:01:52 2000 Martin Mares <mj@albireo.ucw.cz>
1275
1276 * Released as version 2.1.3.
1277
1278 * pci.ids: New ID's.
1279
1280 * lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli.
1281
1282 * lib/access.c: Corrected order of access methods -- it's wonderful how
1283 long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff.
1284
0c047bbe
MM
1285Sat Dec 11 23:34:48 1999 Martin Mares <mj@albireo.ucw.cz>
1286
1287 * Released as version 2.1.2.
1288
1289 * lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
1290
33bc28a5
MM
1291Sat Dec 4 13:11:03 1999 Martin Mares <mj@albireo.ucw.cz>
1292
39231205
MM
1293 * Released as version 2.1.1.
1294
33bc28a5
MM
1295 * pci.ids: Several new ID's.
1296
1297 * setpci.c (exec_op): Don't forget to increment address after writing
1298 single value, so that `30.b=12,34,56,78' works as expected. Reported
1299 by Petr Soucek <petr@ryston.cz>.
1300
8d047897
MM
1301Wed Nov 3 10:24:38 1999 Martin Mares <mj@albireo.ucw.cz>
1302
1303 * lspci.c (show_terse): If prog-if is zero, but it's present in the
1304 ID list, show it.
1305
6afc6538
MM
1306Sat Oct 30 11:06:35 1999 Martin Mares <mj@albireo.ucw.cz>
1307
1308 * Released as version 2.1.
1309
1310 * pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in
1311 lots of contributed entries.
1312
8f756113
MM
1313Thu Oct 14 10:40:12 1999 Dave Jones <dave@powertweak.com>
1314
1315 * pci.ids: Added lots of subsystem definitions.
1316
d4798a32
MM
1317Sat Oct 9 14:32:28 1999 Martin Mares <mj@albireo.ucw.cz>
1318
1319 * setpci.man: Better example.
1320
1321 * lspci.c: Resolve prog-if names.
1322
1323 * lib/names.c: Adapted to new pci.ids syntax.
1324
1325 * pci.ids: Reorganized the pci.ids file. Subsystems are listed
1326 under devices, classes can optionally contain prog-if information.
1327 New ID's, as usually.
1328
e306e911
MM
1329Wed Sep 22 09:45:24 1999 Martin Mares <mj@albireo.ucw.cz>
1330
1331 * pci.ids: New ID's. As usually.
1332
1333 * lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows
1334 unless we're vvvery verbose.
1335
1336Mon Sep 20 11:22:54 1999 Martin Mares <mj@albireo.ucw.cz>
1337
1338 * lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
1339
e64a576c
MM
1340Tue Sep 14 09:31:01 1999 Martin Mares <mj@albireo.ucw.cz>
1341
1342 * pci.ids: New ID's. Again.
1343
c36c0862
MM
1344Thu Aug 5 17:45:42 1999 Martin Mares <mj@albireo.ucw.cz>
1345
1346 * lspci.c (show_size): Don't show size if it's zero (usually
1347 due to bus-centric mode being enabled).
1348
1ca42433
MM
1349Tue Jul 20 13:25:09 1999 Martin Mares <mj@albireo.ucw.cz>
1350
168b4f46
MM
1351 * lib/pci.h: Types are OS dependent.
1352
1353 * lib/internal.h: Byte order hacks are OS dependent.
1354
1355 * lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS.
1356
1357 * lib/Makefile, lib/access.c: Added fbsd-device target.
1358
1359 * pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
1360 incorrectly set to device ID.
1361
1362 * README: Added a note that we support FreeBSD.
1363
1364 * Makefile (PREFIX, ROOT): Set it depending on the OS.
1365 (%.8): Grrr, BSD date is not able to convert date formats the same way
1366 as GNU date does. Use sed instead.
1367 (install): Use `-c' when calling install.
1368
1369 * lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed
1370 by Jari Kirma <kirma@cs.hut.fi>.
1371
bc6346df
MM
1372 * lib/proc.c: Rewrote the pread/pwrite things once again. Use pread
1373 and pwrite only when we are certain it's safe (i.e., glibc 2.1
1374 on all architectures or any libc on a i386 where we really know
1375 how to use syscalls directly). In all other cases, emulate it
1376 with lseek/read/write.
1377
1ca42433
MM
1378 * pci.ids: Some more IDs.
1379
1380Mon Jul 19 14:10:36 1999 Martin Mares <mj@albireo.ucw.cz>
1381
1382 * pci.ids: Added IDs of parallel port controller cards as sent
1383 by Tim Waugh <tim@cyberelk.demon.co.uk>.
1384
e95c8373
MM
1385Wed Jul 7 00:55:48 1999 Martin Mares <mj@albireo.ucw.cz>
1386
1387 * lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS.
1388
1389 * lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and
1390 HAVE_LONG_ADDRESS.
1391
1392 * lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses
1393 are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS
1394 to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS
1395 and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS
1396 on Alpha.
1397
1398 * lspci.c (show_msi): Added dumping of the MSI capability.
1399 (show_slotid): The same for SlotID capability.
1400 (show_caps): Seperated capability dumping, because it should
1401 be used for both htype0 and htype1. Even PCI 2.2 doesn't mention
1402 layout of htype2, so I'm a bit unsure about it wrt capabilities
1403 -- they at least have to live somewhere else since address 0x34
1404 is already defined differently in htype2.
1405
1406 * lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2).
1407 (PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto.
1408 (PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2.
1409
1410 * lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers
1411 (required by the PCI 2.2 specs).
1412
1413Mon Jul 5 12:45:19 1999 Martin Mares <mj@albireo.ucw.cz>
1414
1415 * lspci.c (show_size): Added new function for dumping of region sizes.
1416 (show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled
1417 ROMs et cetera.
1418
1419 * lib/pci.h (struct pci_dev): known_fields moved to the public part
1420 of the structure.
1421
1422 * Added support for region sizes. Needs support in the kernel, because
1423 sizes have to be scanned before drivers initialize yourself. pci_fill_info()
1424 now returns a bitmask of what fields were really read.
1425
82ce97c9
MM
1426Mon Jun 28 18:37:51 1999 Dave Jones <dave@powertweak.com>
1427
1428 * Makefile:
1429 Added `uninstall' target - removes all traces of pciutils.
1430 * pci.ids:
1431 - Lots of cleanups in the ATI, S3, Adaptec vendors.
1432 - Changed Compaq QVision 1280/p definitions, as it's not possible
1433 to determine the revision from the device ID.
1434 - Same for the Tseng ET4000.
1435 The id's said I had a rev C, when it was actually a rev B.
1436 - Removed some unnecessary strings
1437 `PCI'. Unless it's an AGP card, it should be obvious that it's PCI.
1438 `Ethernet card'. This should be determined from config space.
1439 - Lots of other new vendors & devices
1440 - Other additional small cleanups.
1441
7bed2d83
MM
1442Mon Jun 21 22:11:10 1999 Martin Mares <mj@albireo.ucw.cz>
1443
1444 * lib/names.c (pci_lookup_name): When device ID lookup
1445 fails, return hexadecimal device ID instead of vendor ID.
1446 Well spotted by Axel Bodemann <Axel.Bodemann@ruhr-uni-bochum.de>,
1447 I've just extended the fix to subsystem ID's.
1448
5ba3a475
MM
1449Thu Jun 17 19:48:21 1999 Martin Mares <mj@albireo.ucw.cz>
1450
1451 * lspci.c (show_agp): Bug fix from Petr Vandrovec
1452 <vandrove@vc.cvut.cz>. The command register was displayed
1453 incorrectly.
1454
1455Wed Jun 2 22:42:44 1999 Martin Mares <mj@albireo.ucw.cz>
1456
1457 * lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
1458 numbers if not supplied by the libc.
1459
55c815b5
MM
1460Wed May 19 13:24:39 1999 Martin Mares <mj@albireo.ucw.cz>
1461
1462 * Released the whole package as version 2.0.
1463
1464Fri May 14 22:42:02 1999 Martin Mares <mj@albireo.ucw.cz>
1465
1466 * pci.ids: Added several new ID's contributed by people
1467 on the linux-pci list.
1468
dec16943
MM
1469Mon Apr 19 15:21:08 1999 Jakub Jelinek <jj@ultra.linux.cz>
1470
1471 * lspci.c: Display I/O addresses correctly on sparc64.
1472 * lib/header.h: Ditto.
1473
1474 * lib/configure: On sparc set HAVE_64BIT* as well, we want
1475 a binary which works on both 32bit and 64bit SPARCs.
1476
e33c9c7a
MM
1477Sun Apr 18 21:14:58 1999 Martin Mares <mj@albireo.ucw.cz>
1478
1479 * lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
1480 <mjacob@feral.com>.
1481
1482 * pci.ids: A lot of updates from Adam J. Richter <adam@yggdrasil.com>.
1483
f3395cc5
MM
1484Sun Feb 28 22:26:21 1999 Martin Mares <mj@albireo.ucw.cz>
1485
1486 * lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
1487 as a multi-function device, because several single-function devices
1488 don't decode the function bits at all.
1489
1490Sun Feb 14 23:48:22 1999 Martin Mares <mj@albireo.ucw.cz>
1491
1492 * Makefile (install): Don't use "-o root -g root" for installation
1493 since it breaks on machines where programs are not installed by root.
1494 Reported by Richard Gooch <rgooch@atnf.csiro.au>
1495
1496Tue Feb 9 15:54:39 1999 Martin Mares <mj@albireo.ucw.cz>
1497
1498 * lspci.c (show_bases): Use new address masking macros and pciaddr_t.
1499
1500 * lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
1501 or 64-bit depending on CPU.
1502
1503 * lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
1504 according to bus address width.
1505
1c31d620
MM
1506Thu Jan 28 20:54:16 1999 Martin Mares <mj@albireo.ucw.cz>
1507
1508 * Released as 1.99.4.
1509
1510 * lspci.c: Capability list parser now recognizes both AGP
1511 registers and PCI Power Management registers (the latter
1512 is mainly guesswork based on DEC/Intel 21153 bridge specs
1513 since I don't have the PCI Power Management document).
1514
1515 * lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
1516 by FLAG macro.
1517
1518 * lspci.c: Added bridge checks to bus mapping code.
1519
1812a795
MM
1520Wed Jan 27 14:59:16 1999 Martin Mares <mj@albireo.ucw.cz>
1521
1522 * lspci.c: Implemented bus mapping mode (-M).
1523
1524 * lspci.c (scan_devices): Split to scan_devices() and scan_device().
1525 (show): Split to show() and show_device().
1526
1527 * lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
1528 set it to the real access method afterwards.
1529
1530Mon Jan 25 23:46:13 1999 Martin Mares <mj@albireo.ucw.cz>
1531
1532 * lib/generic.c (pci_generic_fill_info): If in buscentric mode,
1533 don't check PCI_COMMAND for I/O and memory enables.
1534
f6c86928
MM
1535Mon Jan 25 21:28:49 1999 Martin Mares <mj@albireo.ucw.cz>
1536
1537 * Makefile: Added target `release' which substitutes new version
1538 number to .spec, .lsm and README. Also rewrote target `dist'.
1539
1540 * Released as 1.99.3.
1541
b5137411
MM
1542Sun Jan 24 22:10:36 1999 Martin Mares <mj@albireo.ucw.cz>
1543
d6b297d0
MM
1544 * lib/header.h: Until kernel adopts new layout of PCI
1545 includes (i.e., separate declaration of header structure,
1546 functions and device IDs), which is not going to happen
1547 before 2.3, we'll use our own definiton of the header.
1548
b5137411
MM
1549 * lspci.c (show_verbose): Display `Cap' flag in device status.
1550
1551 * lspci.c (show_htype0): Display capability lists whereever
1552 available. The only capability name we recognize now is `AGP'.
1553 Unfortunately, capabilities are stored in device-dependent
1554 portion of the configuration space and are thus available
1555 only to root unless you read a dump.
1556
1557 * lspci.c (scan_devices): Use cache instead of buffering.
1558
1559 * lib/buffer.c: Removed (obsoleted by the cache).
1560
1561 * lib/access.c: Added general caching mechanism.
1562
81ce358d
MM
1563Sat Jan 23 21:30:54 1999 Martin Mares <mj@albireo.ucw.cz>
1564
1565 * pci.ids: Added few devices.
1566
727ce158
MM
1567Fri Jan 22 19:29:31 1999 Martin Mares <mj@albireo.ucw.cz>
1568
1569 * Version string is now defined in top-level Makefile, exported
1570 to the configure script and also substituted to man pages.
1571
1572 * lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
1573 (show_verbose): Rewrote interrupt display logic.
1574
1575 * lib/i386-ports.c: Include sys/io.h only on glibc systems.
1576
1577 * lib/configure: Rewrote detection of Linux versions. Now it
1578 works on 2.0 kernels (only with direct/dump access, of course).
1579
1580 * lib/internal.h: New bytesex macros using <asm/byteorder.h>
1581 whenever available.
1582
1583 * lib/proc.c (proc_read, proc_write): Distinguish between short
1584 read/write and real errors.
1585
1586 * lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
1587 libpci respects buscentric mode automatically.
1588
1589 * lspci.c (show_hex_dump): For CardBus bridges, print out 128
1590 bytes of header (the whole standard part).
1591
1592 * common.c: pcilib options are now all uppercase. Also moved
1593 PCI access debugging option here.
1594
1595 * Released as 1.99.2.
1596
1597Wed Jan 20 22:50:35 1999 Martin Mares <mj@albireo.ucw.cz>
1598
1599 * Wrote configure script and rewrote Makefiles.
1600
1601 * Removed few unused variables.
1602
1603Wed Jan 20 12:21:56 1999 Martin Mares <mj@albireo.ucw.cz>
1604
1605 * common.c: Moved several functions used in both setpci and lspci
1606 here. This includes parsing of libpci-related options.
1607
1608 * More library tweaks.
1609
1610 * filter.c, names.c: Moved to library.
1611
1612 * setpci: Rewritten to use the library.
1613
1614 * Released as 1.99.1.
1615
1616Tue Jan 19 23:00:12 1999 Martin Mares <mj@albireo.ucw.cz>
1617
1618 * lspci.c (scan_devices): For cardbus bridges, read first 128
1619 bytes of config space to get full standard header.
1620
1621 * Makefile (CFLAGS): Removed "-Wno-unused".
1622
1623 * Started the "New Generation" branch and introduced the
1624 PCI library.
94db5c82 1625
727ce158
MM
1626 * lspci: Rewritten to use the library.
1627
6ece6bc6
MM
1628Tue Jan 19 22:24:08 1999 Martin Mares <mj@albireo.ucw.cz>
1629
1630 * Released as version 1.10.
1631
1632Mon Jan 18 08:51:17 1999 Martin Mares <mj@albireo.ucw.cz>
1633
1634 * lspci.8, setpci.8: Miscellaneous fixes as suggested by
1635 Dag Wieers <dag@digibel.be>.
1636
1212dd6d
MM
1637Sun Nov 29 20:05:56 1998 Martin Mares <mj@albireo.ucw.cz>
1638
1639 * pciutils.spec (Name): Update from Krzysztof G. Baranowski.
1640
d38471fd
MM
1641Sun Nov 22 10:49:56 1998 Martin Mares <mj@albireo.ucw.cz>
1642
1643 * Makefile, pciutils.h: Moved pci.ids to /usr/share.
1644
1645 * Released as version 1.09.
1646
371f605b
MM
1647Wed Nov 18 15:47:05 1998 Martin Mares <mj@albireo.ucw.cz>
1648
1649 * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
1650 bridge. Thanks to Petr Vandrovec <vandrove@vc.cvut.cz> for bug report.
1651
10be47ab
MM
1652Fri Oct 23 18:59:19 1998 Martin Mares <mj@albireo.ucw.cz>
1653
1654 * setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
1655
472bd340
MM
1656Mon Oct 19 21:53:30 1998 Martin Mares <mj@albireo.ucw.cz>
1657
1658 * Released as version 1.08.
1659
1660 * setpci.c: glibc 2.1.x already defines pread() and pwrite().
1661
1662 * lspci.8: Changed warning about lspci -xxx.
1663
1664 * lspci.c: Require "-xxx" for full configuration space dump, so that
1665 it's impossible to crash the machine by single typo.
1666
1667 * specs: Added (courtesy of Krzysztof G. Baranowski <kgb@knm.org.pl>).
1668
072c77e5
MM
1669Wed Sep 9 12:03:24 1998 Martin Mares <mj@albireo.ucw.cz>
1670
1671 * lspci.c (show_bases): Better displaying of unassigned and
1672 disabled bases. Thanks to Gabriel Paubert <paubert@iram.es>
1673 for an idea.
1674
b7554856
MM
1675Wed Sep 2 10:58:01 1998 Martin Mares <mj@albireo.ucw.cz>
1676
1677 * setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
1678 (thanks to Geert Uytterhoeven for finding this out)
1679
ce503b7f
MM
1680Fri Jul 17 10:43:30 1998 Martin Mares <mj@albireo.ucw.cz>
1681
1682 * lspci.c (show_verbose): Print subsystem ID using the new resolver.
1683 (show_machine): Print subsystem ID.
1684
1685 * names.c: New name resolution engine supporting subsystem IDs.
1686
1687 * Released as version 1.07.
1688
96e4f295
MM
1689Wed Jul 15 15:37:21 1998 Martin Mares <mj@albireo.ucw.cz>
1690
1691 * lspci.c (show_htype2 etc.): Displaying of CardBus headers.
1692 (show_bases): Honor the `cnt' argument.
1693 (grow_tree): Parse CardBus headers in tree mode as well.
1694
1695 * pci.h: Updated CardBus header field description. I still don't
1696 have the CardBus standard available, but OZ6832 specs contain
1697 full description of all header fields supported by the chip.
1698
6ae3650a
MM
1699Tue Jun 9 22:53:59 1998 Martin Mares <mj@albireo.ucw.cz>
1700
304f9a0b
MM
1701 * Released as 1.06.
1702
6ae3650a
MM
1703 * names.c (parse_name_list): Killed an unused variable.
1704
1705 * setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
1706 if they are not defined by glibc (needed for glibc built on older
1707 kernels). Ugly.
1708
1709 * setpci.c (exec_op): Fixed error messages. Thanks, Steve!
1710
4b88a6b8
MM
1711Mon Jun 8 10:59:22 1998 Martin Mares <mj@albireo.ucw.cz>
1712
1713 * Released as 1.05.
1714
1715 * setpci.c: Problems with pread()/pwrite() with glibc on Alpha
1716 should be gone. Again thanks to Steve for bug report.
1717
1718 * filter.c (filter_parse_slot): Fixed ":x" type filters.
1719
1720 * pci.ids: Killed duplicate entry. Thanks to Stephen Williams
1721 <steve@icarus.com> for reporting this.
1722
1723Sun Jun 7 19:27:51 1998 Martin Mares <mj@albireo.ucw.cz>
1724
1725 * lspci.c (main), setpci.c (main): Implemented "--version".
1726
1727 * Released as 1.04.
1728
1729 * pciutils.h (PCIUTILS_VERSION): Added version string.
1730
1731 * filter.c, names.c: Extraneous #include <linux/pci.h> removed.
1732 Thanks to Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be>
1733 for bug report.
1734
9b306998
MM
1735Thu May 28 14:45:58 1998 Martin Mares <mj@lomikel.karlin.mff.cuni.cz>
1736
1737 * pci.ids: More updates from Jens Maurer.
1738
b372672f
MM
1739Wed Apr 22 10:00:39 1998 Martin Mares <mj@albireo.ucw.cz>
1740
1741 * pci.ids: Updates from Jens Maurer.
1742
b2c9b373
MM
1743Sun Apr 19 11:14:25 1998 Martin Mares <mj@albireo.ucw.cz>
1744
b372672f
MM
1745 * Released as 1.03.
1746
b2c9b373
MM
1747 * setpci.8: Written.
1748
1749 * setpci.c: Finished.
1750
1751 * lspci.c: Now able to fetch expansion ROM base from kernel device list
1752 and print it if not in buscentric mode.
1753
e4842ff3
MM
1754Tue Mar 31 23:11:57 1998 Martin Mares <mj@albireo.ucw.cz>
1755
1756 * setpci.c: Added.
1757
1758Sun Mar 22 15:39:08 1998 Martin Mares <mj@albireo.ucw.cz>
1759
1760 * lspci.8: Updated the documentation.
1761
1762 * lspci.c: Modified to use the new filtering mechanism (options -f and -d).
1763
1764 * filter.c: Introduced new generic device filter.
1765
008407bd
MM
1766Thu Mar 19 17:03:48 1998 Martin Mares <mj@lomikel.karlin.mff.cuni.cz>
1767
1768 * lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
1769 of PCI-to-PCI bridges in the tree format.
1770
0a33d0ec
MM
1771Sun Feb 15 10:12:25 1998 Martin Mares <mj@albireo.ucw.cz>
1772
1773 * lspci.c (show_machine): Added non-verbose mode of machine-readable
1774 dump.
1775
1776 * pci.ids: Updates from Jens Maurer.
1777
1778 * Released as version 1.02.
1779
1780Thu Feb 12 16:53:28 1998 Martin Mares <mj@lomikel.karlin.mff.cuni.cz>
1781
1782 * lspci.c: Added a "-m" switch for dumping machine-readable
1783 configuration data (requested by Bjoern Kriews <bkr@cut.de>).
1784
fb38eee8
MM
1785Mon Feb 9 13:17:43 1998 Martin Mares <mj@albireo.ucw.cz>
1786
1787 * Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
1788 if available. This should avoid all problems with official kernel
1789 not synchronized to newer PCI code in CVS -- standard distribution
1790 of pciutils now contains pci.h from current CVS kernel, pciutils
1791 in CVS contain no pci.h and use the correct kernel include.
1792
1793 * Makefile: Fixed installation path for man pages.
1794
2f48f637
MM
1795Sat Feb 7 15:15:46 1998 Martin Mares <mj@albireo.ucw.cz>
1796
1797 * README: Updated.
1798
1799 * lspci.8: Created a man page.
1800
1801 * Releasing as version 1.0.
1802
1803Tue Feb 3 20:56:00 1998 Martin Mares <mj@albireo.ucw.cz>
1804
1805 * Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
1806 to all the C sources. This should eliminate problems with 32-bit compilers
1807 on sparc64.
1808
1809 * lspci.c (show_verbose): Recognize CardBus bridge header type.
1810 (show_htype2): Stub routine.
1811 (scan_config): Write sensible error message if the kernel denies reading of
1812 upper part of the PCI config space.