Introduce PCMCIA_DEVICE_PROD_ID3
authorPavel Roskin <proski@gnu.org>
Thu, 11 Feb 2010 22:56:06 +0000 (17:56 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 19 Feb 2010 20:51:23 +0000 (15:51 -0500)
commitfbc87d67af5ccd733f894273b215564c67e3a749
treeb7e85f14de1912fe1e3617db9ecc9a48eca67899
parent64b84010f9f85996a219fcc697396e7e11be3459
Introduce PCMCIA_DEVICE_PROD_ID3

...and use it in hostap_cs and orinoco_cs.

Another PCMCIA device with Intersil Prism chipset has been reported:

Socket 0:
  product info: "Gigabyte", "GN-WLM01_P25L_ADAPTER", "ISL37300P", "Eval-RevA"
  manfid: 0x02e0, 0x1011
  function: 6 (network)

As it's the case with some other Prism based devices, the third ID
string contains a design name that should be sufficient to identify the
card as having Intersil Prism chipset and thus compatible with both
orinoco_cs and hostap_cs.

Introduce PCMCIA_DEVICE_PROD_ID3 that matches the third ID string only.

Use it in orinoco_cs and hostap_cs to match cards with the third ID
string indicating Prism chipset.  Remove corresponding entries that use
PCMCIA_DEVICE_PROD_ID123.

Reported-by: Ozzy <ozzymud@gmail.com>
Signed-off-by: Pavel Roskin <proski@gnu.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_cs.c
drivers/net/wireless/orinoco/orinoco_cs.c
include/pcmcia/device_id.h