summaryrefslogtreecommitdiff
path: root/drivers/net/wimax/i2400m/i2400m-sdio.h
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-23 17:45:07 -0700
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-11-03 12:49:38 -0800
commit02eb41ef2a8631022fd90e096c57562dec9e7a9a (patch)
tree65280a03f80a15214f715510739bf9a983ecea5b /drivers/net/wimax/i2400m/i2400m-sdio.h
parent296bd4bdd0a43c5e56ee310bcb9b4722e5d52db8 (diff)
downloadlwn-02eb41ef2a8631022fd90e096c57562dec9e7a9a.tar.gz
lwn-02eb41ef2a8631022fd90e096c57562dec9e7a9a.zip
wimax/i2400m: correctly identify all iwmc3200-based SKUs
Different paths of the i2400m SDIO driver need to take care of a few SKU-specific quirks. For the ones that are common to to all the iwmc3200 based devices, introduce i2400ms->iwmc3200 [set in i2400ms_probe()], so it doesn't have to check against the list of iwmc3200 SKU IDs on each quirk site. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/wimax/i2400m/i2400m-sdio.h')
-rw-r--r--drivers/net/wimax/i2400m/i2400m-sdio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/i2400m-sdio.h b/drivers/net/wimax/i2400m/i2400m-sdio.h
index 18218a24a8f8..fba482c08d66 100644
--- a/drivers/net/wimax/i2400m/i2400m-sdio.h
+++ b/drivers/net/wimax/i2400m/i2400m-sdio.h
@@ -114,6 +114,9 @@ struct i2400ms {
wait_queue_head_t bm_wfa_wq;
int bm_wait_result;
size_t bm_ack_size;
+
+ /* Device is any of the iwmc3200 SKUs */
+ unsigned iwmc3200:1;
};