]> git.ipfire.org Git - thirdparty/pciutils.git/commit
Rewritten support for UDEV's HWDB
authorMartin Mares <mj@ucw.cz>
Sat, 1 Nov 2014 17:38:08 +0000 (18:38 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 1 Nov 2014 17:38:08 +0000 (18:38 +0100)
commitac357d3bb8342b2fc22980e0914cdce7758ca310
tree253ada2707849f4b8c053fa868feb743b653f740
parente59bfc5e661ef01d0b8c613225074386c6a450a2
Rewritten support for UDEV's HWDB

HWDB is now handled in a way very similar to the DNS resolver.

The interface lives in a separate source file (lib/names-hwdb.c),
results of lookups are cached. Use of HWDB can be disabled either
by passing PCI_LOOKUP_NO_HWDB or by setting the hwdb.disabled
configuration parameter.

Also, there should be no more leaks of libudev's structures.
lib/Makefile
lib/init.c
lib/internal.h
lib/names-hash.c
lib/names-hwdb.c [new file with mode: 0644]
lib/names-parse.c
lib/names.c
lib/names.h
lib/params.c
lib/pci.h
pcilib.man