Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp3766979pxy; Mon, 26 Apr 2021 09:14:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBdGHNuVYpDJnowPQ3lmV+UWULV+1hJM/N58luRePhA/X7lph59rxfZnqaRqmqkKw4deD1 X-Received: by 2002:a63:4547:: with SMTP id u7mr17621554pgk.351.1619453668275; Mon, 26 Apr 2021 09:14:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619453668; cv=none; d=google.com; s=arc-20160816; b=tqpTLOYHnbpyNYBJncCe/a5M7LHw4OpJoVtdFKStn47CXArrTM0g4l51xazXkU94kO SVyqdwPv13QIy9EofCFz3uTJqwezm09mN9nTspwJFkdI0unMlnWdhRkV4UJrxKPQYaQG 5nifmFUiQDIP7AarExgDc/XFfW1areQMcDx/6/jkqfmBlwsKNKmi4F/ULA6euBAiRh8x BInfTRYr49XAPB7cZmNM2JRYLUri8iB2u8hCzVStE8o8wCSznKzNOLbIhsQoAwMM/wjq BfdbqESWvEy2PkjmfePC3VhTfce2gvClamSAwiKI81pcSIyvG68NJokTMfliNbNIih75 oFAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=FE9X8e1eCiS8CItxb3koHc3Mlf5Gstu8fzH86bwvnvU=; b=z62rF3DxvehhAHOAOgXqkA51Zj5X3QA8y70MigS6G90hnTBUh4KShnNFc6ICcGjqeJ pktf0OQQJq9fXwJYsIIKe7tqKZ4HsTNPTuE7g/Dta5tQLsrw/OL5KQZilCA8i1qeHCaC wNlenda3BFe1KtWEV19ZYNY/PNWY0+aee110eDy8WkLeMoOk418v1Y9tH2ZrQC+VSpNf JXq1wzGN8SqHZyRxdBzj8YsnKqj4kG3Pm//Sr23KylJfPikMjqED+QwVmhGyPuZLYO8t h8vPb8/b9ZwkqWqzUBhnmMRrlZpoy1PXkqTjrJqDmg7q+QDm+4N5R615VFRnvaIt5Wdk r0yg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@metrotek.ru header.s=mail header.b=hEypwacz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r139si21647613pgr.169.2021.04.26.09.14.15; Mon, 26 Apr 2021 09:14:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@metrotek.ru header.s=mail header.b=hEypwacz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234227AbhDZQNj (ORCPT + 99 others); Mon, 26 Apr 2021 12:13:39 -0400 Received: from mail.pr-group.ru ([178.18.215.3]:50418 "EHLO mail.pr-group.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233736AbhDZQNj (ORCPT ); Mon, 26 Apr 2021 12:13:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=metrotek.ru; s=mail; h=from:subject:date:message-id:to:cc:mime-version:content-transfer-encoding; bh=xmlWVM44O8zlpDHgIdJrudJSD0CqrW0tK6mZWnNG71k=; b=hEypwacz2d/UVzSlUSRpD/+ZeIjDTdyPI7yUuWgzIgE796mSvOoR1B7zbuf0mErIvnmXFql/gXuon S63sF3PHsg6fE6YYXVzr04qtcdcjjyDp6ZbwoMH/8wImPsNJMCi8mKPrrvFDszv3vSbbJys4Bhmlal MnZUfqAH00ccQm7nVWab+6IcGe6fXUG9tInKaCfnQYIXlifONHhPOhY7hPGdWRLhsqXNGn6eMB0zwS AG1hwhcJLWFrAybvaV5MrZ+COkq2IvEfXcmJaVUwixS0P3LFV5nyyxzMxP3OmTL5v0igOM/xu7FndT LgrYma6FFZkLFN/ZF/CCFB6T0Ge2GOw== X-Spam-Status: No, hits=0.0 required=3.4 tests=BAYES_00: -1.665, CUSTOM_RULE_FROM: ALLOW, TOTAL_SCORE: -1.665,autolearn=ham X-Spam-Level: X-Footer: bWV0cm90ZWsucnU= Received: from localhost.localdomain ([78.37.172.38]) (authenticated user i.bornyakov@metrotek.ru) by mail.pr-group.ru with ESMTPSA (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256 bits)); Mon, 26 Apr 2021 19:12:40 +0300 From: Ivan Bornyakov Cc: i.bornyakov@metrotek.ru, system@metrotek.ru, andrew@lunn.ch, hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH net-next] net: phy: marvell-88x2222: enable autoneg by default Date: Mon, 26 Apr 2021 19:08:23 +0300 Message-Id: <20210426160823.4501-1-i.bornyakov@metrotek.ru> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit To: unlisted-recipients:; (no To-header on input) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is no real need for disabling autonigotiation in config_init(). Leave it enabled by default. Signed-off-by: Ivan Bornyakov --- drivers/net/phy/marvell-88x2222.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/phy/marvell-88x2222.c b/drivers/net/phy/marvell-88x2222.c index 9b9ac3ef735d..d8b31d4d2a73 100644 --- a/drivers/net/phy/marvell-88x2222.c +++ b/drivers/net/phy/marvell-88x2222.c @@ -473,8 +473,6 @@ static int mv2222_config_init(struct phy_device *phydev) if (phydev->interface != PHY_INTERFACE_MODE_XAUI) return -EINVAL; - phydev->autoneg = AUTONEG_DISABLE; - return 0; } -- 2.26.3