Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp2133185ybt; Fri, 3 Jul 2020 01:28:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyR8msT4InlFnWTveGMD+S0dN9tEtTUNaM4VDx5Ts1NyQo9vK3sArGqdVScOzJxrnsTqTgV X-Received: by 2002:a50:d09c:: with SMTP id v28mr34841869edd.58.1593764928271; Fri, 03 Jul 2020 01:28:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593764928; cv=none; d=google.com; s=arc-20160816; b=hCHAkr7DPPT+6YlOYKKzSmbOC/OCFsAi5f9+mQsGCOPhUxSMt+4s+NJVHVDqjH2uSa 9L5w+CgJmkLE2XXP6ks7q5zkkJO848RTgf5hLmohvHlVrjJDARz54s7y7HwyPhKeBh5y H6MxW08lSZqmTx7B8MKZGTXyFAvLzsuJe7U0hqjq6RnKOp9TvoOkLaSDbNeZopf+2vUQ CgkkJ+x3f4rxYoEhJpiAUPmbI9QDf3tBAtKizm8bg4SB6pofGcR+pr3IlInZGmKjuxNR Nuxp3XDpLwZPL7RsMB2g/ZQZQg3jnX00CziaSV/3i44pent6Y/KBoNn0cCd44chNheVD lJ7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=v/TZl/ruWExXpWz5stVkt2xyO3NxvwRqPXEashbkokY=; b=doNs/fbAx7nCA5LEU8x9cLXFViaYYm8BwzOv4OB2HKReo2YN950mdXH79u01FrbgkG MIFT9CY7dkJJoZwhHiTwH9wE+wtS6V0acduGV5KJdQ85ru+7VxSGVbtM4oiccnXqfvpD akdEYtgoqH2veKEf90Y5fj14bw0zf1qOz5IATFRhiyybTnEkH4kmU418MHxCDAu82yqb CrTUntvDt/NwTq587VohmEIFFMw0ePTz99l5aZdMluTBBgCBRiQOnI9VBzE09EUFQHY8 8bklGKqFR2ePryNv4cZXnlRGy2uWiznchNszVrOUCxoSPQPgInY/7CbVe64nqCNxlfKi v30g== ARC-Authentication-Results: i=1; mx.google.com; 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 x27si8207833edi.182.2020.07.03.01.28.25; Fri, 03 Jul 2020 01:28:48 -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; 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 S1726074AbgGCI1p (ORCPT + 99 others); Fri, 3 Jul 2020 04:27:45 -0400 Received: from mx2.suse.de ([195.135.220.15]:51744 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725648AbgGCI1o (ORCPT ); Fri, 3 Jul 2020 04:27:44 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 5443EAD11; Fri, 3 Jul 2020 08:27:42 +0000 (UTC) Date: Fri, 3 Jul 2020 10:27:41 +0200 From: Jean Delvare To: Krzysztof Halasa Cc: LKML , Linus Walleij , Jakub Kicinski Subject: [PATCH 2/2] soc: ixp4xx: Really select helper drivers automatically Message-ID: <20200703102741.6b0b03a2@endymion> In-Reply-To: <20200703102617.0b9f933e@endymion> References: <20200703102617.0b9f933e@endymion> Organization: SUSE Linux X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kconfig claims that the ixp4xx-qmgr and ixp4xx-npe helper drivers are selected automatically as needed. However this is not what the Kconfig entries are doing. Convert depends to select to match the help texts. Signed-off-by: Jean Delvare Cc: Krzysztof Halasa --- drivers/crypto/Kconfig | 4 +++- drivers/net/ethernet/xscale/Kconfig | 7 ++++--- drivers/net/wan/Kconfig | 4 +++- 3 files changed, 10 insertions(+), 5 deletions(-) --- linux-5.7.orig/drivers/net/ethernet/xscale/Kconfig 2020-06-01 01:49:15.000000000 +0200 +++ linux-5.7/drivers/net/ethernet/xscale/Kconfig 2020-06-23 13:05:23.071767146 +0200 @@ -6,8 +6,7 @@ config NET_VENDOR_XSCALE bool "Intel XScale IXP devices" default y - depends on NET_VENDOR_INTEL && (ARM && ARCH_IXP4XX && \ - IXP4XX_NPE && IXP4XX_QMGR) + depends on NET_VENDOR_INTEL && (ARM && ARCH_IXP4XX) ---help--- If you have a network (Ethernet) card belonging to this class, say Y. @@ -20,9 +19,11 @@ if NET_VENDOR_XSCALE config IXP4XX_ETH tristate "Intel IXP4xx Ethernet support" - depends on ARM && ARCH_IXP4XX && IXP4XX_NPE && IXP4XX_QMGR + depends on ARM && ARCH_IXP4XX select PHYLIB select NET_PTP_CLASSIFY + select IXP4XX_NPE + select IXP4XX_QMGR ---help--- Say Y here if you want to use built-in Ethernet ports on IXP4xx processor. --- linux-5.7.orig/drivers/net/wan/Kconfig 2020-06-01 01:49:15.000000000 +0200 +++ linux-5.7/drivers/net/wan/Kconfig 2020-06-23 13:05:23.072767157 +0200 @@ -315,8 +315,10 @@ config DSCC4_PCI_RST config IXP4XX_HSS tristate "Intel IXP4xx HSS (synchronous serial port) support" - depends on HDLC && IXP4XX_NPE && IXP4XX_QMGR + depends on HDLC depends on ARCH_IXP4XX + select IXP4XX_NPE + select IXP4XX_QMGR help Say Y here if you want to use built-in HSS ports on IXP4xx processor. --- linux-5.7.orig/drivers/crypto/Kconfig 2020-06-01 01:49:15.000000000 +0200 +++ linux-5.7/drivers/crypto/Kconfig 2020-06-25 00:04:11.570461001 +0200 @@ -308,11 +308,13 @@ config CRYPTO_DEV_TALITOS2 config CRYPTO_DEV_IXP4XX tristate "Driver for IXP4xx crypto hardware acceleration" - depends on ARCH_IXP4XX && IXP4XX_QMGR && IXP4XX_NPE + depends on ARCH_IXP4XX select CRYPTO_LIB_DES select CRYPTO_AEAD select CRYPTO_AUTHENC select CRYPTO_SKCIPHER + select IXP4XX_NPE + select IXP4XX_QMGR help Driver for the IXP4xx NPE crypto engine. -- Jean Delvare SUSE L3 Support