summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/broadcom/bnxt/bnxt_nvm_defs.h
diff options
context:
space:
mode:
authorMichael Chan2016-06-13 08:25:37 +0200
committerDavid S. Miller2016-06-15 01:16:14 +0200
commit93ed8117336485af2cedb069d28f3d4270fb90a1 (patch)
tree263059504a4c96ab1140ba6e751a3b6b6c143331 /drivers/net/ethernet/broadcom/bnxt/bnxt_nvm_defs.h
parentbnxt_en: Add BCM5731X and BCM5741X device IDs. (diff)
downloadkernel-qcow2-linux-93ed8117336485af2cedb069d28f3d4270fb90a1.tar.gz
kernel-qcow2-linux-93ed8117336485af2cedb069d28f3d4270fb90a1.tar.xz
kernel-qcow2-linux-93ed8117336485af2cedb069d28f3d4270fb90a1.zip
bnxt_en: Don't allow autoneg on cards that don't support it.
Some cards do not support autoneg. The current code does not prevent the user from enabling autoneg with ethtool on such cards, causing confusion. Firmware provides the autoneg capability information and we just need to store it in the support_auto_speeds field in bnxt_link_info struct. The ethtool set_settings() call will check this field before proceeding with autoneg. Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_nvm_defs.h')
0 files changed, 0 insertions, 0 deletions