bnx2x: Fix port selection in case of E2
authorYaniv Rosner <yaniv.rosner@broadcom.com>
Mon, 1 Nov 2010 05:32:31 +0000 (05:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Nov 2010 13:21:37 +0000 (06:21 -0700)
commit6a71bbe04c9ee9a6e892e584a09615c1dbf35edc
tree787013353bc38f2aea54cfde241b1c03548564f7
parent9bffeac1eabe4162f5696f0d7f60aa32668f5061
bnx2x: Fix port selection in case of E2

On E2 flavor, dual-port mode, the port argument used for some
functions is needed as the global port number rather than the port per
path.

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/bnx2x_link.c