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