]>
mj.ucw.cz Git - pciutils.git/log
Martin Mares [Tue, 26 Aug 2008 15:06:23 +0000 (17:06 +0200)]
Call wget with --no-timestamping.
If --timestamping was set in .wgetrc, wget fails, because it is unable to
handle --timestamping and -O simultaneously (for no apparent reason, but
the maintainers have decided that this bug has graduated to a feature,
see https://savannah.gnu.org/bugs/?22896).
Thanks to Ville Skytta for pointing that out.
Martin Mares [Tue, 26 Aug 2008 13:17:17 +0000 (15:17 +0200)]
Use the visibility attributes only when building a shared library.
Omair Eshkenazi has reported that libpci fails to build with gcc 3.x.
We require gcc 4.x for building shared libraries, but it should not
be needed when SHARED=no.
This patch changes internal.h to define PCI_ABI as the visibility
attribute only if we build a shared library.
However, this means that we need to know the configuration settings
before we include pci.h, so I had to include config.h explicitly
from internal.h and create a new symbol PCI_CONFIG_H to check whether
config.h has been already included.
Martin Mares [Tue, 26 Aug 2008 11:54:53 +0000 (13:54 +0200)]
libresolv is not available on BSD systems, but they have resolver in libc.
Suggested by Hasso Tepper.
Martin Mares [Tue, 26 Aug 2008 11:54:26 +0000 (13:54 +0200)]
Use h_errno instead of _res.h_errno.
The latter is apparently not available on BSD.
Suggested by Hasso Tepper.
Martin Mares [Tue, 26 Aug 2008 11:43:06 +0000 (13:43 +0200)]
Fix printing the MSI capability.
Contributed by Matthew Wilcox. His changelog says:
I'd like to present this change for your consideration. I'm not sure
where the original idea comes from that MSI has a 'queue' of interrupts.
It has multiple independent interrupts. Also, rather than just dumping
the raw values from the register, it makes sense to decode them into
the number of interrupts it supports.
Zhao, Yu [Thu, 3 Jul 2008 09:39:49 +0000 (17:39 +0800)]
Single Root I/O Virtualization capability support
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
lib/header.h | 28 ++++++++++++++++++++++++++++
lspci.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 74 insertions(+)
Zhao, Yu [Thu, 3 Jul 2008 09:39:41 +0000 (17:39 +0800)]
Alternative Routing-ID Interpretation capability support
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
lib/header.h | 11 +++++++++++
lspci.c | 22 ++++++++++++++++++++++
2 files changed, 33 insertions(+)
Zhao, Yu [Thu, 3 Jul 2008 09:39:32 +0000 (17:39 +0800)]
Access Control Services capability support
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
lib/header.h | 20 ++++++++++++++++++++
lspci.c | 25 ++++++++++++++++++++++++-
2 files changed, 44 insertions(+), 1 deletion(-)
Zhao, Yu [Thu, 3 Jul 2008 09:39:23 +0000 (17:39 +0800)]
Advanced Error Reporting capability support
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
lib/header.h | 5 ++++-
lspci.c | 47 ++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 50 insertions(+), 2 deletions(-)
Zhao, Yu [Thu, 3 Jul 2008 09:39:16 +0000 (17:39 +0800)]
PCI Express Device, Link and Slot 2 capabilities support
Signed-off-by: Yu Zhao <yu.zhao@intel.com>
lib/header.h | 22 +++++++
lspci.c | 166 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 186 insertions(+), 2 deletions(-)
Martin Mares [Tue, 26 Aug 2008 11:34:57 +0000 (13:34 +0200)]
Added test cases for new PCIE capabilities.
Contributed by Zhao Yu.
Martin Mares [Tue, 26 Aug 2008 11:24:35 +0000 (13:24 +0200)]
Let filters accept vendor and device 0xffff.
Thanks to Sebastian Herbszt for a bug report.
Martin Mares [Tue, 26 Aug 2008 11:20:39 +0000 (13:20 +0200)]
We have a new linux-pci mailing list.
Martin Mares [Tue, 26 Aug 2008 11:19:04 +0000 (13:19 +0200)]
By mistake, we were setting PCI_USE_DNS on Linux automatically.
Well spotted by Matthias Weidle.
Martin Mares [Thu, 10 Apr 2008 19:23:19 +0000 (21:23 +0200)]
Updated API and ABI version and released as 3.0.0.
Martin Mares [Wed, 20 Feb 2008 11:18:19 +0000 (12:18 +0100)]
Merge with git+ssh://git.ucw.cz/home/mj/GIT/pciutils.git#network
Martin Mares [Wed, 20 Feb 2008 11:18:10 +0000 (12:18 +0100)]
Do not choke on file names containing spaces.
Martin Mares [Wed, 20 Feb 2008 10:53:00 +0000 (11:53 +0100)]
ID domain names now end with `.pci'.
Martin Mares [Wed, 20 Feb 2008 10:48:49 +0000 (11:48 +0100)]
Released as 2.99.1-alpha2.
Martin Mares [Wed, 20 Feb 2008 10:48:36 +0000 (11:48 +0100)]
Changed the default domain for the DNS resolver.
Martin Mares [Mon, 18 Feb 2008 20:39:39 +0000 (21:39 +0100)]
Released as 2.99.1-alpha1.
Martin Mares [Mon, 18 Feb 2008 20:31:41 +0000 (21:31 +0100)]
Added symbol versioning to the shared library.
Martin Mares [Mon, 18 Feb 2008 16:38:28 +0000 (17:38 +0100)]
When installing the shared library, create the appropriate symlinks as well.
Martin Mares [Mon, 18 Feb 2008 16:38:07 +0000 (17:38 +0100)]
Use `libpci.so.X.Y.Z' instead of `libpci-X.Y.Z.so'.
Martin Mares [Sun, 17 Feb 2008 22:50:13 +0000 (23:50 +0100)]
Changelogged the build system changes.
Martin Mares [Sun, 17 Feb 2008 22:44:36 +0000 (23:44 +0100)]
Control symbol exports in libpci.
When building the shared library, default visibility of symbols has been
changed to hidden and public functions have been marked with PCI_ABI
which makes the symbol visible.
Martin Mares [Sun, 17 Feb 2008 22:42:35 +0000 (23:42 +0100)]
Added example to .gitignore.
Martin Mares [Sun, 17 Feb 2008 22:31:53 +0000 (23:31 +0100)]
Example: Add lookup of names.
Martin Mares [Sun, 17 Feb 2008 22:28:52 +0000 (23:28 +0100)]
Example: Print device address including domain.
Martin Mares [Sun, 17 Feb 2008 22:28:02 +0000 (23:28 +0100)]
Example: always print the base addresses as longs.
Martin Mares [Sun, 17 Feb 2008 22:27:16 +0000 (23:27 +0100)]
Moved the example program from lib/example.c to example.c.
Also, include it in the default targets, so that we always check
that it builds correctly.
Martin Mares [Sun, 17 Feb 2008 22:23:38 +0000 (23:23 +0100)]
Including config.mk twice is not necessary.
(We do not expect lib/Makefile to be invoked separately anyway, so we can
rely on the top-level Makefile exporting all configuration settings.)
Martin Mares [Sun, 17 Feb 2008 22:21:23 +0000 (23:21 +0100)]
Added infrastructure for building libpci as a shared library.
Use `make SHARED=yes' or `make SHARED=local' to enable this feature.
Restriction of symbol exports and symbol versioning will come soon.
Martin Mares [Sun, 17 Feb 2008 11:38:12 +0000 (12:38 +0100)]
Cleanup of the Makefile system.
Parameters of the configure script are passed from the top-level Makefile
in environment variables. DNS support has been made a regular build option
with an attempt at its auto-detection.
Martin Mares [Sun, 17 Feb 2008 10:50:32 +0000 (11:50 +0100)]
Enable the i386-ports method on Linux/x86_64 as well.
Martin Mares [Sun, 17 Feb 2008 08:51:12 +0000 (09:51 +0100)]
Added ChangeLog for the all changes on the network branch.
Martin Mares [Wed, 13 Feb 2008 19:26:14 +0000 (20:26 +0100)]
Unify usage of u8 vs. byte.
Martin Mares [Wed, 13 Feb 2008 19:20:11 +0000 (20:20 +0100)]
The automatic test for zlib searches in /usr/local/include, too.
Martin Mares [Wed, 13 Feb 2008 19:14:39 +0000 (20:14 +0100)]
Use <stdint.h> for precise integer types if the compiler claims C99 support.
Martin Mares [Wed, 13 Feb 2008 18:57:08 +0000 (19:57 +0100)]
Do not forget pcilib.7 in `make uninstall'.
Martin Mares [Wed, 13 Feb 2008 18:56:11 +0000 (19:56 +0100)]
Added man pages to .gitignore.
Martin Mares [Wed, 13 Feb 2008 18:52:35 +0000 (19:52 +0100)]
Last few items from the DNS TODO list solved, releasing -net2.
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.
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.
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.
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.
Martin Mares [Wed, 13 Feb 2008 14:15:06 +0000 (15:15 +0100)]
Do not forget to create the man7 directory.
Martin Mares [Tue, 12 Feb 2008 11:42:41 +0000 (12:42 +0100)]
Push to the public GIT tree when releasing.
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).
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.)
Martin Mares [Tue, 12 Feb 2008 11:32:14 +0000 (12:32 +0100)]
Released as 2.2.10.
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 :-)
Martin Mares [Tue, 12 Feb 2008 11:25:34 +0000 (12:25 +0100)]
Clean up freeing of the ID tables.
Martin Mares [Tue, 12 Feb 2008 11:20:55 +0000 (12:20 +0100)]
Updated the README: mention DNS mode.
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).
Martin Mares [Tue, 12 Feb 2008 09:48:27 +0000 (10:48 +0100)]
Tidy up help texts on usage.
Martin Mares [Tue, 12 Feb 2008 09:31:25 +0000 (10:31 +0100)]
The `-P' option has been removed.
Martin Mares [Tue, 12 Feb 2008 09:29:48 +0000 (10:29 +0100)]
Annotate printf-like functions with format checking attributes.
Martin Mares [Tue, 12 Feb 2008 09:19:38 +0000 (10:19 +0100)]
Added an option 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.
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.
Martin Mares [Tue, 12 Feb 2008 08:41:40 +0000 (09:41 +0100)]
Moved functions related to parameters to params.c.
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.
Martin Mares [Tue, 12 Feb 2008 08:37:25 +0000 (09:37 +0100)]
Added options for setting of library parameters.
Martin Mares [Tue, 12 Feb 2008 08:37:03 +0000 (09:37 +0100)]
Parameters now have help texts.
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.
Martin Mares [Tue, 12 Feb 2008 08:06:27 +0000 (09:06 +0100)]
Added a simple infrastructure for setting of arbitrary parameters.
Martin Mares [Tue, 12 Feb 2008 07:48:11 +0000 (08:48 +0100)]
Moved functions related to initialization and cleanup to init.c.
Martin Mares [Mon, 11 Feb 2008 21:47:09 +0000 (22:47 +0100)]
More TODO.
Martin Mares [Mon, 11 Feb 2008 21:07:48 +0000 (22:07 +0100)]
Removed a forgotten merge conflict marker.
Martin Mares [Mon, 11 Feb 2008 21:03:02 +0000 (22:03 +0100)]
Documented the DNS query switches.
Martin Mares [Mon, 11 Feb 2008 20:52:17 +0000 (21:52 +0100)]
Die if DNS queries are requested, but not available.
Martin Mares [Mon, 11 Feb 2008 20:47:25 +0000 (21:47 +0100)]
Writes to the cache file are no longer racy.
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
Martin Mares [Mon, 11 Feb 2008 20:28:11 +0000 (21:28 +0100)]
Added options for controlling the DNS query modes.
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
Martin Mares [Mon, 11 Feb 2008 20:14:40 +0000 (21:14 +0100)]
Cleaned up the list of options.
Martin Mares [Mon, 11 Feb 2008 20:10:49 +0000 (21:10 +0100)]
Use DNS on all architectures except AIX.
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
Martin Mares [Mon, 11 Feb 2008 20:04:24 +0000 (21:04 +0100)]
Fixed a typo.
Martin Mares [Mon, 11 Feb 2008 19:59:53 +0000 (20:59 +0100)]
Split handling of the ID list to several files.
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.
Martin Mares [Mon, 11 Feb 2008 16:22:50 +0000 (17:22 +0100)]
BSD needs <netinet/in.h>.
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.
Martin Mares [Mon, 11 Feb 2008 16:07:32 +0000 (17:07 +0100)]
Fixed a bug in displaying of zlib errors.
Martin Mares [Mon, 11 Feb 2008 14:52:39 +0000 (15:52 +0100)]
Avoid pointer signedness warnings.
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.
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).
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.
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).
Martin Mares [Tue, 6 Nov 2007 21:29:23 +0000 (22:29 +0100)]
Released as 2.2.9.
Martin Mares [Tue, 6 Nov 2007 21:26:48 +0000 (22:26 +0100)]
Finished support for displaying of kernel drivers/modules.
Martin Mares [Fri, 2 Nov 2007 21:41:33 +0000 (22:41 +0100)]
Implemented searching for kernel modules. Works, but needs cleanup.
Martin Mares [Fri, 2 Nov 2007 17:31:53 +0000 (18:31 +0100)]
First attempt at printing Linux driver names.
Martin Mares [Fri, 19 Oct 2007 13:43:02 +0000 (15:43 +0200)]
Moved -lz from LDFLAGS to LDLIBS.
Martin Mares [Fri, 19 Oct 2007 12:41:41 +0000 (14:41 +0200)]
Added a missing dependency.
Martin Mares [Fri, 19 Oct 2007 10:12:49 +0000 (12:12 +0200)]
Released as 2.2.8.
Martin Mares [Fri, 19 Oct 2007 10:03:08 +0000 (12:03 +0200)]
Added two more capability ID's gathered from various ECN's.
Martin Mares [Fri, 19 Oct 2007 09:31:53 +0000 (11:31 +0200)]
Updated TODO.
Martin Mares [Fri, 19 Oct 2007 09:28:24 +0000 (11:28 +0200)]
Added a couple of test cases.