Searched hist:"02 eaf5a7" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/phy/ |
H A D | sfp.c | 02eaf5a7 Fri Oct 21 10:09:43 CDT 2022 Russell King (Oracle) <rmk+kernel@armlinux.org.uk> net: sfp: check firmware provided max power
Check that the firmware provided maximum power is at least 1W, which is the minimum power level for any SFP module.
Now that we enforce the minimum of 1W, we can exit early from sfp_module_parse_power() if the module power is 1W or less.
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>
|