From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.redhat.com ([209.132.183.28]:18003 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752017AbZKJGdN (ORCPT ); Tue, 10 Nov 2009 01:33:13 -0500 Subject: Re: [PATCH 50/75] libertas: declare MODULE_FIRMWARE From: Dan Williams To: Holger Schurig Cc: Ben Hutchings , linux-wireless , John Linville , libertas-dev@lists.infradead.org In-Reply-To: References: <1257631203.15927.462.camel@localhost> Content-Type: text/plain Date: Mon, 09 Nov 2009 22:32:54 -0800 Message-Id: <1257834774.15493.34.camel@localhost.localdomain> Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 2009-11-09 at 09:07 +0100, Holger Schurig wrote: > At Sat, 07 Nov 2009 22:00:03 +0000, > Ben Hutchings wrote: > > diff --git a/drivers/net/wireless/libertas/if_cs.c b/drivers/net/wireless/libertas/if_cs.c > > index 9127d2a..9834e3f 100644 > > --- a/drivers/net/wireless/libertas/if_cs.c > > +++ b/drivers/net/wireless/libertas/if_cs.c > > @@ -48,6 +48,7 @@ > > MODULE_AUTHOR("Holger Schurig "); > > MODULE_DESCRIPTION("Driver for Marvell 83xx compact flash WLAN cards"); > > MODULE_LICENSE("GPL"); > > +MODULE_FIRMWARE("libertas_cs_helper.fw"); > > Do you intentionally only define specify the helper firmware? The > device won't be working without loading "libertas_cs.fw" as well. > > Do you have any pointer for me to what MDOULE_FIRMWARE does? What > user-space tool does it it for what purpose? It's nice information to know from 'modinfo' or other uses so that we might be able to find the firmware automatically. Right now actually PackageKit will figure out missing firmware from udev when udev can't find the right firmware, but having it in 'modinfo' is useful too. Honestly I think we should actually reorganize the firmware and put it in /lib/firmware/libertas or something. Dan