xref: /pciutils/ChangeLog (revision cce2caac)
1138c0385SMartin Mares2004-05-28  Martin Mares  <[email protected]>
2138c0385SMartin Mares
3*cce2caacSMartin Mares	* lspci.c (show_verbose): Header type 1 is probably legal for all
4*cce2caacSMartin Mares	types of bridges, not only for PCI-to-PCI bridges.
5*cce2caacSMartin Mares
6b569ef09SMartin Mares	* lspci.c (format_agp_rate): Write "x16", not "x@".
7b569ef09SMartin Mares	(show_agp): rate[] could overflow.
8b569ef09SMartin Mares	Bugs reported by Jakub Bogusz <[email protected]>.
9b569ef09SMartin Mares
10bfc4fe7aSMartin Mares	* lspci.c (show_ht_*): Show HyperTransport capability with all its
11bfc4fe7aSMartin Mares	details. Once again code by Maciej simplified (i.e., possibly broken)
12bfc4fe7aSMartin Mares	by me.
13bfc4fe7aSMartin Mares
14bfc4fe7aSMartin Mares	* lib/header.h: Added declarations of HyperTransport capability.
15bfc4fe7aSMartin Mares	Again thanks to Maciej.
16bfc4fe7aSMartin Mares
17138c0385SMartin Mares	* lspci.c: Decode all bits of the secondary status word in type 1 headers.
18138c0385SMartin Mares	Thanks to Maciej W. Rozycki <[email protected]> for the patch.
19138c0385SMartin Mares
208fc75dbcSMartin Mares2003-12-27  Martin Mares  <[email protected]>
218fc75dbcSMartin Mares
2281abd2a7SMartin Mares	* Released as 2.1.99-test3.
2381abd2a7SMartin Mares
241f7c91ccSMartin Mares	* lspci.man, setpci.man: Document domains and correct spelling.
251f7c91ccSMartin Mares
261f7c91ccSMartin Mares	* lib/dump.c (dump_init): Added ability to read domain numbers.
271f7c91ccSMartin Mares
2884c8d1bbSMartin Mares	* lspci.c: Devices in domains different from 0 have their slot number
291f7c91ccSMartin Mares	printed as "<domain>:<bus>:<slot>.<func>". Tree view supports domains
301f7c91ccSMartin Mares	as well.
3184c8d1bbSMartin Mares
3284c8d1bbSMartin Mares	* lib/filter.c: Slot filters understand domains.
3384c8d1bbSMartin Mares
3484c8d1bbSMartin Mares	* lib/generic.c: Mention the domain in slot numbers in all error messages.
3584c8d1bbSMartin Mares
3684c8d1bbSMartin Mares	* lib/internal.h: The #ifdef for Linux <asm/byteorder.h> was wrong.
3784c8d1bbSMartin Mares
3884c8d1bbSMartin Mares	* lib/access.c (pci_get_dev): Added support for domains.
3984c8d1bbSMartin Mares
4084c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan): Read vendor and device ID from the config
4184c8d1bbSMartin Mares	registers (or to be precise, leave it for the generic parts of the pcilib
4284c8d1bbSMartin Mares	to do so) instead of reading them from the sysfs. It's faster this way.
4384c8d1bbSMartin Mares
4484c8d1bbSMartin Mares	* lspci.c (show_pcix): Don't touch pci_dev->hdrtype, it's an internal
4584c8d1bbSMartin Mares	variable. Better read it from the config registers (it's cached anyway).
4684c8d1bbSMartin Mares
4784c8d1bbSMartin Mares	* lib/sysfs.c (sysfs_scan), lib/proc.c (proc_scan): Don't read the hdrtype.
4884c8d1bbSMartin Mares	  lib/generic.c (pci_generic_fill_info): If hdrtype is -1 (unset), read it.
4984c8d1bbSMartin Mares	  Saves lots of unnecessary file accesses.
5084c8d1bbSMartin Mares
5111f7b31bSMartin Mares	* lib/pci.h (PCIADDR_PORT_FMT): Use %llx instead of %Lx, because the latter
5211f7b31bSMartin Mares	is not supported by all C libraries.
5311f7b31bSMartin Mares
5411f7b31bSMartin Mares	* Makefile: Always enter the lib directory (remember that we don't have
5511f7b31bSMartin Mares	full dependecies for the library in the top-level Makefile; hmmm, another
5611f7b31bSMartin Mares	thing to rewrite some day).
5711f7b31bSMartin Mares
5811f7b31bSMartin Mares	* lib/sysfs.c: Added Linux sysfs access method based on the patch
5911f7b31bSMartin Mares	written by Matthew Wilcox <[email protected]>.
6011f7b31bSMartin Mares
6111f7b31bSMartin Mares	* lib/proc.c: Renamed the access method name from "/proc/bus/pci" to "Linux-proc".
6211f7b31bSMartin Mares
6311f7b31bSMartin Mares	* lib/pread.h: The hacks to support pread on various versions
6411f7b31bSMartin Mares	of Linux libc moved there.
6511f7b31bSMartin Mares
6611f7b31bSMartin Mares	* lib/proc.c (proc_setup): The return value of snprintf() varies
6711f7b31bSMartin Mares	between glibc versions, so we need to check both for a negative
6811f7b31bSMartin Mares	values and for too large values.
6911f7b31bSMartin Mares
704284af58SMartin Mares	* Removed last few references to the "Linux PCI Utilities", the
714284af58SMartin Mares	package is pretty cross-platform now :)
724284af58SMartin Mares
734284af58SMartin Mares2003-12-27  Martin Mares  <[email protected]>
744284af58SMartin Mares
75ab12277eSMartin Mares	* Released as 2.1.99-test2.
76ab12277eSMartin Mares
77ab12277eSMartin Mares	* README, pciutils.lsm, pciutils.spec: Use @VERSION@ to make the
78ab12277eSMartin Mares	release scripts insert the current version. "make release" is gone.
79ab12277eSMartin Mares
80ab12277eSMartin Mares	* maint/release, maint/release.pm: Added a new system of scripts for
81ab12277eSMartin Mares	making releases including inter-version diffs etc.
82ab12277eSMartin Mares
83ab12277eSMartin Mares	* Makefile: Cleaned up.
84ab12277eSMartin Mares
85ab12277eSMartin Mares	* lib/fbsd-device.c: I patched another copy of this file by mistake,
86ab12277eSMartin Mares	this time the version checks should be right.
87ab12277eSMartin Mares
88ab12277eSMartin Mares2003-12-27  Martin Mares  <[email protected]>
89ab12277eSMartin Mares
906d722cd6SMartin Mares	* Released as 2.1.99-test1.
916d722cd6SMartin Mares
92dd33246aSMartin Mares	* pciutils.h, common.c, lspci.man, setpci.man, lib/internal.h:
93dd33246aSMartin Mares	Remove shadows of the syscall access method which was never
94dd33246aSMartin Mares	implemented.
95dd33246aSMartin Mares
9680b3121aSMartin Mares	* update-pciids.sh: Try to preserve permissions of the old file
9780b3121aSMartin Mares	if chmod supports --reference. Should close Debian Bug #223740.
9880b3121aSMartin Mares
996aea909aSMartin Mares	* lib/proc.c (proc_setup): Increased path name length limit to 1024.
1006aea909aSMartin Mares	Thanks for Redhat and Mandrake for inspiration.
1016aea909aSMartin Mares
1026aea909aSMartin Mares	* lib/configure: Recognize ppc and ppc64, both have 64-bit addresses.
1036aea909aSMartin Mares	Grabbed from Redhat (Fedora) patches.
1046aea909aSMartin Mares
1056aea909aSMartin Mares2003-12-27  Martin Mares  <[email protected]>
1066aea909aSMartin Mares
107f701ff47SMartin Mares	Merged bug fixes from Debian patches:
108f701ff47SMartin Mares
109f701ff47SMartin Mares	* lspci.c (show_verbose): "Cache Line Size" should be capitalized.
110f701ff47SMartin Mares
111f701ff47SMartin Mares	* lspci.c (show_pcix_nobridge): Added a missing newline.
112f701ff47SMartin Mares
1132240db8cSMartin Mares	* lib/proc.c (proc_scan): When reading the header type, don't
1142240db8cSMartin Mares	forget to clear the topmost bit indicating that the device has
115f701ff47SMartin Mares	multiple functions.
1162240db8cSMartin Mares
1172240db8cSMartin Mares2003-12-27  Martin Mares  <[email protected]>
1182240db8cSMartin Mares
11945902995SMartin Mares	Updated the FreeBSD port. Thanks to Samy Al Bahra <[email protected]>
12045902995SMartin Mares	for the patches:
12145902995SMartin Mares
12245902995SMartin Mares	* lib/Makefile: Add ${FREEBSD_SYS} to the include path if it's defined.
12345902995SMartin Mares	* lib/fbsd-device.c: Select the right set of system includes according
12445902995SMartin Mares	to __FreeBSD_version.
12545902995SMartin Mares
12645902995SMartin Mares2003-12-27  Martin Mares  <[email protected]>
12745902995SMartin Mares
1288fc75dbcSMartin Mares	Merged support for Solaris on i386 by Bill Moore <[email protected]>
1298fc75dbcSMartin Mares	and cleaned up:
1308fc75dbcSMartin Mares
1318fc75dbcSMartin Mares	* lib/configure: Recognize SunOS.
1328fc75dbcSMartin Mares	* lib/internal.h: Learn how to recognize byte order on SunOS.
1338fc75dbcSMartin Mares	* lib/i386-ports.c: Split OS-dependent I/O port access from i386-ports.c.
1348fc75dbcSMartin Mares	* lib/i386-io-linux.h: Linux specific part.
1358fc75dbcSMartin Mares	* lib/i386-io-hurd.h: GNU/Hurd specific part.
1368fc75dbcSMartin Mares	* lib/i386-io-sunos.h: SunOS specific part.
1378fc75dbcSMartin Mares
1389739916eSMartin Mares2003-12-26  Martin Mares  <[email protected]>
1399739916eSMartin Mares
1409739916eSMartin Mares	* lib/header.h (PCI_*_MASK): Cast to pciaddr_t explicitly.
1419739916eSMartin Mares
1429739916eSMartin Mares	* lib/pci.h: Types declared in <sys/types.h> should be usable on all
1439739916eSMartin Mares	platforms we currently support, so kill the forest of #ifdef's and
1449739916eSMartin Mares	use them in all cases.
1459739916eSMartin Mares
1469739916eSMartin Mares	* lib/pci.h: Use ULONG_MASK to decide whether we should use long
1479739916eSMartin Mares	or long long to represent a 64-bit address. Killed HAVE_LONG_ADDRESS.
1489739916eSMartin Mares	Define format strings for addresses, port numbers and IRQ numbers
1499739916eSMartin Mares	directly in pci.h.
1509739916eSMartin Mares
1519739916eSMartin Mares	* lib/proc.c (proc_scan): Use PCIADDR_T_FMT for scanf'ing addresses.
1529739916eSMartin Mares
15380459c65SMartin Mares2003-12-26  Marco Gerards  <[email protected]>
15480459c65SMartin Mares
15580459c65SMartin Mares	Added support for the GNU Hurd (cleaned up by Martin Mares):
15680459c65SMartin Mares
15780459c65SMartin Mares	* lib/configure [GNU]: Use the i386 ports for configuration access.
15880459c65SMartin Mares	* lib/i386-ports.c: Don't call iopl() on the Hurd.
15980459c65SMartin Mares	* lib/pci.h [OS_GNU]: Include <sys/types.h> and use it for defining
16080459c65SMartin Mares	u8 to u32.
16180459c65SMartin Mares
162a85769a8SMartin Mares2003-12-26  Martin Mares  <[email protected]>
163a85769a8SMartin Mares
1647dacd9c8SMartin Mares	* lspci.c (show_pcix_bridge, show_pcix_nobridge): Don't forget to call
1657dacd9c8SMartin Mares	config_fetch() to ensure that the registers have been read. Thanks to
1667dacd9c8SMartin Mares	Bill Wood <[email protected]> for the patch.
1677dacd9c8SMartin Mares
1687dacd9c8SMartin Mares	* lspci.c: Ensure that failure of config_fetch() is handled correctly
1697dacd9c8SMartin Mares	at all places.
1707dacd9c8SMartin Mares
1714063c31cSMartin Mares	* lspci.man: There was one more explicit reference to /usr/share/pci.ids.
1724063c31cSMartin Mares	Changed to @SHAREDIR@. Patch from Maciej W. Rozycki <[email protected]>.
1734063c31cSMartin Mares
1743fe8a38dSMartin Mares	* setpci.c (main): Better error messages.
1753fe8a38dSMartin Mares
1765f5b1a7bSMartin Mares	* setpci.c (ex_op): The demo mode should disable only writing, not reading.
1775f5b1a7bSMartin Mares
1785f5b1a7bSMartin Mares	* setpci.man: The documentation was inconsistent on what should -D do.
1795f5b1a7bSMartin Mares	Document the new behaviour.
180b251f40bSMartin Mares
18191e37a49SMartin Mares	* pciutils.h, common.c, setpci.c: Introduced a NONRET macro encapsulating
18291e37a49SMartin Mares	the GCC specific __attribute__((noreturn)) and killed the hack with
18391e37a49SMartin Mares	redefining __attribute__ on non-GCC compilers.
18491e37a49SMartin Mares
1854afd29d3SMartin Mares	* Makefile: Added missing dependencies. Parallel builds work now.
1864afd29d3SMartin Mares	Problem reported by Andreas Haumer <[email protected]>, but I chose
1874afd29d3SMartin Mares	a different fix.
1884afd29d3SMartin Mares
189b0f1a03bSMartin Mares	* Makefile (MANDIR): Use `:=' instead of `=' to avoid executing the shell
190b0f1a03bSMartin Mares	command every time $(MANDIR) is referenced.
191b0f1a03bSMartin Mares
192b7fd8e19SMartin Mares	* lspci.c (main): The error message for `lspci -s' incorrectly mentioned
193b7fd8e19SMartin Mares	a `-f' switch. Reported by Steve Finney <[email protected]>.
194b7fd8e19SMartin Mares
19505bb10a2SMartin Mares	* lib/generic.c: Removed memory leak in pci_generic_bus_scan().
19605bb10a2SMartin Mares	Reported by Gary Parnes <[email protected]>.
19705bb10a2SMartin Mares
198a832f6f1SMartin Mares	* Replaced obsolete syntax of __attribute__((unused)) in the middle of
199a832f6f1SMartin Mares	parameter declarations (which is no longer supported by GCC 3.1) by the
200a832f6f1SMartin Mares	current syntax (attribute at the end). Thanks to [email protected]
201a832f6f1SMartin Mares	for reporting this problem.
202a832f6f1SMartin Mares
203a85769a8SMartin Mares	* Removed CVS $Id$ tags from all files.
204a85769a8SMartin Mares
205a85769a8SMartin Mares	* Makefile: Added some more warnings.
206a85769a8SMartin Mares
207b7351143SMartin Mares	* setpci.c: Cleaned up mask/value code.
208b7351143SMartin Mares
209b7351143SMartin Mares2003-12-08 Thayne Harbaugh <[email protected]>
210b7351143SMartin Mares
211b7351143SMartin Mares	* setpci.c: Individual bits to be set can be specified as <value>:<mask>.
212b7351143SMartin Mares
2132a5d5cf9SMartin Mares2003-11-29  Martin Mares  <[email protected]>
2142a5d5cf9SMartin Mares
2152a5d5cf9SMartin Mares	* Imported the pciutils sources to my Arch repository. Good-bye, CVS.
2162a5d5cf9SMartin Mares
217d772ef15SMartin Mares2003-01-04  Martin Mares  <[email protected]>
218d772ef15SMartin Mares
2191b95f396SMartin Mares	* Released as 2.1.11.
2201b95f396SMartin Mares
221c83293ebSMartin Mares	* Makefile: Changed configuration of installation directories --
222c83293ebSMartin Mares	all paths are now set at the top of the Makefile instead of being
223c83293ebSMartin Mares	scattered between the installation rules. The default installation
224c83293ebSMartin Mares	now goes always to /usr/local regardless of the OS as most distributions
225c83293ebSMartin Mares	already contain some version of pciutils and we don't want custom
226c83293ebSMartin Mares	installations to interfere with the default ones.
227c83293ebSMartin Mares
228c83293ebSMartin Mares	* Makefile: Removed a couple of ancient install hacks: we no longer
229c83293ebSMartin Mares	try to avoid overwriting a newer pci.ids file (users are now expected
230c83293ebSMartin Mares	to use update-ids) and we don't try to remove /etc/pci.ids (a long time
231c83293ebSMartin Mares	has passed since the last version which used it).
232c83293ebSMartin Mares
233e2875dcdSMartin Mares	* Makefile: Paths to pci.ids in man pages automatically get the right path.
234e2875dcdSMartin Mares
2351b95f396SMartin Mares	* Added the update-ids utility.
2360138a2a7SMartin Mares
237d772ef15SMartin Mares	* lib: Removed partially implemented "syscall" access method which will
238d772ef15SMartin Mares	probably never be needed.
239d772ef15SMartin Mares
240eb620239SMartin Mares2002-12-27  Martin Mares  <[email protected]>
241eb620239SMartin Mares
242130090bdSMartin Mares	* lib/nbsd-libpci.c: Cleaned up and hopefully made it endian safe.
243130090bdSMartin Mares
244eb620239SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Added work-around for devices with
245eb620239SMartin Mares	discontiguous numbering of functions. This is already present in the Linux
246eb620239SMartin Mares	kernel for several years, but I forgot to update pciutils as well.
247eb620239SMartin Mares
248848b4347SMartin Mares2002-12-26  Martin Mares  <[email protected]>
249848b4347SMartin Mares
250579b19ffSMartin Mares	* lib/header.h, lspci.c: Dump AGP3 flags and speeds.
251579b19ffSMartin Mares
252579b19ffSMartin Mares	* lib/pci.h, Makefile: Removed HAVE_OWN_HEADER_H. Always use our own header,
253579b19ffSMartin Mares	there is no reason to prefer the kernel version.
254579b19ffSMartin Mares
255579b19ffSMartin Mares	* lib/proc.c (proc_scan): Don't forget to initialize hdrtype.
256579b19ffSMartin Mares
257848b4347SMartin Mares	* Added preliminary version of NetBSD support by Quentin Garnier
258848b4347SMartin Mares	<[email protected]>.
259848b4347SMartin Mares
260f0952474SMartin Mares2002-04-06  Martin Mares  <[email protected]>
261f0952474SMartin Mares
262f0952474SMartin Mares	* lspci.c: Mention "-xxx" in the help.
263f0952474SMartin Mares
264d2f666f1SMartin Mares2002-03-30  Martin Mares  <[email protected]>
265d2f666f1SMartin Mares
2669bd44bb0SMartin Mares	* Released as 2.1.10.
2679bd44bb0SMartin Mares
268a33d0eb7SMartin Mares	* Removed pci.ids from the CVS as they are now maintained separately.
269a33d0eb7SMartin Mares	They are still included in the tarball, but if you are building	pciutils
270a33d0eb7SMartin Mares	from CVS sources or you want to get a newer ID file than the one distributed,
271a33d0eb7SMartin Mares	just use "make update-ids" to download the most recent snapshot from
272a33d0eb7SMartin Mares	pciids.sf.net.
273a33d0eb7SMartin Mares
274a33d0eb7SMartin Mares	* Makefile, README: Updated accordingly.
275a33d0eb7SMartin Mares
276a33d0eb7SMartin Mares	* Makefile: Added a couple of maintenance targets.
277a33d0eb7SMartin Mares
278a33d0eb7SMartin Mares	* maint/*: Maintainer's utilities now reside here (present only in CVS,
279a33d0eb7SMartin Mares	not in the tarball).
280a33d0eb7SMartin Mares
281d2f666f1SMartin Mares	* lib/names.c (parse_name_list): End-of-line comments are no longer
282d2f666f1SMartin Mares	supported. Hashes are now perfectly valid in all names and they start
283d2f666f1SMartin Mares	a comment only at the start of the line.
284d2f666f1SMartin Mares
285ee551b73SMartin Mares2002-03-26  Martin Mares  <[email protected]>
286ee551b73SMartin Mares
28707159913SMartin Mares	* README: Rewritten.
28807159913SMartin Mares
289ee551b73SMartin Mares	* Makefile: When the currently installed pci.ids file is newer than
290ee551b73SMartin Mares	the version to be installed, don't overwrite it. Suggested by
291ee551b73SMartin Mares	Jean Delvare <[email protected]>.
292ee551b73SMartin Mares
293bc7b1d62SMartin Mares2002-03-24  Martin Mares  <[email protected]>
294bc7b1d62SMartin Mares
2955f5e6f64SMartin Mares	* lspci.c (show_pcix_bridge): Added PCI-X capability display.
2965f5e6f64SMartin Mares	Contributed by Jeff Garzik <[email protected]>.
2975f5e6f64SMartin Mares
2985f5e6f64SMartin Mares	* lib/header.h: Added PCI-X stuff. Again by Jeff.
2995f5e6f64SMartin Mares
3005f5e6f64SMartin Mares	* Makefile (CFLAGS): -Werror is gone.
3015f5e6f64SMartin Mares
302a1052f16SMartin Mares	* lspci.c (format_agp_rate): Fixed AGP rate reporting.
303a1052f16SMartin Mares
304bc7b1d62SMartin Mares	* lib/filter.c (pci_filter_parse_slot): Allow bus 0xff, slot 0x1f and
305bc7b1d62SMartin Mares	function 7.
306bc7b1d62SMartin Mares
307bc7b1d62SMartin Mares	* lib/names.c (pci_lookup_name): When printing unknown subsystem vendor
308bc7b1d62SMartin Mares	or device hexadecimally, don't confuse it with chip vendor/device ID.
309bc7b1d62SMartin Mares	First reported by Marc Boucher <[email protected]>.
310bc7b1d62SMartin Mares
311f793990cSMartin Mares2001-11-04  Martin Mares  <[email protected]>
312f793990cSMartin Mares
313ee551b73SMartin Mares	* Released as 2.1.9.
314ee551b73SMartin Mares
315f793990cSMartin Mares	* pci.ids: Synced with the PCI ID Repository at SourceForge
316f793990cSMartin Mares	(http://pciids.sourceforge.net/).
317f793990cSMartin Mares
3181d174e56SMartin Mares2000-08-25  Martin Mares  <[email protected]>
3191d174e56SMartin Mares
3201d174e56SMartin Mares	* pci.ids: Updated ID's, synced with kernel 2.4.0-test7.
3211d174e56SMartin Mares
32265b4327eSMartin Mares2000-06-13  Martin Mares  <[email protected]>
32365b4327eSMartin Mares
32465b4327eSMartin Mares	* Makefile (uninstall): Fixed.
32565b4327eSMartin Mares
32665b4327eSMartin Mares	* pci.ids: ID updates.
32765b4327eSMartin Mares
3284a219d5fSMartin Mares2000-05-20  Martin Mares  <[email protected]>
3294a219d5fSMartin Mares
3304a219d5fSMartin Mares	* Released as 2.1.8.
3314a219d5fSMartin Mares
3324a219d5fSMartin Mares	* pci.ids: ID updates.
3334a219d5fSMartin Mares
3344a219d5fSMartin Mares	* lspci.c (show_verbose): Min/max latency is now printed in nanoseconds.
3354a219d5fSMartin Mares
3364a219d5fSMartin Mares2000-05-04  Martin Mares  <[email protected]>
3374a219d5fSMartin Mares
3384a219d5fSMartin Mares	* lspci.c (show_verbose): If the header type doesn't match device
3394a219d5fSMartin Mares	class, just print a warning and still use the header type, assuming
3404a219d5fSMartin Mares	bogus class info.
3414a219d5fSMartin Mares
34210c90662SMartin Mares2000-05-01  Martin Mares  <[email protected]>
34310c90662SMartin Mares
34472b9b690SMartin Mares	* lspci.c (show_pm): Updated according to PCI PM specs 1.1.
34572b9b690SMartin Mares
34610c90662SMartin Mares	* pci.ids: Updated Contemporary Control ARCnet card entries.
34710c90662SMartin Mares
34810c90662SMartin Mares	* pci.ids: Synchronized class list with latest PCI SIG documents.
34910c90662SMartin Mares
350a239ade6SMartin Mares2000-04-29  Martin Mares  <[email protected]>
351a239ade6SMartin Mares
352a239ade6SMartin Mares	* lib/names.c (pci_lookup_name): Fixed the cheat.
353a239ade6SMartin Mares
354a239ade6SMartin Mares	* lib/internal.h: Moved UNUSED/inline hacks above all other declarations.
355a239ade6SMartin Mares
356a239ade6SMartin Mares	* pci.ids: Various ID updates.
357a239ade6SMartin Mares
3582c83b860SMartin Mares2000-04-21  Martin Mares  <[email protected]>
3592c83b860SMartin Mares
3602c83b860SMartin Mares	* Released as 2.1.7.
3612c83b860SMartin Mares
3622c83b860SMartin Mares	* pciutils.spec: Added German description.
3632c83b860SMartin Mares
3642c83b860SMartin Mares	* lib/names.c (pci_lookup_name): Added a cheat for case that subsystem ID's
3652c83b860SMartin Mares	are the same as device ID and just output subsystem name according to
3662c83b860SMartin Mares	device name.
3672c83b860SMartin Mares
3682c83b860SMartin Mares	* lib/proc.c: Use UNUSED instead of __attribute__((unused)).
3692c83b860SMartin Mares
3702c83b860SMartin Mares	* lib/pci.h: Added the correct typedefs for AIX.
3712c83b860SMartin Mares
3722c83b860SMartin Mares	* lib/generic.c (pci_generic_scan_bus): Export.
3732c83b860SMartin Mares
3742c83b860SMartin Mares	* lib/configure: Detect AIX. Use "echo '...\c'" instead of
3752c83b860SMartin Mares	"echo -n" if the shell isn't bash.
3762c83b860SMartin Mares
3772c83b860SMartin Mares	* lspci.c: Avoid using alloca() if not compiled by GCC.
3782c83b860SMartin Mares	(insert_dev): Avoid returning a void value.
3792c83b860SMartin Mares
3802c83b860SMartin Mares	* Makefile: Choose which install utility to use according to
3812c83b860SMartin Mares	OS type. Also use `-o' instead of `-or' in find arguments.
3822c83b860SMartin Mares	Part of the AIX port.
3832c83b860SMartin Mares
3842c83b860SMartin Mares	* lib/aix-device.c: Added AIX low-level interface. Contributed
3852c83b860SMartin Mares	by Dave Johnson <[email protected]>, thanks a lot!
3862c83b860SMartin Mares
3872c83b860SMartin Mares	* pci.ids: Few new ID's.
3882c83b860SMartin Mares
3892c83b860SMartin Mares	* pciutils.h, lib/internal.h: Redefine __attribute__ and inline
3902c83b860SMartin Mares	when not compiled by GCC.
3912c83b860SMartin Mares
392c1a828daSMartin Mares2000-04-17  Martin Mares  <[email protected]>
393c1a828daSMartin Mares
394c1a828daSMartin Mares	* Released as 2.1.6.
395c1a828daSMartin Mares
396c1a828daSMartin Mares	* pci.ids: Added a large batch of ID's contributed by Gunther
397c1a828daSMartin Mares	Mayer <[email protected]> and synced the
398c1a828daSMartin Mares	list with the 2.3.99pre6 kernel.
399c1a828daSMartin Mares
400e91dd3abSMartin MaresThu Mar  9 13:11:39 2000  Martin Mares  <[email protected]>
401e91dd3abSMartin Mares
402a80b79a9SMartin Mares	* lib/example.c: Added a simple example of how to use
403a80b79a9SMartin Mares	the library.
404a80b79a9SMartin Mares
40589984232SMartin Mares	* lspci.man, setpci.man: Revealed --version. Well spotted
40689984232SMartin Mares	by Adam Sulmicki.
40789984232SMartin Mares
408e91dd3abSMartin Mares	* pci.ids: Added lots of new ID's and synced with 2.3.50.
409e91dd3abSMartin Mares
41078d9c5e2SMartin MaresTue Feb 15 00:16:21 2000  Martin Mares  <[email protected]>
41178d9c5e2SMartin Mares
41278d9c5e2SMartin Mares	* Released as 2.1.5.
41378d9c5e2SMartin Mares
41478d9c5e2SMartin Mares	* pciutils.spec: Updated spec file from Andreas Jaeger. Now using
41578d9c5e2SMartin Mares	%{_mandir} to find the right location to install manual pages to.
41678d9c5e2SMartin Mares
41778d9c5e2SMartin Mares	* pci.ids: New ID's.
41878d9c5e2SMartin Mares
41978d9c5e2SMartin Mares	* setpci.c (main): Don't crash when `-s' or `-d' is given with
42078d9c5e2SMartin Mares	no argument.
42178d9c5e2SMartin Mares
422f8141ae2SMartin MaresMon Jan 24 20:04:11 2000  Andreas Jaeger  <[email protected]>
423f8141ae2SMartin Mares
424f8141ae2SMartin Mares	* lib/i386-ports.c: Include <asm/io.h> only on systems without
425f8141ae2SMartin Mares	glibc.
426f8141ae2SMartin Mares
427f8141ae2SMartin MaresMon Jan 24 11:24:43 2000  Martin Mares  <[email protected]>
428f8141ae2SMartin Mares
429f8141ae2SMartin Mares	* Makefile: Modified to work with the Linux FHS brain-damaged idea
430f8141ae2SMartin Mares	of putting man pages to /usr/share/man. Now we choose either /usr/man
431f8141ae2SMartin Mares	or /usr/share/man depending on which one exists.
432f8141ae2SMartin Mares
43359e76e8bSMartin MaresSun Jan 23 10:52:34 2000  Martin Mares  <[email protected]>
43459e76e8bSMartin Mares
43559e76e8bSMartin Mares	* pci.ids: Synced with Linux 2.3.40.
43659e76e8bSMartin Mares
43759e76e8bSMartin Mares	* Released as version 2.1.4.
43859e76e8bSMartin Mares
4392dfd48cdSMartin MaresThu Jan 20 11:08:32 2000  Martin Mares  <[email protected]>
4402dfd48cdSMartin Mares
4412715403fSMartin Mares	* lspci.c (scan_device): Fixed bug in reading of cardbus extensions.
4422715403fSMartin Mares
44381077814SMartin Mares	* lib/proc.c: pread/pwrite fixed again, this time on libc5 :(
44481077814SMartin Mares
44581077814SMartin Mares	* lspci.c (format_agp_rate): Better formatting of AGP rates.
44681077814SMartin Mares
44781077814SMartin Mares	* pci.ids: New ID's.
44881077814SMartin Mares
4492dfd48cdSMartin Mares	* lib/configure: Added configuration for ia64 (the same as for Alpha).
4502dfd48cdSMartin Mares	Patch from Stephane Eranian <[email protected]>.
4512dfd48cdSMartin Mares
4525a258860SMartin MaresThu Jan 13 23:01:52 2000  Martin Mares  <[email protected]>
4535a258860SMartin Mares
4545a258860SMartin Mares	* Released as version 2.1.3.
4555a258860SMartin Mares
4565a258860SMartin Mares	* pci.ids: New ID's.
4575a258860SMartin Mares
4585a258860SMartin Mares	* lspci.c: Alpha IO_FORMAT fix by Andrea Arcangeli.
4595a258860SMartin Mares
4605a258860SMartin Mares	* lib/access.c: Corrected order of access methods -- it's wonderful how
4615a258860SMartin Mares	long could such a bug remain unspotted. Thanks go to Andreas Schockenhoff.
4625a258860SMartin Mares
4630c047bbeSMartin MaresSat Dec 11 23:34:48 1999  Martin Mares  <[email protected]>
4640c047bbeSMartin Mares
4650c047bbeSMartin Mares	* Released as version 2.1.2.
4660c047bbeSMartin Mares
4670c047bbeSMartin Mares	* lib/names.c (pci_lookup_name): Fixed printing of unknown subsystem ID's.
4680c047bbeSMartin Mares
46933bc28a5SMartin MaresSat Dec  4 13:11:03 1999  Martin Mares  <[email protected]>
47033bc28a5SMartin Mares
47139231205SMartin Mares	* Released as version 2.1.1.
47239231205SMartin Mares
47333bc28a5SMartin Mares	* pci.ids: Several new ID's.
47433bc28a5SMartin Mares
47533bc28a5SMartin Mares	* setpci.c (exec_op): Don't forget to increment address after writing
47633bc28a5SMartin Mares	single value, so that `30.b=12,34,56,78' works as expected. Reported
47733bc28a5SMartin Mares	by Petr Soucek <[email protected]>.
47833bc28a5SMartin Mares
4798d047897SMartin MaresWed Nov  3 10:24:38 1999  Martin Mares  <[email protected]>
4808d047897SMartin Mares
4818d047897SMartin Mares	* lspci.c (show_terse): If prog-if is zero, but it's present in the
4828d047897SMartin Mares	ID list, show it.
4838d047897SMartin Mares
4846afc6538SMartin MaresSat Oct 30 11:06:35 1999  Martin Mares  <[email protected]>
4856afc6538SMartin Mares
4866afc6538SMartin Mares	* Released as version 2.1.
4876afc6538SMartin Mares
4886afc6538SMartin Mares	* pci.ids: Synced to devlist.h in 2.3.24 kernel. Merged in
4896afc6538SMartin Mares	lots of contributed entries.
4906afc6538SMartin Mares
4918f756113SMartin MaresThu Oct 14 10:40:12 1999  Dave Jones    <[email protected]>
4928f756113SMartin Mares
4938f756113SMartin Mares	* pci.ids: Added lots of subsystem definitions.
4948f756113SMartin Mares
495d4798a32SMartin MaresSat Oct  9 14:32:28 1999  Martin Mares  <[email protected]>
496d4798a32SMartin Mares
497d4798a32SMartin Mares	* setpci.man: Better example.
498d4798a32SMartin Mares
499d4798a32SMartin Mares	* lspci.c: Resolve prog-if names.
500d4798a32SMartin Mares
501d4798a32SMartin Mares	* lib/names.c: Adapted to new pci.ids syntax.
502d4798a32SMartin Mares
503d4798a32SMartin Mares	* pci.ids: Reorganized the pci.ids file. Subsystems are listed
504d4798a32SMartin Mares	under devices, classes can optionally contain prog-if information.
505d4798a32SMartin Mares	New ID's, as usually.
506d4798a32SMartin Mares
507e306e911SMartin MaresWed Sep 22 09:45:24 1999  Martin Mares  <[email protected]>
508e306e911SMartin Mares
509e306e911SMartin Mares	* pci.ids: New ID's. As usually.
510e306e911SMartin Mares
511e306e911SMartin Mares	* lspci.c (show_htype1, show_htype2): Don't show `closed' bridge windows
512e306e911SMartin Mares	unless we're vvvery verbose.
513e306e911SMartin Mares
514e306e911SMartin MaresMon Sep 20 11:22:54 1999  Martin Mares  <[email protected]>
515e306e911SMartin Mares
516e306e911SMartin Mares	* lspci.c (show_htype2): Don't forget a TAB before the "I/O window" line.
517e306e911SMartin Mares
518e64a576cSMartin MaresTue Sep 14 09:31:01 1999  Martin Mares  <[email protected]>
519e64a576cSMartin Mares
520e64a576cSMartin Mares	* pci.ids: New ID's. Again.
521e64a576cSMartin Mares
522c36c0862SMartin MaresThu Aug  5 17:45:42 1999  Martin Mares  <[email protected]>
523c36c0862SMartin Mares
524c36c0862SMartin Mares	* lspci.c (show_size): Don't show size if it's zero (usually
525c36c0862SMartin Mares	due to bus-centric mode being enabled).
526c36c0862SMartin Mares
5271ca42433SMartin MaresTue Jul 20 13:25:09 1999  Martin Mares  <[email protected]>
5281ca42433SMartin Mares
529168b4f46SMartin Mares	* lib/pci.h: Types are OS dependent.
530168b4f46SMartin Mares
531168b4f46SMartin Mares	* lib/internal.h: Byte order hacks are OS dependent.
532168b4f46SMartin Mares
533168b4f46SMartin Mares	* lib/configure: Recognize FreeBSD. Also set OS_XXX according to the OS.
534168b4f46SMartin Mares
535168b4f46SMartin Mares	* lib/Makefile, lib/access.c: Added fbsd-device target.
536168b4f46SMartin Mares
537168b4f46SMartin Mares	* pci.ids: Added an entry for PLX 9080 bridges with subsystem ID
538168b4f46SMartin Mares	incorrectly set to device ID.
539168b4f46SMartin Mares
540168b4f46SMartin Mares	* README: Added a note that we support FreeBSD.
541168b4f46SMartin Mares
542168b4f46SMartin Mares	* Makefile (PREFIX, ROOT): Set it depending on the OS.
543168b4f46SMartin Mares	(%.8): Grrr, BSD date is not able to convert date formats the same way
544168b4f46SMartin Mares	as GNU date does. Use sed instead.
545168b4f46SMartin Mares	(install): Use `-c' when calling install.
546168b4f46SMartin Mares
547168b4f46SMartin Mares	* lib/fbsd-device.c: Added FreeBSD /dev/pci access module contributed
548168b4f46SMartin Mares	by Jari Kirma <[email protected]>.
549168b4f46SMartin Mares
550bc6346dfSMartin Mares	* lib/proc.c: Rewrote the pread/pwrite things once again. Use pread
551bc6346dfSMartin Mares	and pwrite only when we are certain it's safe (i.e., glibc 2.1
552bc6346dfSMartin Mares	on all architectures or any libc on a i386 where we really know
553bc6346dfSMartin Mares	how to use syscalls directly). In all other cases, emulate it
554bc6346dfSMartin Mares	with lseek/read/write.
555bc6346dfSMartin Mares
5561ca42433SMartin Mares	* pci.ids: Some more IDs.
5571ca42433SMartin Mares
5581ca42433SMartin MaresMon Jul 19 14:10:36 1999  Martin Mares  <[email protected]>
5591ca42433SMartin Mares
5601ca42433SMartin Mares	* pci.ids: Added IDs of parallel port controller cards as sent
5611ca42433SMartin Mares	by Tim Waugh <[email protected]>.
5621ca42433SMartin Mares
563e95c8373SMartin MaresWed Jul  7 00:55:48 1999  Martin Mares  <[email protected]>
564e95c8373SMartin Mares
565e95c8373SMartin Mares	* lib/proc.c (proc_scan): HAVE_LONG_ADDRESS instead of HAVE_64BIT_ADDRESS.
566e95c8373SMartin Mares
567e95c8373SMartin Mares	* lspci.c: ADDR_FORMAT now depends on both HAVE_64BIT_ADDRESS and
568e95c8373SMartin Mares	HAVE_LONG_ADDRESS.
569e95c8373SMartin Mares
570e95c8373SMartin Mares	* lib/configure: HAVE_64BIT_ADDRESS now doesn't imply that the addresses
571e95c8373SMartin Mares	are represented as long long. Introduced a new flag HAVE_LONG_ADDRESS
572e95c8373SMartin Mares	to indicate this. Both Sparc architectures now use both 64BIT_ADDRESS
573e95c8373SMartin Mares	and LONG_ADDRESS since they have 32-bit userland, but don't set LONG_ADDRESS
574e95c8373SMartin Mares	on Alpha.
575e95c8373SMartin Mares
576e95c8373SMartin Mares	* lspci.c (show_msi): Added dumping of the MSI capability.
577e95c8373SMartin Mares	(show_slotid): The same for SlotID capability.
578e95c8373SMartin Mares	(show_caps): Seperated capability dumping, because it should
579e95c8373SMartin Mares	be used for both htype0 and htype1. Even PCI 2.2 doesn't mention
580e95c8373SMartin Mares	layout of htype2, so I'm a bit unsure about it wrt capabilities
581e95c8373SMartin Mares	-- they at least have to live somewhere else since address 0x34
582e95c8373SMartin Mares	is already defined differently in htype2.
583e95c8373SMartin Mares
584e95c8373SMartin Mares	* lib/header.h (PCI_STATUS_UDF): Marked as obsolete (PCI 2.2).
585e95c8373SMartin Mares	(PCI_BASE_ADDRESS_MEM_TYPE_1M): Ditto.
586e95c8373SMartin Mares	(PCI_CAP_ID_*): Added some new capabilities defined in PCI 2.2.
587e95c8373SMartin Mares
588e95c8373SMartin Mares	* lspci.c (show_htype0): Mask out lowest 2 bits from all capability pointers
589e95c8373SMartin Mares	(required by the PCI 2.2 specs).
590e95c8373SMartin Mares
591e95c8373SMartin MaresMon Jul  5 12:45:19 1999  Martin Mares  <[email protected]>
592e95c8373SMartin Mares
593e95c8373SMartin Mares	* lspci.c (show_size): Added new function for dumping of region sizes.
594e95c8373SMartin Mares	(show_rom): Added. Now correctly dumps unassigned ROM addresses, disabled
595e95c8373SMartin Mares	ROMs et cetera.
596e95c8373SMartin Mares
597e95c8373SMartin Mares	* lib/pci.h (struct pci_dev): known_fields moved to the public part
598e95c8373SMartin Mares	of the structure.
599e95c8373SMartin Mares
600e95c8373SMartin Mares	* Added support for region sizes. Needs support in the kernel, because
601e95c8373SMartin Mares	sizes have to be scanned before drivers initialize yourself. pci_fill_info()
602e95c8373SMartin Mares	now returns a bitmask of what fields were really read.
603e95c8373SMartin Mares
60482ce97c9SMartin MaresMon Jun 28 18:37:51 1999  Dave Jones    <[email protected]>
60582ce97c9SMartin Mares
60682ce97c9SMartin Mares	* Makefile:
60782ce97c9SMartin Mares	  Added `uninstall' target - removes all traces of pciutils.
60882ce97c9SMartin Mares	* pci.ids:
60982ce97c9SMartin Mares	  - Lots of cleanups in the ATI, S3, Adaptec vendors.
61082ce97c9SMartin Mares	  - Changed Compaq QVision 1280/p definitions, as it's not possible
61182ce97c9SMartin Mares	    to determine the revision from the device ID.
61282ce97c9SMartin Mares	  - Same for the Tseng ET4000.
61382ce97c9SMartin Mares	    The id's said I had a rev C, when it was actually a rev B.
61482ce97c9SMartin Mares	  - Removed some unnecessary strings
61582ce97c9SMartin Mares	    `PCI'. Unless it's an AGP card, it should be obvious that it's PCI.
61682ce97c9SMartin Mares	    `Ethernet card'. This should be determined from config space.
61782ce97c9SMartin Mares	  - Lots of other new vendors & devices
61882ce97c9SMartin Mares	  - Other additional small cleanups.
61982ce97c9SMartin Mares
6207bed2d83SMartin MaresMon Jun 21 22:11:10 1999  Martin Mares  <[email protected]>
6217bed2d83SMartin Mares
6227bed2d83SMartin Mares	* lib/names.c (pci_lookup_name): When device ID lookup
6237bed2d83SMartin Mares	fails, return hexadecimal device ID instead of vendor ID.
6247bed2d83SMartin Mares	Well spotted by Axel Bodemann <[email protected]>,
6257bed2d83SMartin Mares	I've just extended the fix to subsystem ID's.
6267bed2d83SMartin Mares
6275ba3a475SMartin MaresThu Jun 17 19:48:21 1999  Martin Mares  <[email protected]>
6285ba3a475SMartin Mares
6295ba3a475SMartin Mares	* lspci.c (show_agp): Bug fix from Petr Vandrovec
6305ba3a475SMartin Mares	<[email protected]>. The command register was displayed
6315ba3a475SMartin Mares	incorrectly.
6325ba3a475SMartin Mares
6335ba3a475SMartin MaresWed Jun  2 22:42:44 1999  Martin Mares  <[email protected]>
6345ba3a475SMartin Mares
6355ba3a475SMartin Mares	* lib/proc.c (SYS_pread, SYS_pwrite): Use hard-coded
6365ba3a475SMartin Mares	numbers if not supplied by the libc.
6375ba3a475SMartin Mares
63855c815b5SMartin MaresWed May 19 13:24:39 1999  Martin Mares  <[email protected]>
63955c815b5SMartin Mares
64055c815b5SMartin Mares	* Released the whole package as version 2.0.
64155c815b5SMartin Mares
64255c815b5SMartin MaresFri May 14 22:42:02 1999  Martin Mares  <[email protected]>
64355c815b5SMartin Mares
64455c815b5SMartin Mares	* pci.ids: Added several new ID's contributed by people
64555c815b5SMartin Mares	on the linux-pci list.
64655c815b5SMartin Mares
647dec16943SMartin MaresMon Apr 19 15:21:08 1999  Jakub Jelinek  <[email protected]>
648dec16943SMartin Mares
649dec16943SMartin Mares	* lspci.c: Display I/O addresses correctly on sparc64.
650dec16943SMartin Mares	* lib/header.h: Ditto.
651dec16943SMartin Mares
652dec16943SMartin Mares	* lib/configure: On sparc set HAVE_64BIT* as well, we want
653dec16943SMartin Mares	a binary which works on both 32bit and 64bit SPARCs.
654dec16943SMartin Mares
655e33c9c7aSMartin MaresSun Apr 18 21:14:58 1999  Martin Mares  <[email protected]>
656e33c9c7aSMartin Mares
657e33c9c7aSMartin Mares	* lspci.c, lib/proc.c: Alpha compilation fixes from Matthew Jacob
658e33c9c7aSMartin Mares	<[email protected]>.
659e33c9c7aSMartin Mares
660e33c9c7aSMartin Mares	* pci.ids: A lot of updates from Adam J. Richter <[email protected]>.
661e33c9c7aSMartin Mares
662f3395cc5SMartin MaresSun Feb 28 22:26:21 1999  Martin Mares  <[email protected]>
663f3395cc5SMartin Mares
664f3395cc5SMartin Mares	* lspci.c (do_map_bus): Don't dump functions 1--7 if not flagged
665f3395cc5SMartin Mares	as a multi-function device, because several single-function devices
666f3395cc5SMartin Mares	don't decode the function bits at all.
667f3395cc5SMartin Mares
668f3395cc5SMartin MaresSun Feb 14 23:48:22 1999  Martin Mares  <[email protected]>
669f3395cc5SMartin Mares
670f3395cc5SMartin Mares	* Makefile (install): Don't use "-o root -g root" for installation
671f3395cc5SMartin Mares	since it breaks on machines where programs are not installed by root.
672f3395cc5SMartin Mares	Reported by Richard Gooch <[email protected]>
673f3395cc5SMartin Mares
674f3395cc5SMartin MaresTue Feb  9 15:54:39 1999  Martin Mares  <[email protected]>
675f3395cc5SMartin Mares
676f3395cc5SMartin Mares	* lspci.c (show_bases): Use new address masking macros and pciaddr_t.
677f3395cc5SMartin Mares
678f3395cc5SMartin Mares	* lib/pci.h: Using pciaddr_t for bus addresses, which are 32-bit
679f3395cc5SMartin Mares	or 64-bit depending on CPU.
680f3395cc5SMartin Mares
681f3395cc5SMartin Mares	* lib/pci.h (PCI_ADDR_MEM_MASK): Added macros for address masks
682f3395cc5SMartin Mares	according to bus address width.
683f3395cc5SMartin Mares
6841c31d620SMartin MaresThu Jan 28 20:54:16 1999  Martin Mares  <[email protected]>
6851c31d620SMartin Mares
6861c31d620SMartin Mares	* Released as 1.99.4.
6871c31d620SMartin Mares
6881c31d620SMartin Mares	* lspci.c: Capability list parser now recognizes both AGP
6891c31d620SMartin Mares	registers and PCI Power Management registers (the latter
6901c31d620SMartin Mares	is mainly guesswork based on DEC/Intel 21153 bridge specs
6911c31d620SMartin Mares	since I don't have the PCI Power Management document).
6921c31d620SMartin Mares
6931c31d620SMartin Mares	* lspci.c: Replaced numerous occurences of (x & flag) ? '+' : '-'
6941c31d620SMartin Mares	by FLAG macro.
6951c31d620SMartin Mares
6961c31d620SMartin Mares	* lspci.c: Added bridge checks to bus mapping code.
6971c31d620SMartin Mares
6981812a795SMartin MaresWed Jan 27 14:59:16 1999  Martin Mares  <[email protected]>
6991812a795SMartin Mares
7001812a795SMartin Mares	* lspci.c: Implemented bus mapping mode (-M).
7011812a795SMartin Mares
7021812a795SMartin Mares	* lspci.c (scan_devices): Split to scan_devices() and scan_device().
7031812a795SMartin Mares	(show): Split to show() and show_device().
7041812a795SMartin Mares
7051812a795SMartin Mares	* lib/access.c (pci_init): When a->method == PCI_ACCESS_AUTO,
7061812a795SMartin Mares	set it to the real access method afterwards.
7071812a795SMartin Mares
7081812a795SMartin MaresMon Jan 25 23:46:13 1999  Martin Mares  <[email protected]>
7091812a795SMartin Mares
7101812a795SMartin Mares	* lib/generic.c (pci_generic_fill_info): If in buscentric mode,
7111812a795SMartin Mares	don't check PCI_COMMAND for I/O and memory enables.
7121812a795SMartin Mares
713f6c86928SMartin MaresMon Jan 25 21:28:49 1999  Martin Mares  <[email protected]>
714f6c86928SMartin Mares
715f6c86928SMartin Mares	* Makefile: Added target `release' which substitutes new version
716f6c86928SMartin Mares	number to .spec, .lsm and README. Also rewrote target `dist'.
717f6c86928SMartin Mares
718f6c86928SMartin Mares	* Released as 1.99.3.
719f6c86928SMartin Mares
720b5137411SMartin MaresSun Jan 24 22:10:36 1999  Martin Mares  <[email protected]>
721b5137411SMartin Mares
722d6b297d0SMartin Mares	* lib/header.h: Until kernel adopts new layout of PCI
723d6b297d0SMartin Mares	includes (i.e., separate declaration of header structure,
724d6b297d0SMartin Mares	functions and device IDs), which is not going to happen
725d6b297d0SMartin Mares	before 2.3, we'll use our own definiton of the header.
726d6b297d0SMartin Mares
727b5137411SMartin Mares	* lspci.c (show_verbose): Display `Cap' flag in device status.
728b5137411SMartin Mares
729b5137411SMartin Mares	* lspci.c (show_htype0): Display capability lists whereever
730b5137411SMartin Mares	available. The only capability name we recognize now is `AGP'.
731b5137411SMartin Mares	Unfortunately, capabilities are stored in device-dependent
732b5137411SMartin Mares	portion of the configuration space and are thus available
733b5137411SMartin Mares	only to root unless you read a dump.
734b5137411SMartin Mares
735b5137411SMartin Mares	* lspci.c (scan_devices): Use cache instead of buffering.
736b5137411SMartin Mares
737b5137411SMartin Mares	* lib/buffer.c: Removed (obsoleted by the cache).
738b5137411SMartin Mares
739b5137411SMartin Mares	* lib/access.c: Added general caching mechanism.
740b5137411SMartin Mares
74181ce358dSMartin MaresSat Jan 23 21:30:54 1999  Martin Mares  <[email protected]>
74281ce358dSMartin Mares
74381ce358dSMartin Mares	* pci.ids: Added few devices.
74481ce358dSMartin Mares
745727ce158SMartin MaresFri Jan 22 19:29:31 1999  Martin Mares  <[email protected]>
746727ce158SMartin Mares
747727ce158SMartin Mares	* Version string is now defined in top-level Makefile, exported
748727ce158SMartin Mares	to the configure script and also substituted to man pages.
749727ce158SMartin Mares
750727ce158SMartin Mares	* lspci.c (show_bases): Rewrote displaying of 64-bit addresses.
751727ce158SMartin Mares	(show_verbose): Rewrote interrupt display logic.
752727ce158SMartin Mares
753727ce158SMartin Mares	* lib/i386-ports.c: Include sys/io.h only on glibc systems.
754727ce158SMartin Mares
755727ce158SMartin Mares	* lib/configure: Rewrote detection of Linux versions. Now it
756727ce158SMartin Mares	works on 2.0 kernels (only with direct/dump access, of course).
757727ce158SMartin Mares
758727ce158SMartin Mares	* lib/internal.h: New bytesex macros using <asm/byteorder.h>
759727ce158SMartin Mares	whenever available.
760727ce158SMartin Mares
761727ce158SMartin Mares	* lib/proc.c (proc_read, proc_write): Distinguish between short
762727ce158SMartin Mares	read/write and real errors.
763727ce158SMartin Mares
764727ce158SMartin Mares	* lspci.c (show_htype{0,1}): Always use d->dev->rom_base_addr since
765727ce158SMartin Mares	libpci respects buscentric mode automatically.
766727ce158SMartin Mares
767727ce158SMartin Mares	* lspci.c (show_hex_dump): For CardBus bridges, print out 128
768727ce158SMartin Mares	bytes of header (the whole standard part).
769727ce158SMartin Mares
770727ce158SMartin Mares	* common.c: pcilib options are now all uppercase. Also moved
771727ce158SMartin Mares	PCI access debugging option here.
772727ce158SMartin Mares
773727ce158SMartin Mares	* Released as 1.99.2.
774727ce158SMartin Mares
775727ce158SMartin MaresWed Jan 20 22:50:35 1999  Martin Mares  <[email protected]>
776727ce158SMartin Mares
777727ce158SMartin Mares	* Wrote configure script and rewrote Makefiles.
778727ce158SMartin Mares
779727ce158SMartin Mares	* Removed few unused variables.
780727ce158SMartin Mares
781727ce158SMartin MaresWed Jan 20 12:21:56 1999  Martin Mares  <[email protected]>
782727ce158SMartin Mares
783727ce158SMartin Mares	* common.c: Moved several functions used in both setpci and lspci
784727ce158SMartin Mares	here. This includes parsing of libpci-related options.
785727ce158SMartin Mares
786727ce158SMartin Mares	* More library tweaks.
787727ce158SMartin Mares
788727ce158SMartin Mares	* filter.c, names.c: Moved to library.
789727ce158SMartin Mares
790727ce158SMartin Mares	* setpci: Rewritten to use the library.
791727ce158SMartin Mares
792727ce158SMartin Mares	* Released as 1.99.1.
793727ce158SMartin Mares
794727ce158SMartin MaresTue Jan 19 23:00:12 1999  Martin Mares  <[email protected]>
795727ce158SMartin Mares
796727ce158SMartin Mares	* lspci.c (scan_devices): For cardbus bridges, read first 128
797727ce158SMartin Mares	bytes of config space to get full standard header.
798727ce158SMartin Mares
799727ce158SMartin Mares	* Makefile (CFLAGS): Removed "-Wno-unused".
800727ce158SMartin Mares
801727ce158SMartin Mares	* Started the "New Generation" branch and introduced the
802727ce158SMartin Mares	PCI library.
803727ce158SMartin Mares
804727ce158SMartin Mares	* lspci: Rewritten to use the library.
805727ce158SMartin Mares
8066ece6bc6SMartin MaresTue Jan 19 22:24:08 1999  Martin Mares  <[email protected]>
8076ece6bc6SMartin Mares
8086ece6bc6SMartin Mares	* Released as version 1.10.
8096ece6bc6SMartin Mares
8106ece6bc6SMartin MaresMon Jan 18 08:51:17 1999  Martin Mares  <[email protected]>
8116ece6bc6SMartin Mares
8126ece6bc6SMartin Mares	* lspci.8, setpci.8: Miscellaneous fixes as suggested by
8136ece6bc6SMartin Mares	Dag Wieers <[email protected]>.
8146ece6bc6SMartin Mares
8151212dd6dSMartin MaresSun Nov 29 20:05:56 1998  Martin Mares  <[email protected]>
8161212dd6dSMartin Mares
8171212dd6dSMartin Mares	* pciutils.spec (Name): Update from Krzysztof G. Baranowski.
8181212dd6dSMartin Mares
819d38471fdSMartin MaresSun Nov 22 10:49:56 1998  Martin Mares  <[email protected]>
820d38471fdSMartin Mares
821d38471fdSMartin Mares	* Makefile, pciutils.h: Moved pci.ids to /usr/share.
822d38471fdSMartin Mares
823d38471fdSMartin Mares	* Released as version 1.09.
824d38471fdSMartin Mares
825371f605bSMartin MaresWed Nov 18 15:47:05 1998  Martin Mares  <[email protected]>
826371f605bSMartin Mares
827371f605bSMartin Mares	* lspci.c (show_htype1): Fixed displaying of prefetchable memory behind
828371f605bSMartin Mares	bridge. Thanks to Petr Vandrovec <[email protected]> for bug report.
829371f605bSMartin Mares
83010be47abSMartin MaresFri Oct 23 18:59:19 1998  Martin Mares  <[email protected]>
83110be47abSMartin Mares
83210be47abSMartin Mares	* setpci.c: Don't include <syscall-list.h> with glibc >= 2.1.
83310be47abSMartin Mares
834472bd340SMartin MaresMon Oct 19 21:53:30 1998  Martin Mares  <[email protected]>
835472bd340SMartin Mares
836472bd340SMartin Mares	* Released as version 1.08.
837472bd340SMartin Mares
838472bd340SMartin Mares	* setpci.c: glibc 2.1.x already defines pread() and pwrite().
839472bd340SMartin Mares
840472bd340SMartin Mares	* lspci.8: Changed warning about lspci -xxx.
841472bd340SMartin Mares
842472bd340SMartin Mares	* lspci.c: Require "-xxx" for full configuration space dump, so that
843472bd340SMartin Mares	it's impossible to crash the machine by single typo.
844472bd340SMartin Mares
845472bd340SMartin Mares	* specs: Added (courtesy of Krzysztof G. Baranowski <[email protected]>).
846472bd340SMartin Mares
847072c77e5SMartin MaresWed Sep  9 12:03:24 1998  Martin Mares  <[email protected]>
848072c77e5SMartin Mares
849072c77e5SMartin Mares	* lspci.c (show_bases): Better displaying of unassigned and
850072c77e5SMartin Mares	disabled bases. Thanks to Gabriel Paubert <[email protected]>
851072c77e5SMartin Mares	for an idea.
852072c77e5SMartin Mares
853b7554856SMartin MaresWed Sep  2 10:58:01 1998  Martin Mares  <[email protected]>
854b7554856SMartin Mares
855b7554856SMartin Mares	* setpci.c (pread): Recognize glibc 1.99 numbered as 2.0 on the PPC.
856b7554856SMartin Mares	(thanks to Geert Uytterhoeven for finding this out)
857b7554856SMartin Mares
858ce503b7fSMartin MaresFri Jul 17 10:43:30 1998  Martin Mares  <[email protected]>
859ce503b7fSMartin Mares
860ce503b7fSMartin Mares	* lspci.c (show_verbose): Print subsystem ID using the new resolver.
861ce503b7fSMartin Mares	(show_machine): Print subsystem ID.
862ce503b7fSMartin Mares
863ce503b7fSMartin Mares	* names.c: New name resolution engine supporting subsystem IDs.
864ce503b7fSMartin Mares
865ce503b7fSMartin Mares	* Released as version 1.07.
866ce503b7fSMartin Mares
86796e4f295SMartin MaresWed Jul 15 15:37:21 1998  Martin Mares  <[email protected]>
86896e4f295SMartin Mares
86996e4f295SMartin Mares	* lspci.c (show_htype2 etc.): Displaying of CardBus headers.
87096e4f295SMartin Mares	(show_bases): Honor the `cnt' argument.
87196e4f295SMartin Mares	(grow_tree): Parse CardBus headers in tree mode as well.
87296e4f295SMartin Mares
87396e4f295SMartin Mares	* pci.h: Updated CardBus header field description. I still don't
87496e4f295SMartin Mares	have the CardBus standard available, but OZ6832 specs contain
87596e4f295SMartin Mares	full description of all header fields supported by the chip.
87696e4f295SMartin Mares
8776ae3650aSMartin MaresTue Jun  9 22:53:59 1998  Martin Mares  <[email protected]>
8786ae3650aSMartin Mares
879304f9a0bSMartin Mares	* Released as 1.06.
880304f9a0bSMartin Mares
8816ae3650aSMartin Mares	* names.c (parse_name_list): Killed an unused variable.
8826ae3650aSMartin Mares
8836ae3650aSMartin Mares	* setpci.c (pread, pwrite): Define SYS_(pread|pwrite) as __NR_\1
8846ae3650aSMartin Mares	if they are not defined by glibc (needed for glibc built on older
8856ae3650aSMartin Mares	kernels). Ugly.
8866ae3650aSMartin Mares
8876ae3650aSMartin Mares	* setpci.c (exec_op): Fixed error messages. Thanks, Steve!
8886ae3650aSMartin Mares
8894b88a6b8SMartin MaresMon Jun  8 10:59:22 1998  Martin Mares  <[email protected]>
8904b88a6b8SMartin Mares
8914b88a6b8SMartin Mares	* Released as 1.05.
8924b88a6b8SMartin Mares
8934b88a6b8SMartin Mares	* setpci.c: Problems with pread()/pwrite() with glibc on Alpha
8944b88a6b8SMartin Mares	should be gone. Again thanks to Steve for bug report.
8954b88a6b8SMartin Mares
8964b88a6b8SMartin Mares	* filter.c (filter_parse_slot): Fixed ":x" type filters.
8974b88a6b8SMartin Mares
8984b88a6b8SMartin Mares	* pci.ids: Killed duplicate entry. Thanks to Stephen Williams
8994b88a6b8SMartin Mares	<[email protected]> for reporting this.
9004b88a6b8SMartin Mares
9014b88a6b8SMartin MaresSun Jun  7 19:27:51 1998  Martin Mares  <[email protected]>
9024b88a6b8SMartin Mares
9034b88a6b8SMartin Mares	* lspci.c (main), setpci.c (main): Implemented "--version".
9044b88a6b8SMartin Mares
9054b88a6b8SMartin Mares	* Released as 1.04.
9064b88a6b8SMartin Mares
9074b88a6b8SMartin Mares	* pciutils.h (PCIUTILS_VERSION): Added version string.
9084b88a6b8SMartin Mares
9094b88a6b8SMartin Mares	* filter.c, names.c: Extraneous #include <linux/pci.h> removed.
9104b88a6b8SMartin Mares	Thanks to Geert Uytterhoeven <[email protected]>
9114b88a6b8SMartin Mares	for bug report.
9124b88a6b8SMartin Mares
9139b306998SMartin MaresThu May 28 14:45:58 1998  Martin Mares  <[email protected]>
9149b306998SMartin Mares
9159b306998SMartin Mares	* pci.ids: More updates from Jens Maurer.
9169b306998SMartin Mares
917b372672fSMartin MaresWed Apr 22 10:00:39 1998  Martin Mares  <[email protected]>
918b372672fSMartin Mares
919b372672fSMartin Mares	* pci.ids: Updates from Jens Maurer.
920b372672fSMartin Mares
921b2c9b373SMartin MaresSun Apr 19 11:14:25 1998  Martin Mares  <[email protected]>
922b2c9b373SMartin Mares
923b372672fSMartin Mares	* Released as 1.03.
924b372672fSMartin Mares
925b2c9b373SMartin Mares	* setpci.8: Written.
926b2c9b373SMartin Mares
927b2c9b373SMartin Mares	* setpci.c: Finished.
928b2c9b373SMartin Mares
929b2c9b373SMartin Mares	* lspci.c: Now able to fetch expansion ROM base from kernel device list
930b2c9b373SMartin Mares	and print it if not in buscentric mode.
931b2c9b373SMartin Mares
932e4842ff3SMartin MaresTue Mar 31 23:11:57 1998  Martin Mares  <[email protected]>
933e4842ff3SMartin Mares
934e4842ff3SMartin Mares	* setpci.c: Added.
935e4842ff3SMartin Mares
936e4842ff3SMartin MaresSun Mar 22 15:39:08 1998  Martin Mares  <[email protected]>
937e4842ff3SMartin Mares
938e4842ff3SMartin Mares	* lspci.8: Updated the documentation.
939e4842ff3SMartin Mares
940e4842ff3SMartin Mares	* lspci.c: Modified to use the new filtering mechanism (options -f and -d).
941e4842ff3SMartin Mares
942e4842ff3SMartin Mares	* filter.c: Introduced new generic device filter.
943e4842ff3SMartin Mares
944008407bdSMartin MaresThu Mar 19 17:03:48 1998  Martin Mares  <[email protected]>
945008407bdSMartin Mares
946008407bdSMartin Mares	* lspci.c (grow_tree, show_tree_dev, print_it): Fixed displaying
947008407bdSMartin Mares	of PCI-to-PCI bridges in the tree format.
948008407bdSMartin Mares
9490a33d0ecSMartin MaresSun Feb 15 10:12:25 1998  Martin Mares  <[email protected]>
9500a33d0ecSMartin Mares
9510a33d0ecSMartin Mares	* lspci.c (show_machine): Added non-verbose mode of machine-readable
9520a33d0ecSMartin Mares	dump.
9530a33d0ecSMartin Mares
9540a33d0ecSMartin Mares	* pci.ids: Updates from Jens Maurer.
9550a33d0ecSMartin Mares
9560a33d0ecSMartin Mares	* Released as version 1.02.
9570a33d0ecSMartin Mares
9580a33d0ecSMartin MaresThu Feb 12 16:53:28 1998  Martin Mares  <[email protected]>
9590a33d0ecSMartin Mares
9600a33d0ecSMartin Mares	* lspci.c: Added a "-m" switch for dumping machine-readable
9610a33d0ecSMartin Mares	configuration data (requested by Bjoern Kriews <[email protected]>).
9620a33d0ecSMartin Mares
963fb38eee8SMartin MaresMon Feb  9 13:17:43 1998  Martin Mares  <[email protected]>
964fb38eee8SMartin Mares
965fb38eee8SMartin Mares	* Makefile, pciutils.h: Include local pci.h instead of <linux/pci.h>
966fb38eee8SMartin Mares	if available. This should avoid all problems with official kernel
967fb38eee8SMartin Mares	not synchronized to newer PCI code in CVS -- standard distribution
968fb38eee8SMartin Mares	of pciutils now contains pci.h from current CVS kernel, pciutils
969fb38eee8SMartin Mares	in CVS contain no pci.h and use the correct kernel include.
970fb38eee8SMartin Mares
971fb38eee8SMartin Mares	* Makefile: Fixed installation path for man pages.
972fb38eee8SMartin Mares
9732f48f637SMartin MaresSat Feb  7 15:15:46 1998  Martin Mares  <[email protected]>
9742f48f637SMartin Mares
9752f48f637SMartin Mares	* README: Updated.
9762f48f637SMartin Mares
9772f48f637SMartin Mares	* lspci.8: Created a man page.
9782f48f637SMartin Mares
9792f48f637SMartin Mares	* Releasing as version 1.0.
9802f48f637SMartin Mares
9812f48f637SMartin MaresTue Feb  3 20:56:00 1998  Martin Mares  <[email protected]>
9822f48f637SMartin Mares
9832f48f637SMartin Mares	* Makefile: Recognize architecture by calling uname and pass it as ARCH_xxx
9842f48f637SMartin Mares	to all the C sources. This should eliminate problems with 32-bit compilers
9852f48f637SMartin Mares	on sparc64.
9862f48f637SMartin Mares
9872f48f637SMartin Mares	* lspci.c (show_verbose): Recognize CardBus bridge header type.
9882f48f637SMartin Mares	(show_htype2): Stub routine.
9892f48f637SMartin Mares	(scan_config): Write sensible error message if the kernel denies reading of
9902f48f637SMartin Mares	upper part of the PCI config space.
991