[PATCH] pcmcia: fix matching rules for pseudo-multi-function cards
linux at blala.de
Sun Apr 25 05:44:35 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.
More information about the linux-pcmcia