aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorShahar Levi <shahar_levi@ti.com>2011-03-06 09:32:20 -0500
committerLuciano Coelho <coelho@ti.com>2011-04-19 09:49:03 -0400
commit0830ceedbfde20c9110c59597fdffbf51886565a (patch)
tree0fbe0e87a3a8c021398170bdda01f03d56be6b86 /drivers/net/wireless/wl12xx/main.c
parent1aed55fd784d000fb6741cefb68712d64817bd68 (diff)
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.c9
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)
1007 if (ret < 0) 1007 if (ret < 0)
1008 goto out; 1008 goto out;
1009 break; 1009 break;
1010 case CHIP_ID_1283_PG20:
1011 wl1271_debug(DEBUG_BOOT, "chip id 0x%x (1283 PG20)",
1012 wl->chip.id);
1013
1014 ret = wl1271_setup(wl);
1015 if (ret < 0)
1016 goto out;
1017 break;
1018 case CHIP_ID_1283_PG10:
1010 default: 1019 default:
1011 wl1271_warning("unsupported chip id: 0x%x", wl->chip.id); 1020 wl1271_warning("unsupported chip id: 0x%x", wl->chip.id);
1012 ret = -ENODEV; 1021 ret = -ENODEV;