> @@ -2006,6 +2040,23 @@ static int sfp_sm_mod_probe(struct sfp *sfp, bool 
> report)
>  
>       sfp->id = id;
>  
> +     sfp->phy_addr = SFP_PHY_ADDR;
> +
> +     rollball = ((!memcmp(id.base.vendor_name, "OEM             ", 16) ||
> +                  !memcmp(id.base.vendor_name, "Turris          ", 16)) &&
> +                 (!memcmp(id.base.vendor_pn, "SFP-10G-T       ", 16) ||
> +                  !memcmp(id.base.vendor_pn, "RTSFP-10", 8)));

Are you customising the SFP, so that it has your vendor name?

Is the generic SFP OEM/SFP-10G-T, and your customized one Turris/ 
RTSFP-10?

        Andrew

Reply via email to