]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix link for KR with swapped polarity lane
authorYaniv Rosner <yaniv.rosner@qlogic.com>
Thu, 12 Jun 2014 04:55:29 +0000 (07:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jun 2014 17:28:18 +0000 (10:28 -0700)
commit27ba7ad80d678e2bef96f016d1224f4aa90cb9d4
tree6eb99fcf77eb2dbe417e2e88c424216267188330
parenteaacb40c452dcad4e2e24d7e28cf044736739d56
bnx2x: Fix link for KR with swapped polarity lane

This avoids clearing the RX polarity setting in KR mode when polarity lane
is swapped, as otherwise this will result in failed link.

Signed-off-by: Yaniv Rosner <yaniv.rosner@qlogic.com>
Signed-off-by: Yuval Mintz <yuval.mintz@qlogic.com>
Signed-off-by: Ariel Elior <ariel.elior@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_link.c