AX88790 L phy workaround

Matthew Wilcox matthew at wil.cx
Sun Sep 17 09:00:51 EDT 2006


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.



More information about the linux-pcmcia mailing list