]> err.no Git - linux-2.6/commit
[BNX2]: Fix remote PHY media detection problems.
authorMichael Chan <mchan@broadcom.com>
Wed, 10 Oct 2007 23:16:31 +0000 (16:16 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:55:57 +0000 (16:55 -0700)
commit489310a440e606512b1fd79d8562d1da6b715448
tree5273f818aa52a57c7ee4890f4f974f8a91b547bf
parent631a6698d09e57cadc069914d613899609a0ae83
[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>
drivers/net/bnx2.c