]> git.baikalelectronics.ru Git - kernel.git/commit
libertas: add two-stage firmware request helper
authorDan Williams <dcbw@redhat.com>
Sun, 8 Aug 2010 02:14:33 +0000 (21:14 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Aug 2010 19:26:43 +0000 (15:26 -0400)
commited5d73b914bead2dc931e8e92ea6c91c57299e76
treee243ce8fede1d762fadf7aa62a582c6ffaa512ce
parentf9e6465c02757d5bc92fa63d2fd33c4f85e3ce1f
libertas: add two-stage firmware request helper

SDIO, GSPI, and CS all use 2-stage firmware and the loading
process and logic should be the same.  Allow module parameters
to override the automatic firmware choice, otherwise just walk
the bus driver's firmware table and pick out the first firmware
pair that exists for the given model.

Some special care is taken to allow overriding of just the helper
or the main firmware, but let the other of the pair be chosen
automatically.

Signed-off-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/decl.h
drivers/net/wireless/libertas/main.c