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

Alexander Kurz linux at blala.de
Sun Apr 25 05:44:35 EDT 2010

Hi Dominik,
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 

Cheers, Alexander

More information about the linux-pcmcia mailing list