kernel-ark/drivers/net/wimax/i2400m
Inaky Perez-Gonzalez 10607c86e1 wimax/i2400m: on firmware upload, select BCF header that matches device's request
Devices based on the i2400m emit a "barker" (32 bit unsigned) when
they boot. This barker is used to select, in the firmware file image,
which header should be used to process the rest of the file.

This commit implements said support, completing the series started by
previous commits.

We modify the i2400m_fw_dnload() firmware loading path by adding a
call to i2400m_bcf_hdr_find() [new function], in which the right BCF
header [as listed in i2400m->fw_hdrs by i2400m_fw_check()] is
located. Then this header is fed to i2400m_dnload_init() and
i2400m_dnload_finalize().

The changes to i2400m_dnload_finalize() are smaller than they look;
they add the bcf_hdr argument and use that instead of bcf. Likewise in
i2400m_dnload_init().

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
2009-10-19 15:55:58 +09:00
..
control.c i2400m: keep index within ms_to_errno[] 2009-10-19 15:55:35 +09:00
debug-levels.h
debugfs.c
driver.c wimax/i2400m: rework bootrom initialization to be more flexible 2009-10-19 15:55:53 +09:00
fw.c wimax/i2400m: on firmware upload, select BCF header that matches device's request 2009-10-19 15:55:58 +09:00
i2400m-sdio.h wimax/iwmc3200: increase wait time before enable retry 2009-10-19 15:55:43 +09:00
i2400m-usb.h wimax/i2400m: USB driver uses a configurable endpoint map 2009-10-19 15:55:44 +09:00
i2400m.h wimax/i2400m: support extended firmware format 2009-10-19 15:55:57 +09:00
Kconfig
Makefile
netdev.c i2400m: minimal ethtool support 2009-10-19 15:55:37 +09:00
op-rfkill.c wimax: fix gcc warnings in sh4 when calling BUG() 2009-06-11 11:47:39 -07:00
rx.c wimax/i2400m: rework bootrom initialization to be more flexible 2009-10-19 15:55:53 +09:00
sdio-debug-levels.h
sdio-fw.c wimax/i2400m: be smarter about copying command buffer to bm_cmd_buf 2009-10-19 15:55:46 +09:00
sdio-rx.c wimax/i2400m: rework bootrom initialization to be more flexible 2009-10-19 15:55:53 +09:00
sdio-tx.c
sdio.c wimax: allow specifying debug levels as command line option 2009-10-19 15:55:50 +09:00
sysfs.c
tx.c wimax: misplaced parenthesis 2009-10-19 15:55:36 +09:00
usb-debug-levels.h
usb-fw.c wimax/i2400m: workaround not-so-working %zd printf format 2009-10-19 15:55:51 +09:00
usb-notif.c wimax/i2400m: rework bootrom initialization to be more flexible 2009-10-19 15:55:53 +09:00
usb-rx.c wimax/i2400m: USB driver uses a configurable endpoint map 2009-10-19 15:55:44 +09:00
usb-tx.c wimax/i2400m: USB driver uses a configurable endpoint map 2009-10-19 15:55:44 +09:00
usb.c wimax: allow specifying debug levels as command line option 2009-10-19 15:55:50 +09:00