From: Andrew Morton <akpm@osdl.org>
To: Victor Hugo <victor@vhugo.net>
Cc: linux-kernel@vger.kernel.org,
Victor Castro <victorhugo83@yahoo.com>,
Jon Masters <jcm@jonmasters.org>
Subject: Re: [PATCH][RFC] request_firmware examples and MODULE_FIRMWARE
Date: Mon, 4 Sep 2006 14:02:08 -0700 [thread overview]
Message-ID: <20060904140208.03880214.akpm@osdl.org> (raw)
In-Reply-To: <CB81ECDC-0B48-4BE4-B9C0-C1CDBEC0F739@vhugo.net>
On Sun, 3 Sep 2006 19:55:53 -0700
Victor Hugo <victor@vhugo.net> wrote:
> Hi Everyone,
>
> I'm trying to become the firmware loader maintainer
> (request_firmware) and I felt the first thing I should do is update
> the incomplete example driver under Documentaion/firmware_class/.
> The example (firmware_sample_driver.c) doesn't work out of box and
> needs tweaking just to get it to compile. I've added two files which
> use request_firmware and the asynchronous request_firmware_nowait.
Thanks.
> The next step would be to update the documentation to make hotplug/
> udev functionality a little more clear. Hopefully I can get this in
> the next couple of days.
Documentation updates are welcome.
> Also, I'd like to comment on Jon Masters push to include the
> MODULE_FIRMWARE api addition. I strongly believe that policy should
> not be included in driver code, in this case it's in the form of a
> filename.
You should have cc'ed him! Some people are not subscribed, and few read
it all.
> The firmware loader currently needs a filename passed to it so it can
> then pass the $FIRMWARE environment variable to the hotplug script.
> This is ok if you provide a generic filename like "firmware.bin" and
> then let the hotplug script worry about version numbers, i.e.
> "firmware-x.y.z.bin"
>
> MODULE_FIRMWARE should be used to provide the generic filenames and
> which order the files should be loaded (request_firmware can be
> called various times), but I think its bad to have to change the
> driver everytime a new firmware version is released.
Yes, that does sound bad, but what would I know ;)
> That said, here's the patch...
application/octet-stream. Please don't do that. Inlined-in-the-body is
much preferred. If you cannot do that (ie: your MUA is lame but you don't
want to switch) then, in extremis, text/plain attachments are tolerated.
next prev parent reply other threads:[~2006-09-04 21:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-04 2:55 Victor Hugo
2006-09-04 21:02 ` Andrew Morton [this message]
2006-09-04 21:16 ` Jon Masters
2006-09-05 7:33 ` Marcel Holtmann
2006-09-05 18:26 ` Victor Hugo
2006-09-05 19:16 ` Marcel Holtmann
2006-09-06 16:42 ` Jon Masters
2006-09-07 15:10 ` Marcel Holtmann
2006-09-07 15:01 ` Jon Masters
2006-09-04 8:45 Victor Hugo
[not found] <20060904083908.38953.qmail@web411.biz.mail.mud.yahoo.com>
2006-09-04 10:41 ` Alan Cox
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=20060904140208.03880214.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=jcm@jonmasters.org \
--cc=linux-kernel@vger.kernel.org \
--cc=victor@vhugo.net \
--cc=victorhugo83@yahoo.com \
/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
all inboxes | Powered by JetHome®