]> mj.ucw.cz Git - pciutils.git/blob - ChangeLog
Added configuration for ia64 (the same as for Alpha).
[pciutils.git] / ChangeLog
1 Thu Jan 20 11:08:32 2000  Martin Mares  <mj@albireo.ucw.cz>
2
3         * lib/configure: Added configuration for ia64 (the same as for Alpha).
4         Patch from Stephane Eranian <eranian@cello.hpl.hp.com>.
5
6 Thu Jan 13 23:01:52 2000  Martin Mares  <mj@albireo.ucw.cz>
7
8         * Released as version 2.1.3.
9
10         * pci.ids: New ID's.
11
12         * lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli.
13
14         * lib/access.c: Corrected order of access methods -- it's wonderful how
15         long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff.
16
17 Sat Dec 11 23:34:48 1999  Martin Mares  <mj@albireo.ucw.cz>
18
19         * Released as version 2.1.2.
20
21         * lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
22
23 Sat Dec  4 13:11:03 1999  Martin Mares  <mj@albireo.ucw.cz>
24
25         * Released as version 2.1.1.
26
27         * pci.ids: Several new ID's.
28
29         * setpci.c (exec_op): Don't forget to increment address after writing
30         single value, so that `30.b=12,34,56,78' works as expected. Reported
31         by Petr Soucek <petr@ryston.cz>.
32
33 Wed Nov  3 10:24:38 1999  Martin Mares  <mj@albireo.ucw.cz>
34
35         * lspci.c (show_terse): If prog-if is zero, but it's present in the
36         ID list, show it.
37
38 Sat Oct 30 11:06:35 1999  Martin Mares  <mj@albireo.ucw.cz>
39
40         * Released as version 2.1.
41
42         * pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in
43         lots of contributed entries.
44
45 Thu Oct 14 10:40:12 1999  Dave Jones    <dave@powertweak.com>
46
47         * pci.ids: Added lots of subsystem definitions.
48
49 Sat Oct  9 14:32:28 1999  Martin Mares  <mj@albireo.ucw.cz>
50
51         * setpci.man: Better example.
52
53         * lspci.c: Resolve prog-if names.
54
55         * lib/names.c: Adapted to new pci.ids syntax.
56
57         * pci.ids: Reorganized the pci.ids file. Subsystems are listed
58         under devices, classes can optionally contain prog-if information.
59         New ID's, as usually.
60
61 Wed Sep 22 09:45:24 1999  Martin Mares  <mj@albireo.ucw.cz>
62
63         * pci.ids: New ID's. As usually.
64
65         * lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows
66         unless we're vvvery verbose.
67
68 Mon Sep 20 11:22:54 1999  Martin Mares  <mj@albireo.ucw.cz>
69
70         * lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
71
72 Tue Sep 14 09:31:01 1999  Martin Mares  <mj@albireo.ucw.cz>
73
74         * pci.ids: New ID's. Again.
75
76 Thu Aug  5 17:45:42 1999  Martin Mares  <mj@albireo.ucw.cz>
77
78         * lspci.c (show_size): Don't show size if it's zero (usually
79         due to bus-centric mode being enabled).
80
81 Tue Jul 20 13:25:09 1999  Martin Mares  <mj@albireo.ucw.cz>
82
83         * lib/pci.h: Types are OS dependent.
84
85         * lib/internal.h: Byte order hacks are OS dependent.
86
87         * lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS.
88
89         * lib/Makefile, lib/access.c: Added fbsd-device target.
90
91         * pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
92         incorrectly set to device ID.
93
94         * README: Added a note that we support FreeBSD.
95
96         * Makefile (PREFIX, ROOT): Set it depending on the OS.
97         (%.8): Grrr, BSD date is not able to convert date formats the same way
98         as GNU date does. Use sed instead.
99         (install): Use `-c' when calling install.
100
101         * lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed
102         by Jari Kirma <kirma@cs.hut.fi>.
103
104         * lib/proc.c: Rewrote the pread/pwrite things once again. Use pread
105         and pwrite only when we are certain it's safe (i.e., glibc 2.1
106         on all architectures or any libc on a i386 where we really know
107         how to use syscalls directly). In all other cases, emulate it
108         with lseek/read/write.
109
110         * pci.ids: Some more IDs.
111
112 Mon Jul 19 14:10:36 1999  Martin Mares  <mj@albireo.ucw.cz>
113
114         * pci.ids: Added IDs of parallel port controller cards as sent
115         by Tim Waugh <tim@cyberelk.demon.co.uk>.
116
117 Wed Jul  7 00:55:48 1999  Martin Mares  <mj@albireo.ucw.cz>
118
119         * lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS.
120
121         * lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and
122         HAVE_LONG_ADDRESS.
123
124         * lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses
125         are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS
126         to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS
127         and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS
128         on Alpha.
129
130         * lspci.c (show_msi): Added dumping of the MSI capability.
131         (show_slotid): The same for SlotID capability.
132         (show_caps): Seperated capability dumping, because it should
133         be used for both htype0 and htype1. Even PCI 2.2 doesn't mention
134         layout of htype2, so I'm a bit unsure about it wrt capabilities
135         -- they at least have to live somewhere else since address 0x34
136         is already defined differently in htype2.
137
138         * lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2).
139         (PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto.
140         (PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2.
141
142         * lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers
143         (required by the PCI 2.2 specs).
144
145 Mon Jul  5 12:45:19 1999  Martin Mares  <mj@albireo.ucw.cz>
146
147         * lspci.c (show_size): Added new function for dumping of region sizes.
148         (show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled
149         ROMs et cetera.
150
151         * lib/pci.h (struct pci_dev): known_fields moved to the public part
152         of the structure.
153
154         * Added support for region sizes. Needs support in the kernel, because
155         sizes have to be scanned before drivers initialize yourself. pci_fill_info()
156         now returns a bitmask of what fields were really read.
157
158 Mon Jun 28 18:37:51 1999  Dave Jones    <dave@powertweak.com>
159
160         * Makefile:
161           Added `uninstall' target - removes all traces of pciutils.
162         * pci.ids:
163           - Lots of cleanups in the ATI, S3, Adaptec vendors.
164           - Changed Compaq QVision 1280/p definitions, as it's not possible
165             to determine the revision from the device ID.
166           - Same for the Tseng ET4000.
167             The id's said I had a rev C, when it was actually a rev B.
168           - Removed some unnecessary strings
169             `PCI'. Unless it's an AGP card, it should be obvious that it's PCI.
170             `Ethernet card'. This should be determined from config space.
171           - Lots of other new vendors & devices
172           - Other additional small cleanups.
173
174 Mon Jun 21 22:11:10 1999  Martin Mares  <mj@albireo.ucw.cz>
175
176         * lib/names.c (pci_lookup_name): When device ID lookup
177         fails, return hexadecimal device ID instead of vendor ID.
178         Well spotted by Axel Bodemann <Axel.Bodemann@ruhr-uni-bochum.de>,
179         I've just extended the fix to subsystem ID's.
180
181 Thu Jun 17 19:48:21 1999  Martin Mares  <mj@albireo.ucw.cz>
182
183         * lspci.c (show_agp): Bug fix from Petr Vandrovec
184         <vandrove@vc.cvut.cz>. The command register was displayed
185         incorrectly.
186
187 Wed Jun  2 22:42:44 1999  Martin Mares  <mj@albireo.ucw.cz>
188
189         * lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
190         numbers if not supplied by the libc.
191
192 Wed May 19 13:24:39 1999  Martin Mares  <mj@albireo.ucw.cz>
193
194         * Released the whole package as version 2.0.
195
196 Fri May 14 22:42:02 1999  Martin Mares  <mj@albireo.ucw.cz>
197
198         * pci.ids: Added several new ID's contributed by people
199         on the linux-pci list.
200
201 Mon Apr 19 15:21:08 1999  Jakub Jelinek  <jj@ultra.linux.cz>
202
203         * lspci.c: Display I/O addresses correctly on sparc64.
204         * lib/header.h: Ditto.
205
206         * lib/configure: On sparc set HAVE_64BIT* as well, we want
207         a binary which works on both 32bit and 64bit SPARCs.
208
209 Sun Apr 18 21:14:58 1999  Martin Mares  <mj@albireo.ucw.cz>
210
211         * lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
212         <mjacob@feral.com>.
213
214         * pci.ids: A lot of updates from Adam J. Richter <adam@yggdrasil.com>.
215
216 Sun Feb 28 22:26:21 1999  Martin Mares  <mj@albireo.ucw.cz>
217
218         * lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
219         as a multi-function device, because several single-function devices
220         don't decode the function bits at all.
221
222 Sun Feb 14 23:48:22 1999  Martin Mares  <mj@albireo.ucw.cz>
223
224         * Makefile (install): Don't use "-o root -g root" for installation
225         since it breaks on machines where programs are not installed by root.
226         Reported by Richard Gooch <rgooch@atnf.csiro.au>
227
228 Tue Feb  9 15:54:39 1999  Martin Mares  <mj@albireo.ucw.cz>
229
230         * lspci.c (show_bases): Use new address masking macros and pciaddr_t.
231
232         * lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
233         or 64-bit depending on CPU.
234
235         * lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
236         according to bus address width.
237
238 Thu Jan 28 20:54:16 1999  Martin Mares  <mj@albireo.ucw.cz>
239
240         * Released as 1.99.4.
241
242         * lspci.c: Capability list parser now recognizes both AGP
243         registers and PCI Power Management registers (the latter
244         is mainly guesswork based on DEC/Intel 21153 bridge specs
245         since I don't have the PCI Power Management document).
246
247         * lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
248         by FLAG macro.
249
250         * lspci.c: Added bridge checks to bus mapping code.
251
252 Wed Jan 27 14:59:16 1999  Martin Mares  <mj@albireo.ucw.cz>
253
254         * lspci.c: Implemented bus mapping mode (-M).
255
256         * lspci.c (scan_devices): Split to scan_devices() and scan_device().
257         (show): Split to show() and show_device().
258
259         * lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
260         set it to the real access method afterwards.
261
262 Mon Jan 25 23:46:13 1999  Martin Mares  <mj@albireo.ucw.cz>
263
264         * lib/generic.c (pci_generic_fill_info): If in buscentric mode,
265         don't check PCI_COMMAND for I/O and memory enables.
266
267 Mon Jan 25 21:28:49 1999  Martin Mares  <mj@albireo.ucw.cz>
268
269         * Makefile: Added target `release' which substitutes new version
270         number to .spec, .lsm and README. Also rewrote target `dist'.
271
272         * Released as 1.99.3.
273
274 Sun Jan 24 22:10:36 1999  Martin Mares  <mj@albireo.ucw.cz>
275
276         * lib/header.h: Until kernel adopts new layout of PCI
277         includes (i.e., separate declaration of header structure,
278         functions and device IDs), which is not going to happen
279         before 2.3, we'll use our own definiton of the header.
280
281         * lspci.c (show_verbose): Display `Cap' flag in device status.
282
283         * lspci.c (show_htype0): Display capability lists whereever
284         available. The only capability name we recognize now is `AGP'.
285         Unfortunately, capabilities are stored in device-dependent
286         portion of the configuration space and are thus available
287         only to root unless you read a dump.
288
289         * lspci.c (scan_devices): Use cache instead of buffering.
290
291         * lib/buffer.c: Removed (obsoleted by the cache).
292
293         * lib/access.c: Added general caching mechanism.
294
295 Sat Jan 23 21:30:54 1999  Martin Mares  <mj@albireo.ucw.cz>
296
297         * pci.ids: Added few devices.
298
299 Fri Jan 22 19:29:31 1999  Martin Mares  <mj@albireo.ucw.cz>
300
301         * Version string is now defined in top-level Makefile, exported
302         to the configure script and also substituted to man pages.
303
304         * lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
305         (show_verbose): Rewrote interrupt display logic.
306
307         * lib/i386-ports.c: Include sys/io.h only on glibc systems.
308
309         * lib/configure: Rewrote detection of Linux versions. Now it
310         works on 2.0 kernels (only with direct/dump access, of course).
311
312         * lib/internal.h: New bytesex macros using <asm/byteorder.h>
313         whenever available.
314
315         * lib/proc.c (proc_read, proc_write): Distinguish between short
316         read/write and real errors.
317
318         * lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
319         libpci respects buscentric mode automatically.
320
321         * lspci.c (show_hex_dump): For CardBus bridges, print out 128
322         bytes of header (the whole standard part).
323
324         * common.c: pcilib options are now all uppercase. Also moved
325         PCI access debugging option here.
326
327         * Released as 1.99.2.
328
329 Wed Jan 20 22:50:35 1999  Martin Mares  <mj@albireo.ucw.cz>
330
331         * Wrote configure script and rewrote Makefiles.
332
333         * Removed few unused variables.
334
335 Wed Jan 20 12:21:56 1999  Martin Mares  <mj@albireo.ucw.cz>
336
337         * common.c: Moved several functions used in both setpci and lspci
338         here. This includes parsing of libpci-related options.
339
340         * More library tweaks.
341
342         * filter.c, names.c: Moved to library.
343
344         * setpci: Rewritten to use the library.
345
346         * Released as 1.99.1.
347
348 Tue Jan 19 23:00:12 1999  Martin Mares  <mj@albireo.ucw.cz>
349
350         * lspci.c (scan_devices): For cardbus bridges, read first 128
351         bytes of config space to get full standard header.
352
353         * Makefile (CFLAGS): Removed "-Wno-unused".
354
355         * Started the "New Generation" branch and introduced the
356         PCI library.
357         
358         * lspci: Rewritten to use the library.
359
360 Tue Jan 19 22:24:08 1999  Martin Mares  <mj@albireo.ucw.cz>
361
362         * Released as version 1.10.
363
364 Mon Jan 18 08:51:17 1999  Martin Mares  <mj@albireo.ucw.cz>
365
366         * lspci.8, setpci.8: Miscellaneous fixes as suggested by
367         Dag Wieers <dag@digibel.be>.
368
369 Sun Nov 29 20:05:56 1998  Martin Mares  <mj@albireo.ucw.cz>
370
371         * pciutils.spec (Name): Update from Krzysztof G. Baranowski.
372
373 Sun Nov 22 10:49:56 1998  Martin Mares  <mj@albireo.ucw.cz>
374
375         * Makefile, pciutils.h: Moved pci.ids to /usr/share.
376
377         * Released as version 1.09.
378
379 Wed Nov 18 15:47:05 1998  Martin Mares  <mj@albireo.ucw.cz>
380
381         * lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
382         bridge. Thanks to Petr Vandrovec <vandrove@vc.cvut.cz> for bug report.
383
384 Fri Oct 23 18:59:19 1998  Martin Mares  <mj@albireo.ucw.cz>
385
386         * setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
387
388 Mon Oct 19 21:53:30 1998  Martin Mares  <mj@albireo.ucw.cz>
389
390         * Released as version 1.08.
391
392         * setpci.c: glibc 2.1.x already defines pread() and pwrite().
393
394         * lspci.8: Changed warning about lspci -xxx.
395
396         * lspci.c: Require "-xxx" for full configuration space dump, so that
397         it's impossible to crash the machine by single typo.
398
399         * specs: Added (courtesy of Krzysztof G. Baranowski <kgb@knm.org.pl>).
400
401 Wed Sep  9 12:03:24 1998  Martin Mares  <mj@albireo.ucw.cz>
402
403         * lspci.c (show_bases): Better displaying of unassigned and
404         disabled bases. Thanks to Gabriel Paubert <paubert@iram.es>
405         for an idea.
406
407 Wed Sep  2 10:58:01 1998  Martin Mares  <mj@albireo.ucw.cz>
408
409         * setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
410         (thanks to Geert Uytterhoeven for finding this out)
411
412 Fri Jul 17 10:43:30 1998  Martin Mares  <mj@albireo.ucw.cz>
413
414         * lspci.c (show_verbose): Print subsystem ID using the new resolver.
415         (show_machine): Print subsystem ID.
416
417         * names.c: New name resolution engine supporting subsystem IDs.
418
419         * Released as version 1.07.
420
421 Wed Jul 15 15:37:21 1998  Martin Mares  <mj@albireo.ucw.cz>
422
423         * lspci.c (show_htype2 etc.): Displaying of CardBus headers.
424         (show_bases): Honor the `cnt' argument.
425         (grow_tree): Parse CardBus headers in tree mode as well.
426
427         * pci.h: Updated CardBus header field description. I still don't
428         have the CardBus standard available, but OZ6832 specs contain
429         full description of all header fields supported by the chip.
430
431 Tue Jun  9 22:53:59 1998  Martin Mares  <mj@albireo.ucw.cz>
432
433         * Released as 1.06.
434
435         * names.c (parse_name_list): Killed an unused variable.
436
437         * setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
438         if they are not defined by glibc (needed for glibc built on older
439         kernels). Ugly.
440
441         * setpci.c (exec_op): Fixed error messages. Thanks, Steve!
442
443 Mon Jun  8 10:59:22 1998  Martin Mares  <mj@albireo.ucw.cz>
444
445         * Released as 1.05.
446
447         * setpci.c: Problems with pread()/pwrite() with glibc on Alpha
448         should be gone. Again thanks to Steve for bug report.
449
450         * filter.c (filter_parse_slot): Fixed ":x" type filters.
451
452         * pci.ids: Killed duplicate entry. Thanks to Stephen Williams
453         <steve@icarus.com> for reporting this.
454
455 Sun Jun  7 19:27:51 1998  Martin Mares  <mj@albireo.ucw.cz>
456
457         * lspci.c (main), setpci.c (main): Implemented "--version".
458
459         * Released as 1.04.
460
461         * pciutils.h (PCIUTILS_VERSION): Added version string.
462
463         * filter.c, names.c: Extraneous #include <linux/pci.h> removed.
464         Thanks to Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be>
465         for bug report.
466
467 Thu May 28 14:45:58 1998  Martin Mares  <mj@lomikel.karlin.mff.cuni.cz>
468
469         * pci.ids: More updates from Jens Maurer.
470
471 Wed Apr 22 10:00:39 1998  Martin Mares  <mj@albireo.ucw.cz>
472
473         * pci.ids: Updates from Jens Maurer.
474
475 Sun Apr 19 11:14:25 1998  Martin Mares  <mj@albireo.ucw.cz>
476
477         * Released as 1.03.
478
479         * setpci.8: Written.
480
481         * setpci.c: Finished.
482
483         * lspci.c: Now able to fetch expansion ROM base from kernel device list
484         and print it if not in buscentric mode.
485
486 Tue Mar 31 23:11:57 1998  Martin Mares  <mj@albireo.ucw.cz>
487
488         * setpci.c: Added.
489
490 Sun Mar 22 15:39:08 1998  Martin Mares  <mj@albireo.ucw.cz>
491
492         * lspci.8: Updated the documentation.
493
494         * lspci.c: Modified to use the new filtering mechanism (options -f and -d).
495
496         * filter.c: Introduced new generic device filter.
497
498 Thu Mar 19 17:03:48 1998  Martin Mares  <mj@lomikel.karlin.mff.cuni.cz>
499
500         * lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
501         of PCI-to-PCI bridges in the tree format.
502
503 Sun Feb 15 10:12:25 1998  Martin Mares  <mj@albireo.ucw.cz>
504
505         * lspci.c (show_machine): Added non-verbose mode of machine-readable
506         dump.
507
508         * pci.ids: Updates from Jens Maurer.
509
510         * Released as version 1.02.
511
512 Thu Feb 12 16:53:28 1998  Martin Mares  <mj@lomikel.karlin.mff.cuni.cz>
513
514         * lspci.c: Added a "-m" switch for dumping machine-readable
515         configuration data (requested by Bjoern Kriews <bkr@cut.de>).
516
517 Mon Feb  9 13:17:43 1998  Martin Mares  <mj@albireo.ucw.cz>
518
519         * Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
520         if available. This should avoid all problems with official kernel
521         not synchronized to newer PCI code in CVS -- standard distribution
522         of pciutils now contains pci.h from current CVS kernel, pciutils
523         in CVS contain no pci.h and use the correct kernel include.
524
525         * Makefile: Fixed installation path for man pages.
526
527 Sat Feb  7 15:15:46 1998  Martin Mares  <mj@albireo.ucw.cz>
528
529         * README: Updated.
530
531         * lspci.8: Created a man page.
532
533         * Releasing as version 1.0.
534
535 Tue Feb  3 20:56:00 1998  Martin Mares  <mj@albireo.ucw.cz>
536
537         * Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
538         to all the C sources. This should eliminate problems with 32-bit compilers
539         on sparc64.
540
541         * lspci.c (show_verbose): Recognize CardBus bridge header type.
542         (show_htype2): Stub routine.
543         (scan_config): Write sensible error message if the kernel denies reading of
544         upper part of the PCI config space.
545