Re: firmware loading interface
From: Philip Downer
Date: Mon Nov 16 2009 - 06:17:03 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/