[PATCH] pcmcia: fix matching rules for pseudo-multi-function cards

Komuro komurojun-mbn at nifty.com
Wed Apr 28 07:51:19 EDT 2010


>here is a fix for the rule to prevent PCMCIA_DEV_ID_MATCH_FUNC_ID entries 
>to match on PFC-cards. e.g. serial_cs PCMCIA_DEVICE_FUNC_ID(2)
>will match on device 0 of a xircom CEM33 card resulting in a
>failure in xirc2ps_cs.
>I changed the code, so that the first matching struct pcmcia_device_id
>_PFC_ entry will mark the card has_pfc, preventing 
>PCMCIA_DEV_ID_MATCH_FUNC_ID to match.
>

OK. works.





More information about the linux-pcmcia mailing list