Re: loading a firmware image

看板FB_hackers作者時間18年前 (2007/07/24 11:05), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/7 (看更多)
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"
文章代碼(AID): #16fMna00 (FB_hackers)
文章代碼(AID): #16fMna00 (FB_hackers)