Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp1627154rbb; Mon, 26 Feb 2024 16:24:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW9xTuHev5kcmEoA/moUHFX8JkbQ7AyYbcE3Ay90fY1kxmYsep2dF6S6bxRsWpwc0lFjRkWkMGxhR113wJQBFRwM+oZrSm4sOSverL89A== X-Google-Smtp-Source: AGHT+IGgvs7W5qvvABAO1UIowTjoR6wYP2C76a3Yt63y+j1N/VZWtYH5vuNPOSv8lFSxo71vaG3L X-Received: by 2002:aa7:8a4f:0:b0:6e4:5e48:178b with SMTP id n15-20020aa78a4f000000b006e45e48178bmr6153904pfa.19.1708993447562; Mon, 26 Feb 2024 16:24:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708993447; cv=pass; d=google.com; s=arc-20160816; b=V0ctv3lXCqDEWn4kIbDj3cQg/AduZhvEf1gCtdop7RyXECVhDeeOUe10c6gs2cSQdc R/fHxaSRZswgX+9d7q4X7jWwFDwUemsZuHG5E/5fSlZpo7VYjHGVddYfJ907f+nhnqgq nhXFpfZHWztZ2JvcX64Yp2K6zdGirgFIZA3F+aIKBwcFe6F+tEwbTStKiQEE0PRaluW8 OWJSgTRxgji8HYyFDx0fCghWVcKWurZQxZGZfRWwUrEcp66jlpUJv3TQHICK7eHfB7jK p+RuK9j+slhpBWC7SG4ZWWmWeDGJ28pFReM4Tx39HrF0vUAbEA1wVhWMNBZ0CW1fDHVl um2w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=hZSVzQu3bZY/XxOV798gnatyz5RNs3nX5VK/VPEQ5F4=; fh=JvJ518TDViaIeAA8+5CwrOy8NzZ07im8AbcyClV+v0Y=; b=IkR/6Vi25NDrQSxGZSa6kasRQwsFkRJM/vL9UtE2HXyGT8uUQm64ZbIk1HlEm190yY pxltFA3vAhj5w8uehyPCOBX12IgAvhap5z5Z5ZpJloGbdxt9WF+6HyUpwBHEGuP8PvG/ DQm2M5/befPIwKUgQJItGD/+4m+UZgMbFcrm0zfjwuXD/ihdjciuzXEdKumJFfNN5UlI ncII4xRTMDgXqp8uqGgVDR7P6JIeUpkz5nTs0pSuASq3NONJ545ZxTVNdORREqwCKEBh kyLdWi5F488igWz+QNoNAFh4aYhBqFuy8OkTRuCXXBrDoPZznzYadPcNZ5otRq/8klf0 NlKw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AGAbgpqS; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-82463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82463-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p12-20020a63e64c000000b005dc3614f97csi4579809pgj.571.2024.02.26.16.24.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 16:24:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-82463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=AGAbgpqS; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-82463-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-82463-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 4728D2863A9 for ; Tue, 27 Feb 2024 00:24:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1E9B81F; Tue, 27 Feb 2024 00:23:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="AGAbgpqS" Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5D4DE161; Tue, 27 Feb 2024 00:23:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708993439; cv=none; b=reMDjk/olIJOTFnWr+sMHnw2FAl+0rAgy0xcZyvEGOvWA2SpISxIA/i+woW6FB3I9crOpvTEJwHVhD2xhHv74vM4Wd6UedAea4lWLSYMOGyjqFS37QPPv5EWBfrn4jPbtOEkEMr8e5/TMcOLxdzuvuE89A/FKEiNH0hb5pcWKBk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708993439; c=relaxed/simple; bh=/R2KGYx4M73EQiEpagehkCmiSlAuBSA3ugAShXVnUzo=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=myIeN+HG/0xb8L4jT6RJz3QwSB9u+cI/mLsY9fCtKyQORgUeTPdVuXpybaId7XxEuAfqQ5g8rUZpWeyvKA+5+kdW/WRRrxd01NZaPn2CF/4vWOLezl7KbrrZ1i3P6U8HN6PZl9hooe93nvDUbUY6HQanBZh7dt8BEEYl5Ly4tfM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=AGAbgpqS; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=hZSVzQu3bZY/XxOV798gnatyz5RNs3nX5VK/VPEQ5F4=; b=AGAbgpqSJN0PNMbkqgRXAf2zyn DqLI7mxvbx4vZWaXyqCAenoM/+3kQN1kbvh6mXsJsjD0CStM6uIXVdVeOrJUy+4L217BXaobxX8UC t7Lp5wggQZNNGz70h1JK2IgfbBUhwePC48VoogydpT2M5KXRHtXXEoa7tIhWYDiZv/XN4XD0zg8L+ 1YLo2o2btpOueNSiclekbbzyxRWfAec19OSMDjq8XjI9aocNpYMY1P11JqvYAfVWRxKxKdjgrGtmW 2ayUr2stDENxw3fwS8K7/ypykg6h3wq091xMsk/ARjjtD3mPOOY0UhRhcDDZZsrwkhgCb19LM1GbS 2GM8HIfA==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1relGD-000000035RB-2XFi; Tue, 27 Feb 2024 00:23:53 +0000 Message-ID: Date: Mon, 26 Feb 2024 16:23:50 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net] ethernet: adi: Move select PHYLIB from NET_VENDOR_ADI to ADIN1110 Content-Language: en-US To: Geert Uytterhoeven , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org References: <99d4d711acfc020c8987e96145f2f1f323cbaa3b.1708947112.git.geert@linux-m68k.org> From: Randy Dunlap In-Reply-To: <99d4d711acfc020c8987e96145f2f1f323cbaa3b.1708947112.git.geert@linux-m68k.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi Geert, On 2/26/24 03:34, Geert Uytterhoeven wrote: > The NET_VENDOR_* Kconfig options are used as gatekeepers. Merely > enabling such an option must not enable any other extra code. > > Fixes: a9f80df4f5144030 ("net: ethernet: adi: requires PHYLIB support") > Signed-off-by: Geert Uytterhoeven > --- > drivers/net/ethernet/adi/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/ethernet/adi/Kconfig b/drivers/net/ethernet/adi/Kconfig > index c91b4dcef4ec2f5f..760a9a60bc15c184 100644 > --- a/drivers/net/ethernet/adi/Kconfig > +++ b/drivers/net/ethernet/adi/Kconfig > @@ -7,7 +7,6 @@ config NET_VENDOR_ADI > bool "Analog Devices devices" > default y > depends on SPI > - select PHYLIB > help > If you have a network (Ethernet) card belonging to this class, say Y. > > @@ -22,6 +21,7 @@ config ADIN1110 > tristate "Analog Devices ADIN1110 MAC-PHY" > depends on SPI && NET_SWITCHDEV > select CRC8 > + select PHYLIB > help > Say yes here to build support for Analog Devices ADIN1110 > Low Power 10BASE-T1L Ethernet MAC-PHY. I sent the same patch last night (local time): https://lore.kernel.org/lkml/20240226074820.29250-1-rdunlap@infradead.org/ Hopefully one of them can be merged soon. -- #Randy