]> mj.ucw.cz Git - pciutils.git/log
pciutils.git
16 years agoUse LDLIBS for all libraries on which libpci depends.
Martin Mares [Wed, 13 Feb 2008 16:58:20 +0000 (17:58 +0100)]
Use LDLIBS for all libraries on which libpci depends.

This way, libpci.pc gets all dependencies, including -lpci on NetBSD.
Clearing LDLIBS at the top of config.mk is necessary, because this file
can get read twice.

16 years agons_parserr() and friends are not portable, so implement our own trivial parser instead.
Martin Mares [Wed, 13 Feb 2008 16:51:50 +0000 (17:51 +0100)]
ns_parserr() and friends are not portable, so implement our own trivial parser instead.

I looked to the glibc source for inspiration and checked everything with
the RFC, so it is hopefully correct.

16 years agoCall res_init() only once.
Martin Mares [Wed, 13 Feb 2008 15:57:02 +0000 (16:57 +0100)]
Call res_init() only once.

This avoids perpetual re-reading of /etc/resolv.conf.

16 years agoThe `-s' (strip) option passed to `install' can be overriden by the STRIP variable.
Martin Mares [Wed, 13 Feb 2008 14:16:49 +0000 (15:16 +0100)]
The `-s' (strip) option passed to `install' can be overriden by the STRIP variable.

16 years agoDo not forget to create the man7 directory.
Martin Mares [Wed, 13 Feb 2008 14:15:06 +0000 (15:15 +0100)]
Do not forget to create the man7 directory.

16 years agoPush to the public GIT tree when releasing.
Martin Mares [Tue, 12 Feb 2008 11:42:41 +0000 (12:42 +0100)]
Push to the public GIT tree when releasing.

16 years agoBump the API version (the new API is not cast in stone yet, however).
Martin Mares [Tue, 12 Feb 2008 11:41:38 +0000 (12:41 +0100)]
Bump the API version (the new API is not cast in stone yet, however).

16 years agoMerge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git
Martin Mares [Tue, 12 Feb 2008 11:40:26 +0000 (12:40 +0100)]
Merge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git

(Merged with the 2.2.10 release.)

16 years agoReleased as 2.2.10.
Martin Mares [Tue, 12 Feb 2008 11:32:14 +0000 (12:32 +0100)]
Released as 2.2.10.

16 years agoUse `Device ABCD' instead of `Unknown device ABCD'.
Martin Mares [Tue, 12 Feb 2008 11:29:39 +0000 (12:29 +0100)]
Use `Device ABCD' instead of `Unknown device ABCD'.

Several Linux distributors mentioned users complaining about unsupported
devices when in fact the device was only unknown to the ID database.
This little `headological' trick tries to avoid encouraging the users
to such complaints :-)

16 years agoClean up freeing of the ID tables.
Martin Mares [Tue, 12 Feb 2008 11:25:34 +0000 (12:25 +0100)]
Clean up freeing of the ID tables.

16 years agoUpdated the README: mention DNS mode.
Martin Mares [Tue, 12 Feb 2008 11:20:55 +0000 (12:20 +0100)]
Updated the README: mention DNS mode.

16 years agoImproved man pages. Parts related to the library moved to pcilib(7).
Martin Mares [Tue, 12 Feb 2008 11:17:20 +0000 (12:17 +0100)]
Improved man pages. Parts related to the library moved to pcilib(7).

16 years agoTidy up help texts on usage.
Martin Mares [Tue, 12 Feb 2008 09:48:27 +0000 (10:48 +0100)]
Tidy up help texts on usage.

16 years agoThe `-P' option has been removed.
Martin Mares [Tue, 12 Feb 2008 09:31:25 +0000 (10:31 +0100)]
The `-P' option has been removed.

16 years agoAnnotate printf-like functions with format checking attributes.
Martin Mares [Tue, 12 Feb 2008 09:29:48 +0000 (10:29 +0100)]
Annotate printf-like functions with format checking attributes.

16 years agoAdded an option for selection of access methods.
Martin Mares [Tue, 12 Feb 2008 09:19:38 +0000 (10:19 +0100)]
Added an option for selection of access methods.

16 years agoIntroduced API for selection of access methods.
Martin Mares [Tue, 12 Feb 2008 09:19:19 +0000 (10:19 +0100)]
Introduced API for selection of access methods.

Access method names were normalized (they so far served only informational
purposes). Each access method gained a help text.

16 years agoReplaced the method_params array by library parameters.
Martin Mares [Tue, 12 Feb 2008 08:54:36 +0000 (09:54 +0100)]
Replaced the method_params array by library parameters.

This change is backward incompatible, but hopefully nobody used this
ill-thought interface.

16 years agoMoved functions related to parameters to params.c.
Martin Mares [Tue, 12 Feb 2008 08:41:40 +0000 (09:41 +0100)]
Moved functions related to parameters to params.c.

16 years agoRenamed `net.cache_path' to `net.cache_name', it's more logical.
Martin Mares [Tue, 12 Feb 2008 08:38:14 +0000 (09:38 +0100)]
Renamed `net.cache_path' to `net.cache_name', it's more logical.

