From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 22378C432C0 for ; Thu, 21 Nov 2019 16:21:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E1C2520658 for ; Thu, 21 Nov 2019 16:21:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="wQbc2GHl" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726887AbfKUQVX (ORCPT ); Thu, 21 Nov 2019 11:21:23 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:49956 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726690AbfKUQVW (ORCPT ); Thu, 21 Nov 2019 11:21:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: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=3pIki6C84ovYY9R1F02y29fR6d/hbyFJmQZDnip3xUY=; b=wQbc2GHlYkrBsAHbKiAW16v8ed 0b0bt2jH+0cx59xFKQhGaaousfOtDyhKWkcW72RdHTh48XGpJw4HbB5ehQ4NM2PZekn4lddy8RTyi UNdNJytJoCg81cSY9rFlZ+56DsI30OaYD7KZqXe3o7cDiVGNdm5IVyPBp/NB98oJvTEg=; Received: from andrew by vps0.lunn.ch with local (Exim 4.92.2) (envelope-from ) id 1iXpCj-0001NR-LP; Thu, 21 Nov 2019 17:21:13 +0100 Date: Thu, 21 Nov 2019 17:21:13 +0100 From: Andrew Lunn To: Ioana Ciornei Cc: Russell King , Florian Fainelli , Heiner Kallweit , "David S. Miller" , "netdev@vger.kernel.org" Subject: Re: [PATCH net-next v2] net: sfp: soft status and control support Message-ID: <20191121162113.GL19542@lunn.ch> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Thu, Nov 21, 2019 at 03:51:07PM +0000, Ioana Ciornei wrote: > > Subject: [PATCH net-next v2] net: sfp: soft status and control support > > > > Add support for the soft status and control register, which allows TX_FAULT > > and RX_LOS to be monitored and TX_DISABLE to be set. We make use of this > > when the board does not support GPIOs for these signals. > > Hi Russell, > > With this addition, shouldn't the following print be removed? > > [ 2.967583] sfp sfp-mac4: No tx_disable pin: SFP modules will always be emitting. Hi Ioana Does the SFP you are using actually support soft status? Andrew