mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-26 01:37:04 +00:00
recognize QSFP-LM4 (from finisar/DELL)
This commit is contained in:
@@ -257,17 +257,21 @@ _sff8436_qsfp_40g_pre(const uint8_t* idprom)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int
|
||||
_sff8436_qsfp_40g_lm4(const uint8_t* idprom)
|
||||
{
|
||||
if(!SFF8436_MODULE_QSFP_PLUS_V2(idprom)) {
|
||||
return 0;
|
||||
}
|
||||
/* Restrict to Finisar FTL4C3QE1C at this point. */
|
||||
if(strncmp("FTL4C3QE1C ", (char*)idprom+168, 16)) {
|
||||
|
||||
if (idprom[130] != SFF8436_CONN_LC) return 0;
|
||||
if (!SFF8436_MEDIA_NONE(idprom)) return 0;
|
||||
|
||||
if ((idprom[142] != 1) && idprom[143] != 70) {
|
||||
return 0;
|
||||
}
|
||||
return SFF8436_MEDIA_NONE(idprom);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static inline int
|
||||
|
||||
Reference in New Issue
Block a user