16 years agoAdded options for setting of library parameters.
Martin Mares [Tue, 12 Feb 2008 08:37:25 +0000 (09:37 +0100)]
Added options for setting of library parameters.

16 years agoParameters now have help texts.
Martin Mares [Tue, 12 Feb 2008 08:37:03 +0000 (09:37 +0100)]
Parameters now have help texts.

16 years agoSettings of the resolving and caching mechanism are now passed as parameters.
Martin Mares [Tue, 12 Feb 2008 08:24:09 +0000 (09:24 +0100)]
Settings of the resolving and caching mechanism are now passed as parameters.

16 years agoAdded a simple infrastructure for setting of arbitrary parameters.
Martin Mares [Tue, 12 Feb 2008 08:06:27 +0000 (09:06 +0100)]
Added a simple infrastructure for setting of arbitrary parameters.

16 years agoMoved functions related to initialization and cleanup to init.c.
Martin Mares [Tue, 12 Feb 2008 07:48:11 +0000 (08:48 +0100)]
Moved functions related to initialization and cleanup to init.c.

16 years agoMore TODO.
Martin Mares [Mon, 11 Feb 2008 21:47:09 +0000 (22:47 +0100)]
More TODO.

16 years agoRemoved a forgotten merge conflict marker.
Martin Mares [Mon, 11 Feb 2008 21:07:48 +0000 (22:07 +0100)]
Removed a forgotten merge conflict marker.

16 years agoDocumented the DNS query switches.
Martin Mares [Mon, 11 Feb 2008 21:03:02 +0000 (22:03 +0100)]
Documented the DNS query switches.

16 years agoDie if DNS queries are requested, but not available.
Martin Mares [Mon, 11 Feb 2008 20:52:17 +0000 (21:52 +0100)]
Die if DNS queries are requested, but not available.

16 years agoWrites to the cache file are no longer racy.
Martin Mares [Mon, 11 Feb 2008 20:47:25 +0000 (21:47 +0100)]
Writes to the cache file are no longer racy.

16 years agoMerge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git
Martin Mares [Mon, 11 Feb 2008 20:30:08 +0000 (21:30 +0100)]
Merge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git

16 years agoAdded options for controlling the DNS query modes.
Martin Mares [Mon, 11 Feb 2008 20:28:11 +0000 (21:28 +0100)]
Added options for controlling the DNS query modes.

16 years agoMerge with git+ssh://master.kernel.org/pub/scm/utils/pciutils/pciutils.git
Martin Mares [Mon, 11 Feb 2008 20:15:30 +0000 (21:15 +0100)]
Merge with git+ssh://master.kernel.org/pub/scm/utils/pciutils/pciutils.git

16 years agoCleaned up the list of options.
Martin Mares [Mon, 11 Feb 2008 20:14:40 +0000 (21:14 +0100)]
Cleaned up the list of options.

16 years agoUse DNS on all architectures except AIX.
Martin Mares [Mon, 11 Feb 2008 20:10:49 +0000 (21:10 +0100)]
Use DNS on all architectures except AIX.

16 years agoMerge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git
Martin Mares [Mon, 11 Feb 2008 20:04:27 +0000 (21:04 +0100)]
Merge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git

16 years agoFixed a typo.
Martin Mares [Mon, 11 Feb 2008 20:04:24 +0000 (21:04 +0100)]
Fixed a typo.

16 years agoSplit handling of the ID list to several files.
Martin Mares [Mon, 11 Feb 2008 19:59:53 +0000 (20:59 +0100)]
Split handling of the ID list to several files.

