Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp10662382pxu; Wed, 30 Dec 2020 08:15:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJzcU4R687qJnPOAJdPgGylFEdz7XB5KwCz+zkiRg2mLlLJ1VlDUX8eqRG++6RgtxCe4j7kk X-Received: by 2002:a17:906:c83b:: with SMTP id dd27mr50942689ejb.356.1609344942480; Wed, 30 Dec 2020 08:15:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609344942; cv=none; d=google.com; s=arc-20160816; b=bYx7kMWNlW1Eh3VoveeKImJT7xfwU4uSHLAsrCIu9SRRCsgKSOxkHMfuWMTGqKBvJY swybpE9HUxxVkyNWFmdAhkf0nnSIFvMmqHGr1oPhDawC3BCwjZUkqqkb50Xz+TgPSXpB 73D0e5LGuhfgQWUhhK8UDt9goNFKrpmPqotaM88rPQu+LlKAvLLzxhzxdRGS7sGBgZPF +r+zoEnVY4syWNSGWRqqVAo8C3pGPN2wUnrBK7+e9E+FJ1H757XShQaEL6segTwp/0mK ZbsBA20rj6Tulf8MTTNU7t707hXrchBO++nZauEE/kkpQFP9Nhe8RZfq6xul2zB3gpRA jXjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=vWrxzaa/+R0AJWy+zgvTuWC5ulBqsve/SdPdO1a9IQQ=; b=XvdDAiu/r4YiGHC4vbhtUL6q2QegGL9xaoaXxpywlYcXhofoUzj/kw/78HR3JueIjZ 3cUV1pQm06zjW0wYQk5Z4dlrfmJWrtNjgB9LF/utfRNEXKAuC6S9QdMmSdgmz0A2kvYT Jiv+daY7yb/KAm7it8SKDw5cd0usGLCLxe7AyI+vNc/YIELtX8b8SWCJnHrKwH1JYe+X o4V8I9ElbZW4RT75cBPGIAukPaTtGit9bOd/X+5/9srfwTyEyfQAXYTZ8fCeN47Phe6w uURh/cdocubK3vmeQVXY8U7DInGCyZiUW7NySTFZPeQSsPeuhvlRsCyuJToA7kC8EinY Qq9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=0suEv0Jb; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l23si23540327edr.325.2020.12.30.08.15.19; Wed, 30 Dec 2020 08:15:42 -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; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=0suEv0Jb; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726322AbgL3QMf (ORCPT + 99 others); Wed, 30 Dec 2020 11:12:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726161AbgL3QMf (ORCPT ); Wed, 30 Dec 2020 11:12:35 -0500 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 09E70C061799; Wed, 30 Dec 2020 08:11:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vWrxzaa/+R0AJWy+zgvTuWC5ulBqsve/SdPdO1a9IQQ=; b=0suEv0JbLx9qQbxBYyLl5NMe0 wU8cW+QFeqhUQnaSoo8i/zuecm0NZXvVWKanjxW3XzmzOGIRazxinubazim+84/xla+hf009NhmYT gKDXANTuKLwshEhN4D8p33toA3KuIJskkaoz7NnR+vHIK0Kp2R8mOxNinuX2Zr5dV4C2arM2EKvP0 2Sb8mcBo0VNAoTqArR1BgBoioygCO3i0PHtPmXueHtKdEMWcvCSTwo9hIMBTx6Y57R0/VaYxjASXe cdDDFSsQZaqmP/CRKTXcvNoA5TVxQjbPv6yu7zsSniBWDsepFdjRzbcPCsiMwk8P/x6a0ibps59CG Ooqky6ugw==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:44914) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kue4l-0005oY-Qz; Wed, 30 Dec 2020 16:11:51 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1kue4l-0002KO-Kf; Wed, 30 Dec 2020 16:11:51 +0000 Date: Wed, 30 Dec 2020 16:11:51 +0000 From: Russell King - ARM Linux admin To: Pali =?iso-8859-1?Q?Roh=E1r?= Cc: Andrew Lunn , Heiner Kallweit , "David S. Miller" , Jakub Kicinski , Marek =?iso-8859-1?Q?Beh=FAn?= , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/4] net: sfp: allow to use also SFP modules which are detected as SFF Message-ID: <20201230161151.GS1551@shell.armlinux.org.uk> References: <20201230154755.14746-1-pali@kernel.org> <20201230154755.14746-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: <20201230154755.14746-3-pali@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 30, 2020 at 04:47:53PM +0100, Pali Roh?r wrote: > Some GPON SFP modules (e.g. Ubiquiti U-Fiber Instant) have set SFF phys_id > in their EEPROM. Kernel SFP subsystem currently does not allow to use > modules detected as SFF. > > This change extends check for SFP modules so also those with SFF phys_id > are allowed. With this change also GPON SFP module Ubiquiti U-Fiber Instant > is recognized. I really don't want to do this for every single module out there. It's likely that Ubiquiti do this crap as a vendor lock-in measure. Let's make it specific to Ubiquiti modules _only_ until such time that we know better. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!