Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4485170imm; Mon, 30 Jul 2018 15:53:33 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcOAAhLG5kFyhc4/+boqbcGmhTDzBIOZP5l6+BDGeFHU4yYOuXASS/b7QIxHDPxf6RNoKkL X-Received: by 2002:a63:ea0c:: with SMTP id c12-v6mr8797672pgi.158.1532991213618; Mon, 30 Jul 2018 15:53:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532991213; cv=none; d=google.com; s=arc-20160816; b=HzjF3i6CDS0DBNjxf/1zgw8DvKOQQGWy0EDKqjXOG/uyCNWzEv1XnIAYiuxHkXkwtb f2QuVG8zN44I61WpC/PDkdeCrBDiRMECTXfHy6tRl/xSBCFM+e7LJtB8XJpN+vmkXC0m TEflo4e1ZU+UWaTr5XsIAi6tba154jvWilRF3qka7mZ+xhkjPCaBnDSg//DOpujDD40S k+fus5gCUkFmHNeD7yXXEPDKN/DuIWJuosyvvlIeoElAQT3gzaEuv8QJjErjsEgu6y3F 8I6W0TSLUG0U5TmkKeBafJGaJqxHpnGQyybBlViYqI3eWJptRlNfCgfLHjyyS+WrSIrG wVBw== 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=jmuIAIulTVti4oBR2sEu4Bijoqm5O/JLH55v4Y5eMm8=; b=UQGywlp1QwJtmVynpGoDr4f58GhuGfSu8VtSIcSA2tWgNt/6ZsW/rpEeKET9Ox7HCv Bffuhhgy5b+SH+Xag2foPn7V2qqtRO1mDOrIfdCEx44J/r6acBnIBrlu3CYDhRxGdeG7 UVzZ85P4Gf8D0Xyivd4ZVWJDgrx4FdwcqlXgATFqpcHVygby/huVSwZDWzH05EyS3gNC zOy6/mIQ2szNnKj0HwVUWUrPgXSfGexamSr9c4qzmW7A/0arFSjBbpIBWBjurZdtThTB b8KHYJS+ClX0bPcfItL4RiCQ1/pzQP783CFCxJA42kmuGliBUWGgQ+FF0Xr/JzfaQX0S zlow== 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 a186-v6si10888781pgc.453.2018.07.30.15.53.19; Mon, 30 Jul 2018 15:53:33 -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 S1732191AbeGaA2L (ORCPT + 99 others); Mon, 30 Jul 2018 20:28:11 -0400 Received: from mail-d.ads.isi.edu ([128.9.180.199]:33300 "EHLO mail-d.ads.isi.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727660AbeGaA2L (ORCPT ); Mon, 30 Jul 2018 20:28:11 -0400 X-IronPort-AV: E=Sophos;i="5.51,424,1526367600"; d="scan'208";a="2623819" 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; 30 Jul 2018 15:51:00 -0700 From: Alexei Colin To: Alexandre Bounine , Benjamin Herrenschmidt , Paul Mackerras Cc: Alexei Colin , Andrew Morton , John Paul Walters , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/6] powerpc: factor out RapidIO Kconfig menu entry Date: Mon, 30 Jul 2018 18:50:31 -0400 Message-Id: <20180730225035.28365-4-acolin@isi.edu> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180730225035.28365-1-acolin@isi.edu> References: <20180730225035.28365-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: John Paul Walters Cc: linuxppc-dev@lists.ozlabs.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