From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org ([140.211.166.183]:55091 "EHLO smtp.gentoo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757979Ab3DAOKB (ORCPT ); Mon, 1 Apr 2013 10:10:01 -0400 Message-ID: <51599529.1070401@gentoo.org> Date: Mon, 01 Apr 2013 17:09:45 +0300 From: Samuli Suominen MIME-Version: 1.0 To: Martin Mares CC: Kay Sievers , Lucas De Marchi , Bjorn Helgaas , "linux-pci@vger.kernel.org" Subject: Re: lspci -k is broken with depmod from kmod since it doesn't generate modules.pcimap anymore References: <515213CF.7000804@gentoo.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-pci-owner@vger.kernel.org List-ID: On 01/04/13 16:46, Martin Mares wrote: > Hello! > >> I'm looking into that. Expect a pciutils patch soon. > > Please check the current version in git://git.kernel.org/pub/scm/utils/pciutils/pciutils.git > > Looking up modules using libkmod should be fully supported. > > Have a nice fortnight > I spotted two possible problems with the commit First, $PKG_CONFIG is not respected and call to pkg-config is hardcoded, this is likely to break cross-compiling Since kmod is optional even in systemd source tree, and module loading is optional in the kernel, some embedded Linux users likely wants to enable/disable libkmod at will, for this there should be a ./configure flag of some sort Thanks for your work! - Samuli