Various firmware loader fixes.

firmware_class (which handles the hotplug-based loading) has been in
the 2.4 kernel since 2.4.23, so I changed some ifdefs to match that.

cx25840->
* cx25840-firmware will once again compile for 2.4 kernels.
* hotplug loading identifies itself when used

ivtv->
* added parameters to specify the encoder and decoder firmware images,
the defaults are identified in modinfo.
* the hotplug function checked the size of the firmware image, refused
to load if too large.  Now it just makes sure it is at least as big
256K, and loads the first 256K (or whatever the defined size is.)

I'm not sure why the non-hotplug function doesn't need a similar
change, it looks like it checks the size for kernels >=2.6.8, but
people say it works, so I haven't touched it until I understand what
is going on there.
-- 
Tyler Trafford

Attachment: firmwarefixes.diff.gz
Description: GNU Zip compressed data

Reply via email to