]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit543a827d7a5600a71855bd6afacac78536c86822
tree74a308cd8a4d7d4dbdba8b60e0230cfeddb69032
parent74ecc62d6e595ca64bbef2471787bf53b94e5d3c
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