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

Dominik Brodowski linux at dominikbrodowski.net
Mon Apr 26 16:07:11 EDT 2010


Hey Alexander,

On Sun, Apr 25, 2010 at 01:44:35PM +0400, Alexander Kurz wrote:
> 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.
> 
> Cheers, Alexander
> 
> From adea8dbc5de871f72572bb0ae5158e91051f6ed5 Mon Sep 17 00:00:00 2001
> From: Alexander Kurz <linux at kbdbabel.org>
> Date: Sat, 24 Apr 2010 09:49:43 +0200
> Subject: [PATCH] pcmcia: fix matching rules for pseudo-multi-function cards,
>  prevent PCMCIA_DEV_ID_MATCH_FUNC_ID from grabbing PFC-cards.
> 
> Signed-off-by: Alexander Kurz <linux at kbdbabel.org>
> CC: linux-pcmcia at lists.infradead.org


Applied to -urgent, thanks.

	Dominik



More information about the linux-pcmcia mailing list