From: Francois Romieu Date: Sat, 28 Jan 2006 23:49:09 +0000 (+0100) Subject: r8169: prevent excessive busy-waiting X-Git-Tag: v2.6.16-rc3~139^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2371408c021f961b92fd2c42480cfddc9c6254f0;p=pandora-kernel.git r8169: prevent excessive busy-waiting The MII registers read/write function blindly busy waits for an amount of 1000 us (1 ms), then up to 200 ms. These functions are called from irq disabled context. Depending on the clock management, it triggers lost ticks events. Since the value is way above the standard delay required for mii register access, it strangely looks like a bandaid against posted writes. Fixes http://bugzilla.kernel.org/show_bug.cgi?id=5947 Signed-off-by: Francois Romieu --- Reading git-diff-tree failed