AX88790 L phy workaround
Todd Blumer
sdgvulpes at gmail.com
Sat Sep 23 10:21:14 EDT 2006
On 9/17/06, Matthew Wilcox <matthew at wil.cx> wrote:
> On Tue, Sep 12, 2006 at 05:33:53PM -0400, Todd Blumer wrote:
> > Here's a patch (against 2.6.15) that works with the Socket Rugged CF
> > 10/100 Card. Comments welcome.
> > + * The AX88790L has a bug in the auto-negotiation (AN). A work-around
> > + * is to turn off the phy, wait 2.5 secs, then re-enable AN. Once this
> > + * action is taken, AN works fine.
> > + mdelay(2500);
>
> mdelay is going to busy-wait for 2.5 seconds; can you not msleep()
> instead? I don't think you're holding any locks at this point, nor do I
> think you're in interrupt context, so sleeping should be OK.
>
Yes, you are correct, and that works fine. Thanks.
More information about the linux-pcmcia
mailing list