Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225316
b: refs/heads/master
c: 870c367
h: refs/heads/master
v: v3
  • Loading branch information
Roger Quadros authored and Luciano Coelho committed Dec 2, 2010
1 parent 550ab2a commit 0b7e8fe
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43a598d5e40485fcfbebe0700077e83afd803ed5
refs/heads/master: 870c367cf829466f315de785ac613dd94eff5c50
17 changes: 16 additions & 1 deletion trunk/drivers/net/wireless/wl12xx/boot.c
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@ static void wl1271_boot_hw_version(struct wl1271 *wl)
wl->hw_pg_ver = (s8)fuse;
}

int wl1271_boot(struct wl1271 *wl)
/* uploads NVS and firmware */
int wl1271_load_firmware(struct wl1271 *wl)
{
int ret = 0;
u32 tmp, clk, pause;
Expand Down Expand Up @@ -572,6 +573,20 @@ int wl1271_boot(struct wl1271 *wl)
if (ret < 0)
goto out;

out:
return ret;
}
EXPORT_SYMBOL_GPL(wl1271_load_firmware);

int wl1271_boot(struct wl1271 *wl)
{
int ret;

/* upload NVS and firmware */
ret = wl1271_load_firmware(wl);
if (ret)
return ret;

/* 10.5 start firmware */
ret = wl1271_boot_run_firmware(wl);
if (ret < 0)
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/wl12xx/boot.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "wl12xx.h"

int wl1271_boot(struct wl1271 *wl);
int wl1271_load_firmware(struct wl1271 *wl);

#define WL1271_NO_SUBBANDS 8
#define WL1271_NO_POWER_LEVELS 4
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/wl12xx/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ int wl1271_set_partition(struct wl1271 *wl,

return 0;
}
EXPORT_SYMBOL_GPL(wl1271_set_partition);

void wl1271_io_reset(struct wl1271 *wl)
{
Expand Down

0 comments on commit 0b7e8fe

Please sign in to comment.