Re: udev/hwdb support in pciutils (Re: [PATCH RESEND][pciutils] libpci: pci_id_lookup - add udev/hwdb support)
Hi Martin, On Sat, Nov 1, 2014 at 6:51 PM, Martin Mares wrote: > The support for hwdb has finally landed in mainline pciutils. > > I have modified your patch to bring it closer to the rest of device > naming logic. Namely: Great! Thanks for merging this, and for working on it. > Aside of the README, everything should be ready for a public release. > Could you please verify that it still works for you? I can verify that it still works as expected, so it is good to go as far as I'm concerned. Cheers, Tom -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
udev/hwdb support in pciutils (Re: [PATCH RESEND][pciutils] libpci: pci_id_lookup - add udev/hwdb support)
Hi Tom! The support for hwdb has finally landed in mainline pciutils. I have modified your patch to bring it closer to the rest of device naming logic. Namely: • The interface to HWDB now lives in a separate source file lib/names-hwdb.c. It is called from the main entry point to the name resolver (lib/names.c). • Resolved names are cached in the hash table and they participate in the system of priorities. They have lower priority than pci.ids, but higher than remote lookups via DNS. (Therefore if a distro decides not to ship pci.ids, hwdb is used exclusively for all local lookups.) • There is a flag to suppress the use of HWDB (PCI_LOOKUP_NO_HWDB) and also a configuration parameter for the same (hwdb.disable). Aside of the README, everything should be ready for a public release. Could you please verify that it still works for you? Have a nice fortnight -- Martin `MJ' Mares http://mj.ucw.cz/ Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth Uncle Ed's Rule of Thumb: Never use your thumb for a rule. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/