From: Michael Chan Date: Wed, 10 Oct 2007 23:16:31 +0000 (-0700) Subject: [BNX2]: Fix remote PHY media detection problems. X-Git-Tag: v2.6.24-rc1~1454^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=489310a440e606512b1fd79d8562d1da6b715448;p=pandora-kernel.git [BNX2]: Fix remote PHY media detection problems. The remote PHY media type and link status can change between ->probe() and ->open(). For correct operation, we need to get the new status again during ->open(). The ethtool link test and loopback test are also fixed to work with remote PHY. PHY loopback is simply skipped when remote PHY is present. Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed