net: sfp: fill also 5gbase-r and 25gbase-r modes in sfp_parse_support()
authorMarek Behún <kabel@kernel.org>
Fri, 7 Oct 2022 08:48:44 +0000 (10:48 +0200)
committerJakub Kicinski <kuba@kernel.org>
Tue, 11 Oct 2022 01:00:29 +0000 (18:00 -0700)
commit5b4c189d660a9b8a852f0863360eb40a100226fc
tree7f3da4736bf5cfdd8b59b0914dfa803370f8cefb
parenta390e03401e908ebfecdab0c53b70ff512f11d71
net: sfp: fill also 5gbase-r and 25gbase-r modes in sfp_parse_support()

Fill in also 5gbase-r and 25gbase-r PHY interface modes into the
phy_interface_t bitmap in sfp_parse_support().

Fixes: fd580c983031 ("net: sfp: augment SFP parsing with phy_interface_t bitmap")
Signed-off-by: Marek Behún <kabel@kernel.org>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://lore.kernel.org/r/20221007084844.20352-1-kabel@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/sfp-bus.c