commit | 489310a440e606512b1fd79d8562d1da6b715448 | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Wed Oct 10 16:16:31 2007 -0700 |
committer | David S. Miller <davem@sunset.davemloft.net> | Wed Oct 10 16:55:57 2007 -0700 |
tree | 5273f818aa52a57c7ee4890f4f974f8a91b547bf | |
parent | 631a6698d09e57cadc069914d613899609a0ae83 [diff] |
[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 <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>