]> mj.ucw.cz Git - pciutils.git/commit
libpci: pci_id_lookup - add udev/hwdb support
authorTom Gundersen <teg@jklm.no>
Mon, 30 Dec 2013 18:59:53 +0000 (19:59 +0100)
committerMartin Mares <mj@ucw.cz>
Sat, 1 Nov 2014 16:42:22 +0000 (17:42 +0100)
commite59bfc5e661ef01d0b8c613225074386c6a450a2
tree02449c015e726bf286476f2136e7ed7861db42aa
parent2615fbb6e6246ab6814493040a516426e0795af7
libpci: pci_id_lookup - add udev/hwdb support

This lets you select hwdb support at compile time.

hwdb is an efficient hardware database shipped with recent versions of udev. It contains
among other sources pci.ids so querying hwdb rather than reading pci.ids directly should give
the same result.

Ideally Linux distros using udev could stop shipping pci.ids, but use hwdb as the only source
of this information, which this patch allows.

Cc: Martin Mares <mj@ucw.cz>
lib/configure
lib/names-hash.c