Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3630040imm; Sun, 10 Jun 2018 21:57:46 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIuzLLSxHa4jAoWJ2UtgijJyYPLSRtfQLofwTNO5wqvID24jTvQ/7j72Rm2mMyp5ExtQomo X-Received: by 2002:a62:8d03:: with SMTP id z3-v6mr15704864pfd.112.1528693066822; Sun, 10 Jun 2018 21:57:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528693066; cv=none; d=google.com; s=arc-20160816; b=ac74IIy7CUdx0avEiNk7zmoiBTncgJuH3BlVlXxWeLGvJnbY1lqneZ17XEPH8fQ0gZ +t/JGQ2QQ+T4AuWRiP8Nxd2J8i0YhWNPV3LU1UNtJszwzBIr+Gx1IK7lavfifpsEs5yS 2sQsn8bmJnww9H4WZcQf7DCYNiT8J8vDMrPeXPg5N1LUchFOGXbwIxQGVtY9zZDTi3/q rTkWulCtSQPp3QuzdUClLnrqqMlak/bzqnwN/rEkhVsqqW4paMGJ8N0MeMIt3vP/I1vA xm4Ynv3ulYsCTJbE5rXK3VoP6EWjzV3/YqQ937uS49nYxSVjC9f1nw0Jo5JQa1h4vD9n d5zA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=VOqS9g23yn9EAcYZ/9FXbV9SL/UDzrBfVZEqizhUZds=; b=V8rp2QWJEUGkYbNNTbsPGCcamILhUd421zci3fyqgrXNjiUZs5gV8Dz0tcLOlPlfOY WJ66xjowqClaCl/E2xDOtxilDjF99dhMUUEMj4siIY6ZD4Q6x5WHv6016jJZNlWadKl4 RBGq5Jtq5cgYIw1PhUYb6qLpHhembD15Le/dgAqMea8U3SgqoUNajRTQ9TAEFOBpA6+d J36YGYQE/RcNs/8+iFSDKvkZyZpTqch9aKOPPdHIul4X3agS2vQG5kbijQAzrbHhqVsa PNC0hiIQCsVia+TI3jjiKtiAgvBpqn+e3IhYrD/XU+yBLCJEIWGBmAhE70mgnM9RtBxG uZvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=DZbCWxHW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e5-v6si26754131pgp.105.2018.06.10.21.57.30; Sun, 10 Jun 2018 21:57:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=DZbCWxHW; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753913AbeFKE5F (ORCPT + 99 others); Mon, 11 Jun 2018 00:57:05 -0400 Received: from merlin.infradead.org ([205.233.59.134]:54322 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753875AbeFKE5E (ORCPT ); Mon, 11 Jun 2018 00:57:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :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=VOqS9g23yn9EAcYZ/9FXbV9SL/UDzrBfVZEqizhUZds=; b=DZbCWxHWEIGJUAHEEdF976hqAx PlRFv7XTEDUU0owhimEYxhAhYVzOB+duVdBiFN2aFm/zNMVciKAsGmbx3HFCg/jk3aXM+pvmywgZ7 CAQMiGzNB+T0Ooz1TXVCMH7EQ6Z5wcfuU5XWDYOpjUTvzvJwXw7TMGI6RwH2TAEXjRKkOFESYkKs5 +TzLjcoTf9YunxNkYSLzdtnYfozEVw/jIa74XRj8uZ25jywr/3zhYk/bgTf3y31LWyE2fqH4q2TLw JTumgBUiqM2gdWi3/+PNnaDPHGX74a42fNJiuDsZQOBUYCG9Z6DBMYScsl15INzhsZrKkkwGLKssb B7BEEGPw==; Received: from static-50-53-52-16.bvtn.or.frontiernet.net ([50.53.52.16] helo=dragon.dunlab) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fSEsC-0003yC-E1; Mon, 11 Jun 2018 04:56:09 +0000 Subject: Re: [PATCH] optoe: driver to read/write SFP/QSFP EEPROMs To: Don Bollinger , Arnd Bergmann , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Cc: brandon_chuang@edge-core.com, wally_wang@accton.com, roy_lee@edge-core.com, rick_burchett@edge-core.com, quentin.chang@quantatw.com, jeffrey.townsend@bitswitch.com, scotte@cumulusnetworks.com, roopa@cumulusnetworks.com, David Ahern , luke.williams@canonical.com, Guohan Lu , Xin Liu , steve.joiner@finisar.com References: <20180611042515.ml6zbcmz6dlvjmrp@thebollingers.org> From: Randy Dunlap Message-ID: <37dfd504-5921-54f2-b90e-a26595fc0a5e@infradead.org> Date: Sun, 10 Jun 2018 21:56:00 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20180611042515.ml6zbcmz6dlvjmrp@thebollingers.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 06/10/2018 09:25 PM, Don Bollinger wrote: > diff --git a/drivers/misc/eeprom/Kconfig b/drivers/misc/eeprom/Kconfig > index 68a1ac929917..9a08e12756ee 100644 > --- a/drivers/misc/eeprom/Kconfig > +++ b/drivers/misc/eeprom/Kconfig > @@ -111,4 +111,22 @@ config EEPROM_IDT_89HPESX > This driver can also be built as a module. If so, the module > will be called idt_89hpesx. > > +config EEPROM_OPTOE > + tristate "read/write access to SFP* & QSFP* EEPROMs" > + depends on I2C && SYSFS > + help > + If you say yes here you get support for read and write access to > + the EEPROM of SFP and QSFP type optical and copper transceivers. > + Includes all devices which conform to the sff-8436 and sff-8472 This includes and then please s/sff/SFF/ (2 places). > + spec including SFP, SFP+, SFP28, SFP-DWDM, QSFP, QSFP+, QSFP28 > + or later. These devices are usually found in network switches. > + > + This driver only manages read/write access to the EEPROM, all > + other features should be accessed via i2c-dev. > + > + This driver can also be built as a module. If so, the module > + will be called optoe. > + > + If unsure, say N. > + > endmenu thanks, -- ~Randy