wl18xx: PG2.0 HW Watch dog interrupt support
authorIdo Reis <idor@ti.com>
Mon, 23 Apr 2012 14:35:25 +0000 (17:35 +0300)
committerLuciano Coelho <coelho@ti.com>
Thu, 7 Jun 2012 15:11:01 +0000 (18:11 +0300)
commitf5755fe96cb010031a50458e6d1391377d94c275
treeb33e6dc91f3a3d1c5e975a4553973d7cd2761eef
parent16ea4733210d741eeb5413acd261e675a12f980e
wl18xx: PG2.0 HW Watch dog interrupt support

In PG2, the HW watchdog interrupt occupies bit0 of the event vector, and
the SW watchdog is relocated to bit9. We perform the relocation
globally, as there's only one watchdog bit on previous platforms (bit0).

[Only mask in the new bit9 for platforms supporting it. This avoids
spurious events on other platforms - Arik]

Signed-off-by: Orit Brayer <orit@ti.com>
Signed-off-by: Ido Reis <idor@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/ti/wl12xx/acx.h
drivers/net/wireless/ti/wl12xx/main.c
drivers/net/wireless/ti/wl18xx/acx.h
drivers/net/wireless/ti/wl18xx/main.c
drivers/net/wireless/ti/wlcore/acx.h
drivers/net/wireless/ti/wlcore/main.c