summaryrefslogtreecommitdiff
path: root/include/linux/sfp.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-12-14 13:27:47 +0300
committerDavid S. Miller <davem@davemloft.net>2017-12-15 21:23:22 +0300
commit259c8618b0099bfa613997b43857752167cddc20 (patch)
tree5a9e78ff7b6afd08433d7affa62740e5b88ec84e /include/linux/sfp.h
parent512dc8fed99a361e6caf185b14292ab0a60ebd2f (diff)
downloadlinux-259c8618b0099bfa613997b43857752167cddc20.tar.xz
sfp: add sff module support
Add support for SFF modules, which are soldered down SFP modules. These have a different phys_id value, and also have the present and rate select signals omitted compared with their socketed counter-parts. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sfp.h')
-rw-r--r--include/linux/sfp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sfp.h b/include/linux/sfp.h
index 47ea32d3e816..0c5c5f6ae1ec 100644
--- a/include/linux/sfp.h
+++ b/include/linux/sfp.h
@@ -231,6 +231,7 @@ enum {
SFP_SFF8472_COMPLIANCE = 0x5e,
SFP_CC_EXT = 0x5f,
+ SFP_PHYS_ID_SFF = 0x02,
SFP_PHYS_ID_SFP = 0x03,
SFP_PHYS_EXT_ID_SFP = 0x04,
SFP_CONNECTOR_UNSPEC = 0x00,