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=-5.1 required=3.0 tests=BAYES_00,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 59BD9C433DB for ; Tue, 12 Jan 2021 16:06:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 10D5C221E2 for ; Tue, 12 Jan 2021 16:06:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392610AbhALQGh (ORCPT ); Tue, 12 Jan 2021 11:06:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57802 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392162AbhALQGh (ORCPT ); Tue, 12 Jan 2021 11:06:37 -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 93B1BC061575; Tue, 12 Jan 2021 08:05:41 -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-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: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=hOFBZhH3J+gHIt66r8myaNSTFolZ8lAHUWcJqfKFprs=; b=mU8pUjk/TvGr4KoITbdz3SjXj bM9XV/Da0nO88tjuoSo0Ba17+Fms0zoL7DOy3bL+5vJGu0cUMJ+PmlJEEY1bFoaoQnGXkNwLrRsAV BWJAR2SBHeJKTkkqmsV6F/3oIXl99i4cIzP4upNabYTa/wFe0W4UOhqsmb47fI/0sD3MrRung8lAJ VnJa1nT0P5rRAHDHZSom2XaX+tHsGxDf133iG/JVxiFGIFQcNdjK98sFX9+uvt6NkfSyyPQP9mE6d pqCLgA02AJGrS6o+vZw9NdbcypI5dr2qh/IOukQXbZ0j0ko7orvn9/sLMH2APm2RonhMIX6oQ6Wuq OItIR8h9g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:47078) by pandora.armlinux.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzMAn-00005s-Bq; Tue, 12 Jan 2021 16:05:33 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1kzMAm-0006Oo-9w; Tue, 12 Jan 2021 16:05:32 +0000 Date: Tue, 12 Jan 2021 16:05:32 +0000 From: Russell King - ARM Linux admin To: Bjarni Jonasson Cc: Andrew Lunn , Heiner Kallweit , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, UNGLinuxDriver Subject: Re: [PATCH v1 0/2] Add 100 base-x mode Message-ID: <20210112160532.GC1551@shell.armlinux.org.uk> References: <20210111130657.10703-1-bjarni.jonasson@microchip.com> <20210111141847.GU1551@shell.armlinux.org.uk> 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: Russell King - ARM Linux admin Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2021 at 03:33:34PM +0100, Bjarni Jonasson wrote: > On Mon, 2021-01-11 at 14:18 +0000, Russell King - ARM Linux admin > wrote: > > EXTERNAL EMAIL: Do not click links or open attachments unless you > > know the content is safe > > > > On Mon, Jan 11, 2021 at 02:06:55PM +0100, Bjarni Jonasson wrote: > > > Adding support for 100 base-x in phylink. > > > The Sparx5 switch supports 100 base-x pcs (IEEE 802.3 Clause 24) > > > 4b5b encoded. > > > These patches adds phylink support for that mode. > > > > > > Tested in Sparx5, using sfp modules: > > > Axcen 100fx AXFE-1314-0521 > > > Cisco GLC-FE-100LX > > > HP SFP 100FX J9054C > > > Excom SFP-SX-M1002 > > > > For each of these modules, please send me: > > > > ethtool -m ethx raw on > module.bin > > > > so I can validate future changes with these modules. Thanks. > > > > -- > > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > > FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last! > > I've included the dump from ethtool for: > Axcen 100fx AXFE-1314-0521 > Axcen 100lx AXFE-1314-0551 > Excom SFP-SX-M1002 > HP SFP 100FX J9054C > The "ethtool raw" output seems a bit garbled so I added the hex output > as well. It is exactly the command that I quoted above that I require. Yes, the output will be "garbled" as it is a raw binary dump of the EEPROM contents - it's not meant to be displayed directly on the console. Please resend. Thanks. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!