firmware name and location

Dan Williams dcbw at redhat.com
Mon Oct 18 12:57:07 EDT 2010


On Fri, 2010-10-15 at 20:22 -0700, hong zhang wrote:
> List,
> 
> I have to copy firmware from /lib/firmware/libertas/sd8686_v9_helper.bin to /lib/firmware/sd8686_helper.bin and /lib/firmware/libertas/sd8686_v9.bin to
> /lib/firmware/sd8686.bin.
> 
> Is it the way designed to be?

I reworked firmware loading in libertas for 2.6.37.  In 2.6.37 and
later, libertas will look for the pre-2.6.37 firmware names first, and
they do not exist, will look for the firmware names that are present in
the linux-firmware git tree.  So the procedure you use will no longer be
necessary with 2.6.37 or later.

http://git.kernel.org/?p=linux/kernel/git/linville/wireless-next-2.6.git;a=commit;h=3d32a58b87cd251b50842f93b87d5458061c0cfc

static const struct lbs_fw_table fw_table[] = {
       { MODEL_8385, "libertas/sd8385_helper.bin", "libertas/sd8385.bin" },
       { MODEL_8385, "sd8385_helper.bin", "sd8385.bin" },
       { MODEL_8686, "libertas/sd8686_v9_helper.bin", "libertas/sd8686_v9.bin" },
       { MODEL_8686, "libertas/sd8686_v8_helper.bin", "libertas/sd8686_v8.bin" },
       { MODEL_8686, "sd8686_helper.bin", "sd8686.bin" },
       { MODEL_8688, "libertas/sd8688_helper.bin", "libertas/sd8688.bin" },
       { MODEL_8688, "sd8688_helper.bin", "sd8688.bin" },
       { 0, NULL, NULL }
};

Dan





More information about the libertas-dev mailing list