]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Ignore 0 value in autoneg supported speed from firmware.
authorMichael Chan <michael.chan@broadcom.com>
Wed, 8 Mar 2017 23:44:35 +0000 (18:44 -0500)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Tue, 11 Jul 2017 00:04:08 +0000 (17:04 -0700)
commit08372d6164c0dee608c899c065ae068f902511fe
tree05ff53dfb229c2ccd98dc60f623875933ee1f90a
parent7daedb081349e36fe1da21eea9a5075a44bd1206
bnxt_en: Ignore 0 value in autoneg supported speed from firmware.

Orabug: 264025332632559926366387

In some situations, the firmware will return 0 for autoneg supported
speed.  This may happen if the firmware detects no SFP module, for
example.  The driver should ignore this so that we don't end up with
an invalid autoneg setting with nothing advertised.  When SFP module
is inserted, we'll get the updated settings from firmware at that time.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 520ad89a54edea84496695d528f73ddcf4a52ea4)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c