]> git.baikalelectronics.ru Git - kernel.git/commit
wl18xx: add board type module argument
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:13:37 +0000 (12:13 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:55:47 +0000 (15:55 +0300)
commit36ee58024a5b6e61274d2aa4b4e6f4d4d6fed7a6
tree4aea91d86c3f3406262828a48fdced3f726edc52
parent10e3d4b53ac9c1555fb63a5885061de86101222a
wl18xx: add board type module argument

Different board types (ie. FPGA, HDK and DVP/EVB) require slightly
different init configuration options.  Since we cannot probe the type
of board from the actual hardware, we need to pass it as an option
during module load.

This patch adds a module parameters that accepts the 3 different board
types, with DVP/EVB as the default, and uses this value where needed.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wl18xx/wl18xx.h