From: Bruce Allan Date: Wed, 2 Dec 2009 17:02:43 +0000 (+0000) Subject: e1000e: refactor PHY ID detection workaround X-Git-Tag: v2.6.33-rc1~388^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5eb6f3c70fcc0fb19b9087863e6e29f96a76f3bd;p=pandora-kernel.git e1000e: refactor PHY ID detection workaround The workaround that detects the correct PHY ID when an initial read of the PHY ID registers returns an invalid one should retry up to ten times with a small delay between attempts using a single PHY address and then repeat using the remaining possible PHY addresses. Do this instead of trying each possible PHY address repeating that up to 100 times. Signed-off-by: Bruce Allan Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed