bnx2x: Fix KR2 work-around detection of BCM8073
authorYaniv Rosner <yanivr@broadcom.com>
Wed, 1 Jan 2014 09:06:45 +0000 (11:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Jan 2014 03:09:48 +0000 (22:09 -0500)
commitf17e9fa5686ac21bce756638ef71160395880928
tree0baf7c113f37db7dbdda2023618ef4b19d229630
parentad1d9ef3f736485ba0f49325fa4c73cd1d963853
bnx2x: Fix KR2 work-around detection of BCM8073

KR2 work-around is based on detecting non-KR2 devices which may not link up
in this mode. One such link-partner is the BCM8073 which has specific
advertisement characteristics in specific mode, and this condition was not set
correctly.

Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c