aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/sfp.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-11-20 22:28:53 -0800
committerDavid S. Miller <davem@davemloft.net>2019-11-20 22:28:53 -0800
commit9ce33351bd552f712b349f3c1b756c9bb0ea234f (patch)
tree3b385a59d7e7d61a7f41364a5227c5811772c8d4 /include/linux/sfp.h
parenttcp: warn if offset reach the maxlen limit when using snprintf (diff)
parentnet: sfp: add some quirks for GPON modules (diff)
downloadlinux-dev-9ce33351bd552f712b349f3c1b756c9bb0ea234f.tar.xz
linux-dev-9ce33351bd552f712b349f3c1b756c9bb0ea234f.zip
Merge branch 'sfp-quirks'
Russell King says: ==================== Add rudimentary SFP module quirk support The SFP module EEPROM describes the capabilities of the module, but doesn't describe the host interface. We have a certain amount of guess-work to work out how to configure the host - which works most of the time. However, there are some (such as GPON) modules which are able to support different host interfaces, such as 1000BASE-X and 2500BASE-X. The module will switch between each mode until it achieves link with the host. There is no defined way to describe this in the SFP EEPROM, so we can only recognise the module and handle it appropriately. This series adds the necessary recognition of the modules using a quirk system, and tweaks the support mask to allow them to link with the host at 2500BASE-X, thereby allowing the user to achieve full line rate. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/sfp.h')
0 files changed, 0 insertions, 0 deletions