libertas: prioritize usb8388_olpc.bin firmware on OLPC machines
authorAndres Salomon <dilinger@queued.net>
Fri, 9 Sep 2011 00:35:17 +0000 (17:35 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Sep 2011 17:57:00 +0000 (13:57 -0400)
commit55768fa6d9462c18c1ce3c862db3bf55bac3b1c7
tree6019a6189cc30d8d02f54506dc0071a57e9c4285
parentfd235913f9d86fde954f7e1215bd0921ee70cb19
libertas: prioritize usb8388_olpc.bin firmware on OLPC machines

Normally, the v9 firmware will be loaded if it's available.  However, on
OLPC XO-1 machines, the olpc-specific firmware supports extra functionality.
This makes the libertas driver attempt to load the custom firmware first
if the machine is an OLPC machine; if that fails (or it's not an OLPC
machine), fall back to attempting to load the other firmwares.

usb8388_olpc.bin is currently found in the linux-firmware repository.

Signed-off-by: Andres Salomon <dilinger@queued.net>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/if_usb.c