bnxt_en: Enhance autoneg support.
authorMichael Chan <michael.chan@broadcom.com>
Thu, 17 Nov 2016 02:13:08 +0000 (21:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2016 04:11:07 +0000 (23:11 -0500)
commit286ef9d64ea7435a1e323d12b44a309e15cbff0e
tree6e3ec4e60554883d894f174837636ab1f69bcc62
parent16d663a69f4a1f3534e780e35d50142b98cf1279
bnxt_en: Enhance autoneg support.

On some dual port NICs, the speed setting on one port can affect the
available speed on the other port.  Add logic to detect these changes
and adjust the advertised speed settings when necessary.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h