16 years agoImplemented control options and the caching logic.
Martin Mares [Mon, 11 Feb 2008 18:45:21 +0000 (19:45 +0100)]
Implemented control options and the caching logic.

Everything is still in a very raw form.

16 years agoBSD needs <netinet/in.h>.
Martin Mares [Mon, 11 Feb 2008 16:22:50 +0000 (17:22 +0100)]
BSD needs <netinet/in.h>.

16 years agoMerge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git
Martin Mares [Mon, 11 Feb 2008 16:09:26 +0000 (17:09 +0100)]
Merge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git

I have decided to drop the network-related changes from ChangeLog
to avoid merging conflicts.

16 years agoFixed a bug in displaying of zlib errors.
Martin Mares [Mon, 11 Feb 2008 16:07:32 +0000 (17:07 +0100)]
Fixed a bug in displaying of zlib errors.

16 years agoAvoid pointer signedness warnings.
Martin Mares [Mon, 11 Feb 2008 14:52:39 +0000 (15:52 +0100)]
Avoid pointer signedness warnings.

16 years agoAdded a simple utility for generating the DNS zone with ID's.
Martin Mares [Mon, 11 Feb 2008 14:50:18 +0000 (15:50 +0100)]
Added a simple utility for generating the DNS zone with ID's.

16 years agoMerge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git
Martin Mares [Mon, 11 Feb 2008 14:48:53 +0000 (15:48 +0100)]
Merge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git

Updated to reflect changes in current mainline repository
(merged Makefile and ChangeLog manually).

16 years agoAdded quiet mode (-q). Clean up uncompressed files left by previous
Martin Mares [Mon, 7 Jan 2008 21:04:56 +0000 (22:04 +0100)]
Added quiet mode (-q). Clean up uncompressed files left by previous
versions of the pciutils. Patch by Mike Frysinger.

