Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp448637pxu; Thu, 7 Jan 2021 08:57:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyqgb2Btjil0RSyywGddxDD3sPTmpifY8HqcF5x+dQ6gjgj/wBjBWA3cBOookv/X8nN2DJQ X-Received: by 2002:a17:906:4e46:: with SMTP id g6mr6623462ejw.243.1610038621620; Thu, 07 Jan 2021 08:57:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610038621; cv=none; d=google.com; s=arc-20160816; b=GcdYzl2gNb41p1ufmLSMQvYfmIlet9tmmgVkhTDV3rYnB9xD/OimHyS6LafDwb1h1o 6C5Q4Cufy7QbIzYbwvp1z7ogfqCUYGMXiRJjDBtwWE/bVW4iP0vurgQaL45ceR/IHG8Y 7CqNXX+OjKFo5o8tr1f6jk1T5g0ySF54Je4ikLlAYpZk6Nzv64QId+SUuTNUrAKz+FkL P55orJmcu2WDS3SYKY8/X3X9cEqRsgaagfNkiTEOMo2dAa/q7OaGQaNvXBcmlELIng+L jOWG2j5BE7YO+5cvHHONJAO2QS0q98wAqyd03DnvQtodnlybSuJqBjs0JdLZiZPvhaNH tOZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=jecS9WgWA4L7y4OiKO69C58CbhRcMth/XnyfC5ocobc=; b=tDZMynL9iGZKjEkmB+tbIGLpvuIvCKg66Nnc9suhsj9hMFRfqUFXXeKowjgV4pyBDd DCLDs+qapeIE8f0a1sJchy1NXWyza0fbdADpUFVSK7S1MDF+etCoCBDCzgLioifXPRne YXod5+gxZx4Pstd6V9R2goTUiQgXQ4PcVOpN81ZQyHzYCezRwr5/Qp7Fho5cPCZz2qgS fSprz8FBQU8/ZLqrygcaTfU4dav39Y859Qj3W0ySLgdBjkg/e4uhqbP0S3BiWOowsvoe bbKBh0JfJAkl3LLh8BMt11/AwnI7k+8Dg96d1xpgm4gwZOuNJhc/0u0AXSJgDvyh38kU CZpA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h11si2568781edl.78.2021.01.07.08.56.38; Thu, 07 Jan 2021 08:57:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728130AbhAGQzM (ORCPT + 99 others); Thu, 7 Jan 2021 11:55:12 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:55406 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbhAGQzL (ORCPT ); Thu, 7 Jan 2021 11:55:11 -0500 Received: from andrew by vps0.lunn.ch with local (Exim 4.94) (envelope-from ) id 1kxYYO-00GiFe-5B; Thu, 07 Jan 2021 17:54:28 +0100 Date: Thu, 7 Jan 2021 17:54:28 +0100 From: Andrew Lunn To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Russell King - ARM Linux admin , "David S. Miller" , Jakub Kicinski , Thomas Schreiber , Heiner Kallweit , Marek =?iso-8859-1?Q?Beh=FAn?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] net: sfp: assume that LOS is not implemented if both LOS normal and inverted is set Message-ID: References: <20201230154755.14746-1-pali@kernel.org> <20210106153749.6748-1-pali@kernel.org> <20210106153749.6748-3-pali@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20210106153749.6748-3-pali@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 06, 2021 at 04:37:48PM +0100, Pali Roh?r wrote: > From: Russell King > > Some GPON SFP modules (e.g. Ubiquiti U-Fiber Instant) have set both > SFP_OPTIONS_LOS_INVERTED and SFP_OPTIONS_LOS_NORMAL bits in their EEPROM. > > Such combination of bits is meaningless so assume that LOS signal is not > implemented. > > This patch fixes link carrier for GPON SFP module Ubiquiti U-Fiber Instant. > > Signed-off-by: Russell King > Signed-off-by: Pali Roh?r Reviewed-by: Andrew Lunn Andrew