[Prism54-devel] [Bug 112] SMC2835W fails with '...your card may be faulty...' in latest cvs

Jean-Baptiste Note jean-baptiste.note at wanadoo.fr
Wed Apr 20 08:34:33 UTC 2005


"Eero Volotinen" <eero.volotinen at pronics.com> said :
>> Well, unless i'm mistaken, there's a *big race* in the "waiting for the
>> irq" place. We should use a completion variable to do the wait, with a
>> calibrated timeout. The race is that if the interrupt is coming in too
>> soon (and/or the machine is too slow), we'll miss it. With a completion
>> variable there is no such risk.
>>
>> Does anyone agree on this, and can i do a quick patch correcting this ?
>
> Sound good. I already make other solution, but it is baad :)

I just had a look, and yes, it _is_ bad :) Maybe as a last resort, though.

JB

-- 
Jean-Baptiste Note
+33 (0)6 83 03 42 38
jean-baptiste.note at wanadoo.fr


More information about the Prism54-devel mailing list