[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mj+md-20141101.174026.23374.albireo@ucw.cz>
Date: Sat, 1 Nov 2014 18:51:59 +0100
From: Martin Mares <mj@....cz>
To: Tom Gundersen <teg@...m.no>
Cc: linux-pci@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Kay Sievers <kay@...y.org>
Subject: 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 <mj@....cz> 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 majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists