Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5226650imm; Tue, 31 Jul 2018 07:32:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpe+ORMjdcPgrSC7YHFzFHANQbef5oCOeB+c0TA2lSx63spi2xc6pNZWw5r42/xw270XXVq6 X-Received: by 2002:a65:6102:: with SMTP id z2-v6mr21004537pgu.46.1533047552892; Tue, 31 Jul 2018 07:32:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533047552; cv=none; d=google.com; s=arc-20160816; b=CFi7tY/ozByxceQaibopMPiX2Y3bHO64d45RgD4wccEgdrBqNMIcPddhJDtc3M+InI A8qMm1c6rNgSnL+SG1T+emos/N/8WjaUNAKbC4vvTCNy7crDAgMmIgeWq1RIIeXQxgXL NVtoUE1j3IsiuULJpXc4jtDiMCWy0p7lHCkQZBIgT8RJRHbIvAaOE/oM8SR0YL6tIEAF 7D0w2VLaTXnhbrN9l3cMxJAm7SSmbgDwtvu+kzS0FDexYNIh2jwPb+Ew5UovNxdlUhqy pgvquvPrI482Kedat+rJhQh60UeL+mDedtV12FTNbk6pUTe1ThXRWHf5mW8nft9mhx/8 DUbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=lLi+W4UaeXsISSgX3F7iqzWm/txqUoB/3ryNtXqhEUI=; b=L1pyqiFRhcw1Eoil4xWrvLC4jqYyBYdtpMsJ2oY2eKdWKhl1FemXxsFsrtKXJAqxG5 Qt3M5f0UdKhUWdk+KR8BT6cHzyatlkKDFW8a5YHiDOr0lqrTjBPcQv/zEw1xtBNd6gJC wYjtZitBmXArr6LMQ836gPmj3DzgaRL7frurwCFMyobJLxerzfbgPgtxWdVh/peaKKc8 tR1p9PGVftKOk4g2toUeOk3pfkk7U5OlINNjDPAmYc3YcY6THmfI6QQfCTCeJ9dgC+Ok wWulMtwvKocnq1XJiZcZSslzd+nFUoIh4R/q6K/45jq49Xf3btVMdpi1mKX3bkwT8bwy U9GQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r24-v6si12942700pgo.295.2018.07.31.07.32.18; Tue, 31 Jul 2018 07:32:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732434AbeGaQKn (ORCPT + 99 others); Tue, 31 Jul 2018 12:10:43 -0400 Received: from mail-c.ads.isi.edu ([128.9.180.198]:54292 "EHLO mail-c.ads.isi.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732222AbeGaQKm (ORCPT ); Tue, 31 Jul 2018 12:10:42 -0400 X-IronPort-AV: E=Sophos;i="5.51,427,1526367600"; d="scan'208";a="6769796" Received: from guest228.east.isi.edu (HELO localhost) ([65.123.202.228]) by mail-c.ads.isi.edu with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jul 2018 07:30:06 -0700 From: Alexei Colin To: Alexandre Bounine , Matt Porter Cc: Alexei Colin , Andrew Morton , John Paul Walters , Catalin Marinas , Russell King , Arnd Bergmann , Will Deacon , Ralf Baechle , Paul Burton , Alexander Sverdlin , Benjamin Herrenschmidt , Paul Mackerras , Thomas Gleixner , Peter Anvin , x86@kernel.org, linuxppc-dev@lists.ozlabs.org, linux-mips@linux-mips.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH 1/6] rapidio: define top Kconfig menu in driver subtree Date: Tue, 31 Jul 2018 10:29:49 -0400 Message-Id: <20180731142954.30345-2-acolin@isi.edu> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180731142954.30345-1-acolin@isi.edu> References: <20180731142954.30345-1-acolin@isi.edu> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The top-level Kconfig entry for RapidIO subsystem is currently duplicated in several architecture-specific Kconfigs. This commit re-defines it in the driver subtree, and subsequent commits, one per architecture, will remove the duplicated definitions from respective per-architecture Kconfigs. Cc: Andrew Morton Cc: John Paul Walters Cc: Catalin Marinas Cc: Russell King Cc: Arnd Bergmann Cc: Will Deacon Cc: Ralf Baechle Cc: Paul Burton Cc: Alexander Sverdlin Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Thomas Gleixner Cc: Peter Anvin Cc: x86@kernel.org Cc: linuxppc-dev@lists.ozlabs.org Cc: linux-mips@linux-mips.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Signed-off-by: Alexei Colin --- drivers/rapidio/Kconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/drivers/rapidio/Kconfig b/drivers/rapidio/Kconfig index d6d2f20c4597..98e301847584 100644 --- a/drivers/rapidio/Kconfig +++ b/drivers/rapidio/Kconfig @@ -1,6 +1,21 @@ # # RapidIO configuration # + +config HAS_RAPIDIO + bool + default n + +config RAPIDIO + tristate "RapidIO support" + depends on HAS_RAPIDIO || PCI + help + This feature enables support for RapidIO high-performance + packet-switched interconnect. + + If you say Y here, the kernel will include drivers and + infrastructure code to support RapidIO interconnect devices. + source "drivers/rapidio/devices/Kconfig" config RAPIDIO_DISC_TIMEOUT -- 2.18.0