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
