[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100605.020234.15253307.davem@davemloft.net>
Date: Sat, 05 Jun 2010 02:02:34 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: timo.teras@....fi
Cc: phil@....cc, romieu@...zoreil.com, netdev@...r.kernel.org
Subject: Re: [PATCH] Re: still having r8169 woes with XID 18000000
From: Timo Teräs <timo.teras@....fi>
Date: Sat, 05 Jun 2010 10:39:55 +0300
> Ok, I compared Realtek's and the in-tree driver. The only essential
> difference is that Realtek driver uses udelay(100) in mdio_write()'s
> busy polling loop where as the in-tree uses udelay(25). And that seems
> to be the magic difference! Using udelay(100) fixes this!
>
> I'm guessing that the phy needs slight delay between consecutive
> mdio_write's even if it has advertised that the write has been
> completed. And yes, just adding a small delay in the end of mdio_write
> does seem to work too.
>
> Francois, you think the below patch is ok? Should I send it as properly
> formatted commit?
Excellent detective work, Francois please review!
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists