From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: How to request firmware during module init?
Date: Tue, 6 Sep 2011 11:48:06 +0300 [thread overview]
Message-ID: <4E65DE46.7030006@qca.qualcomm.com> (raw)
In-Reply-To: <1315298660.3900.0.camel@jlt3.sipsolutions.net>
On 09/06/2011 11:44 AM, Johannes Berg wrote:
> On Tue, 2011-09-06 at 11:40 +0300, Kalle Valo wrote:
>> Hi,
>>
>> ath6kl needs to request the firmware from user space during module init
>> (or to be exact from sdio probe, but it's almost the same thing) and
>> boot hardware to get some settings etc before it registers itself to
>> cfg80211. What's the proper way to handle this?
>>
>> I noticed that when I compile ath6kl into kernel boot fails on my x86
>> box as firmware is not available because user space is not ready.
>
> We do an async request, once it comes back we register with mac80211.
I take it you mean request_firmware_nowait(). I'll use that also.
Thanks!
Kalle
next prev parent reply other threads:[~2011-09-06 8:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 8:40 How to request firmware during module init? Kalle Valo
2011-09-06 8:44 ` Johannes Berg
2011-09-06 8:48 ` Kalle Valo [this message]
2011-09-06 8:50 ` Tony Vroon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E65DE46.7030006@qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).