Skip to content

Commit

Permalink
pcmcia: add PCMCIA_DEVICE_MANF_CARD_PROD_ID3
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
  • Loading branch information
Pavel Roskin authored and Dominik Brodowski committed Jul 29, 2011
1 parent 5be56a6 commit 14b9f27
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions include/pcmcia/device_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@
.prod_id = { (v1), NULL, NULL, NULL }, \
.prod_id_hash = { (vh1), 0, 0, 0 }, }

#define PCMCIA_DEVICE_MANF_CARD_PROD_ID3(manf, card, v3, vh3) { \
.match_flags = PCMCIA_DEV_ID_MATCH_MANF_ID| \
PCMCIA_DEV_ID_MATCH_CARD_ID| \
PCMCIA_DEV_ID_MATCH_PROD_ID3, \
.manf_id = (manf), \
.card_id = (card), \
.prod_id = { NULL, NULL, (v3), NULL }, \
.prod_id_hash = { 0, 0, (vh3), 0 }, }


/* multi-function devices */

Expand Down

0 comments on commit 14b9f27

Please sign in to comment.