public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Philip Downer <phil@csldevices.co.uk>
To: Arjan van de Ven <arjan@infradead.org>
Cc: Robert Hancock <hancockrwd@gmail.com>, venu <vjosyula@gmail.com>,
	Roland Dreier <rdreier@cisco.com>,
	linux-kernel@vger.kernel.org
Subject: Re: firmware loading interface
Date: Mon, 16 Nov 2009 11:16:45 +0000	[thread overview]
Message-ID: <4B01349D.3010809@csldevices.co.uk> (raw)
In-Reply-To: <20091114102919.54606831@infradead.org>

Arjan van de Ven wrote:
> it's not unusual to have a sysfs attribute that, when written to, will
> just do a request_firmware().
> It's not pretty, but it's cleaner than the alternatives....
>   

This was in fact what I was considering when making my initial post, but 
couldn't find any examples or drivers which do use sysfs and request 
firmware in this way and as you say, it's not pretty. However if it's 
considered to be cleaner by others (I certainly think it to be so) then 
I am inclined to use this method as opposed to the ioctl method 
suggested by Arnd earlier in the thread.

Arjan, could you possibly point me at any drivers which already work in 
this way?

Thanks,

Philip Downer


  reply	other threads:[~2009-11-16 11:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4AFD971C.3090204@csldevices.co.uk>
2009-11-13 17:47 ` firmware loading interface Philip Downer
2009-11-13 19:29   ` Arnd Bergmann
     [not found]     ` <53ea87da0911140951q1050212fwe9f5839b900b3804@mail.gmail.com>
2009-11-14 17:54       ` Arnd Bergmann
2009-11-16 10:57     ` Philip Downer
2009-11-14  0:35   ` Roland Dreier
2009-11-14 16:08     ` Robert Hancock
     [not found]       ` <53ea87da0911140855u7993989aod746bcaf18ee4c31@mail.gmail.com>
2009-11-14 18:19         ` Robert Hancock
2009-11-14 18:29           ` Arjan van de Ven
2009-11-16 11:16             ` Philip Downer [this message]
2009-12-01  9:14     ` Dmitry Torokhov

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=4B01349D.3010809@csldevices.co.uk \
    --to=phil@csldevices.co.uk \
    --cc=arjan@infradead.org \
    --cc=hancockrwd@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdreier@cisco.com \
    --cc=vjosyula@gmail.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