From patchwork Tue Mar 21 16:58:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Russell King (Oracle)" X-Patchwork-Id: 13182946 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 10725C6FD1D for ; Tue, 21 Mar 2023 16:58:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbjCUQ6l (ORCPT ); Tue, 21 Mar 2023 12:58:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjCUQ6k (ORCPT ); Tue, 21 Mar 2023 12:58:40 -0400 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 063DA28225 for ; Tue, 21 Mar 2023 09:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:Content-Type:MIME-Version: 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:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eUW5M0UdqFM6vJU8nSG5h+zk73VJs09CyqbfhLx2pus=; b=LfdqhENnjqhsouaC33yDEruTTl wjupj8XJLnMKSdroCAhPJyxiM0KbJUf2zHBQZFNWIqawpqsH2k9x48SdJaPUV2G6VXbVqZMFmsWmX 2x12zf3Fu8R+Kn6en+VymNUvIa+xN/U/lup9Fn3pHKNcVhIqtXnljSoJDU0itRcpI+htoqjrj3Yub nPIMKwh09Et89N3MzlVnCP7gySL70HJGthOaFgwDxXMugoZyRg6TgEUyTi4H+BZczDakItyNj7jO0 hQlJknMlWoHCo+4CIa7GHnuDAcV9z2TP7OXheF/Z6dj7v6ZzGPQjskchR5EhX5s7i0wTiWMdC+Yw1 VtIr+ogA==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:59678) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pefJe-0001Zz-MB; Tue, 21 Mar 2023 16:58:30 +0000 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1pefJa-0007uC-6H; Tue, 21 Mar 2023 16:58:26 +0000 Date: Tue, 21 Mar 2023 16:58:26 +0000 From: "Russell King (Oracle)" To: Andrew Lunn , Heiner Kallweit Cc: "David S. Miller" , Eric Dumazet , Frank Wunderlich , Jakub Kicinski , netdev@vger.kernel.org, Paolo Abeni Subject: [PATCH net-next 0/2] Quirk for OEM SFP-2.5G-T copper module Message-ID: MIME-Version: 1.0 Content-Disposition: inline Sender: Russell King (Oracle) Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Hi, Frank Wunderlich reports that this copper module requires a quirk in order to function - in that the module needs to use 2500base-X. Moreover, negotiation must be disabled. An example of this device would be: https://www.optcore.net/product/sfp-2g-t-gen drivers/net/phy/sfp-bus.c | 8 ++++---- drivers/net/phy/sfp.c | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-)