There are two ways to do it.  First you can just embed the firmware
    in the driver itself.  Second you can have the driver use the API
    in kern/kern_firmware.c to load the firmware.   Doing it the second
    way only works once root has been mounted so automating it in the
    driver would require creating a SYSINIT that runs after root has
    mounted or loading the driver with kldload after the system has booted.

                                        -Matt
                                        Matthew Dillon
                                        <[EMAIL PROTECTED]>


So i can't link the firmware image as kld module like in FreeBSD ?
also i think the first solution might cause licensing problems.
any example for the second way ?

Thanks

--
System Programmer
--
I'm Searching For Perfection,
So Even If U Need Portability U've To Use Assembly ;-)
--
http://libosdk.berlios.de/wiki/

Reply via email to