]> git.baikalelectronics.ru Git - kernel.git/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)
commit20d5ef661e9dbb40af72cc1206731ce924a74b00
tree5273f818aa52a57c7ee4890f4f974f8a91b547bf
parentcd40da4427ea906fd817a3c85c500640163944fa
[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