Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5225997imm; Tue, 31 Jul 2018 07:32:02 -0700 (PDT) X-Google-Smtp-Source: AAOMgpet2mQAFlX4PjnL++bPLqwRZ600nm17ORUHjTvWEBjhpuQpjH+2Yq9X86XkqGjomvxL7Vyp X-Received: by 2002:a17:902:5ac7:: with SMTP id g7-v6mr20525078plm.90.1533047522071; Tue, 31 Jul 2018 07:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533047522; cv=none; d=google.com; s=arc-20160816; b=NcRKv9aFTLydMGO4WCyx7M8lbdc0S15jXZkoh98J0cwiqfZeDm233ubsNr1YIs/f4I kVdFwl4SZhzswvgU5OqJEFVtrrNt4oOVlBEM7ciKIEtyLhngBXrrgBKzBAYWICQwVbvy qQ02PCH56V1LXeMUNX0NCCENNVamPmECRIM5jb5asogMzYiDcXw8VDQiPjdkkHihYoL6 V4T8VAcZOdwYpEDOHJhNoX9vobkprvxTBliFk/vdpQIa/zjBrg30hx9U3x5yww9KwLnp D3mdmcKSlf3QLiMCXjcS6Y/IZt7tXSSg22gq2/VNJ8lH5RiJrXpR2IRHZJQ2G7gkH2lU Fuew== 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=Ai/pj+duuCAZ7q3J1oYbI8kAElUx7QdsFdpQ2b8heqU=; b=RBkET/FQ4aMz0Pp5o5uP2zbxj+Jss5vWcvXcrd4dvxSpXXeN1+IEGrDBB4uzr43fdu Td1hUiPNoFLll5n8QyJXLX+WOAL7u9SxU9Gf7NXymtBSTlyXFqniumxXE6jdDEV6qfGU 1FUwQsZjwpB7Pu3Out/bY6+9BBTCjPUeOgTKhrt/ebw5f5cKqHaef4aC38JMYXcUu/GG pPIZVrtN47ieTuT+epXnxipVthPobrj0UtcmXqNrz3rTScX9578u3uypwmUd5x6OJcfa ofMrBOnZCQMAa5oLeGna/R8ebeszePOZdGRGd+49WcDertEQllLj/HGMKXzmQdrnJkbR c0Xw== 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 t21-v6si14543776pgb.553.2018.07.31.07.31.47; Tue, 31 Jul 2018 07:32:02 -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 S1732463AbeGaQKq (ORCPT + 99 others); Tue, 31 Jul 2018 12:10:46 -0400 Received: from mail-d.ads.isi.edu ([128.9.180.199]:62437 "EHLO mail-d.ads.isi.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732266AbeGaQKq (ORCPT ); Tue, 31 Jul 2018 12:10:46 -0400 X-IronPort-AV: E=Sophos;i="5.51,427,1526367600"; d="scan'208";a="2634417" Received: from guest228.east.isi.edu (HELO localhost) ([65.123.202.228]) by mail-d.ads.isi.edu with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 Jul 2018 07:30:10 -0700 From: Alexei Colin To: Alexandre Bounine , Benjamin Herrenschmidt , Paul Mackerras Cc: Alexei Colin , Andrew Morton , Russell King , John Paul Walters , 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 3/6] powerpc: factor out RapidIO Kconfig menu entry Date: Tue, 31 Jul 2018 10:29:51 -0400 Message-Id: <20180731142954.30345-4-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 menu entry is now defined in the rapidio subtree. Also, re-order the bus menu so tha the platform-specific RapidIO controller appears after the entry for the RapidIO subsystem. Platforms with a PCI bus will be offered the RapidIO menu since they may be want support for a RapidIO PCI device. Platforms without a PCI bus that might include a RapidIO IP block will need to "select HAS_RAPIDIO" in the platform-/machine-specific "config ARCH_*" Kconfig entry. Cc: Andrew Morton Cc: Russell King Cc: John Paul Walters 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 --- arch/powerpc/Kconfig | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 25d005af0a5b..17ea8a5f90a0 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -993,16 +993,7 @@ source "drivers/pci/Kconfig" source "drivers/pcmcia/Kconfig" -config HAS_RAPIDIO - bool - default n - -config RAPIDIO - tristate "RapidIO support" - depends on HAS_RAPIDIO || PCI - help - If you say Y here, the kernel will include drivers and - infrastructure code to support RapidIO interconnect devices. +source "drivers/rapidio/Kconfig" config FSL_RIO bool "Freescale Embedded SRIO Controller support" @@ -1012,8 +1003,6 @@ config FSL_RIO Include support for RapidIO controller on Freescale embedded processors (MPC8548, MPC8641, etc). -source "drivers/rapidio/Kconfig" - endmenu config NONSTATIC_KERNEL -- 2.18.0