]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: Firmware loading simplifications
authorDaniel Drake <dsd@laptop.org>
Mon, 16 Apr 2012 22:52:42 +0000 (23:52 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Apr 2012 18:57:13 +0000 (14:57 -0400)
commite7e928aab2448220c7206fec150badf6c296f1d4
tree1ed72c00356fe54b913fa4ec26a837c7014eb1e0
parentfaf8e418d0e6fbae4d3797bced5956547c2a93ca
libertas: Firmware loading simplifications

Remove the ability to pass module parameters with firmware filenames
for USB and SDIO interfaces.

Remove the ability to pass custom "user" filenames to lbs_get_firmware().

Remove the ability to reprogram internal device memory with a different
firmware from the USB driver (we don't know of any users), and simplify
the OLPC firmware loading quirk to simply placing the OLPC firmware
at the top of the list (we don't know of any users other than OLPC).

Move lbs_get_firmware() into its own file.

These simplifications should have no real-life effect but make the
upcoming transition to asynchronous firmware loading considerably less
painful.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/Makefile
drivers/net/wireless/libertas/decl.h
drivers/net/wireless/libertas/firmware.c [new file with mode: 0644]
drivers/net/wireless/libertas/if_cs.c
drivers/net/wireless/libertas/if_sdio.c
drivers/net/wireless/libertas/if_spi.c
drivers/net/wireless/libertas/if_usb.c
drivers/net/wireless/libertas/main.c