diff options
author | Pavel Roskin <proski@gnu.org> | 2011-07-26 18:52:35 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2011-07-29 11:56:08 -0400 |
commit | 14b9f27886ce69c5f11445d107dd020f6fc5754b (patch) | |
tree | dc643b93260dd40cf25559dd941d4e435ad61178 /include/pcmcia | |
parent | 5be56a62a2868f4b7733c7c51106a8b0a88b9380 (diff) |
pcmcia: add PCMCIA_DEVICE_MANF_CARD_PROD_ID3
This is needed to match wireless cards with Intersil firmware that have
ID 0x0156:0x0002 and the third ID "Version 01.02". Such cards are
currently matched by orinoco_cs, which doesn't support WPA. They should
be matched by hostap_cs.
The first and the second product ID vary widely, so there are few users
with some particular IDs. Of those, very few can submit a patch for
hostap_cs or write a useful bugreport. It's still important to support
their hardware properly.
With PCMCIA_DEVICE_MANF_CARD_PROD_ID3, it should be possible to cover
the remaining Intersil based designs that kept the numeric ID and the
"version" of the reference design.
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'include/pcmcia')
-rw-r--r-- | include/pcmcia/device_id.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/pcmcia/device_id.h b/include/pcmcia/device_id.h index 63e5b8f6b7dd..00dbfac9c6e1 100644 --- a/include/pcmcia/device_id.h +++ b/include/pcmcia/device_id.h | |||
@@ -95,6 +95,15 @@ | |||
95 | .prod_id = { (v1), NULL, NULL, NULL }, \ | 95 | .prod_id = { (v1), NULL, NULL, NULL }, \ |
96 | .prod_id_hash = { (vh1), 0, 0, 0 }, } | 96 | .prod_id_hash = { (vh1), 0, 0, 0 }, } |
97 | 97 | ||
98 | #define PCMCIA_DEVICE_MANF_CARD_PROD_ID3(manf, card, v3, vh3) { \ | ||
99 | .match_flags = PCMCIA_DEV_ID_MATCH_MANF_ID| \ | ||
100 | PCMCIA_DEV_ID_MATCH_CARD_ID| \ | ||
101 | PCMCIA_DEV_ID_MATCH_PROD_ID3, \ | ||
102 | .manf_id = (manf), \ | ||
103 | .card_id = (card), \ | ||
104 | .prod_id = { NULL, NULL, (v3), NULL }, \ | ||
105 | .prod_id_hash = { 0, 0, (vh3), 0 }, } | ||
106 | |||
98 | 107 | ||
99 | /* multi-function devices */ | 108 | /* multi-function devices */ |
100 | 109 | ||