]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: sfp: ignore power level 2 prior to SFF-8472 Rev 10.2
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Fri, 21 Oct 2022 15:09:49 +0000 (16:09 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 25 Oct 2022 04:06:06 +0000 (21:06 -0700)
commit18cc659e95ab1661254bde815fc9345246d98906
tree8fb508ac79700ca3bfa074075585cb2d948159ad
parent02eaf5a79100468425fae2d0baf144b6068fc4cc
net: sfp: ignore power level 2 prior to SFF-8472 Rev 10.2

Power level 2 was introduced by SFF-8472 revision 10.2. Ignore
the power declaration bit for modules that are not compliant with
at least this revision.

This should remove any spurious indication of 1.5W modules.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/sfp.c