diff options
author | Shahar Levi <shahar_levi@ti.com> | 2011-03-06 16:32:20 +0200 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-04-19 16:49:03 +0300 |
commit | 0830ceedbfde20c9110c59597fdffbf51886565a (patch) | |
tree | 0fbe0e87a3a8c021398170bdda01f03d56be6b86 /drivers/net/wireless/wl12xx/main.c | |
parent | 1aed55fd784d000fb6741cefb68712d64817bd68 (diff) | |
download | lwn-0830ceedbfde20c9110c59597fdffbf51886565a.tar.gz lwn-0830ceedbfde20c9110c59597fdffbf51886565a.zip |
wl12xx: 1281/1283 support - enable chip support
Add support to wl128x chip via chip id
Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r-- | drivers/net/wireless/wl12xx/main.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index 9a7ca6524d20..0b9d41f14b28 100644 --- a/drivers/net/wireless/wl12xx/main.c +++ b/drivers/net/wireless/wl12xx/main.c @@ -1007,6 +1007,15 @@ static int wl1271_chip_wakeup(struct wl1271 *wl) if (ret < 0) goto out; break; + case CHIP_ID_1283_PG20: + wl1271_debug(DEBUG_BOOT, "chip id 0x%x (1283 PG20)", + wl->chip.id); + + ret = wl1271_setup(wl); + if (ret < 0) + goto out; + break; + case CHIP_ID_1283_PG10: default: wl1271_warning("unsupported chip id: 0x%x", wl->chip.id); ret = -ENODEV; |