]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaec2775d62e81a29ac82147670748dd042a527e4
tree295ecff7ffef1e4c4349ec04b5463ad6af9a93b4
parentf259a873f9ce276b2e085607ffe137a5dbc152d0
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