]> 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)
commitbb2226fa1efa4bd734f44255b343143fb8df1ddc
tree4aea91d86c3f3406262828a48fdced3f726edc52
parente2b60263dce25ad70514dc5cec6fd942ed1abf56
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