OSDN Git Service

net: bna: Update supported link modes
authorErik Ekman <erik@kryo.se>
Wed, 8 Dec 2021 23:00:22 +0000 (00:00 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 11 Dec 2021 03:50:40 +0000 (19:50 -0800)
commit7adf905333f4dd7965fe8a7c96a54cff70f7c354
treed5e8d2b0f27f01193ba63c9cf176f1dc801bb11a
parent33d60fbd21fa6f71a88571209e301ec6de59f81b
net: bna: Update supported link modes

The BR-series installation guide from https://driverdownloads.qlogic.com/
mentions the cards support 10Gbase-SR/LR as well as direct attach cables.

The cards only have SFP+ ports, so 10000baseT is not the right mode.
Switch to using more specific link modes added in commit 5711a98221443
("net: ethtool: add support for 1000BaseX and missing 10G link modes").

Only compile tested.

Signed-off-by: Erik Ekman <erik@kryo.se>
Link: https://lore.kernel.org/r/20211208230022.153496-1-erik@kryo.se
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/brocade/bna/bnad_ethtool.c