mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
net: sfp: provide a definition for the power level select bit
Provide a named definition for the power level select bit in the extended status register, rather than using BIT(0) in the code. 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>
This commit is contained in:
committed by
Jakub Kicinski
parent
f8810ca758
commit
3989004984
@@ -489,6 +489,8 @@ enum {
|
||||
SFP_WARN1_RXPWR_LOW = BIT(6),
|
||||
|
||||
SFP_EXT_STATUS = 0x76,
|
||||
SFP_EXT_STATUS_PWRLVL_SELECT = BIT(0),
|
||||
|
||||
SFP_VSL = 0x78,
|
||||
SFP_PAGE = 0x7f,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user