]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2: Fix remote PHY initial link state.
authorMichael Chan <mchan@broadcom.com>
Fri, 2 May 2008 23:56:44 +0000 (16:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 23:56:44 +0000 (16:56 -0700)
commit50893ed9fa88b2dd848b956cd44df7a319391e49
tree74a308cd8a4d7d4dbdba8b60e0230cfeddb69032
parentcd03332e4b38d0d9049a7e09d2676dd86bf68a98
bnx2: Fix remote PHY initial link state.

On some remote PHY blade systems, the driver receives no initial link
interrupt.  As a result, the GMII/MII MAC mode does not get setup properly.
To fix this problem, we add an initial poll of the link state after chip
reset.

With this change, the setting of the initial carrier state in the init
code can be eliminated.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c