On Fri, Jun 03, 2005 at 08:30:44AM -0500, [email protected] wrote:
>
>
> >
> > No no no. Just because you are using the firmware interface, does not
> > mean you need to add this extra round-trip to the whole system. Just
> > dump the firmware to the /sys/firmware/whatever... file whenever you
> > want to, that's all that is needed. No hotplug stuff, no filename
> > stuff, just a simple copy.
> Greg, all the feedback gave the impression that request_firmwae hotplug
> stuff was the way to go.
It is the way to go.
> Seems it's not required!
Not at all, why do you think I mean that?
> Now that means it needs to be done the way it was before except that
> it needs to have a bin attribute for data and a normal attribute for
> size. This would be even better as it makes it easy to read back the
> data.
No, you can still use the firmware core code, that's what it is there
for. But don't mess with the "make the user provide a filename" stuff.
Just have your driver create the firmware request and then relax. Your
code will get called when the firware is written to, right? That's all
you need.
What's with this obsession about firmware filenames... :)
thanks,
greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]