OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: [Muscle] [PATCH] Quirk for BCM5880/5881 GetSlotStatus

From: Sébastien Lorquet (squalylgmail.com)
Date: Mon Feb 01 2010 - 07:36:05 CST


and in my opinion a quirks list should have a mask feature to include more
than one model.

Regards
Sebastien

On Mon, Feb 1, 2010 at 2:06 PM, Ludovic Rousseau <ludovic.rousseaugmail.com
> wrote:

> 2010/2/1 Max Vozeler <max.vozelerlsexperts.de>:
> > This patch adds a workaround for unusual behaviour of Broadcom
> > BCM5880/5881 readers. They misreport an absent card as "Hardware
> > Error" in GetSlotStatus.
> >
> > To work around it, we turn the HW_ERROR answer to GetSlotStatus
> > into "No error, no card inserted".
> >
> > Since we need some way to look up the required quirk based on
> > USB vendor/product ID, this patch adds some simple quirk lookup
> > functions which can also be used for future quirks.
>
> I don't like the quirks lookup functions idea.
> In the code I detect bogus readers using:
> if (SPR532 == ccid_descriptor->readerID)
>
> Bye
>
> --
> Dr. Ludovic Rousseau
> _______________________________________________
> Muscle mailing list
> Musclelists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle
>

_______________________________________________
Muscle mailing list
Musclelists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle