summaryrefslogtreecommitdiff
path: root/drivers/mtd/nftlcore.c
diff options
context:
space:
mode:
authorEdward Cree <ecree@solarflare.com>2020-09-07 17:15:08 +0100
committerJakub Kicinski <kuba@kernel.org>2020-09-07 14:46:13 -0700
commit400d64cf2d1ddedd798c9ff3c1cc03564e67ca5a (patch)
treef396949e6f223bb6ad6e9117f643d827f58b3ee7 /drivers/mtd/nftlcore.c
parent4404c0898dc116b0d173620ed546609fab83007a (diff)
sfc: handle limited FEC support
If the reported PHY capabilities do not include a given FEC mode, don't attempt to select that FEC mode anyway. If the user tries to set a mode through ethtool that is not supported, return an error. The _REQUESTED bits don't appear in the supported caps, but are implied by the corresponding FEC bits. Signed-off-by: Edward Cree <ecree@solarflare.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/mtd/nftlcore.c')
0 files changed, 0 insertions, 0 deletions