Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1646938pxb; Wed, 10 Feb 2021 13:13:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJx/WzmuhftHffYd1cPfvMfYPa7+L7aDdlMMng420nLOU06zo2nVX8VJNZNpUXeUwX+vVjEk X-Received: by 2002:a17:906:25c4:: with SMTP id n4mr4938429ejb.359.1612991609033; Wed, 10 Feb 2021 13:13:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612991609; cv=none; d=google.com; s=arc-20160816; b=igtcll8xKNJPW33lmBvMdUXyCOHanqB/ow8hei1MtuwzD+m7Ev14Le22HltHQG0Vfc PDBiZc2vOUYz2srzyzI/rn/wk183A44Fy9JSEVWfnpCX3aBDY9pv5iJrpZY0gLTsuQJD MlBWbOsIiNJeoXH/1Su6y1lCu0l7EKihlekPSpIKydE58wPAaeW6h73UQYhrO6FQN1Xa ET8tO23KIEqMKUlPRyb0LjSBvN2IWs1006K7uScULK4uCsOLr2aBMYYKVE4BiDCzeM+4 EVtp39Zn4kCxHoWfWpwa1LLhE5KfSmB+KxVmKVGM6ACzRIQPviCme7CJ+YZzF3ivt+0v OW1A== 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=QK2bcR/rLsouR+qBwCFySa41ZRH5nsbzNnUjxxYoa+E=; b=reX73vGAsINGbrsjASLy06Da1a6f8q+5BZ9YJSoK6Li+w4O3SJdnoR/vTMuEnnfpiB HzxATYsm3vqVlgbzMzypUTitY/PohKspIszu6OpW0msok9jdB/fXFPk7b0xhEIT8OT4L 63yuLYoXmnhq8vKe3uqB0ojCvtHJ+nngsv01V6IDNebKHYXAdDqG131ckScQfVeHZF6+ WYuieV8OVGZRWu+76X7TW4B3RdQ7iEol27B9tXnhddDb+K1ZpMg/S07abKdzC3fvAzSv CW1brZX5DnTZOqj4RFY9dohUFBZuKoYJOECknqVdiuft1/vZKxZrAJaZQCprBVW0/1jQ XixQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=ZDiIFSoy; 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 z4si2081602ejr.376.2021.02.10.13.13.04; Wed, 10 Feb 2021 13:13:29 -0800 (PST) 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=pass header.i=@walle.cc header.s=mail2016061301 header.b=ZDiIFSoy; 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 S233439AbhBJVJq (ORCPT + 99 others); Wed, 10 Feb 2021 16:09:46 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:42829 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231193AbhBJVJC (ORCPT ); Wed, 10 Feb 2021 16:09:02 -0500 Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id C232E23E71; Wed, 10 Feb 2021 22:08:17 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1612991298; 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=QK2bcR/rLsouR+qBwCFySa41ZRH5nsbzNnUjxxYoa+E=; b=ZDiIFSoysac4hCGQX9o/ScNXEM0MqEVCdcqYadKtEPyDuZO0E3CR1dWWoTsRN2SWjH7UFs cB+QxknPtZTvPXE89RoRH0Ly4rJKczPWidzhfqITiFmuuzvQsPFyS4VJwSoq8DObcgfol2 HbJ5MopRLI5Zl15qEi09wu0XnBb7Uxs= From: Michael Walle To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andrew Lunn , Heiner Kallweit , Russell King , "David S . Miller" , Jakub Kicinski , Michael Walle Subject: [PATCH net-next v3 2/9] net: phy: icplus: use PHY_ID_MATCH_EXACT() for IP101A/G Date: Wed, 10 Feb 2021 22:08:02 +0100 Message-Id: <20210210210809.30125-3-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210210210809.30125-1-michael@walle.cc> References: <20210210210809.30125-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org According to the datasheet of the IP101A/G there is no revision field and MII_PHYSID2 always reads as 0x0c54. Use PHY_ID_MATCH_EXACT() then. Signed-off-by: Michael Walle Reviewed-by: Andrew Lunn --- Changes since v2: - none Changes since v1: - none drivers/net/phy/icplus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/icplus.c b/drivers/net/phy/icplus.c index 4407b1eb1a3d..ae3cf61c5ac2 100644 --- a/drivers/net/phy/icplus.c +++ b/drivers/net/phy/icplus.c @@ -349,7 +349,7 @@ static struct phy_driver icplus_driver[] = { .suspend = genphy_suspend, .resume = genphy_resume, }, { - PHY_ID_MATCH_MODEL(IP101A_PHY_ID), + PHY_ID_MATCH_EXACT(IP101A_PHY_ID), .name = "ICPlus IP101A/G", /* PHY_BASIC_FEATURES */ .probe = ip101a_g_probe, @@ -365,7 +365,7 @@ module_phy_driver(icplus_driver); static struct mdio_device_id __maybe_unused icplus_tbl[] = { { PHY_ID_MATCH_MODEL(IP175C_PHY_ID) }, { PHY_ID_MATCH_MODEL(IP1001_PHY_ID) }, - { PHY_ID_MATCH_MODEL(IP101A_PHY_ID) }, + { PHY_ID_MATCH_EXACT(IP101A_PHY_ID) }, { } }; -- 2.20.1