bnx2x: Link order with external PHY
authorYaniv Rosner <yanivr@broadcom.com>
Wed, 13 Aug 2008 22:55:28 +0000 (15:55 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Aug 2008 23:04:03 +0000 (16:04 -0700)
commit57963ed94c27e94a7533434da5943195ea072a35
tree295ecff7ffef1e4c4349ec04b5463ad6af9a93b4
parentdf0f23439a69eb5ca30668612f1c4e20041b5341
bnx2x: Link order with external PHY

Link order with external PHY
When external PHY exists (second chip with the PHY to translate to
another physical medium) the link with the eternal PHY and the network
should be established before setting the link between the 5771x and the
PHY. This is the right order and it is important when using autoneg -
the link to the network should use the autoneg and the link between the
two chips should be forced to the network result.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_link.c
drivers/net/bnx2x_reg.h