From patchwork Wed Sep 27 04:25:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 145270 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp2492327vqu; Wed, 27 Sep 2023 02:11:21 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFR7AfQjYsCSUryZKAoh/Voxcjh8yyxmpLPVSCd6bGitKiJPg28Bvzga9E8nCXhvPED8oi/ X-Received: by 2002:a05:6808:1884:b0:3ae:5e7e:9ff0 with SMTP id bi4-20020a056808188400b003ae5e7e9ff0mr1607849oib.59.1695805881193; Wed, 27 Sep 2023 02:11:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695805881; cv=none; d=google.com; s=arc-20160816; b=Di71rYQkxJdLBgwp2ZkDu3ID+gqkNeR/6Ifqtgw96QRFQAIiYQhlwvmmMNyn0+wh/r P6PVmrAaVvL1yT0HjM7COxazsOh8rcdRMBCv8C2fY3eR5X9JddxH1iwnTv4rDJD1zJFq nvzKlOvPcXSCAlyybtn1xMlPuFarubatcWM5ygsZLBD/9askNCphWVd0nyeTq++dX+Nu jbJuXb29Vt6GurRMWZRaT6lY0aDBpSbQtGmlCCN4FEiFHvE+uYD4dAnbphu6NLldXrCd HFuMR9nsRNxeAGos1w4nKrnMpoB1zxvgX1KeOH6ibHkMbdasG84N2YSKRKrp5R1zfDrI 119Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=7Y1qKBOuWg5Urwtt4BBusjg4Vo4nFC9PDpW8fuhezGU=; fh=F7YFfE5aW28IRjX2I9eYy/N1ae+nIfd2xLM3d7kikh4=; b=kvNPbUDCP+JWR3klJaE1EtowHy0m0VmFpeYRizE+zmjiO8epAAbjaPmoDC40N1SuXE XAm07q3B0U9vYIIQcFjZf6rZbG9xs+RmP+4jAY+e6D/lgEeLx3036XUdxf9sde7BK1jo UwdolbvlsxKrZHOWZEGfflMRoIt6b6/B5zFmSwEokv6CAmP0S/dnkvU6xX22H74RYWaf 7Qd78lThqA43SqvfsR8/QcUf44Adm/KLdEv66RDB3kGeWIMb77p1cSFsNPY64frApqkS /TJN8JW2TNN5K+TIGQ8YgI2E9+F3C2pxDv5KyeeVD8U817bj8EWdYdfOOpXFdb45ApAx FxNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=mjtDKKDS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id 69-20020a630048000000b005775e13a6b9si14645847pga.363.2023.09.27.02.11.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 02:11:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=mjtDKKDS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 902DC81C46D0; Tue, 26 Sep 2023 21:59:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbjI0E7a (ORCPT + 26 others); Wed, 27 Sep 2023 00:59:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbjI0E6u (ORCPT ); Wed, 27 Sep 2023 00:58:50 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 26F1935BE for ; Tue, 26 Sep 2023 21:25:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=7Y1qKBOuWg5Urwtt4BBusjg4Vo4nFC9PDpW8fuhezGU=; b=mjtDKKDS4uzP228lMPWRAtWwVi aZYKtHf0QGZzKlIL7DaQLlNB4MXZlHtWA2hFsyAEj51GAC3OrA8k5zqDUFxKV7GtLzGEGIpWBjoWR QfbAU9veCUOc1r0FrLjaPvbab+uCB7LoLZXv+uhqzSvyfHXUf0vuAkxyrFvuYHYJO9IhcvX5u4d5K NTju+wwg4TbUssVzAojivZfQLvy7hBVAz3Y6W0uBETe8OdQUnFgG+ZFvlQOegX9IF0MWyE5nSGDF4 6AHEC3QZXN5oOB8TrgvLUCLw08esNAxRlFV1MHf5sNs9dQCDXkNVTFbJlzjmFrXKdbKPAJ/JRTxaT bGjNdwWA==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qlM72-00HWP7-12; Wed, 27 Sep 2023 04:25:24 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , kernel test robot , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Subject: [PATCH] net: lan743x: also select PHYLIB Date: Tue, 26 Sep 2023 21:25:23 -0700 Message-ID: <20230927042523.7707-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 26 Sep 2023 21:59:48 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778181347420554522 X-GMAIL-MSGID: 1778181347420554522 Since FIXED_PHY depends on PHYLIB, PHYLIB needs to be set to avoid a kconfig warning: WARNING: unmet direct dependencies detected for FIXED_PHY Depends on [n]: NETDEVICES [=y] && PHYLIB [=n] Selected by [y]: - LAN743X [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICROCHIP [=y] && PCI [=y] && PTP_1588_CLOCK_OPTIONAL [=y] Fixes: 73c4d1b307ae ("net: lan743x: select FIXED_PHY") Signed-off-by: Randy Dunlap Reported-by: kernel test robot Closes: lore.kernel.org/r/202309261802.JPbRHwti-lkp@intel.com M: Bryan Whitehead M: UNGLinuxDriver@microchip.com M: Simon Horman L: netdev@vger.kernel.org Cc: "David S. Miller" Cc: Eric Dumazet Cc: Jakub Kicinski Cc: Paolo Abeni --- drivers/net/ethernet/microchip/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -- a/drivers/net/ethernet/microchip/Kconfig b/drivers/net/ethernet/microchip/Kconfig --- a/drivers/net/ethernet/microchip/Kconfig +++ b/drivers/net/ethernet/microchip/Kconfig @@ -46,6 +46,7 @@ config LAN743X tristate "LAN743x support" depends on PCI depends on PTP_1588_CLOCK_OPTIONAL + select PHYLIB select FIXED_PHY select CRC16 select CRC32