]> 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)
commitc3257acc62ad9625aac2bc0f93861eabb562892d
tree6eb99fcf77eb2dbe417e2e88c424216267188330
parentc1cda2620b5484f0178354791feee93b26cbf606
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