lkml.org 
[lkml]   [2009]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: firmware loading interface
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



\
 
 \ /
  Last update: 2009-11-16 12:19    [W:0.081 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site