Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp10567461rwb; Fri, 25 Nov 2022 05:55:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf5RCsAK2oArCEK34BL2UO2a/0fo+8P8gOPChBoJDudEIL26SFqcN8H0YkzIWgovo0j8+TnI X-Received: by 2002:a05:6402:184b:b0:46a:2692:76e7 with SMTP id v11-20020a056402184b00b0046a269276e7mr13095852edy.387.1669384550356; Fri, 25 Nov 2022 05:55:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669384550; cv=none; d=google.com; s=arc-20160816; b=IIuHM34YduGVWdAkRqL+7C16Mv+Q4i8MwgOYv0RkqFHE6/Xm38CsxrrxyHlItzXk6C caWyFsqkdfjSX/87lsCqYEadwI98v/YSDbj2QsNy1QduJYofraXq+3MhQvCA31wnJ5qm GdM5mVpfNEb6fcarBsYHPN25nL+QcOXFCBf/jNG+PyPBUxL8ojFJJ00aSwJ+vFTWqAhX 8IicZ2zB8XUuw3I3OKI4ndBFZXxErPRhzDmVgUUgCe8DwRDe8soCEdvW21C1+2hBFKrX 1DEi9KN6D5Ec8I6O8vOuDOaWGaqfPL1tUOFn1DHP5NtWuSAZLxxgu+wnpwrlGLWBVxKX L6Qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Kr/Cj9zfcDB4yuNR0P+NcVj8Izrqtu5VXnRoj3YeWog=; b=DGbf1xOylov84ceCja4exfCESX5NA3+z6hoxP0bpROJBtNboJS9UBY+73s1s3IgUFz 88lsKGJkdciaxa4RDx6fmZrSsH/ijO1Ci5+L+XCGojRSCLXz4X/Zk07KOig10wvIe+YZ m6WX/hAFcuoCWd5msgqS3y1GbB/Z41JA44+wUH7opPAsX9kuAEY6DiDzHBx/WJEcVBIl SVizZPE8QxR9hepvAlHfw8sFTEMSnlrgyHD1nRzEhr+FFwYWki6MRBTGgMy4qcziwX0Q oUFcU5ssQi8qfQb0nYKMdQ+7rxft0nGKowqAk1QGaKdxKu+EbZX6fLaQ3CPaB/HMltIs i8MQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MmSIlxST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s27-20020a50ab1b000000b00461c9edc3a5si3767387edc.77.2022.11.25.05.55.28; Fri, 25 Nov 2022 05:55:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=MmSIlxST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229541AbiKYNSz (ORCPT + 87 others); Fri, 25 Nov 2022 08:18:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229628AbiKYNS0 (ORCPT ); Fri, 25 Nov 2022 08:18:26 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B21A532BAF; Fri, 25 Nov 2022 05:18:15 -0800 (PST) Received: (Authenticated sender: maxime.chevallier@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id B329110000E; Fri, 25 Nov 2022 13:18:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1669382294; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Kr/Cj9zfcDB4yuNR0P+NcVj8Izrqtu5VXnRoj3YeWog=; b=MmSIlxSTGhG1vopnsc3kSCU2v2yKidY5zAz+i/WM5SPO/Il7hWSrz6oQ/P+nsX7zZD85tq RCakvZ2swc64GvvKN3bXVudaxMj3uDHPtcKzGUhj7kVnYOz/kRN9MKl8Dk5YN18xUJbYhu mRmfIUw7Z9ntF0Ou/gAZwnEn4mKLH/f0DkM1eHofTLwInFEXEbE9qDIS3j/FRadAzwuppm UjTVMERSURu9oTfjtViGOSTo2pylhg4DcbGO9eAeFkuLGnRngfeqERckGhSlDTvm7rWxHW UpuKzWcIsGeZsQp49gmR+Xm6bpe3gP4nKPyH3rhPXxzUSGZDXpsbohClRtLF6Q== From: Maxime Chevallier To: davem@davemloft.net, Rob Herring Cc: Maxime Chevallier , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, thomas.petazzoni@bootlin.com, Andrew Lunn , Jakub Kicinski , Eric Dumazet , Paolo Abeni , Florian Fainelli , Heiner Kallweit , Russell King , linux-arm-kernel@lists.infradead.org, Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: [PATCH net-next 3/3] net: pcs: altera-tse: remove unnecessary register definitions Date: Fri, 25 Nov 2022 14:18:01 +0100 Message-Id: <20221125131801.64234-4-maxime.chevallier@bootlin.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221125131801.64234-1-maxime.chevallier@bootlin.com> References: <20221125131801.64234-1-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org remove unused register definitions, left from the split with the altera-tse mac driver. Signed-off-by: Maxime Chevallier --- drivers/net/pcs/pcs-altera-tse.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/net/pcs/pcs-altera-tse.c b/drivers/net/pcs/pcs-altera-tse.c index be65271ff5de..d616749761f4 100644 --- a/drivers/net/pcs/pcs-altera-tse.c +++ b/drivers/net/pcs/pcs-altera-tse.c @@ -12,22 +12,13 @@ /* SGMII PCS register addresses */ -#define SGMII_PCS_SCRATCH 0x10 -#define SGMII_PCS_REV 0x11 #define SGMII_PCS_LINK_TIMER_0 0x12 -#define SGMII_PCS_LINK_TIMER_REG(x) (0x12 + (x)) #define SGMII_PCS_LINK_TIMER_1 0x13 #define SGMII_PCS_IF_MODE 0x14 #define PCS_IF_MODE_SGMII_ENA BIT(0) #define PCS_IF_MODE_USE_SGMII_AN BIT(1) -#define PCS_IF_MODE_SGMI_SPEED_MASK GENMASK(3, 2) -#define PCS_IF_MODE_SGMI_SPEED_10 (0 << 2) -#define PCS_IF_MODE_SGMI_SPEED_100 (1 << 2) -#define PCS_IF_MODE_SGMI_SPEED_1000 (2 << 2) #define PCS_IF_MODE_SGMI_HALF_DUPLEX BIT(4) #define PCS_IF_MODE_SGMI_PHY_AN BIT(5) -#define SGMII_PCS_DIS_READ_TO 0x15 -#define SGMII_PCS_READ_TO 0x16 #define SGMII_PCS_SW_RESET_TIMEOUT 100 /* usecs */ struct altera_tse_pcs { -- 2.38.1