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 <[email protected] > wrote: > 2010/2/1 Max Vozeler <[email protected]>: > > 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 > [email protected] > http://lists.drizzle.com/mailman/listinfo/muscle >
_______________________________________________ Muscle mailing list [email protected] http://lists.drizzle.com/mailman/listinfo/muscle
