]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commitdad91ee478c7f39e04a33272732147b8c274bb58
tree6eb99fcf77eb2dbe417e2e88c424216267188330
parentd3217b15a19a4779c39b212358a5c71d725822ee
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