@@ -55,6 +55,13 @@ static void sfp_quirk_ubnt_uf_instant(const struct sfp_eeprom_id *id,phylink_set(modes,1000baseX_Full);}+staticvoidsfp_quirk_finisar_25g(conststructsfp_eeprom_id*id,+unsignedlong*modes)+{+phylink_set(modes,1000baseX_Full);+phylink_set(modes,10000baseSR_Full);+}+staticconststructsfp_quirksfp_quirks[]={{// Alcatel Lucent G-010S-P can operate at 2500base-X, but
@@ -78,7 +85,13 @@ static const struct sfp_quirk sfp_quirks[] = {.vendor="UBNT",.part="UF-INSTANT",.modes=sfp_quirk_ubnt_uf_instant,-},+},{+// Finisar FTLF8536P4BCL can operate at 1000base-X and 10000base-SR,+// but reports 25G & 100GBd SR in it's EEPROM+.vendor="FINISAR CORP.",+.part="FTLF8536P4BCL",+.modes=sfp_quirk_finisar_25g,+}};staticsize_tsfp_strlen(constchar*str,size_tmaxlen)
Hi Paul,
Please can you send me the file resulting from:
ethtool -m ethX raw on > file
please - it will be binary data, and that is exactly what I'm after.
I would like to see what the EEPROM contains before making a decision
on this patch.
Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Hi Paul,
Please can you send me the file resulting from:
ethtool -m ethX raw on > file
please - it will be binary data, and that is exactly what I'm after.
I would like to see what the EEPROM contains before making a decision
on this patch.
Thanks.
I'd ask that this is named "sfp_quirk_1g10g()" please - it isn't
doing anything that is specific to Finisar, it is merely stating
that 1000base-X and 10000base-SR are supported.
+ }, {
+ // Finisar FTLF8536P4BCL can operate at 1000base-X and 10000base-SR,
+ // but reports 25G & 100GBd SR in it's EEPROM
This file doesn't wrap over column 80, so please continue to keeping
it that way.
// Finisar FTLF8536P4BCL can operate at 1000base-X and
// 10000base-SR, but reports 25G & 100GBd SR in it's EEPROM
Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!