Re: loading a firmware image
Maslan wrote:
>> The firmware is bundled in a seperate kernel module that can be loaded,
>> read and then unloaded. See src/sys/modules/iwifw/iwi_bss for an example
>> of the Makefile magic that creates the kld.
>
> if i wrote FIRMWS = filename:shortname:version in the Makefile
> then i should user firmware_get("shortname") rather than
> firmware_register(), is it right ??
>
>
firmware_register is emitted by the Makefile and used by the kld to
register the firmware image under "shortname". Once the image is
registered then other code in the kernel can get a reference to the
image with firmware_get. firmware(9) is a pretty complete description
of these facilities.
Sam
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 6 之 7 篇):