[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201020155126.GH139700@lunn.ch>
Date: Tue, 20 Oct 2020 17:51:26 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Marek BehĂșn <kabel@...nel.org>
Cc: Russell King - ARM Linux admin <linux@...linux.org.uk>,
netdev@...r.kernel.org
Subject: Re: [PATCH russell-kings-net-queue v2 2/3] net: phy: sfp: add
support for multigig RollBall modules
> @@ -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
Powered by blists - more mailing lists