Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp194206rdd; Tue, 9 Jan 2024 00:42:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIFHC7y3mJWV4+bwj+T4W7DYXxRSZSEbnUYXoBji676DddSMd6JbnoaK+2F3Bz6PBPd5Qe X-Received: by 2002:ac2:52aa:0:b0:50e:80d2:4dd2 with SMTP id r10-20020ac252aa000000b0050e80d24dd2mr1732693lfm.103.1704789776826; Tue, 09 Jan 2024 00:42:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704789776; cv=none; d=google.com; s=arc-20160816; b=Pmvcjz/U3CDH7mHb6YoB9Y8fhZxTVeJfVFB2augPo1zboaTN9ka7Xu/iFLiExq5ayF QlhOsKxGsRkA33rY1D4p2+y86QFT8F+s6hmpsLVWF+KEEpd2EtVn36bomHV9JPMqsRce HZCSXU9MxF5y4fJsilP0xV5DJKchh6VKzCz6wc6NWssgPXxgMh+uUdCoJFbpJoyXPcC0 o2adAvG54aeot9eibPreESsrjWbhsAoHUgI358l4e+FJedgQ2LWbZvDIwNJAi4L+6XLn XwzGhZBIFo6/APqArNJjjvu9J0U000q4QMqNxhCMWSBbD2Xx8f4BflVJMxhBf5UKPwaX /ZxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:thread-index:content-language:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:subject:in-reply-to:references:cc:to:from; bh=KsUR58qNmVZ9u20qC2vdeK/3ts2lKfeVEdWpOTvoydQ=; fh=oOESa51dX8NCK7O4Q/xVgJ993ePFtc+n6T17hwjQLaI=; b=0BhR2W/U8/O73PFxgkRhYXIsD3PYpRKO1Zo1PQJTwfnAqtHCUu3jjhk1EBT2WojXZk yIQMwwMB8pBvbLu3YTXnDYo5PKwo8nTmHVtyYkjCVD8v23+hQakG4B3qTqXnMMfu/tud Z1AEl0lu74Di4OTBAX/HMnNIfMmHDarFSgqByGnpJrLBl+HtTAInIbyPCq8JYBrbceEJ /1GMSbqvGsT0escn3vojDARau/H33E4WEGI9xaDpgF9eyayWoZ7s+qVg1AvaUrOIvQco i9uJgzb4MdayWVdpZwoyaAu+ICAIETwo6G1qB6lrJpvAap8ERIOTSfgi2SuWnzZ7RuBL /c7Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-20600-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20600-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id y19-20020a17090668d300b00a28b9e9906csi599353ejr.100.2024.01.09.00.42.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 00:42:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20600-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-20600-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20600-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 49AB41F27344 for ; Tue, 9 Jan 2024 08:42:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 30A17186E; Tue, 9 Jan 2024 08:40:41 +0000 (UTC) Received: from bg1.exmail.qq.com (bg1.exmail.qq.com [114.132.77.159]) (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 680EF35883 for ; Tue, 9 Jan 2024 08:40:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=trustnetic.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=trustnetic.com X-QQ-mid:Yeas12t1704789534t600t43976 Received: from 3DB253DBDE8942B29385B9DFB0B7E889 (jiawenwu@trustnetic.com [183.159.99.45]) X-QQ-SSF:00400000000000F0FTF000000000000 From: =?utf-8?b?Smlhd2VuIFd1?= X-BIZMAIL-ID: 12816306648169653437 To: "'Arnd Bergmann'" , "'Mengyuan Lou'" , "'Jakub Kicinski'" Cc: "'Arnd Bergmann'" , "'David S. Miller'" , "'Eric Dumazet'" , "'Paolo Abeni'" , "'Russell King'" , "'Andrew Lunn'" , "'Maciej Fijalkowski'" , "'Andy Shevchenko'" , "'Russell King \(Oracle\)'" , , References: <20240109075656.2656359-1-arnd@kernel.org> In-Reply-To: <20240109075656.2656359-1-arnd@kernel.org> Subject: RE: [PATCH] wangxunx: select CONFIG_PHYLINK where needed Date: Tue, 9 Jan 2024 16:38:53 +0800 Message-ID: <02d101da42d7$471ee5a0$d55cb0e0$@trustnetic.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Content-Language: zh-cn Thread-Index: AQGnjceTU78UgugiVxFOlyNGoTOZtrE2kqPQ X-QQ-SENDSIZE: 520 Feedback-ID: Yeas:trustnetic.com:qybglogicsvrgz:qybglogicsvrgz8a-1 > -----Original Message----- > From: Arnd Bergmann > Sent: Tuesday, January 9, 2024 3:56 PM > To: Jiawen Wu ; Mengyuan Lou ; Jakub Kicinski > Cc: Arnd Bergmann ; David S. Miller ; Eric Dumazet ; Paolo > Abeni ; Russell King ; Andrew Lunn ; Maciej Fijalkowski > ; Andy Shevchenko ; Russell King (Oracle) > ; netdev@vger.kernel.org; linux-kernel@vger.kernel.org > Subject: [PATCH] wangxunx: select CONFIG_PHYLINK where needed > > From: Arnd Bergmann > > The ngbe driver needs phylink: > > arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_nway_reset': > wx_ethtool.c:(.text+0x458): undefined reference to `phylink_ethtool_nway_reset' > arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_remove': > ngbe_main.c:(.text+0x7c): undefined reference to `phylink_destroy' > arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_open': > ngbe_main.c:(.text+0xf90): undefined reference to `phylink_connect_phy' > arm-linux-gnueabi-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.o: in function `ngbe_mdio_init': > ngbe_mdio.c:(.text+0x314): undefined reference to `phylink_create' > > Add the missing Kconfig description for this. > > Fixes: bc2426d74aa3 ("net: ngbe: convert phylib to phylink") > Signed-off-by: Arnd Bergmann > --- > drivers/net/ethernet/wangxun/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/ethernet/wangxun/Kconfig b/drivers/net/ethernet/wangxun/Kconfig > index 23cd610bd376..46630f05d8dd 100644 > --- a/drivers/net/ethernet/wangxun/Kconfig > +++ b/drivers/net/ethernet/wangxun/Kconfig > @@ -26,6 +26,7 @@ config NGBE > tristate "Wangxun(R) GbE PCI Express adapters support" > depends on PCI > select LIBWX > + select PHYLINK > select PHYLIB > help > This driver supports Wangxun(R) GbE PCI Express family of > -- > 2.39.2 Reviewed-by: Jiawen Wu