Messages in this thread | | | Date | Mon, 16 Nov 2009 11:16:45 +0000 | From | Philip Downer <> | Subject | Re: 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
| |