wlcore_sdio/wl18xx: use SDIO revision number to identify wl18xx chips
authorLuciano Coelho <coelho@ti.com>
Thu, 10 May 2012 09:13:07 +0000 (12:13 +0300)
committerLuciano Coelho <coelho@ti.com>
Tue, 5 Jun 2012 12:54:09 +0000 (15:54 +0300)
commit197c62832b1a347f933fea286fc70266026ef5fb
tree2758f23af401f4935edc7bc4d634f27a9af70f69
parent9a1a69901dae144ae160af5ac38848866d7c83b1
wlcore_sdio/wl18xx: use SDIO revision number to identify wl18xx chips

At least in PG1, the wl18xx chips use the same SDIO vendor/device ID,
so it's not possible to figure out which driver is to be used.  As a
workaround, we can check the SDIO revision number, because wl18xx uses
3.00 and wl12xx does not.

Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
drivers/net/wireless/ti/wlcore/sdio.c