16 years agoSquashed compiler warnings about code with no effect
Martin Mares [Thu, 29 Nov 2007 12:48:43 +0000 (13:48 +0100)]
Squashed compiler warnings about code with no effect
(there really were surplus *'s).

17 years agoReleased as 2.2.9.
Martin Mares [Tue, 6 Nov 2007 21:29:23 +0000 (22:29 +0100)]
Released as 2.2.9.

17 years agoFinished support for displaying of kernel drivers/modules.
Martin Mares [Tue, 6 Nov 2007 21:26:48 +0000 (22:26 +0100)]
Finished support for displaying of kernel drivers/modules.

17 years agoImplemented searching for kernel modules. Works, but needs cleanup.
Martin Mares [Fri, 2 Nov 2007 21:41:33 +0000 (22:41 +0100)]
Implemented searching for kernel modules. Works, but needs cleanup.

17 years agoFirst attempt at printing Linux driver names.
Martin Mares [Fri, 2 Nov 2007 17:31:53 +0000 (18:31 +0100)]
First attempt at printing Linux driver names.

17 years agoMoved -lz from LDFLAGS to LDLIBS.
Martin Mares [Fri, 19 Oct 2007 13:43:02 +0000 (15:43 +0200)]
Moved -lz from LDFLAGS to LDLIBS.

17 years agoAdded a missing dependency.
Martin Mares [Fri, 19 Oct 2007 12:41:41 +0000 (14:41 +0200)]
Added a missing dependency.

17 years agoReleased as 2.2.8.
Martin Mares [Fri, 19 Oct 2007 10:12:49 +0000 (12:12 +0200)]
Released as 2.2.8.

17 years agoAdded two more capability ID's gathered from various ECN's.
Martin Mares [Fri, 19 Oct 2007 10:03:08 +0000 (12:03 +0200)]
Added two more capability ID's gathered from various ECN's.

17 years agoUpdated TODO.
Martin Mares [Fri, 19 Oct 2007 09:31:53 +0000 (11:31 +0200)]
Updated TODO.

17 years agoAdded a couple of test cases.
Martin Mares [Fri, 19 Oct 2007 09:28:24 +0000 (11:28 +0200)]
Added a couple of test cases.

17 years agoDocument obsd_device back-end.
Martin Mares [Fri, 19 Oct 2007 09:28:07 +0000 (11:28 +0200)]
Document obsd_device back-end.

17 years agoRemoved all traces of the syscall access method, which no longer exists.
Martin Mares [Fri, 19 Oct 2007 09:17:50 +0000 (11:17 +0200)]
Removed all traces of the syscall access method, which no longer exists.

17 years agoBig code cleanup.
Martin Mares [Fri, 19 Oct 2007 09:15:36 +0000 (11:15 +0200)]
Big code cleanup.

17 years agoDecode the Debug port capability (per EHCI 0.96 spec).
Martin Mares [Fri, 19 Oct 2007 09:01:25 +0000 (11:01 +0200)]
Decode the Debug port capability (per EHCI 0.96 spec).

17 years agoIncomplete decoding of several capabilities is marked with <?>.
Martin Mares [Fri, 19 Oct 2007 08:46:14 +0000 (10:46 +0200)]
Incomplete decoding of several capabilities is marked with <?>.

17 years agoInclude capabilities from PCI 3.0 specs.
Martin Mares [Fri, 19 Oct 2007 08:43:56 +0000 (10:43 +0200)]
Include capabilities from PCI 3.0 specs.

17 years agoUpdate class codes to reflect PCI 3.0.
Martin Mares [Fri, 19 Oct 2007 08:27:50 +0000 (10:27 +0200)]
Update class codes to reflect PCI 3.0.

17 years agoRemoved extraneous braces.
Martin Mares [Sun, 14 Oct 2007 12:09:04 +0000 (14:09 +0200)]
Removed extraneous braces.

17 years agoCapability loop detection introduced 2.2.7 did not work properly with
Martin Mares [Fri, 12 Oct 2007 15:59:45 +0000 (17:59 +0200)]
Capability loop detection introduced 2.2.7 did not work properly with
extended capabilities. Fixed.

17 years agoReleased as 2.2.7.
Martin Mares [Fri, 5 Oct 2007 12:22:14 +0000 (14:22 +0200)]
Released as 2.2.7.

17 years agoSupport domains on FreeBSD. Contributed by Marius Strobl.
Martin Mares [Fri, 5 Oct 2007 12:21:25 +0000 (14:21 +0200)]
Support domains on FreeBSD. Contributed by Marius Strobl.

17 years agoDecode a couple of bits of traditional registers, which are extended
Martin Mares [Fri, 5 Oct 2007 12:15:48 +0000 (14:15 +0200)]
Decode a couple of bits of traditional registers, which are extended
by PCI-X / PCIE specs: bridge control, device control, device status.

17 years agoFully decode PCI Express capability. Most of the PCIE extended capabilities
Martin Mares [Fri, 5 Oct 2007 12:09:31 +0000 (14:09 +0200)]
Fully decode PCI Express capability. Most of the PCIE extended capabilities
are however still unsupported.

17 years agoDetect and report loops in capability lists.
Martin Mares [Fri, 5 Oct 2007 10:37:16 +0000 (12:37 +0200)]
Detect and report loops in capability lists.

17 years agoMore bits of PCIE capability decoding.
Martin Mares [Fri, 5 Oct 2007 10:33:11 +0000 (12:33 +0200)]
More bits of PCIE capability decoding.

17 years agoExtended the fbsd-device backend to run on Dragonfly BSD.
Martin Mares [Wed, 12 Sep 2007 19:26:56 +0000 (21:26 +0200)]
Extended the fbsd-device backend to run on Dragonfly BSD.

17 years agoResurrected the Windows port.
Martin Mares [Mon, 3 Sep 2007 08:47:50 +0000 (10:47 +0200)]
Resurrected the Windows port.

17 years agoAllow to override ar and ranlib.
Martin Mares [Fri, 31 Aug 2007 08:59:45 +0000 (10:59 +0200)]
Allow to override ar and ranlib.

17 years agoWhen calling gzopen(), use "rb" file mode instead of "r".
Martin Mares [Mon, 27 Aug 2007 16:11:53 +0000 (18:11 +0200)]
When calling gzopen(), use "rb" file mode instead of "r".

17 years agoAdded decoding of HT MSI capability.
Martin Mares [Tue, 14 Aug 2007 12:29:02 +0000 (14:29 +0200)]
Added decoding of HT MSI capability.

17 years agoReleased pciutils-2.2.6.
Martin Mares [Wed, 20 Jun 2007 18:47:50 +0000 (20:47 +0200)]
Released pciutils-2.2.6.

17 years agoAdded a missing file from the previous commit.
Martin Mares [Wed, 20 Jun 2007 18:46:51 +0000 (20:46 +0200)]
Added a missing file from the previous commit.

17 years agoGenerate and install files for pkg-config.
Martin Mares [Wed, 20 Jun 2007 18:45:00 +0000 (20:45 +0200)]
Generate and install files for pkg-config.

Using `pkg-config' is a standard way to query for information on linking
to other packages. This is particularly helpful for libpci where there is
no simple way to know if zlib compression is built in or not. With this
.pc file, linking to libpci is simple:

$ cc `pkg-config --cflags --libs libpci` -o myapp myapp.c

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
17 years agoUpdated ChangeLog for recent patches.
Martin Mares [Wed, 20 Jun 2007 18:42:24 +0000 (20:42 +0200)]
Updated ChangeLog for recent patches.

17 years agoAdded "install-lib" target.
Martin Mares [Wed, 20 Jun 2007 18:42:12 +0000 (20:42 +0200)]
Added "install-lib" target.

17 years agoRewritten i386-io-hurd.h.
Martin Mares [Wed, 20 Jun 2007 18:41:55 +0000 (20:41 +0200)]
Rewritten i386-io-hurd.h.

17 years agoReleased pciutils-2.2.5.
Martin Mares [Fri, 4 May 2007 09:43:33 +0000 (11:43 +0200)]
Released pciutils-2.2.5.

17 years agoUpdated pci.ids.
Martin Mares [Fri, 4 May 2007 09:43:04 +0000 (11:43 +0200)]
Updated pci.ids.

17 years agofix minor logic error in grow_tree()
Jason Lunz [Sat, 24 Mar 2007 16:59:40 +0000 (12:59 -0400)]
fix minor logic error in grow_tree()

The branches for PCI_HEADER_TYPE_BRIDGE and PCI_HEADER_TYPE_CARDBUS were
switched, but happened to do the same thing because the PCI_ and PCI_CB_
constants are the same.

17 years agoAdded PCI/PCI-X to PCI-Express Bridge type.
Martin Mares [Wed, 14 Feb 2007 19:38:51 +0000 (20:38 +0100)]
Added PCI/PCI-X to PCI-Express Bridge type.

17 years agoThe first try at using DNS for resolving ID's.
Martin Mares [Tue, 13 Feb 2007 22:38:50 +0000 (23:38 +0100)]
The first try at using DNS for resolving ID's.

17 years agoUpdated ids to the current snapshot.
Martin Mares [Fri, 9 Feb 2007 12:56:05 +0000 (13:56 +0100)]
Updated ids to the current snapshot.

17 years agoReleased 2.2.5-test1.
Martin Mares [Tue, 6 Feb 2007 12:04:03 +0000 (13:04 +0100)]
Released 2.2.5-test1.

17 years agoGet rid of bzero().
Martin Mares [Tue, 6 Feb 2007 12:02:08 +0000 (13:02 +0100)]
Get rid of bzero().

17 years agoWork-around for Solaris tr.
Martin Mares [Tue, 6 Feb 2007 11:59:03 +0000 (12:59 +0100)]
Work-around for Solaris tr.

17 years ago<stdint.h> for Solaris.
Martin Mares [Tue, 6 Feb 2007 11:55:17 +0000 (12:55 +0100)]
<stdint.h> for Solaris.

17 years agoalloca() needs <alloca.h>.
Martin Mares [Sun, 4 Feb 2007 21:13:48 +0000 (22:13 +0100)]
alloca() needs <alloca.h>.

18 years agoFixed a couple of bugs in the dump backend.
Martin Mares [Sun, 17 Sep 2006 14:58:05 +0000 (16:58 +0200)]
Fixed a couple of bugs in the dump backend.

18 years agoUpdated pci.ids to the current database snapshot.
Martin Mares [Sun, 10 Sep 2006 17:44:18 +0000 (19:44 +0200)]
Updated pci.ids to the current database snapshot.

18 years agoErrors when reading standard config header are no longer fatal.
Martin Mares [Sun, 10 Sep 2006 15:34:45 +0000 (17:34 +0200)]
Errors when reading standard config header are no longer fatal.

18 years agoWhitespace cleanup.
Martin Mares [Sun, 10 Sep 2006 08:38:35 +0000 (10:38 +0200)]
Whitespace cleanup.

18 years agoReleased as 2.2.4.
Martin Mares [Sat, 9 Sep 2006 12:57:12 +0000 (14:57 +0200)]
Released as 2.2.4.